.hsb-activity-editor,
.hsb-activity-schedule-modal,
.hsb-activity-image-crop-modal,
.hsb-activity-place-modal {
  --hsb-bg: #08090d;
  --hsb-panel: #14171c;
  --hsb-panel-2: #1d2229;
  --hsb-line: rgba(255, 255, 255, 0.11);
  --hsb-text: #f4f2ea;
  --hsb-muted: rgba(244, 242, 234, 0.68);
  --hsb-gold: #d6a33a;
  --hsb-danger: #dc3545;
  color: var(--hsb-text);
}

.hsb-activity-editor {
  width: 100%;
  max-width: 520px;
  min-height: 100%;
  margin: 0 auto;
  text-align: left;
  overflow-x: hidden;
  box-sizing: border-box;
}

.hsb-activity-editor *,
.hsb-activity-editor *::before,
.hsb-activity-editor *::after {
  letter-spacing: 0;
  box-sizing: border-box;
}

#editActivityDrawer {
  overflow: hidden;
}

#editActivityDrawer,
#editActivityDrawer .drawer-header,
#contentEditActivityDrawer {
  max-width: 100vw;
}

#editActivityDrawer .drawer-header {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 10px 12px;
  background: #16161c;
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}

#editActivityDrawerTitle {
  min-width: 0;
  max-width: calc(100% - 48px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#closeEditActivityDrawer {
  flex: 0 0 auto;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  padding: 0 6px;
  opacity: 0.92;
}

#contentEditActivityDrawer {
  overflow-x: hidden;
  min-width: 0;
}

.hsb-editor-main,
.hsb-editor-subpanel {
  padding: 10px 10px 150px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.hsb-editor-hero {
  position: relative;
  margin-bottom: 12px;
}

.hsb-editor-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #111;
  border: 1px solid var(--hsb-line);
}

.hsb-editor-image-wrap img,
.hsb-editor-image-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hsb-editor-whatsapp-overlay {
  position: absolute;
  top: 8px;
  right: 8px;
  width: min(360px, calc(100% - 16px));
  padding: 8px;
  margin: 0;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(37, 211, 102, 0.36);
  backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: auto minmax(140px, 1fr);
  align-items: center;
  gap: 9px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
}

.hsb-editor-whatsapp-copy {
  display: grid;
  gap: 3px;
  min-width: 82px;
}

.hsb-editor-whatsapp-label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--hsb-text);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.hsb-editor-whatsapp-label .fa-whatsapp {
  color: #25d366;
  font-size: 14px;
}

.hsb-editor-whatsapp-copy .hsb-field-state {
  width: max-content;
}

.hsb-editor-whatsapp-overlay .form-control {
  height: 34px;
  min-height: 34px;
  padding: 5px 9px;
  color: var(--hsb-text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  font-size: 13px;
}

.hsb-editor-whatsapp-overlay .form-control:focus {
  border-color: rgba(37, 211, 102, 0.72);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.16);
}

@media (max-width: 390px) {
  .hsb-editor-whatsapp-overlay {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .hsb-editor-whatsapp-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
}

.hsb-editor-place {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.76);
  border: 1px solid var(--hsb-line);
  backdrop-filter: blur(10px);
}

.hsb-editor-place[role="button"] {
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.hsb-editor-place[role="button"]:hover,
.hsb-editor-place[role="button"]:focus-visible {
  border-color: rgba(214, 163, 58, 0.75);
  background: rgba(0, 0, 0, 0.84);
  outline: none;
}

.hsb-editor-place-label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--hsb-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.hsb-editor-place-label .fa-solid {
  margin-left: auto;
  color: var(--hsb-gold);
  font-size: 12px;
}

.hsb-editor-place-title {
  color: var(--hsb-gold);
  font-weight: 700;
  line-height: 1.15;
}

.hsb-editor-muted,
.hsb-editor-small {
  color: var(--hsb-muted);
  font-size: 12px;
}

.hsb-editor-section {
  background: var(--hsb-panel);
  border: 1px solid var(--hsb-line);
  padding: 12px;
  margin-bottom: 10px;
}

.hsb-editor-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 10px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.32);
}

.hsb-editor-step-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  min-height: 38px;
  padding: 6px 5px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--hsb-muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
}

.hsb-editor-step-tab span {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  border-radius: 999px;
  color: #111;
  background: rgba(214, 163, 58, 0.72);
  font-size: 10px;
}

.hsb-editor-step-tab.is-active {
  color: #111;
  background: var(--hsb-gold);
  border-color: var(--hsb-gold);
}

.hsb-editor-step-tab.is-active span {
  background: rgba(0, 0, 0, 0.18);
  color: #111;
}

