.view-host {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.app-view {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}

.section-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  height: 100%;
  min-height: 0;
}

.board-wrapper {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.employee-schedule-view {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
  height: 100%;
  min-height: 0;
  padding: 10px;
  overflow: hidden;
  background: var(--mobile-page-bg, #f4f3f8);
}

.employee-schedule-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid var(--theme-border, #cad9e6);
  border-radius: 14px;
  background: var(--theme-panel, #ffffff);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--theme-text, #21133d) 5%, transparent);
}

.employee-schedule-title {
  margin: 0;
  color: var(--theme-text, #21133d);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.employee-schedule-summary {
  margin: 3px 0 0;
  color: var(--theme-quiet, #546c86);
  font-size: 12px;
  font-weight: 600;
}

.form-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 12px;
  background: var(--theme-panel, #c3e1f2);
  border: 1px solid var(--theme-border, #9bc7df);
  border-radius: 8px;
  color: var(--theme-text, #21133d);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-section-heading small {
  color: var(--theme-quiet, #46617d);
  font-size: 11px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.availability-provider-section {
  display: grid;
  gap: 7px;
}

.availability-recurring-form {
  gap: 8px;
}

.availability-recurring-setup {
  display: grid;
  grid-template-columns: minmax(410px, 0.95fr) minmax(360px, 1.05fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
}

.availability-recurring-controls {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.availability-recurring-every-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.availability-provider-list,
.availability-recurring-weekdays {
  display: grid;
  gap: 6px;
}

.availability-provider-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.availability-provider-option,
.availability-weekday-option,
.availability-end-option,
.availability-overwrite-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 7px 12px;
  border: 1.5px solid var(--theme-border, #cad9e6);
  border-radius: 9999px;
  background: var(--theme-panel, #ffffff);
  color: var(--theme-text, #21133d);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.availability-provider-option:hover,
.availability-weekday-option:hover,
.availability-end-option:hover {
  border-color: var(--theme-border, #9bc7df);
  background: var(--theme-panel, #f0f6fc);
}

.availability-provider-option:has(input:checked),
.availability-weekday-option:has(input:checked),
.availability-end-option:has(input:checked) {
  border-color: var(--theme-accent, #221d3b);
  background: var(--theme-text, #221d3b);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(34, 29, 59, 0.2);
}

.availability-provider-option span,
.availability-weekday-option span,
.availability-end-option span,
.availability-overwrite-toggle span {
  min-width: 0;
}

.availability-provider-option input,
.availability-weekday-option input,
.availability-end-option input,
.availability-overwrite-toggle input {
  flex: 0 0 auto;
  accent-color: var(--mobile-coral, #ec665c);
}

.availability-recurring-weekdays {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.availability-recurring-fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--theme-border, #cad9e6);
  border-radius: 12px;
  background: var(--theme-panel, #f8fafd);
}

.availability-recurring-fieldset legend {
  padding: 2px 10px;
  background: var(--theme-panel, #c3e1f2);
  border: 1px solid var(--theme-border, #9bc7df);
  border-radius: 9999px;
  color: var(--theme-text, #21133d);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.availability-recurring-preview-section {
  display: grid;
  gap: 6px;
  align-self: stretch;
  min-height: 0;
}

.availability-recurring-preview,
.availability-recurring-conflicts {
  max-height: 124px;
  overflow: auto;
  padding: 10px 12px;
  border: 1px solid var(--theme-border, #cad9e6);
  border-radius: 10px;
  background: var(--theme-panel, #f8fafd);
}

.availability-recurring-conflicts {
  max-height: 116px;
  border-color: #fca5a5;
  background: #fef2f2;
  color: #991b1b;
  font-size: 12px;
  line-height: 1.35;
}

.availability-recurring-date-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 12px;
  color: var(--theme-text, #21133d);
  font-size: 12px;
  font-weight: 700;
}

.availability-overwrite-toggle {
  border-color: #f59e0b;
  background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
  color: #78350f;
  border-radius: 10px;
}

.availability-range-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.availability-range-buttons .toolbar-button,
.availability-range-buttons .tab-button {
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid var(--theme-border, #b8cde2);
  border-radius: 9999px;
  background: var(--theme-panel, #ffffff);
  color: var(--theme-text, #21133d);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 1px 2px color-mix(in srgb, var(--theme-text, #21133d) 5%, transparent);
}

.availability-range-buttons .toolbar-button:hover,
.availability-range-buttons .tab-button:hover:not(.is-active) {
  border-color: var(--theme-accent, #221d3b);
  background: var(--theme-panel, #f0f6fc);
}

.availability-range-buttons .toolbar-button.is-active,
.availability-range-buttons .tab-button.is-active {
  border-color: var(--theme-accent, #221d3b);
  background: var(--theme-text, #221d3b);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(34, 29, 59, 0.22);
}

.availability-grid {
  display: grid;
  grid-template-columns: minmax(160px, 196px) repeat(var(--availability-date-count), minmax(128px, 154px));
  grid-auto-rows: minmax(72px, auto);
  align-content: start;
  min-width: 100%;
  min-height: 0;
  overflow: auto;
  border: 1px solid var(--theme-border, #cad9e6);
  border-radius: 14px;
  background: var(--theme-panel, #ffffff);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--theme-text, #21133d) 6%, transparent);
}

.availability-header,
.availability-stylist-cell,
.availability-cell {
  border-right: 1px solid #d7e3ef;
  border-bottom: 1px solid #d7e3ef;
}

.availability-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  align-content: center;
  min-height: 46px;
  padding: 6px 10px;
  background: linear-gradient(180deg, var(--theme-panel, #d6ebf7) 0%, var(--theme-panel, #c3e1f2) 100%);
  border-bottom: 1px solid var(--theme-border, #9bc7df);
  color: var(--theme-text, #21133d);
  text-align: center;
}

.availability-stylist-header {
  left: 0;
  z-index: 8;
  text-align: left;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 11.5px;
}

.availability-date-header strong,
.availability-date-header span {
  display: block;
  line-height: 1.2;
}

.availability-date-header strong {
  color: var(--theme-text, #21133d);
  font-size: 12.5px;
  font-weight: 800;
}

.availability-date-header span {
  color: var(--theme-quiet, #46617d);
  font-size: 11px;
  font-weight: 600;
}

.availability-stylist-cell {
  position: sticky;
  left: 0;
  z-index: 4;
  display: grid;
  align-content: center;
  gap: 3px;
  min-height: 72px;
  padding: 10px 12px;
  background: linear-gradient(180deg, var(--theme-panel, #ffffff) 0%, #f4f6fb 100%);
  border-right: 1px solid var(--theme-border, #cad9e6);
  color: var(--theme-text, #21133d);
}

.availability-stylist-cell strong,
.availability-cell strong {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
}

.availability-stylist-cell span,
.availability-cell span,
.availability-cell small {
  font-size: 11px;
  line-height: 1.25;
}

.availability-stylist-cell span {
  color: #5c728a;
  font-weight: 600;
}

.availability-cell {
  display: grid;
  align-content: center;
  gap: 3px;
  min-height: 72px;
  padding: 8px 10px;
  border-top: 0;
  border-left: 0;
  border-radius: 0;
  color: var(--theme-text, #21133d);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: filter 0.12s ease, box-shadow 0.12s ease;
}

.availability-cell:hover,
.availability-cell:focus-visible {
  filter: brightness(0.97);
  box-shadow: inset 0 0 0 2px rgba(34, 29, 59, 0.28);
  outline: none;
}

.availability-status-none {
  background: var(--theme-panel, #f8fafc);
  color: var(--theme-quiet, #475569);
}

.availability-status-working {
  background: linear-gradient(180deg, #e8fbee 0%, #d3f4df 100%);
  color: #14532d;
  box-shadow: inset 3px 0 0 #22c55e;
}

.availability-status-off_regular {
  background: linear-gradient(180deg, #fff0f2 0%, #ffe0e5 100%);
  color: #881337;
  box-shadow: inset 3px 0 0 #f43f5e;
}

.availability-status-off_illness {
  background: linear-gradient(180deg, #fff5eb 0%, #fde6cf 100%);
  color: #9a3412;
  box-shadow: inset 3px 0 0 #f97316;
}

.availability-status-off_personal_business {
  background: linear-gradient(180deg, #fefce8 0%, #fef08a 100%);
  color: #713f12;
  box-shadow: inset 3px 0 0 #eab308;
}

.availability-status-off_vacation {
  background: linear-gradient(180deg, #f0f9ff 0%, #d8effd 100%);
  color: #0c4a6e;
  box-shadow: inset 3px 0 0 #0ea5e9;
}

.availability-status-off_other {
  background: linear-gradient(180deg, #faf5ff 0%, #ede0fe 100%);
  color: #581c87;
  box-shadow: inset 3px 0 0 #a855f7;
}

.availability-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid var(--theme-border, #cad9e6);
  border-radius: 12px;
  background: var(--theme-panel, #ffffff);
  box-shadow: 0 2px 6px color-mix(in srgb, var(--theme-text, #21133d) 4%, transparent);
}

.availability-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--theme-text, #21133d);
  font-size: 11.5px;
  font-weight: 700;
}

.availability-swatch {
  display: inline-block;
  width: 18px;
  height: 12px;
  border: 1px solid rgba(33, 19, 61, 0.2);
  border-radius: 9999px;
}

.board-main {
  display: grid;
  grid-template-columns: var(--time-column-width) minmax(0, 1fr);
  width: max-content;
  min-width: 100%;
  min-height: 100%;
  align-content: start;
}

.time-column {
  display: grid;
  grid-template-rows: 38px auto;
  align-content: start;
  position: sticky;
  left: 0;
  z-index: 35;
  border-right: 1px solid var(--theme-border, #8eb1d1);
  background: linear-gradient(var(--theme-sidebar-top, #c7dcf4), var(--theme-sidebar-bottom, #96b6db));
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.68);
}

.time-column.is-week {
  grid-template-rows: 62px auto;
}

.time-header {
  position: sticky;
  top: 0;
  z-index: 35;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 38px;
  padding: 4px 4px 3px;
  border-bottom: 1px solid var(--theme-border, #8eb1d1);
  background: linear-gradient(var(--theme-menu-top, #d2e4f8), var(--theme-menu-bottom, #abc5e3));
}

.time-column.is-week .time-header {
  min-height: 62px;
}

.time-rail {
  position: relative;
  display: grid;
  grid-template-rows: repeat(var(--slot-count), var(--slot-height));
  border-bottom: 2px solid var(--theme-grid-major-line);
  background: linear-gradient(var(--theme-sidebar-top, #cadcf2), var(--theme-sidebar-bottom, #8eb1d6));
}

.time-rail > .time-rail-current-time {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 4;
  grid-row: auto;
  grid-column: auto;
  pointer-events: none;
}

.time-slot {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: var(--slot-height);
  padding-right: 6px;
  color: var(--theme-text, #5a7ca3);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  overflow: visible;
}

.time-slot::after {
  content: "";
  position: absolute;
  top: 0;
  right: 2px;
  width: 15px;
  border-top: 1px solid var(--theme-grid-half-hour-line);
  pointer-events: none;
}

.time-slot.is-minor {
  color: transparent;
}

.time-slot.is-half-hour {
  color: transparent;
}

.time-slot.is-major {
  border-top: 2px solid var(--theme-grid-major-line);
}

.time-slot.is-major::after {
  content: none;
}

.time-slot.is-half-hour::after {
  width: 16px;
  border-top-width: 1px;
  border-top-color: var(--theme-grid-half-hour-line);
}

.time-slot span {
  position: absolute;
  top: 4px;
  right: 6px;
  display: inline-block;
  z-index: 1;
  line-height: 1;
  transform: none;
}

.time-slot.is-major span::before,
.time-slot.is-major span::after {
  content: none;
}

.time-slot.is-major span::before {
  right: calc(100% + 3px);
  width: 8px;
}

.time-slot.is-major span::after {
  left: calc(100% + 3px);
  width: 4px;
}

.time-slot.is-first-slot span {
  transform: none;
}

.schedule-current-time {
  position: relative;
  z-index: 16;
  min-height: 0;
  overflow: visible;
  pointer-events: none;
}

.schedule-current-time::before {
  content: "";
  position: absolute;
  top: var(--current-time-offset, 0%);
  left: 4px;
  right: 2px;
  z-index: 2;
  height: 2px;
  transform: translateY(-50%);
  background: #ffd84d;
  box-shadow:
    0 0 0 1px rgba(126, 86, 0, 0.34),
    0 0 9px rgba(255, 216, 77, 0.48);
}

.schedule-current-time::after {
  content: "";
  position: absolute;
  top: calc(var(--current-time-offset, 0%) - 84px);
  left: 4px;
  right: 2px;
  z-index: 1;
  height: 84px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 216, 77, 0),
    rgba(255, 216, 77, 0.16) 42%,
    rgba(255, 216, 77, 0.38)
  );
  transform: none;
  box-shadow: none;
}

.board-scroll {
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: none;
  scroll-padding-left: var(--time-column-width);
  scroll-snap-type: x proximity;
}

.board-grid {
  position: relative;
  display: grid;
  grid-template-rows: 38px auto;
  align-content: start;
  width: calc(var(--provider-count) * var(--provider-column-width));
  min-width: calc(var(--provider-count) * var(--provider-column-width));
}

.board-grid.is-week {
  grid-template-rows: 62px auto;
}

.provider-row,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(var(--provider-count), minmax(0, var(--provider-column-width)));
  width: calc(var(--provider-count) * var(--provider-column-width));
  min-width: calc(var(--provider-count) * var(--provider-column-width));
}

.provider-row {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--theme-border, #8fa7c6);
  background: linear-gradient(var(--theme-main-top, #dfeafb), var(--theme-main-bottom, #c5d7ef));
}

.provider-row.is-week {
  grid-template-rows: 26px 36px;
}

.schedule-day-header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 4px 8px;
  border-left: 1px solid #e89c27;
  border-right: 1px solid #e89c27;
  border-bottom: 1px solid #a86c18;
  background: linear-gradient(var(--theme-provider-top), var(--theme-provider-bottom));
  color: #6b4200;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.provider-header {
  position: relative;
  min-height: 38px;
  padding: 0 6px;
  border-left: 1px solid #e89c27;
  border-right: 1px solid #e89c27;
  background: linear-gradient(var(--theme-main-top, #dce8f8), var(--theme-main-bottom, #c6d7ee));
  scroll-snap-align: start;
  scroll-snap-stop: always;
  text-align: center;
}

.provider-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 22px;
  border-bottom: 1px solid #b56c00;
  background: linear-gradient(var(--theme-provider-top), var(--theme-provider-bottom));
}

.provider-day {
  position: absolute;
  top: 3px;
  left: 5px;
  z-index: 1;
  color: #6b4200;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
}

.provider-name {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 3px;
  z-index: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  color: #2f4f71;
  line-height: 1.05;
}

.provider-caption {
  position: absolute;
  top: 3px;
  left: 24px;
  right: 5px;
  z-index: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  color: #6b4200;
  line-height: 1;
  text-align: right;
}

.provider-row.is-week .provider-header {
  min-height: 36px;
  border-top: 0;
  background: linear-gradient(var(--theme-panel, #dce8f8), var(--theme-panel, #c6d7ee));
}

.provider-row.is-week .provider-header::before,
.provider-row.is-week .provider-day,
.provider-row.is-week .provider-caption {
  display: none;
}

.provider-row.is-week .provider-name {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

.calendar-grid {
  position: relative;
  grid-template-rows: repeat(var(--slot-count), var(--slot-height));
  height: max-content;
  min-height: 0;
  background: linear-gradient(#d9e7fa, #c1d4ee);
}

.schedule-empty-state {
  align-self: start;
  margin: 12px;
}

.schedule-divider-layer {
  position: absolute;
  inset: 0;
  z-index: 18;
  pointer-events: none;
}

.schedule-divider-layer.is-previewing::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--divider-preview-left, 0);
  z-index: 2;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(#58b7ff, #1e73d8);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.72),
    0 0 14px rgba(39, 126, 220, 0.36);
  pointer-events: none;
}

.schedule-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--divider-index) * var(--provider-column-width));
  width: 28px;
  padding: 0;
  transform: translateX(-50%);
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: col-resize;
  pointer-events: auto;
  touch-action: none;
}

.schedule-divider::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  background: linear-gradient(#f7c556, #d68c18);
  box-shadow:
    0 0 0 1px rgba(255, 220, 136, 0.2),
    0 0 10px rgba(214, 140, 24, 0.14);
}

.schedule-divider-handle {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 14px;
  height: 28px;
  transform: translateX(-50%);
  border: 1px solid #b87915;
  border-radius: 999px;
  background:
    linear-gradient(#fff7d7, #f0b34b);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 1px 2px rgba(78, 52, 8, 0.18);
}

.schedule-divider-handle::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(117, 76, 7, 0.68) 0,
      rgba(117, 76, 7, 0.68) 1px,
      transparent 1px,
      transparent 3px
    );
}

.schedule-divider:hover .schedule-divider-handle,
.schedule-divider:focus-visible .schedule-divider-handle,
.schedule-divider.is-active .schedule-divider-handle {
  background: linear-gradient(#fffbe7, #f4bd57);
}

.schedule-divider.is-visible-edge-left .schedule-divider-handle {
  left: calc(50% + 3px);
}

.schedule-divider.is-visible-edge-right .schedule-divider-handle {
  left: calc(50% - 3px);
}

.schedule-divider.is-active::before {
  background: linear-gradient(#ffde7f, #e59a22);
  box-shadow:
    0 0 0 1px rgba(255, 232, 167, 0.35),
    0 0 12px rgba(214, 140, 24, 0.24);
}

.lane-background {
  z-index: 0;
  border-left: 1px solid #ea9e29;
  border-right: 1px solid #ea9e29;
}

.lane-background.tone-standard {
  background: var(--theme-lane);
}

.lane-background.tone-alt {
  background: var(--theme-lane-alt);
}

.lane-background.tone-off {
  background: var(--theme-lane-off);
}

.slot-cell {
  z-index: 1;
  width: 100%;
  min-height: var(--slot-height);
  padding: 0;
  border-top: 1px solid var(--theme-grid-half-hour-line);
  border-left: 1px solid rgba(136, 160, 189, 0.16);
  border-right: 1px solid rgba(136, 160, 189, 0.16);
  border-bottom: 0;
  border-radius: 0;
  background: transparent;
  transition:
    background 140ms ease,
    box-shadow 140ms ease;
}

.slot-cell.is-major {
  border-top: 2px solid var(--theme-grid-major-line);
}

.slot-cell.is-half-hour {
  border-top-width: 1px;
  border-top-color: var(--theme-grid-half-hour-line);
}

.slot-cell.is-day-end {
  border-bottom: 2px solid var(--theme-grid-major-line);
}

.slot-cell:hover,
.slot-cell:focus-visible {
  background: rgba(77, 116, 163, 0.06);
  box-shadow: inset 0 0 0 1px rgba(77, 116, 163, 0.2), inset -4px 0 0 rgba(45, 106, 79, 0.5);
}

.slot-cell.is-range-selected {
  background: rgba(59, 130, 246, 0.28);
  box-shadow: inset 0 0 0 1.5px rgba(29, 78, 216, 0.65), inset -6px 0 0 rgba(29, 78, 216, 0.85);
}

.slot-cell.is-appointment-selected {
  position: relative;
  background: #2d6a4f !important;
  box-shadow: inset 0 0 0 1.5px #1b4332, 0 0 8px rgba(45, 106, 79, 0.42) !important;
  color: #ffffff !important;
}

.slot-cell.is-appointment-selected::after {
  content: "+";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.schedule-off-block {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 0;
  margin: 1px 2px;
  padding: 3px 4px;
  overflow: hidden;
  border: 1px solid rgba(135, 150, 170, 0.42);
  border-radius: 4px;
  background: rgba(198, 207, 218, 0.78);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  color: transparent;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.1;
  pointer-events: none;
  text-align: center;
}

.schedule-off-block span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schedule-block {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5px;
  margin: 0 0 1px 2px;
  padding: 3px 5px;
  overflow: hidden;
  border: 1px solid;
  border-radius: 4px;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  width: calc(100% - 12px);
  view-transition-class: schedule-appointment-block;
  transition:
    width 0.26s cubic-bezier(0.2, 0.9, 0.3, 1),
    margin-left 0.26s cubic-bezier(0.2, 0.9, 0.3, 1),
    box-shadow 0.18s ease,
    transform 0.15s ease,
    opacity 0.2s ease;
}

.schedule-block.is-overlapping,
.schedule-buffer-block.is-overlapping {
  --overlap-gap: 3px;
  --schedule-lane-reserve-right: 10px;
  --overlap-available-width: calc(100% - 2px - var(--schedule-lane-reserve-right));
  --overlap-width: calc(
    (var(--overlap-available-width) - (var(--appointment-overlap-count) - 1) * var(--overlap-gap)) / var(--appointment-overlap-count)
  );
  z-index: calc(4 + var(--appointment-overlap-index));
  justify-self: start;
  align-self: stretch;
  width: var(--overlap-width);
  margin-right: 0;
  margin-left: calc(
    2px + var(--appointment-overlap-index) * (var(--overlap-width) + var(--overlap-gap))
  );
}

.schedule-block.is-double-book-target {
  box-shadow: 0 0 0 2px #2d6a4f, inset 0 0 0 1px rgba(255, 255, 255, 0.65), 0 3px 10px rgba(45, 106, 79, 0.35);
  transform: scale(0.985);
  filter: brightness(1.04);
}

.schedule-block.is-dragging,
.schedule-buffer-block.is-dragging {
  opacity: 1;
  z-index: 25;
  cursor: grabbing;
  pointer-events: none;
  outline: 2px solid #1b5aa8;
  outline-offset: 0;
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.32),
    0 2px 6px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  filter: brightness(1.03);
}

.appointment-resize-handle {
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  cursor: ns-resize;
  z-index: 8;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.appointment-resize-handle.is-start {
  top: 0;
}

.appointment-resize-handle.is-end {
  bottom: 0;
}

.appointment-resize-handle::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 9999px;
  background: rgba(33, 19, 61, 0.28);
  opacity: 0;
  transition: opacity 0.15s ease, background-color 0.15s ease, height 0.15s ease;
}

.schedule-block:hover .appointment-resize-handle::after,
.appointment-resize-handle:hover::after {
  opacity: 0.6;
}

.appointment-resize-handle:hover::after {
  opacity: 1;
  background: var(--mobile-coral, #ec665c);
  height: 4px;
}

body.is-resizing-appointment,
body.is-resizing-appointment * {
  cursor: ns-resize !important;
  user-select: none !important;
}

.schedule-block.is-resizing {
  box-shadow: 0 0 0 2px var(--mobile-coral, #ec665c), 0 4px 12px color-mix(in srgb, var(--theme-accent, #ec665c) 28%, transparent);
  z-index: 10;
  filter: brightness(1.02);
}

:root {
  view-transition-name: none;
}

::view-transition {
  pointer-events: none;
}

::view-transition-group(.schedule-appointment-block) {
  animation-duration: 0.28s;
  animation-timing-function: cubic-bezier(0.2, 0.9, 0.3, 1);
}

::view-transition-old(.schedule-appointment-block),
::view-transition-new(.schedule-appointment-block) {
  animation-duration: 0.28s;
  animation-timing-function: cubic-bezier(0.2, 0.9, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
  .schedule-block,
  .schedule-buffer-block {
    transition: none !important;
  }
}

body.is-dragging-appointment .schedule-block,
body.is-dragging-time-block .schedule-block {
  cursor: grabbing;
}

.schedule-block:hover,
.schedule-block:focus-visible {
  filter: brightness(0.98);
}

.schedule-block.tone-blue {
  border-color: #31548e;
  background: linear-gradient(#4a72b8, #35589c);
  color: #ffffff;
}

.schedule-block.tone-blue .block-title {
  color: #ffffff;
}

.schedule-block.tone-blue .block-line {
  color: rgba(255, 255, 255, 0.92);
}

.schedule-block.tone-green {
  border-color: #1e592c;
  background: linear-gradient(#2d7d40, #1c5e2d);
  color: #ffffff;
}

.schedule-block.tone-green .block-title {
  color: #ffffff;
}

.schedule-block.tone-green .block-line {
  color: rgba(255, 255, 255, 0.92);
}

.schedule-block.tone-muted {
  border-color: #4a5462;
  background: linear-gradient(#606d7d, #495462);
  color: #ffffff;
}

.schedule-block.tone-muted .block-title {
  color: #ffffff;
}

.schedule-block.tone-muted .block-line {
  color: rgba(255, 255, 255, 0.92);
}

.schedule-block.tone-red {
  border-color: #6d0a0a;
  background: linear-gradient(#a31414, #7d0d0d);
  color: #ffffff;
}

.schedule-block.tone-red .block-title {
  color: #ffffff;
}

.schedule-block.tone-red .block-line {
  color: rgba(255, 255, 255, 0.92);
}

.schedule-block.tone-lime {
  border-color: #435b12;
  background: linear-gradient(#607d21, #486114);
  color: #ffffff;
}

.schedule-block.tone-lime .block-title {
  color: #ffffff;
}

.schedule-block.tone-lime .block-line {
  color: rgba(255, 255, 255, 0.92);
}

.schedule-block.tone-paper {
  border-color: #4b5563;
  background: linear-gradient(var(--theme-text, #6b7280), var(--theme-text, #4b5563));
  color: #ffffff;
}

.schedule-block.tone-paper .block-title {
  color: #ffffff;
}

.schedule-block.tone-paper .block-line {
  color: rgba(255, 255, 255, 0.92);
}

.schedule-block.tone-requested {
  border-color: #374151;
  background: linear-gradient(var(--theme-text, #4b5563), var(--theme-text, #374151));
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.schedule-block.tone-requested .block-title {
  color: #ffffff;
}

.schedule-block.tone-requested .block-line {
  color: rgba(255, 255, 255, 0.92);
}

.schedule-block[data-appointment-id].is-selected,
.schedule-block[data-appointment-id][class*="tone-"].is-selected {
  border-color: color-mix(in srgb, #9a6c00 68%, var(--theme-border, #7f9dbc) 32%);
  background: linear-gradient(
    color-mix(in srgb, #fff082 78%, var(--theme-provider-top, var(--theme-accent, #ffd27a)) 22%),
    color-mix(in srgb, #f5c93d 74%, var(--theme-provider-bottom, var(--theme-accent, #f0a43a)) 26%)
  );
  color: #261b00;
  box-shadow:
    0 0 0 2px color-mix(in srgb, #ffd84d 72%, var(--theme-accent, #f0a43a) 28%),
    0 4px 12px color-mix(in srgb, #8a6100 28%, transparent);
  filter: none;
  z-index: 12;
}

.schedule-block[data-appointment-id].is-selected .block-title,
.schedule-block[data-appointment-id][class*="tone-"].is-selected .block-title {
  color: #1c1300;
}

.schedule-block[data-appointment-id].is-selected .block-line,
.schedule-block[data-appointment-id][class*="tone-"].is-selected .block-line {
  color: rgba(38, 27, 0, 0.88);
}

.schedule-time-block {
  border-color: #262e3d;
  background:
    repeating-linear-gradient(135deg, rgba(71, 85, 105, 0.7) 0 8px, rgba(30, 41, 59, 0.85) 8px 18px),
    #1e293b;
  color: #ffffff;
  cursor: grab;
  line-height: 1.15;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.schedule-time-block .block-title {
  color: #ffffff;
}

.schedule-time-block .block-line {
  color: rgba(255, 255, 255, 0.88);
}

.schedule-time-block .block-title,
.schedule-time-block .block-line {
  max-width: 100%;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.schedule-time-block:hover,
.schedule-time-block:focus-visible {
  filter: brightness(0.97);
}

.schedule-time-block.is-multi-selected {
  outline: 3px solid #ffd000 !important;
  outline-offset: 1px !important;
  box-shadow: 0 0 14px rgba(255, 208, 0, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.8) !important;
  filter: brightness(1.18) saturate(1.1) !important;
  z-index: 15 !important;
}

.schedule-buffer-block {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin: 0 0 1px 2px;
  padding: 3px 5px;
  overflow: hidden;
  border: 1px dashed #7f95ab;
  border-radius: var(--radius-tight);
  background: repeating-linear-gradient(
    135deg,
    rgba(232, 238, 246, 0.86),
    rgba(232, 238, 246, 0.86) 5px,
    rgba(207, 218, 231, 0.86) 5px,
    rgba(207, 218, 231, 0.86) 10px
  );
  color: #40566f;
  font-size: 11px;
  line-height: 1.1;
  text-align: left;
  pointer-events: auto;
  width: calc(100% - 12px);
  view-transition-class: schedule-appointment-block;
  transition:
    width 0.26s cubic-bezier(0.2, 0.9, 0.3, 1),
    margin-left 0.26s cubic-bezier(0.2, 0.9, 0.3, 1),
    opacity 0.2s ease;
}

.schedule-buffer-block strong {
  font-size: 11px;
}

.block-title {
  display: block;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.block-line {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.92);
}

.schedule-block.is-stacked-first {
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  margin-bottom: 0;
}

.schedule-block.is-stacked-middle {
  border-radius: 2px;
  margin-top: 0;
  margin-bottom: 0;
}

.schedule-block.is-stacked-last {
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  margin-top: 0;
}

.schedule-context-menu {
  position: fixed;
  z-index: 1500;
  width: 222px;
  min-width: 222px;
  max-width: 222px;
  padding: 3px 0;
  overflow: hidden;
  resize: none;
  border: 1px solid #6f95c4;
  border-radius: 2px;
  background: #f7f7f7;
  box-shadow: 2px 3px 8px rgba(28, 45, 66, 0.28);
  color: #001f7a;
  font-size: 12px;
  line-height: 1.2;
  user-select: none;
}

.schedule-context-menu[hidden] {
  display: none;
}

.schedule-context-menu-item {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-height: 27px;
  padding: 2px 8px 2px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #001f7a;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.schedule-context-menu-item:hover:not(:disabled),
.schedule-context-menu-item:focus-visible:not(:disabled) {
  background: linear-gradient(#fff7b8, #f5c138);
  color: #151000;
  outline: 1px solid #d7a113;
  outline-offset: -1px;
}

.schedule-context-menu-item.is-highlighted:not(:disabled) {
  background: linear-gradient(#fff1a4, #f3c038);
  color: #201600;
}

.schedule-context-menu-item:disabled {
  color: #8c8c8c;
  cursor: default;
}

.schedule-context-menu-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid #a7b5c7;
  background: linear-gradient(var(--theme-panel, #ffffff), #dfeafa);
  color: #31557f;
  font-size: 9px;
  font-weight: 700;
}

.schedule-context-menu-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.schedule-context-menu-item:disabled .schedule-context-menu-icon {
  opacity: 0.45;
  filter: grayscale(1);
}

.schedule-context-menu-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schedule-context-menu-separator {
  height: 1px;
  margin: 4px 0 4px 34px;
  background: #c8c8c8;
}

/* ==========================================================================
   Desktop Month Schedule View (Theme 2 Classic Desktop System)
   ========================================================================== */

.month-schedule-view {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 12px;
  background: var(--theme-panel, #c8dcf0);
  border-radius: 8px;
  border: 1px solid var(--theme-border, #b8cde2);
  box-shadow: inset 0 1px 3px color-mix(in srgb, var(--theme-text, #21133d) 8%, transparent);
  min-height: 0;
  flex: 1;
  overflow: auto;
}

.month-schedule-view[hidden] {
  display: none !important;
}

.month-schedule-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 7px 14px;
  background: var(--theme-panel, #ffffff);
  border: 1px solid var(--theme-border, #b8cde2);
  border-radius: 8px;
  box-shadow: 0 1px 3px color-mix(in srgb, var(--theme-text, #21133d) 5%, transparent);
}

.month-toolbar-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.month-schedule-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--theme-text, #221d3b);
  min-width: 140px;
  text-align: center;
}

.month-nav-btn {
  min-height: 24px;
  padding: 0 9px;
  font-size: 10px;
}

.month-today-btn {
  min-height: 24px;
  padding: 0 11px;
  font-size: 11px;
}

.month-stylist-filter-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--theme-text, #221d3b);
}

.month-stylist-select {
  height: 28px;
  line-height: 26px;
  padding: 0 12px;
  border: 1px solid var(--theme-border, #b8cde2);
  border-radius: 9999px;
  background: var(--theme-panel, #f5f8fc);
  color: var(--theme-text, #221d3b);
  font-size: 11.5px;
  font-weight: 600;
  vertical-align: middle;
  box-sizing: border-box;
  cursor: pointer;
  outline: none;
  transition: border-color 0.14s ease, background 0.14s ease;
}

.month-stylist-select:hover,
.month-stylist-select:focus {
  border-color: var(--theme-accent, #221d3b);
  background: var(--theme-panel, #ffffff);
}

.month-stats-badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 9999px;
  background: #e8f1fa;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-size: 11px;
  font-weight: 700;
}

.month-grid-container {
  display: flex;
  flex-direction: column;
  background: #b8cde2;
  border: 1px solid var(--theme-border, #b8cde2);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--theme-text, #21133d) 6%, transparent);
}

.month-weekdays-header {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  background: linear-gradient(180deg, var(--theme-panel, #f5f8fc) 0%, var(--theme-panel, #e2edf8) 100%);
  border-bottom: 1px solid var(--theme-border, #b8cde2);
}

.month-weekday-cell {
  padding: 6px 4px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--theme-text, #221d3b);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-right: 1px solid #d0dfec;
}

.month-weekday-cell:last-child {
  border-right: none;
}

.month-days-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  background: #b8cde2;
}

.month-day-cell {
  display: flex;
  flex-direction: column;
  background: var(--theme-panel, #ffffff);
  min-height: 115px;
  padding: 5px;
  gap: 4px;
  position: relative;
  transition: background-color 0.12s ease;
}

.month-day-cell.is-other-month {
  background: var(--theme-panel, #f8fafc);
  opacity: 0.72;
}

.month-day-cell.is-today {
  background: #fbfdff;
  box-shadow: inset 0 0 0 1.5px var(--theme-accent, #d98c2b);
}

.month-day-cell.is-selected {
  outline: 2px solid #221d3b;
  outline-offset: -2px;
  z-index: 1;
}

.month-day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 20px;
}

.month-day-number-btn {
  border: none;
  background: transparent;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--theme-text, #221d3b);
  cursor: pointer;
  transition: background-color 0.12s ease, color 0.12s ease;
}

.month-day-number-btn:hover {
  background: var(--theme-panel, #e2edf8);
  color: var(--theme-text, #221d3b);
}

.month-day-number-btn.is-today-badge {
  background: var(--theme-accent, #d98c2b);
  color: #ffffff;
  border-radius: 9999px;
  padding: 1px 7px;
}

.month-day-actions {
  display: flex;
  align-items: center;
  gap: 3px;
}

.month-day-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 9999px;
  background: #eef2f7;
  color: var(--theme-quiet, #475569);
  font-size: 9.5px;
  font-weight: 700;
}

.month-day-add-btn {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1px solid var(--theme-border, #cbd5e1);
  background: var(--theme-panel, #f8fafc);
  color: var(--theme-quiet, #64748b);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  opacity: 0.55;
  transition: all 0.12s ease;
  padding: 0;
}

.month-day-cell:hover .month-day-add-btn,
.month-day-add-btn:focus-visible {
  opacity: 1;
  background: var(--theme-text, #221d3b);
  color: #ffffff;
  border-color: var(--theme-accent, #221d3b);
}

.month-day-events {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  overflow-y: auto;
  max-height: 125px;
  scrollbar-width: thin;
}

.month-day-events::-webkit-scrollbar {
  width: 3px;
}

.month-day-events::-webkit-scrollbar-thumb {
  background: #b8cde2;
  border-radius: 3px;
}

.month-event-item {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 2.5px 5px;
  border-radius: 4px;
  font-size: 10.5px;
  line-height: 1.25;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.month-event-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px color-mix(in srgb, var(--theme-text, #21133d) 12%, transparent);
}

.month-event-time {
  font-weight: 700;
  font-size: 10px;
  opacity: 0.9;
  flex-shrink: 0;
}

.month-event-client {
  font-weight: 700;
  flex-shrink: 0;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.month-event-service {
  opacity: 0.88;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.month-event-staff {
  font-size: 9px;
  font-weight: 600;
  padding: 1px 3px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.07);
  flex-shrink: 0;
}

.month-event-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.month-event-dot.status-confirmed {
  background: #10b981;
}

.month-event-dot.status-checked-in {
  background: #3b82f6;
}

.month-event-dot.status-arrived {
  background: #06b6d4;
}

.month-event-dot.status-booked {
  background: #8b5cf6;
}

.month-event-dot.status-completed {
  background: #64748b;
}

.month-event-item.tone-blue {
  background: var(--theme-panel, #eef6fc);
  border-color: #c5e1f8;
  color: #103b60;
}

.month-event-item.tone-green {
  background: #edfbf2;
  border-color: #b7ecc7;
  color: #0e532b;
}

.month-event-item.tone-amber {
  background: #fef8eb;
  border-color: #fce4b3;
  color: #78350f;
}

.month-event-item.tone-purple {
  background: #f5f0fb;
  border-color: #ddccf7;
  color: #3b1a6e;
}

.month-event-item.tone-rose {
  background: #fdf0f4;
  border-color: #f8c8d8;
  color: #831843;
}

.month-event-item.tone-red {
  background: #fee2e2;
  border-color: #fecaca;
  color: #991b1b;
}

.month-event-item[data-appointment-id].is-selected {
  background: linear-gradient(
    color-mix(in srgb, #fff28f 80%, var(--theme-provider-top, var(--theme-accent, #ffd27a)) 20%),
    color-mix(in srgb, #f6cc44 76%, var(--theme-provider-bottom, var(--theme-accent, #f0a43a)) 24%)
  );
  border-color: color-mix(in srgb, #9a6c00 68%, var(--theme-border, #7f9dbc) 32%);
  color: #261b00;
  box-shadow: 0 0 0 1px color-mix(in srgb, #ffd84d 72%, var(--theme-accent, #f0a43a) 28%);
}

.month-event-item[data-appointment-id].is-selected .month-event-time,
.month-event-item[data-appointment-id].is-selected .month-event-client,
.month-event-item[data-appointment-id].is-selected .month-event-service,
.month-event-item[data-appointment-id].is-selected .month-event-staff {
  color: #261b00;
}

.month-event-item.is-time-block {
  background: #fef2f2;
  border: 1px dashed #f87171;
  color: #991b1b;
}

.month-event-item.is-off-day {
  background: var(--theme-panel, #f1f5f9);
  border: 1px solid var(--theme-border, #e2e8f0);
  color: var(--theme-quiet, #64748b);
  cursor: default;
}

.month-event-item.is-off-day .month-event-time {
  color: var(--theme-quiet, #94a3b8);
}

.month-event-item.is-off-day .month-event-title {
  font-weight: 600;
  font-size: 10px;
}


