.cdc-calendar-section {
  --cdc-ink: #17223b;
  --cdc-muted: #657084;
  --cdc-line: #dfe4ec;
  --cdc-surface: #ffffff;
  --cdc-soft: #f5f7fb;
  --cdc-navy: #173b6c;
  --cdc-navy-dark: #102d53;
  --cdc-coral: #e7506b;
  --cdc-coral-soft: #fff0f3;
  --cdc-teal: #087f73;
  --cdc-teal-soft: #e8f6f3;
  --cdc-gold: #c38214;
  --cdc-gold-soft: #fff5df;
  --cdc-violet: #6b55b7;
  --cdc-violet-soft: #f1eefb;
  --cdc-source-airbnb: #9d174d;
  --cdc-source-vrbo: #3730a3;
  --cdc-source-booking: #075985;
  --cdc-source-other: #475569;
  --cdc-shadow: 0 18px 50px rgba(23, 34, 59, 0.1);
  background: #f7f9fc;
  color: var(--cdc-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  padding: clamp(36px, 7vw, 88px) 16px;
  position: relative;
}

.cdc-calendar-section *,
.cdc-calendar-section *::before,
.cdc-calendar-section *::after {
  box-sizing: border-box;
}

.cdc-calendar-section [hidden] {
  display: none !important;
}

.cdc-calendar-section button,
.cdc-calendar-section input {
  font: inherit;
}

.cdc-calendar-section button {
  -webkit-tap-highlight-color: transparent;
}

.cdc-calendar-section .cdc-shell {
  margin: 0 auto;
  max-width: 1120px;
}

.cdc-calendar-section .cdc-brand-header {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  margin: 0 auto 28px;
  max-width: 760px;
  text-align: left;
}

.cdc-calendar-section .cdc-brand-mark {
  align-items: center;
  background: var(--cdc-coral);
  border: 2px solid #bc2f4b;
  border-radius: 14px;
  color: #ffffff;
  display: flex;
  flex: 0 0 50px;
  font-size: 0.9rem;
  font-weight: 900;
  height: 50px;
  justify-content: center;
  letter-spacing: 0.06em;
}

.cdc-calendar-section .cdc-brand-copy {
  min-width: 0;
}

.cdc-calendar-section .cdc-eyebrow,
.cdc-calendar-section .cdc-panel-kicker {
  color: var(--cdc-teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  margin: 0 0 5px;
  text-transform: uppercase;
}

.cdc-calendar-section .cdc-title {
  color: var(--cdc-ink);
  font-size: clamp(2rem, 7vw, 3.25rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0;
  text-align: left;
}

.cdc-calendar-section .cdc-intro {
  color: var(--cdc-muted);
  font-size: clamp(0.98rem, 2.4vw, 1.08rem);
  margin: 12px 0 0;
  max-width: 620px;
}

.cdc-calendar-section .cdc-system-message {
  background: var(--cdc-coral-soft);
  border: 1px solid #f2bac5;
  border-left: 5px solid var(--cdc-coral);
  border-radius: 12px;
  color: #7c2537;
  margin: 0 auto 18px;
  max-width: 760px;
  padding: 12px 14px;
}

.cdc-calendar-section .cdc-system-message[data-kind="success"] {
  background: var(--cdc-teal-soft);
  border-color: #a7d9d2;
  border-left-color: var(--cdc-teal);
  color: #075c54;
}

.cdc-calendar-section .cdc-month-title,
.cdc-calendar-section .cdc-turnovers-title,
.cdc-calendar-section .cdc-dialog-title {
  color: var(--cdc-ink);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0;
}

.cdc-calendar-section .cdc-button,
.cdc-calendar-section .cdc-dialog-close {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  padding: 9px 14px;
  text-align: center;
  touch-action: manipulation;
}

.cdc-calendar-section .cdc-button:focus-visible,
.cdc-calendar-section .cdc-dialog-close:focus-visible,
.cdc-calendar-section .cdc-date-button:focus-visible,
.cdc-calendar-section .cdc-turnover-card:focus-visible {
  outline: 3px solid rgba(8, 127, 115, 0.28);
  outline-offset: 2px;
}

.cdc-calendar-section .cdc-button:disabled,
.cdc-calendar-section .cdc-dialog-close:disabled {
  cursor: wait;
  opacity: 0.62;
}

.cdc-calendar-section .cdc-calendar-app {
  display: grid;
  gap: 18px;
}

.cdc-calendar-section .cdc-app-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
}

.cdc-calendar-section .cdc-sync-block {
  align-items: center;
  display: flex;
  gap: 10px;
}

.cdc-calendar-section .cdc-sync-dot {
  background: var(--cdc-teal);
  border: 4px solid var(--cdc-teal-soft);
  border-radius: 50%;
  flex: 0 0 14px;
  height: 14px;
}

.cdc-calendar-section .cdc-sync-dot[data-state="loading"] {
  animation: cdc-pulse 1.2s ease-in-out infinite;
  background: var(--cdc-gold);
  border-color: var(--cdc-gold-soft);
}

.cdc-calendar-section .cdc-sync-dot[data-state="error"] {
  background: var(--cdc-coral);
  border-color: var(--cdc-coral-soft);
}

.cdc-calendar-section .cdc-sync-label,
.cdc-calendar-section .cdc-sync-time {
  margin: 0;
}

.cdc-calendar-section .cdc-sync-label {
  color: var(--cdc-ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.cdc-calendar-section .cdc-sync-time {
  color: var(--cdc-muted);
  font-size: 0.76rem;
}

.cdc-calendar-section .cdc-toolbar-actions,
.cdc-calendar-section .cdc-month-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cdc-calendar-section .cdc-button-quiet,
.cdc-calendar-section .cdc-button-nav,
.cdc-calendar-section .cdc-button-today {
  background: #ffffff;
  border-color: #cfd6e2;
  color: var(--cdc-ink);
}

.cdc-calendar-section .cdc-button-quiet:hover,
.cdc-calendar-section .cdc-button-nav:hover,
.cdc-calendar-section .cdc-button-today:hover {
  background: #edf1f7;
  border-color: #aeb8c7;
}

.cdc-calendar-section .cdc-button-today {
  background: var(--cdc-teal-soft);
  border-color: #a7d9d2;
  color: #075c54;
}

.cdc-calendar-section .cdc-calendar-card,
.cdc-calendar-section .cdc-turnovers {
  background: var(--cdc-surface);
  border: 1px solid var(--cdc-line);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(23, 34, 59, 0.06);
}

.cdc-calendar-section .cdc-calendar-card {
  overflow: hidden;
  padding: clamp(14px, 3vw, 26px);
}

.cdc-calendar-section .cdc-month-toolbar {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

.cdc-calendar-section .cdc-month-title {
  font-size: clamp(1.45rem, 4.5vw, 2.15rem);
}

.cdc-calendar-section .cdc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 18px 0 14px;
}

.cdc-calendar-section .cdc-legend-item {
  align-items: center;
  color: var(--cdc-muted);
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 700;
  gap: 6px;
}

.cdc-calendar-section .cdc-legend-swatch {
  border-radius: 4px;
  display: inline-block;
  height: 9px;
  width: 18px;
}

.cdc-calendar-section .cdc-legend-stay {
  background: var(--cdc-violet);
}

.cdc-calendar-section .cdc-legend-arrival {
  background: var(--cdc-teal);
}

.cdc-calendar-section .cdc-legend-departure {
  background: var(--cdc-coral);
}

.cdc-calendar-section .cdc-legend-turnover {
  background: var(--cdc-gold);
}

.cdc-calendar-section .cdc-legend-closed {
  background: #778195;
  border: 1px dashed #ffffff;
}

.cdc-calendar-section .cdc-source-legend {
  align-items: center;
  border-bottom: 1px solid var(--cdc-line);
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: -2px 0 16px;
  padding-bottom: 14px;
}

.cdc-calendar-section .cdc-source-legend-label {
  color: var(--cdc-muted);
  font-size: 0.71rem;
  font-weight: 800;
  margin-right: 2px;
}

.cdc-calendar-section .cdc-source-chip {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--cdc-line);
  border-radius: 999px;
  color: var(--cdc-ink);
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 800;
  gap: 5px;
  min-height: 26px;
  padding: 4px 8px;
}

.cdc-calendar-section .cdc-source-chip[data-status="stale"],
.cdc-calendar-section .cdc-source-chip[data-status="unavailable"] {
  background: var(--cdc-soft);
}

.cdc-calendar-section .cdc-source-chip[data-status="unavailable"] {
  opacity: 0.72;
}

.cdc-calendar-section .cdc-source-dot {
  background: var(--cdc-source-other);
  border-radius: 50%;
  flex: 0 0 8px;
  height: 8px;
}

.cdc-calendar-section .cdc-source-dot[data-source="airbnb"],
.cdc-calendar-section .cdc-event-platform-mark[data-source="airbnb"],
.cdc-calendar-section .cdc-source-badge[data-source="airbnb"] {
  background: var(--cdc-source-airbnb);
}

.cdc-calendar-section .cdc-source-dot[data-source="vrbo"],
.cdc-calendar-section .cdc-event-platform-mark[data-source="vrbo"],
.cdc-calendar-section .cdc-source-badge[data-source="vrbo"] {
  background: var(--cdc-source-vrbo);
}

.cdc-calendar-section .cdc-source-dot[data-source="booking"],
.cdc-calendar-section .cdc-event-platform-mark[data-source="booking"],
.cdc-calendar-section .cdc-source-badge[data-source="booking"] {
  background: var(--cdc-source-booking);
}

.cdc-calendar-section .cdc-source-dot[data-source="multiple"],
.cdc-calendar-section .cdc-event-platform-mark[data-source="multiple"],
.cdc-calendar-section .cdc-source-badge[data-source="multiple"] {
  background: var(--cdc-violet);
}

.cdc-calendar-section .cdc-source-state {
  color: var(--cdc-muted);
  font-size: 0.61rem;
  font-weight: 700;
}

.cdc-calendar-section .cdc-calendar-loading {
  align-items: center;
  background: var(--cdc-soft);
  border-radius: 14px;
  color: var(--cdc-muted);
  display: flex;
  font-weight: 700;
  gap: 12px;
  min-height: 190px;
  justify-content: center;
}

.cdc-calendar-section .cdc-loading-bar {
  animation: cdc-loading 1s ease-in-out infinite;
  background: var(--cdc-coral);
  border-radius: 8px;
  display: block;
  height: 8px;
  width: 42px;
}

.cdc-calendar-section .cdc-calendar-empty {
  background: var(--cdc-soft);
  border: 1px dashed #bac4d3;
  border-radius: 14px;
  margin: 14px 0;
  padding: 28px 18px;
  text-align: center;
}

.cdc-calendar-section .cdc-empty-title {
  color: var(--cdc-ink);
  font-weight: 800;
  margin: 0 0 5px;
}

.cdc-calendar-section .cdc-empty-copy {
  color: var(--cdc-muted);
  font-size: 0.9rem;
  margin: 0;
}

.cdc-calendar-section .cdc-grid-wrap {
  min-width: 0;
  overflow: hidden;
}

.cdc-calendar-section .cdc-calendar-grid {
  display: grid;
  gap: 3px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.cdc-calendar-section .cdc-weekday {
  color: var(--cdc-muted);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 7px 0 8px;
  text-align: center;
  text-transform: uppercase;
}

.cdc-calendar-section .cdc-day {
  background: #f9fafc;
  border: 1px solid #e6e9ef;
  border-radius: 9px;
  min-height: 78px;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.cdc-calendar-section .cdc-day[data-outside="true"] {
  background: #ffffff;
  border-color: #f0f2f5;
}

.cdc-calendar-section .cdc-day[data-today="true"] {
  border-color: var(--cdc-coral);
  box-shadow: inset 0 0 0 1px var(--cdc-coral);
}

.cdc-calendar-section .cdc-day[data-turnover="true"] {
  background: var(--cdc-gold-soft);
}

.cdc-calendar-section .cdc-date-button {
  align-items: flex-start;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--cdc-ink);
  cursor: pointer;
  display: flex;
  font-size: 0.72rem;
  font-weight: 800;
  inset: 0;
  min-height: 44px;
  padding: 7px 7px 0;
  position: absolute;
  text-align: left;
  width: 100%;
  z-index: 3;
}

.cdc-calendar-section .cdc-day[data-outside="true"] .cdc-date-button {
  color: #a5adba;
}

.cdc-calendar-section .cdc-day[data-today="true"] .cdc-date-number {
  align-items: center;
  background: var(--cdc-coral);
  border-radius: 50%;
  color: #ffffff;
  display: inline-flex;
  height: 25px;
  justify-content: center;
  margin: -3px;
  width: 25px;
}

.cdc-calendar-section .cdc-day-markers {
  bottom: 4px;
  display: flex;
  gap: 3px;
  left: 5px;
  position: absolute;
  right: 5px;
  z-index: 4;
}

.cdc-calendar-section .cdc-day-marker {
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 50%;
  flex: 0 0 7px;
  height: 7px;
}

.cdc-calendar-section .cdc-day-marker[data-kind="arrival"] {
  background: var(--cdc-teal);
}

.cdc-calendar-section .cdc-day-marker[data-kind="departure"] {
  background: var(--cdc-coral);
}

.cdc-calendar-section .cdc-day-marker[data-kind="turnover"] {
  background: var(--cdc-gold);
}

.cdc-calendar-section .cdc-event-bar {
  align-items: center;
  border: 0;
  color: #ffffff;
  display: flex;
  font-size: 0.64rem;
  font-weight: 800;
  height: 18px;
  left: -1px;
  letter-spacing: 0.01em;
  overflow: hidden;
  padding: 0 5px;
  pointer-events: none;
  position: absolute;
  right: -1px;
  text-overflow: ellipsis;
  top: calc(31px + (var(--cdc-event-row, 0) * 20px));
  white-space: nowrap;
  z-index: 2;
}

.cdc-calendar-section .cdc-event-bar[data-palette="0"] {
  background: var(--cdc-violet);
}

.cdc-calendar-section .cdc-event-bar[data-palette="1"] {
  background: var(--cdc-navy);
}

.cdc-calendar-section .cdc-event-bar[data-palette="2"] {
  background: var(--cdc-teal);
}

.cdc-calendar-section .cdc-event-bar[data-palette="3"] {
  background: #ad3f71;
}

.cdc-calendar-section .cdc-event-bar[data-start="true"] {
  border-bottom-left-radius: 10px;
  border-top-left-radius: 10px;
  left: 4px;
  padding-left: 7px;
}

.cdc-calendar-section .cdc-event-bar[data-end="true"] {
  border-bottom-right-radius: 10px;
  border-top-right-radius: 10px;
  right: 50%;
}

.cdc-calendar-section .cdc-event-bar[data-start="true"][data-end="true"] {
  right: 4px;
}

.cdc-calendar-section .cdc-event-bar[data-checkout-only="true"] {
  left: 0;
  right: 50%;
}

.cdc-calendar-section .cdc-event-bar[data-turnover-half="outgoing"] {
  right: calc(50% + 2px);
}

.cdc-calendar-section .cdc-event-bar[data-turnover-half="incoming"] {
  justify-content: center;
  left: calc(50% + 2px);
  padding: 0;
  right: -1px;
}

.cdc-calendar-section .cdc-event-bar[data-turnover-half="incoming"] .cdc-event-platform-mark {
  margin-right: 0;
}

.cdc-calendar-section .cdc-event-bar[data-turnover-half="incoming"] .cdc-event-label {
  display: none;
}

.cdc-calendar-section .cdc-event-bar[data-kind="blocked"],
.cdc-calendar-section .cdc-event-bar[data-kind="unavailable"] {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.82);
  opacity: 0.72;
}

.cdc-calendar-section .cdc-event-platform-mark {
  align-items: center;
  background: var(--cdc-source-other);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 14px;
  font-size: 0.48rem;
  height: 14px;
  justify-content: center;
  line-height: 1;
  margin-right: 4px;
}

.cdc-calendar-section .cdc-event-label {
  overflow: hidden;
  text-overflow: ellipsis;
}

.cdc-calendar-section .cdc-more-events {
  bottom: 3px;
  color: var(--cdc-muted);
  font-size: 0.58rem;
  font-weight: 800;
  position: absolute;
  right: 4px;
  z-index: 4;
}

.cdc-calendar-section .cdc-calendar-help {
  color: var(--cdc-muted);
  font-size: 0.76rem;
  margin: 12px 2px 0;
}

.cdc-calendar-section .cdc-turnovers {
  padding: clamp(18px, 4vw, 26px);
}

.cdc-calendar-section .cdc-turnovers-heading {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.cdc-calendar-section .cdc-turnovers-title {
  font-size: clamp(1.25rem, 3vw, 1.55rem);
}

.cdc-calendar-section .cdc-count-badge {
  align-items: center;
  background: var(--cdc-navy);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  min-width: 34px;
  padding: 0 10px;
}

.cdc-calendar-section .cdc-turnover-list {
  display: grid;
  gap: 10px;
}

.cdc-calendar-section .cdc-turnover-card {
  align-items: center;
  background: var(--cdc-soft);
  border: 1px solid var(--cdc-line);
  border-left: 5px solid var(--cdc-teal);
  border-radius: 12px;
  color: inherit;
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: 60px minmax(0, 1fr);
  min-height: 80px;
  padding: 10px 12px 10px 10px;
  text-align: left;
  width: 100%;
}

.cdc-calendar-section .cdc-turnover-card:hover {
  background: #edf1f7;
  border-color: #b8c2d1;
  border-left-color: var(--cdc-teal);
}

.cdc-calendar-section .cdc-turnover-card[data-turnover="true"] {
  border-left-color: var(--cdc-gold);
}

.cdc-calendar-section .cdc-turnover-card[data-confirmation="true"] {
  border-left-color: #778195;
}

.cdc-calendar-section .cdc-turnover-card[data-confirmation="true"]:hover {
  border-left-color: #566173;
}

.cdc-calendar-section .cdc-turnover-date {
  align-items: center;
  background: #ffffff;
  border: 1px solid #d6dce6;
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  height: 60px;
  justify-content: center;
  line-height: 1;
}

.cdc-calendar-section .cdc-turnover-month {
  color: var(--cdc-coral);
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.cdc-calendar-section .cdc-turnover-day {
  color: var(--cdc-ink);
  font-size: 1.1rem;
  font-weight: 900;
  margin-top: 3px;
}

.cdc-calendar-section .cdc-turnover-weekday {
  color: var(--cdc-muted);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-top: 3px;
  white-space: nowrap;
}

.cdc-calendar-section .cdc-turnover-name,
.cdc-calendar-section .cdc-turnover-time,
.cdc-calendar-section .cdc-turnover-empty {
  margin: 0;
}

.cdc-calendar-section .cdc-turnover-name {
  color: var(--cdc-ink);
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
}

.cdc-calendar-section .cdc-turnover-source {
  color: var(--cdc-teal);
  display: block;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.cdc-calendar-section .cdc-turnover-time {
  color: var(--cdc-muted);
  display: block;
  font-size: 0.76rem;
  margin-top: 2px;
}

.cdc-calendar-section .cdc-turnover-empty {
  color: var(--cdc-muted);
  font-size: 0.9rem;
  padding: 14px 2px;
}

.cdc-calendar-section .cdc-detail-dialog {
  background: transparent;
  border: 0;
  color: var(--cdc-ink);
  margin: auto;
  max-height: calc(100dvh - 24px);
  max-width: 620px;
  padding: 0;
  width: calc(100% - 24px);
}

.cdc-calendar-section .cdc-detail-dialog:not([open]):not([data-fallback-open="true"]) {
  display: none;
}

.cdc-calendar-section .cdc-detail-dialog::backdrop {
  background: rgba(9, 19, 35, 0.58);
}

.cdc-calendar-section .cdc-detail-dialog[data-fallback-open="true"] {
  align-items: flex-end;
  background: rgba(9, 19, 35, 0.58);
  display: flex;
  inset: 0;
  justify-content: center;
  max-height: none;
  max-width: none;
  padding: 12px;
  position: fixed;
  width: auto;
  z-index: 99999;
}

.cdc-calendar-section .cdc-dialog-panel {
  background: #ffffff;
  border: 1px solid var(--cdc-line);
  border-top: 6px solid var(--cdc-coral);
  border-radius: 20px;
  box-shadow: 0 26px 80px rgba(9, 19, 35, 0.28);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  padding: 18px;
  width: 100%;
}

.cdc-calendar-section .cdc-dialog-handle {
  background: #c6ccd6;
  border-radius: 4px;
  height: 4px;
  margin: -4px auto 13px;
  width: 48px;
}

.cdc-calendar-section .cdc-dialog-header {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.cdc-calendar-section .cdc-dialog-title {
  font-size: clamp(1.3rem, 4vw, 1.75rem);
}

.cdc-calendar-section .cdc-dialog-close {
  background: var(--cdc-soft);
  border-color: var(--cdc-line);
  color: var(--cdc-ink);
  flex: 0 0 auto;
}

.cdc-calendar-section .cdc-dialog-close:hover {
  background: #e9edf3;
}

.cdc-calendar-section .cdc-dialog-body {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.cdc-calendar-section .cdc-detail-card {
  background: var(--cdc-soft);
  border: 1px solid var(--cdc-line);
  border-left: 5px solid var(--cdc-violet);
  border-radius: 13px;
  padding: 15px;
}

.cdc-calendar-section .cdc-detail-card[data-kind="arrival"] {
  border-left-color: var(--cdc-teal);
}

.cdc-calendar-section .cdc-detail-card[data-kind="departure"] {
  border-left-color: var(--cdc-coral);
}

.cdc-calendar-section .cdc-detail-card[data-kind="turnover"] {
  background: var(--cdc-gold-soft);
  border-left-color: var(--cdc-gold);
}

.cdc-calendar-section .cdc-detail-card[data-kind="blocked"],
.cdc-calendar-section .cdc-detail-card[data-kind="unavailable"],
.cdc-calendar-section .cdc-detail-card[data-kind="confirmation"] {
  background: #f2f4f7;
  border-left-color: #778195;
}

.cdc-calendar-section .cdc-detail-badges {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cdc-calendar-section .cdc-detail-badge {
  background: var(--cdc-violet-soft);
  border-radius: 999px;
  color: #514095;
  display: inline-block;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  padding: 5px 8px;
  text-transform: uppercase;
}

.cdc-calendar-section .cdc-detail-card[data-kind="arrival"] .cdc-detail-badge {
  background: var(--cdc-teal-soft);
  color: #075c54;
}

.cdc-calendar-section .cdc-detail-card[data-kind="departure"] .cdc-detail-badge {
  background: var(--cdc-coral-soft);
  color: #912a41;
}

.cdc-calendar-section .cdc-detail-card[data-kind="turnover"] .cdc-detail-badge {
  background: #f7dfae;
  color: #75500f;
}

.cdc-calendar-section .cdc-detail-card[data-kind="blocked"] .cdc-detail-badge,
.cdc-calendar-section .cdc-detail-card[data-kind="unavailable"] .cdc-detail-badge,
.cdc-calendar-section .cdc-detail-card[data-kind="confirmation"] .cdc-detail-badge {
  background: #e1e5ea;
  color: #3d4655;
}

.cdc-calendar-section .cdc-source-badge {
  background: var(--cdc-source-other);
  border-radius: 999px;
  color: #ffffff;
  display: inline-block;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 5px 8px;
}

.cdc-calendar-section .cdc-detail-guest {
  font-size: 1.06rem;
  font-weight: 900;
  margin: 10px 0 12px;
}

.cdc-calendar-section .cdc-detail-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.cdc-calendar-section .cdc-detail-row {
  display: grid;
  gap: 4px;
  grid-template-columns: minmax(92px, 0.7fr) minmax(0, 1.4fr);
}

.cdc-calendar-section .cdc-detail-term,
.cdc-calendar-section .cdc-detail-value {
  font-size: 0.83rem;
  margin: 0;
}

.cdc-calendar-section .cdc-detail-term {
  color: var(--cdc-muted);
  font-weight: 700;
}

.cdc-calendar-section .cdc-detail-note {
  background: #ffffff;
  border: 1px solid #d6dce6;
  border-radius: 9px;
  color: #4f5a6c;
  font-size: 0.78rem;
  margin: 12px 0 0;
  padding: 9px 10px;
}

.cdc-calendar-section .cdc-detail-value {
  color: var(--cdc-ink);
  font-weight: 800;
}

.cdc-calendar-section .cdc-no-details {
  background: var(--cdc-teal-soft);
  border: 1px solid #b8ded8;
  border-radius: 13px;
  color: #075c54;
  padding: 18px;
}

.cdc-calendar-section .cdc-no-details-title {
  font-weight: 900;
  margin: 0 0 4px;
}

.cdc-calendar-section .cdc-no-details-copy {
  font-size: 0.88rem;
  margin: 0;
}

@keyframes cdc-pulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

@keyframes cdc-loading {
  0%,
  100% {
    transform: scaleX(0.7);
  }
  50% {
    transform: scaleX(1);
  }
}

@media (min-width: 620px) {
  .cdc-calendar-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .cdc-calendar-section .cdc-day {
    min-height: 98px;
  }

  .cdc-calendar-section .cdc-weekday {
    font-size: 0.75rem;
  }

  .cdc-calendar-section .cdc-date-button {
    font-size: 0.82rem;
    padding: 9px 9px 0;
  }

  .cdc-calendar-section .cdc-event-bar {
    font-size: 0.72rem;
    height: 22px;
    padding-left: 7px;
    top: calc(38px + (var(--cdc-event-row, 0) * 24px));
  }

  .cdc-calendar-section .cdc-turnover-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 920px) {
  .cdc-calendar-section .cdc-day {
    min-height: 112px;
  }
}

@media (max-width: 619px) {
  .cdc-calendar-section .cdc-brand-header {
    gap: 12px;
  }

  .cdc-calendar-section .cdc-brand-mark {
    border-radius: 12px;
    flex-basis: 44px;
    height: 44px;
  }

  .cdc-calendar-section .cdc-title {
    font-size: 2rem;
  }

  .cdc-calendar-section .cdc-intro {
    margin-left: -56px;
    margin-top: 16px;
  }

  .cdc-calendar-section .cdc-app-toolbar {
    align-items: flex-start;
  }

  .cdc-calendar-section .cdc-toolbar-actions {
    width: 100%;
  }

  .cdc-calendar-section .cdc-toolbar-actions .cdc-button {
    flex: 1 1 0;
  }

  .cdc-calendar-section .cdc-month-toolbar {
    align-items: stretch;
  }

  .cdc-calendar-section .cdc-month-actions {
    display: grid;
    grid-template-columns: 1fr 0.8fr 1fr;
    width: 100%;
  }

  .cdc-calendar-section .cdc-month-actions .cdc-button {
    font-size: 0.76rem;
    min-width: 0;
    padding-left: 6px;
    padding-right: 6px;
  }

  .cdc-calendar-section .cdc-legend {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cdc-calendar-section .cdc-calendar-card {
    border-radius: 16px;
    margin-left: -8px;
    margin-right: -8px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .cdc-calendar-section .cdc-calendar-grid {
    gap: 2px;
  }

  .cdc-calendar-section .cdc-event-bar {
    font-size: 0;
    padding: 0;
  }

  .cdc-calendar-section .cdc-event-bar[data-start="true"] {
    padding-left: 3px;
  }

  .cdc-calendar-section .cdc-event-bar[data-start="true"] .cdc-event-label {
    font-size: 0.52rem;
  }

  .cdc-calendar-section .cdc-event-platform-mark {
    flex-basis: 13px;
    height: 13px;
    margin-right: 2px;
  }

  .cdc-calendar-section .cdc-dialog-panel {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    max-height: 88dvh;
  }

  .cdc-calendar-section .cdc-detail-dialog[open] {
    margin-bottom: 0;
    max-height: 90dvh;
    width: 100%;
  }

  .cdc-calendar-section .cdc-detail-dialog[open] .cdc-dialog-panel {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cdc-calendar-section *,
  .cdc-calendar-section *::before,
  .cdc-calendar-section *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