.hsb-editor-step-tab.has-missing:not(.is-active) {
  color: #ffd778;
  border-color: rgba(214, 163, 58, 0.42);
}

.hsb-editor-step-tab.has-missing:not(.is-active) span {
  background: #f0bd45;
}

.hsb-editor-step {
  display: none;
}

.hsb-editor-step.is-active {
  display: block;
}

.hsb-editor-step-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 39;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 58px;
  padding: 9px 10px;
  margin: 0;
  background: rgba(4, 5, 8, 0.94);
  border-top: 1px solid rgba(214, 163, 58, 0.2);
  box-shadow: 0 -12px 24px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(10px);
}

.hsb-activity-editor.has-editor-actions .hsb-editor-step-actions {
  bottom: 64px;
}

.hsb-editor-step-actions .btn {
  min-width: 116px;
  min-height: 40px;
  border-radius: 8px;
}

.hsb-editor-section h6,
.hsb-editor-subpanel h6 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.hsb-editor-section-head,
.hsb-editor-subpanel-head,
.hsb-editor-actions-row,
.hsb-editor-radio-row,
.hsb-editor-chip-row,
.hsb-editor-searchline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hsb-editor-section-head,
.hsb-editor-subpanel-head {
  justify-content: space-between;
  margin-bottom: 10px;
}

.hsb-editor-count {
  min-width: 26px;
  text-align: center;
  color: #111;
  background: var(--hsb-gold);
  font-size: 12px;
  font-weight: 800;
  padding: 3px 7px;
}

.hsb-field-state {
  display: inline-flex;
  align-items: center;
  margin-left: 3px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-transform: uppercase;
}

.hsb-field-state.is-required {
  color: #111;
  background: #f0bd45;
  border: 1px solid #f0bd45;
}

.hsb-field-state.is-optional {
  color: var(--hsb-text);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hsb-field-state.is-locked {
  color: rgba(244, 242, 234, 0.78);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hsb-editor-actions-row {
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.hsb-editor-file-btn {
  position: relative;
  overflow: hidden;
}

.hsb-activity-image-crop-modal .modal-dialog {
  max-width: min(560px, calc(100vw - 16px));
  margin-left: auto;
  margin-right: auto;
}

.hsb-activity-image-crop-modal .modal-body {
  overflow: hidden;
}

.hsb-activity-schedule-modal .modal-dialog {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hsb-activity-place-modal .modal-dialog {
  max-width: min(520px, calc(100vw - 16px));
  margin-left: auto;
  margin-right: auto;
}

.hsb-editor-schedule-modal-body {
  max-height: min(680px, 72vh);
  overflow-y: auto;
}

.hsb-editor-place-modal-body {
  max-height: min(620px, 74dvh);
  overflow-y: auto;
}

.hsb-schedule-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hsb-schedule-form .form-control {
  min-height: 40px;
  border-radius: 6px;
  color: var(--hsb-text);
  background: #151a21;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
  color-scheme: dark;
}

.hsb-schedule-form .form-control:focus {
  border-color: rgba(214, 163, 58, 0.85);
  box-shadow: 0 0 0 2px rgba(214, 163, 58, 0.18);
  background: #181f27;
  color: var(--hsb-text);
}

.hsb-schedule-form .form-control::placeholder {
  color: rgba(244, 242, 234, 0.52);
}

.hsb-schedule-card,
.hsb-schedule-pair-grid > div,
.hsb-schedule-people-grid > div {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.hsb-schedule-card-head {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
  color: var(--hsb-text);
  font-size: 13px;
  font-weight: 800;
}

.hsb-schedule-inscription-card {
  display: grid;
  gap: 5px;
}

.hsb-schedule-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--hsb-text);
  font-size: 13px;
  font-weight: 800;
}

.hsb-schedule-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--hsb-gold);
}

.hsb-schedule-inscription-card p {
  margin: 0;
  color: var(--hsb-muted);
  font-size: 11px;
  line-height: 1.35;
}

.hsb-schedule-when-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 126px;
  gap: 8px;
  align-items: end;
}

.hsb-schedule-field {
  display: block;
  min-width: 0;
  margin: 0;
}

.hsb-schedule-field > span,
.hsb-schedule-duration-title {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 5px;
  color: var(--hsb-muted);
  font-size: 12px;
  font-weight: 800;
}

.hsb-schedule-time-field .form-control {
  text-align: center;
  font-weight: 800;
}

.hsb-schedule-time-selects {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 5px;
}

.hsb-schedule-time-selects span {
  color: var(--hsb-muted);
  font-weight: 900;
}

.hsb-schedule-time-selects .form-control {
  min-width: 0;
  padding-left: 6px;
  padding-right: 6px;
}

