body:has(.view-calendar) .c.container-fluid {
  max-width: unset;
}

.view-calendar {
  width: 100%;
}
.view-calendar .calendar-app {
  display: flex;
  flex-direction: column;
  min-height: 70vh;
  width: 100%;
}
.view-calendar .calendar-body {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
  min-height: 0;
  flex: 1;
}
.view-calendar .strip {
  flex: 1;
  overflow: visible;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  padding: 0.5rem;
  outline: none;
  min-width: 0;
}
.view-calendar .actions-pre,
.view-calendar .actions-post {
  display: flex;
  justify-content: center;
  margin: 0.25rem 0 0.75rem;
}
.view-calendar .actions-pre .btn,
.view-calendar .actions-post .btn {
  max-width: 50%;
}
.view-calendar .week {
  margin-bottom: 1rem;
}
.view-calendar .days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.25rem;
}
.view-calendar .day {
  min-height: 5.5rem;
  padding: 0.25rem;
  border-radius: 0.2rem;
  background: #fff;
  cursor: default;
}
.view-calendar .day.is-today {
  background: #f8fafc;
  border-color: #94a3b8;
}
.view-calendar .day.is-month-end {
  border-bottom-width: 2px;
  border-right-width: 2px;
  border-bottom-color: #3b82f6;
  border-right-color: #3b82f6;
}
.view-calendar .day.is-focus {
  box-shadow: inset 0 0 0 2px #0d6efd;
}
.view-calendar .day-head {
  display: flex;
  justify-content: space-between;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: #6c757d;
  font-family: monospace;
}
.view-calendar .day.is-saturday .day-head {
  color: #b45309;
}
.view-calendar .day.is-sunday .day-head {
  color: #dc2626;
}
.view-calendar .day.is-month-start .dom {
  white-space: normal;
  overflow-wrap: anywhere;
}
.view-calendar .chips {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.view-calendar .chip {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
  text-align: left;
  border: 0;
  border-left: 3px solid #3788d8;
  background: #f1f5f9;
  padding: 0.15rem 0.3rem;
  font-size: 0.75rem;
  border-radius: 0.15rem;
  cursor: pointer;
}
.view-calendar .chip.is-span {
  background: #e2e8f0;
}
.view-calendar .chip.is-span-start {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.view-calendar .chip.is-span-mid {
  border-radius: 0;
  border-left-width: 0;
  opacity: 0.95;
}
.view-calendar .chip.is-span-end {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left-width: 0;
}
.view-calendar .chip.is-occurrence .label {
  font-style: italic;
}
.view-calendar .chip[draggable=true] {
  cursor: grab;
}
.view-calendar .chip .time {
  font-variant-numeric: tabular-nums;
  opacity: 0.8;
  font-family: monospace;
  font-size: 1.1rem;
}
.view-calendar .chip .label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: monospace;
  font-size: 1.1rem;
}
.view-calendar .search-wrap {
  position: relative;
  min-width: 14rem;
  flex: 1 1 14rem;
  max-width: 22rem;
}
.view-calendar .search-results {
  position: absolute;
  z-index: 1040;
  top: 100%;
  left: 0;
  right: 0;
  margin: 0.15rem 0 0;
  padding: 0.25rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  box-shadow: 0 0.35rem 0.75rem rgba(0, 0, 0, 0.12);
  max-height: 16rem;
  overflow: auto;
}
.view-calendar .search-results button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0.35rem 0.65rem;
  font-size: 0.85rem;
}
.view-calendar .search-results button:hover,
.view-calendar .search-results button:focus {
  background: #f1f5f9;
}
.view-calendar .search-results .meta {
  display: block;
  font-size: 0.75rem;
  color: #6c757d;
}
.view-calendar .bubble {
  position: fixed;
  z-index: 1050;
  width: min(50rem, 100vw - 1rem);
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.35rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  padding: 0.75rem;
}
.view-calendar .bubble-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}
.view-calendar .editor-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1060;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
  overflow: auto;
}
.view-calendar .editor {
  width: min(40rem, 100%);
  background: #fff;
  border-radius: 0.35rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.2);
}
.view-calendar .editor .radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
}
.view-calendar .editor .form-check.is-checked .form-check-label {
  font-weight: 600;
}
.view-calendar .bubble-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.view-calendar .bubble-tag {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  border-radius: 0.2rem;
  background: #f1f5f9;
  color: #495057;
}
.view-calendar .bubble-tag.is-more {
  background: transparent;
  color: #6c757d;
}
.view-calendar .bubble-tag:not(:last-child) {
  margin-right: 0.6rem;
}
.view-calendar .sequence-slot {
  min-height: 4.5rem;
}
.view-calendar .sequence ul {
  max-height: 8rem;
}