.hsb-schedule-duration-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hsb-schedule-duration-title {
  margin-bottom: 0;
}

.hsb-schedule-duration-inputs {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 0 0 auto;
}

.hsb-schedule-duration-inputs label {
  position: relative;
  width: 78px;
  margin: 0;
}

.hsb-schedule-duration-inputs .form-control {
  padding-right: 30px;
  text-align: center;
  font-weight: 800;
}

.hsb-schedule-duration-inputs span {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  color: var(--hsb-muted);
  font-size: 11px;
  font-weight: 800;
  pointer-events: none;
}

.hsb-schedule-pair-grid,
.hsb-schedule-people-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.hsb-schedule-pair-grid .hsb-editor-label,
.hsb-schedule-people-grid .hsb-editor-label,
.hsb-schedule-card .hsb-editor-label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
  color: var(--hsb-muted);
  font-size: 12px;
}

.hsb-schedule-pair-grid .form-control {
  font-size: 13px;
  padding-left: 9px;
  padding-right: 24px;
}

.hsb-schedule-pair-grid select.form-control {
  text-overflow: ellipsis;
}

.hsb-schedule-form .hsb-editor-radio-row {
  flex-wrap: wrap;
  gap: 6px;
}

.hsb-schedule-form .hsb-editor-radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  margin: 0;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--hsb-text);
  font-size: 12px;
  font-weight: 700;
}

.hsb-schedule-card .js-level-selects {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.hsb-schedule-people-grid .hsb-editor-subsection {
  margin-top: 0;
}

.hsb-editor-cropper-stage {
  width: 100%;
  height: clamp(300px, 54dvh, 500px);
  overflow: hidden;
  background: #050506;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hsb-editor-cropper-stage img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.hsb-activity-editor .cropper-container {
  max-width: 100%;
}

.hsb-activity-image-crop-modal .cropper-container {
  max-width: 100%;
  max-height: 100%;
}

.hsb-editor-type-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  margin-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(214, 163, 58, 0.72) transparent;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
}

.hsb-editor-type-scroll.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.hsb-editor-type-scroll::-webkit-scrollbar {
  display: block;
  height: 6px;
}

.hsb-editor-type-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.hsb-editor-type-scroll::-webkit-scrollbar-thumb {
  background: rgba(214, 163, 58, 0.72);
  border-radius: 999px;
}

@media (hover: none) and (pointer: coarse) {
  .hsb-editor-type-scroll {
    scrollbar-width: none;
    cursor: default;
  }

  .hsb-editor-type-scroll::-webkit-scrollbar {
    display: none;
  }
}

.hsb-editor-pill,
.hsb-editor-chip,
.hsb-editor-person,
.hsb-editor-ticket,
.hsb-editor-organizer,
.hsb-editor-type-card {
  border: 1px solid var(--hsb-line);
  background: var(--hsb-panel-2);
  color: var(--hsb-text);
}

.hsb-editor-pill {
  flex: 0 0 auto;
  max-width: 180px;
  min-height: 40px;
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.15;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.hsb-editor-pill.is-active {
  background: var(--hsb-gold);
  color: #111;
  border-color: var(--hsb-gold);
  font-weight: 800;
}

.hsb-editor-schedule-card-wrap {
  position: relative;
}

.hsb-editor-schedule-actions {
  position: relative;
  z-index: 6;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin: 0 4px 6px;
}

.hsb-editor-schedule-action {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(8, 9, 13, 0.82);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.hsb-editor-schedule-action:hover,
.hsb-editor-schedule-action:focus-visible {
  color: #111;
  background: var(--hsb-gold);
  border-color: var(--hsb-gold);
  outline: none;
}

.hsb-editor-schedule-action.is-danger:hover,
.hsb-editor-schedule-action.is-danger:focus-visible {
  color: #fff;
  background: var(--hsb-danger);
  border-color: var(--hsb-danger);
}

.hsb-editor-type-aspects {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}

.hsb-editor-type-aspect-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 3px 6px;
  border: 1px solid var(--hsb-line);
  color: var(--hsb-text);
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.hsb-editor-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hsb-editor-type-card,
.hsb-editor-ticket,
.hsb-editor-organizer,
.hsb-editor-person {
  padding: 8px;
}

.hsb-editor-aspect-group {
  margin-top: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hsb-line);
}

.hsb-editor-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 7px 0;
  color: var(--hsb-text);
  font-size: 13px;
}

.hsb-editor-summary,
.hsb-editor-readonly {
  padding: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--hsb-line);
}

.hsb-editor-place-summary {
  transition: border-color 160ms ease, background 160ms ease;
}

.hsb-editor-place-summary[role="button"] {
  cursor: pointer;
}

.hsb-editor-place-summary[role="button"]:hover,
.hsb-editor-place-summary[role="button"]:focus-visible {
  border-color: rgba(214, 163, 58, 0.72);
  background: rgba(214, 163, 58, 0.08);
  outline: none;
}

.hsb-editor-results {
  max-height: 280px;
  overflow: auto;
  background: #050506;
  margin-top: 8px;
}

.hsb-editor-schedule-list {
  min-height: 64px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.hsb-editor-schedule-list > .w-100 {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  overflow-x: hidden;
}

.hsb-editor-schedule-list .schedule {
  flex: 0 0 100%;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.hsb-editor-schedule-list .schedule > .bg-white {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.hsb-editor-schedule-list .schedule .border-bottom {
  gap: 6px;
}

.hsb-editor-schedule-list .schedule .text-end {
  min-width: 0;
}

.hsb-editor-schedule-list .schedule .genreName,
.hsb-editor-schedule-list .schedule .optionExists,
.hsb-editor-schedule-list .schedule .ageName,
.hsb-editor-schedule-list .schedule .text-level {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.hsb-editor-schedule-list .schedule .bg-white {
  color: #171a1f;
}

.hsb-editor-schedule-list .schedule .bg-white h6,
.hsb-editor-schedule-list .schedule .bg-white .schedule-hour,
.hsb-editor-schedule-list .schedule .bg-white .b-hour,
.hsb-editor-schedule-list .schedule .bg-white .b-duration {
  color: #171a1f;
  font-weight: 800;
}

.hsb-editor-schedule-list .schedule .bg-white .text-muted {
  color: #545b64 !important;
}

.hsb-editor-schedule-list .schedule .bg-white .bg-aliceblue {
  background: #eef4fb;
  color: #171a1f;
}

.hsb-editor-schedule-list .schedule .bg-white .schedule-genres .btn,
.hsb-editor-schedule-list .schedule .bg-white .ageName,
.hsb-editor-schedule-list .schedule .bg-white .optionName,
.hsb-editor-schedule-list .schedule .bg-white .text-level {
  font-weight: 800;
}

.hsb-editor-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.hsb-editor-period-dates {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
}

.hsb-editor-period-dates label {
  min-width: 0;
  margin: 0;
}

.hsb-editor-period-dates .form-control {
  width: 100%;
  min-height: 38px;
  padding: 6px 8px;
  font-size: 13px;
}

.hsb-editor-grid-ticket {
  display: grid;
  grid-template-columns: 1fr 64px 92px 44px;
  gap: 6px;
  align-items: center;
}

.hsb-editor-label {
  display: block;
  color: var(--hsb-muted);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

.hsb-editor-label-strong {
  color: var(--hsb-text);
  font-size: 13px;
}

.hsb-editor-subsection {
  margin-top: 12px;
}

.hsb-editor-chip-row {
  flex-wrap: wrap;
  min-height: 28px;
  margin-top: 6px;
}

.hsb-editor-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  font-size: 12px;
}

.hsb-editor-chip button,
.hsb-editor-row-action {
  border: 0;
  background: transparent;
  color: var(--hsb-danger);
  padding: 0 2px;
}

.hsb-editor-searchline {
  align-items: stretch;
}

.hsb-editor-searchline .form-control {
  min-width: 0;
}

.hsb-editor-subpanel {
  min-height: 100vh;
}

.hsb-editor-sticky-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 42;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 64px;
  padding: 10px;
  margin: 0;
  background: rgba(0, 0, 0, 0.92);
  border-top: 1px solid var(--hsb-line);
  box-shadow: 0 -16px 28px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
}

.hsb-editor-warning {
  border-color: rgba(214, 163, 58, 0.55);
}

.hsb-activity-editor .form-control {
  border-radius: 0;
}

@media (max-width: 420px) {
  .hsb-editor-grid-2,
  .hsb-editor-grid-ticket {
    grid-template-columns: 1fr;
  }

  .hsb-editor-period-dates {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .hsb-schedule-card,
  .hsb-schedule-pair-grid > div,
  .hsb-schedule-people-grid > div {
    padding: 8px;
  }

  .hsb-schedule-when-grid {
    grid-template-columns: minmax(0, 1fr) 112px;
  }

  .hsb-schedule-duration-inputs label {
    width: 70px;
  }

  .hsb-schedule-people-grid {
    grid-template-columns: 1fr;
  }

  .hsb-editor-default-images {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 360px) {
  .hsb-schedule-duration-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .hsb-schedule-duration-inputs {
    justify-content: flex-start;
  }
}
