.vx-candidate-card {
  margin-top: 7px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --vx-indigo: #2E74FF;
  --vx-berry: #AA22FF;
  --vx-grad: linear-gradient(135deg, #2E74FF, #AA22FF);
  --vx-ink: #111111;
  --vx-grey: #666666;
  --vx-faint: #C9C9C9;
  --vx-border: #EEEEEE;
  --vx-card-bg: #FFFFFF;
  --vx-ease: 200ms cubic-bezier(0.2, 0.7, 0.2, 1);

  .candidate-container-wrapper {
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
    border-radius: 16px;
    width: 100%;
    background-color: transparent;
    transition: box-shadow var(--vx-ease), background-color var(--vx-ease);
  }

  /* White card body — sits inside the wrapper. When a status colour is set on
     the wrapper, the body shrinks (margin) so the colour shows as a frame and
     the status label sits on the coloured band below it. */
  .candidate-card-inner {
    padding: 10px;
    background-color: var(--vx-card-bg);
    border-radius: 16px;
    box-shadow: 0 0 0 1px #E2E3E7, 0 1px 2px rgba(17, 17, 17, 0.05),
      0 3px 8px rgba(17, 17, 17, 0.06);
    transition: box-shadow var(--vx-ease), background-color var(--vx-ease);
  }

  .candidate-container-wrapper:hover .candidate-card-inner {
    background-color: #FCFCFD;
    box-shadow: 0 0 0 1px #D5D5D5, 0 4px 12px rgba(0, 0, 0, 0.10);
  }

  .candidate-container-wrapper:active .candidate-card-inner {
    background-color: #F4F5F7;
    box-shadow: 0 0 0 1px #CCCCCC, 0 1px 3px rgba(0, 0, 0, 0.10);
  }

  .candidate-container-wrapper:hover .card-action-wrapper {
    opacity: 1;
  }

  /* Selection — indigo ring around the wrapper (and around the status frame
     when present). The inner card's own ring/hover shadow is suppressed so
     only the indigo ring shows (this rule must stay below the hover/press
     rules — same specificity, order decides). */
  .candidate-container-wrapper.active {
    box-shadow: 0 0 0 1.5px var(--vx-indigo);
  }

  .candidate-container-wrapper.active .candidate-card-inner {
    box-shadow: none;
    background-color: #F4F8FF;
  }

  .candidate-container-wrapper.active .card-action-wrapper {
    opacity: 1;
  }

  /* Offer / interview status — coloured frame around the white body.
     Kept when the card is selected: the indigo ring wraps the frame. */
  .candidate-container-wrapper.offer-accepted {
    background-color: #A7E8CC;
    padding: 3px 3px 0 3px;
  }

  .candidate-container-wrapper.offer-rejected {
    background-color: #F2A8B4;
    padding: 3px 3px 0 3px;
  }

  .candidate-container-wrapper.offer-accepted .candidate-card-inner,
  .candidate-container-wrapper.offer-rejected .candidate-card-inner {
    border-radius: 12px;
    box-shadow: none;
  }

  /* ---- Header ---- */
  .candidate-container-header {
    display: flex;
    gap: 8.5px;
  }

  .candidate-card-avatar-wrapper {
    position: relative;
    flex: 0 0 auto;
    width: 39px;
    height: 39px;
  }

  .candidate-card-avatar {
    box-sizing: border-box;
    height: 39px;
    width: 39px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #FFFFFF;
  }

  .candidate-card-avatar-image {
    height: 39px;
    width: 39px;
    border-radius: 50%;
    object-fit: cover;
  }

  .candidate-card-avatar-initials {
    height: 39px;
    width: 39px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vx-grad);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
  }

  /* Score on a 5-point scale — dark badge centered below the avatar */
  .candidate-score-badge {
    position: absolute;
    bottom: -8.5px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 1.5px;
    height: 11.5px;
    padding: 0 4.5px;
    border-radius: 999px;
    background: var(--vx-ink);
    color: #FFFFFF;
    font-size: 8.5px;
    font-weight: 600;
    line-height: 1;
    z-index: 2;
  }

  /* Channel badge — top-right of avatar (icon already carries its colour) */
  .candidate-channel-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #FFFFFF;
    border: 1.5px solid #FFFFFF;
    z-index: 2;
  }

  .candidate-channel-badge svg {
    width: 17px;
    height: 17px;
    display: block;
  }

  /* ---- Info column ---- */
  .candidate-info {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }

  .candidate-name-row {
    display: flex;
    align-items: flex-start;
    gap: 7px;
  }

  .candidate-card-name {
    flex: 1 1 auto;
    min-width: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
    color: var(--vx-ink);
  }

  /* Keep the last name word and the kind icon on the same line. */
  .candidate-name-tail {
    white-space: nowrap;
  }

  .candidate-kind-icon {
    vertical-align: -1.5px;
    margin-left: 5px;
  }

  .candidate-vacancy {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--vx-grey);
  }

  .candidate-vacancy-text {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 400;
    line-height: 15.5px;
  }

  /* [REC-595] candidate without a vacancy: muted note + bind link (also used in the candidate modal) */
  .vacancy-empty {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    line-height: 1.3;
    color: #8b93a3;
  }

  .vacancy-empty__link {
    color: #2f6fed;
    font-weight: 600;
    text-decoration: none;
  }

  .vacancy-empty__link:hover {
    color: #1d55c4;
    text-decoration: underline;
  }

  .vx-meta-ico {
    flex: 0 0 auto;
  }

  /* ---- Top-right action controls ---- */
  .card-action-wrapper {
    display: flex;
    align-items: center;
    gap: 3.5px;
    flex: 0 0 auto;
    opacity: 0;
    transition: opacity var(--vx-ease);
  }

  /* Compact mode (related-candidates modal): stage chip in place of the actions */
  .candidate-stage-chip {
    flex: 0 0 auto;
    align-self: flex-start;
    max-width: 50%;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    line-height: 17px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #EEEDFE;
    color: #3C3489;
  }

  .card-action-wrapper.show {
    opacity: 1;
  }

  .vx-card-checkbox,
  .vx-card-menu-btn {
    width: 22px;
    height: 22px;
    border-radius: 8px;
    border: 1px solid var(--vx-border);
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: background var(--vx-ease), border-color var(--vx-ease), color var(--vx-ease);
  }

  .vx-card-checkbox {
    color: #9CA3AF;
  }

  .vx-card-checkbox svg {
    width: 14px;
    height: 14px;
  }

  .vx-card-menu-btn svg {
    width: 15px;
    height: 15px;
  }

  .vx-card-checkbox:hover,
  .vx-card-menu-btn:hover {
    border-color: var(--vx-faint);
    background: #F7F7F8;
  }

  .vx-card-checkbox.checked {
    background: var(--vx-grad);
    border-color: transparent;
    color: #FFFFFF;
  }

  .vx-card-checkbox.checked:hover {
    background: var(--vx-grad);
  }

  .vx-card-checkbox.checked:hover {
    background: var(--vx-grad);
  }

  /* ---- Divider ---- */
  .candidate-divider {
    height: 1px;
    background: var(--vx-border);
    margin: 8.5px 0;
  }

  /* The score badge hangs 8.5px below the avatar — without extra margin it
     touches the divider. */
  .candidate-divider.divider-below-score {
    margin-top: 13.5px;
  }

  /* ---- Meta grid (wage / age) ---- */
  .candidate-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8.5px;
  }

  .candidate-meta-cell {
    min-width: 0;
  }

  .candidate-meta-head {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--vx-grey);
  }

  .candidate-meta-label {
    font-size: 11px;
    font-weight: 400;
    line-height: 13.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .candidate-meta-value {
    margin-top: 1.5px;
    font-size: 12px;
    font-weight: 600;
    line-height: 15.5px;
    color: var(--vx-ink);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Missing value — mirrors the modal's "no info": light, italic, not bold. */
  .candidate-meta-empty {
    color: var(--vx-faint);
    font-weight: 400;
    font-style: italic;
  }

  /* File/photo/video dynamic field value — same color/weight as other meta values (inherits
     .candidate-meta-value; icon uses currentColor), with a download icon + click-to-download. */
  .candidate-meta-file {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    cursor: pointer;
  }
  .candidate-meta-file svg { flex: 0 0 auto; }
  .candidate-meta-file-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .candidate-meta-file:hover .candidate-meta-file-name { text-decoration: underline; }

  /* ---- Similar candidates ---- */
  .candidate-similar {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 8.5px;
    padding: 5px 8.5px;
    border-radius: 10px;
    border: 1px solid var(--vx-border);
    color: var(--vx-ink);
    cursor: pointer;
    transition: background var(--vx-ease), border-color var(--vx-ease);
  }

  .candidate-similar:hover {
    background: #F7F7F8;
    border-color: var(--vx-faint);
  }

  .candidate-similar-label {
    font-size: 11px;
    font-weight: 400;
  }

  .candidate-similar-count {
    font-size: 11px;
    font-weight: 700;
  }

  .candidate-similar-chevron {
    margin-left: auto;
    color: var(--vx-faint);
  }

  /* ---- Footer ---- */
  .candidate-container-footer {
    margin-top: 8.5px;
    display: flex;
    align-items: center;
    gap: 7px;
  }

  .card-footer-text {
    margin-left: auto;
    font-size: 9.5px;
    font-weight: 400;
    line-height: 13.5px;
    color: var(--vx-grey);
    white-space: nowrap;
  }

  .card-footer-status {
    height: 17px;
    display: flex;
    align-items: center;
    gap: 1.5px;
    border-radius: 999px;
    padding: 0 7px 0 5px;
    background: linear-gradient(135deg, #ebf1ff, #f9eeff);
  }

  /* .card-footer-status.redStyle {
    background-color: #FF003D26;
    color: #BD0935;
  }

  .card-footer-status.blueStyle {
    background-color: #007BFF26;
    color: #0A58CA;
  }

  .card-footer-status.yellowStyle {
    background-color: #FFC10726;
    color: #b36f00;
  } */

  .card-footer-status-text {
    font-size: 9.5px;
    font-weight: 500;
    white-space: nowrap;
    color: rgb(17, 17, 17);
  }

  /* ---- Accept / reject status label (sits on the coloured frame) ---- */
  .candidate-status-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4.5px;
    padding: 6px 7px;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    line-height: 13.5px;
  }

  .candidate-status-icon {
    flex: 0 0 auto;
  }

  .candidate-status-accepted {
    color: #0B6B4B;
  }

  .candidate-status-rejected {
    color: #C13A57;
  }

  /* ---- Dropdown menu — mirrors the kanban (...) menu; keep visually in sync
     with .hh-menu / .hh-submenu in candidate_management.html ---- */
  .custom-dropdown,
  .move-stages-container {
    width: max-content;
    padding: 4px;
    background: #FFFFFF;
    border: 1px solid #E4E4E7;
    border-radius: 10px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  }

  .custom-dropdown {
    min-width: 216px;
  }

  .custom-dropdown.show,
  .move-stages-container.open {
    animation: vx-card-menu-in 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .card-action-stage {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 8px;
    border-radius: 6px;
    font-size: 13px;
    color: #191B24;
    cursor: pointer;
  }

  .card-action-stage:hover,
  .card-action-stage:active,
  .card-action-stage-dropdown.open > .card-action-stage {
    background-color: #F4F4F5;
    color: #191B24;
  }

  .card-menu-item-icon,
  .card-menu-chevron {
    color: #71717A;
    flex-shrink: 0;
  }

  .card-menu-chevron {
    margin-left: auto;
  }

  .custom-dropdown .dropdown-divider {
    margin: 4px 0;
    border-top: 1px solid #E4E4E7;
  }

  .move-stages-container {
    min-width: 180px;
    max-width: 244px;
  }

  .move-stages-container .card-action-stage {
    white-space: normal;
  }

  .move-stages-left {
    right: calc(100% + 8px);
    left: auto;
  }

  .move-stages-right {
    left: calc(100% + 8px);
    right: auto;
  }

  .move-stages-container.open {
    display: block;
  }
}

@keyframes vx-card-menu-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.vx-candidate-card.vx-draggable-dragging {
  opacity: 0.4 !important;
}

body.vx-multi-dragging .candidates-container .vx-candidate-card:not(.vx-draggable-dragging) .candidate-container-wrapper.active {
  opacity: 0.4;
  transition: opacity 0.15s ease;
}

.vx-multi-drag-phantom {
  pointer-events: none;
  transform-origin: center center;
}

.vx-multi-drag-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  background: #4f46e5;
  color: #fff;
  border-radius: 12px;
  min-width: 20.5px;
  height: 20.5px;
  padding: 0 7px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  box-shadow: 0 1.5px 5px rgba(0, 0, 0, 0.25);
  z-index: 10001;
  pointer-events: none;
}

/* #region vx-employee-card */

.vx-employee-card {
  .shift-employee-container-wrapper {
    container-type: inline-size;
  }

  .shift-employee-container {
    user-select: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    width: 100%;
    border: 1px solid #E5EAEE;
    background-color: #fff;
    margin-bottom: 4px;
    /* padding: 8px; */
  }

  .shift-employee-container-content {
    height: 42px;
    display: flex;
    align-items: center;
    padding: 6px;
    gap: 6px;
  }

  .shift-employee-avatar {
    width: 32px;
    height: 32px;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 auto;
  }

  .shift-employee-avatar-image {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
  }

  .shift-employee-info {
    display: block;
    flex: 1 1 auto;
    overflow: hidden;
  }

  .shift-employee-name {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 600;
  }

  .shift-employee-job {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-size: 8px;
    color: #80808F;
  }

  .shift-employee-container-wrapper:not(.ui-draggable-dragging) .shift-employee-container.selected {
    border-color: #3696F24D;
    background-color: #3696F24D;
  }

  .shift-employee-container-wrapper:not(.ui-draggable-dragging) .shift-employee-container:hover.selected {
    border-color: #3696F280;
    background-color: #3696F280;
  }

  .shift-employee-container-wrapper:not(.ui-draggable-dragging) .shift-employee-container:hover {
    border-color: #00000026;
    background-color: #0000000D;
  }
}

/* #endregion vx-employee-card */

/* #region vx-shift-calendar */
.vx-shift-calendar {
  .shift-grid,
  .shift-grid-header,
  .shift-grid-header-employees-filter,
  .shift-grid-header-days-panel,
  .shift-grid-header-days,
  .shift-grid-header-day,
  .shift-grid-content,
  .shift-grid-content-employees-filter,
  .shift-grid-content-view-panel,
  .shift-grid-content-view-panel-job,
  .shift-grid-content-view-panel-days,
  .shift-grid-content-view-panel-day,
  .shift-grid-header-day-number,
  .shift-grid-header-day-name,
  .shift-grid-content-view-panel-footer {
    margin: 0 !important;
    padding: 0 !important;
  }

  .shift-grid-wrapper {
    /* position: relative; */
  }

  .shift-grid {
    /* margin: 10px !important; */
    background-color: #fff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 100px);
    position: relative;
  }

  .shift-grid-footer {
    height: 42px;
    width: 100%;
    background-color: #eeeeef;
    bottom: 0;
    position: sticky;
    z-index: 2;
  }

  .shift-grid-footer-inner {
    border-top: 1px solid #E5EAEE;
    background-color: #fff;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    cursor: default;
  }


  .shift-grid-header {
    position: sticky;
    top: 45px;
    z-index: 3; /* above the workplace section header so the date row is never covered */
    background-color: #fff;
    align-items: stretch;
    border-bottom: 1px solid #E5EAEE;
    height: 46px !important;
  }

  .shift-grid-header-days {
    height: 100%;
  }

  .shift-grid-header-employees-filter {
    padding: 8px 12px 8px 12px !important;
  }

  .shift-grid-header-employees-filter input {
    border-radius: 8px !important;
  }

  .shift-grid-header-day {
    padding: 4px 12px 4px 12px !important;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    align-content: center;
  }

  .shift-grid-header-day-number {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
  }

  .shift-grid-header-day-name {
    font-size: 10px;
    font-weight: 400;
    text-align: center;
  }

  .shift-grid-content {
    position: relative;
    display: flex;
    align-items: stretch;
    flex-grow: 1;
    background-color: #fff;
  }

  .shift-grid-content-view-panel {
    flex: 1;
  }

  .shift-grid-content-view-panel-container {
    width: 100%;
  }

  .shift-grid-content-view-wrapper:not(:last-child) {
    border-bottom: 1px solid #E5EAEE;
  }

  .shift-grid-content-employees-filter {
    border-right: 1px solid #E5EAEE;
    padding: 6px !important;
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(200, 200, 220, .5) #f0f0fa;
  }

  .shift-grid-content-view-panel-day {
    padding: 0 0 40px 0 !important;
    border-right: 1px solid #E5EAEE;
  }

  .shift-grid-content-view-panel-day.active {
    padding: 0 0 0 0 !important;
  }

  .shift-grid-content-view-panel-days .shift-grid-content-view-panel-day:last-child {
    border-right: none;
  }

  .ui-droppable-hover.shift-grid-content-view-panel-day {
    background-color: #F3F6F9;
  }

  .shift-grid-content-view-panel-job {
    padding: 4px 4px 4px 4px !important;
  }

  .shift-grid-content-view-panel-job-icon {
    padding-right: 6px;
    align-content: center;
  }

  .shift-grid-content-view-panel-job[aria-expanded=false] .shift-grid-content-view-panel-job-icon .chevron-down {
    display: none;
  }

  .shift-grid-content-view-panel-job[aria-expanded=true] .shift-grid-content-view-panel-job-icon .chevron-right {
    display: none;
  }

  .shift-grid-content-view-panel-job-name {
    font-size: 12px;
    align-content: center;
  }

  .shift-grid-content-view-panel-plus-icon {
    cursor: pointer;
    user-select: none;
    font-size: 12px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0 10px 0;
  }

  .shift-grid-content-view-panel-plus-icon:hover {
    background-color: #F3F6F9;
  }

  #publishBtn {
    border-radius: 8px;
  }

  #publishBtn:disabled {
    color: #0000004D;
    background-color: #0000000D;
    border-color: #0000000D;
  }

  .btn-light-custom {
    color: #464E5F;
    border-color: #D6DBE0;
    background-color: white;
    border-radius: 8px;
  }

  .workplace-reset-btn {
    display: inline-flex;
    align-items: center;
    vertical-align: top;
  }

  .icon-with-line {
    position: relative;
    display: inline-block;
  }

  .icon-with-line::after {
    content: "";
    position: absolute;
    top: 40%;
    left: -3px;
    width: 100%;
    height: 2px;
    background-color: #6993FF;
    transform: rotate(45deg);
    transform-origin: center;
  }

  .dropdown-item {
    background-color: transparent !important;
  }

  .shift-grid-content-view-panel-footer {
    padding: 12px !important;
    cursor: pointer;
  }

  .shift-grid-content-view-panel-footer:hover {
    background-color: #F3F6F9;
  }

  .shift-grid-content-view-panel-footer-icon {
    font-size: 12px;
    align-content: center;
    padding-right: 8px;
    color: #1B82E3;
  }

  .shift-grid-content-view-panel-footer-text {
    font-size: 12px;
    align-content: center;
    color: #1B82E3;
  }

  .dropdown-menu-left {
    left: auto !important;
    right: 0 !important;
  }

  .shift-grid .switch input[type=checkbox]~span::before {
    top: 4px;
    height: 21px;
    width: 36px;
  }

  .shift-grid .switch input[type=checkbox]:checked~span::after {
    margin-left: 20px;
  }

  .vx-view-mode-button-group .btn.vx-view-mode-button {
    background-color: inherit;
    border-color: #0000001A;
  }

  .vx-by-button-group .btn.vx-by-button {
    background: none;
    border-color: #0000001A;
  }

  .vx-by-button-group .btn.vx-by-button.active,
  .vx-by-button-group .btn.vx-by-button.focus:not(.btn-text),
  .vx-by-button-group .btn.vx-by-button:focus:not(.btn-text),
  .vx-by-button-group .btn.vx-by-button:hover:not(.btn-text):not(:disabled):not(.disabled) {
    border-color: #338CDB; 
    background-color: #3696F24D;
  }

  .vx-view-mode-button-group .btn.vx-view-mode-button.active,
  .vx-view-mode-button-group .btn.vx-view-mode-button.focus:not(.btn-text),
  .vx-view-mode-button-group .btn.vx-view-mode-button:focus:not(.btn-text),
  .vx-view-mode-button-group .btn.vx-view-mode-button:hover:not(.btn-text):not(:disabled):not(.disabled) {
    background-color: #3696F24D;
    border-color: #338CDB;
  }

  .vx-view-mode-button-group .btn.vx-view-mode-button:first-child {
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
  }

  .vx-view-mode-button-group .btn.vx-view-mode-button:last-child {
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
  }

  .shift-grid .daterangepicker .ranges {
    float: none !important;
    clear: both !important;
    width: 100% !important;
    padding: 4px !important;
    margin: 0 !important;
    text-align: right !important;
  }

  .shift-grid .daterangepicker .ranges .range_inputs {
    display: block !important;
  }

  b-date-range-picker.vx-custom-range-picker {
    display: inline-block;
    position: relative;
    vertical-align: middle;
  }

  b-date-range-picker.vx-custom-range-picker > div.btn.btn-default {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 30px;
    padding: 4px 10px;
    border: 1px solid #D6DBE0 !important;
    border-radius: 8px;
    background-color: transparent !important;
    color: #464e5f !important;
    white-space: nowrap;
    overflow: hidden;
    box-shadow: none !important;
  }

  b-date-range-picker.vx-custom-range-picker.active > div.btn.btn-default,
  b-date-range-picker.vx-custom-range-picker > div.btn.btn-default:hover,
  b-date-range-picker.vx-custom-range-picker > div.btn.btn-default:focus,
  b-date-range-picker.vx-custom-range-picker > div.btn.btn-default:active,
  b-date-range-picker.vx-custom-range-picker > div.btn.btn-default:active:focus,
  b-date-range-picker.vx-custom-range-picker > div.btn.btn-default.active {
    color: #464e5f !important;
    background-color: #3696F24D !important;
    border-color: #338CDB !important;
  }

  b-date-range-picker.vx-custom-range-picker > div.btn > i.fa-calendar,
  b-date-range-picker.vx-custom-range-picker > div.btn > b.fa-angle-down {
    display: none;
  }

  b-date-range-picker.vx-custom-range-picker > div.btn > span.uppercase {
    font-size: 1rem;
    margin-top: 2px;
  }

  b-date-range-picker.vx-custom-range-picker > div.btn > span.uppercase::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    margin-bottom: 2px;
    vertical-align: middle;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.25 5.49674C4.83579 5.49674 4.5 5.16095 4.5 4.74674V4.00001C3.67157 4.00001 3 4.67159 3 5.50001V6.50001H13V5.50001C13 4.67159 12.3284 4.00001 11.5 4.00001V4.75003C11.5 5.16425 11.1642 5.50003 10.75 5.50003C10.3358 5.50003 10 5.16425 10 4.75003V4.00001H6V4.74674C6 5.16095 5.66421 5.49674 5.25 5.49674ZM10 2.50001H6V1.74756C6 1.33334 5.66421 0.997559 5.25 0.997559C4.83579 0.997559 4.5 1.33334 4.5 1.74756V2.50001C2.84315 2.50001 1.5 3.84316 1.5 5.50001V11.5C1.5 13.1569 2.84315 14.5 4.5 14.5H11.5C13.1569 14.5 14.5 13.1569 14.5 11.5V5.50001C14.5 3.84316 13.1569 2.50001 11.5 2.50001V1.75001C11.5 1.3358 11.1642 1.00001 10.75 1.00001C10.3358 1.00001 10 1.3358 10 1.75001V2.50001ZM3 8.00001V11.5C3 12.3284 3.67157 13 4.5 13H11.5C12.3284 13 13 12.3284 13 11.5V8.00001H3Z' fill='black' fill-opacity='0.5'/%3E%3C/svg%3E");
  }

  form[name="vxCalendarConfirmModal"] .modal-footer button {
    width: 120px;
    height: 36px;
    border-radius: 8px;
    transition: none !important;
  }

  #btnDefault:hover,
  #btnDefault:focus,
  #btnDefault:active {
    background-color: inherit !important;
    color: inherit !important;
  }

  #btnLightPrimary:hover,
  #btnLightPrimary:focus,
  #btnLightPrimary:active {
    background-color: #e1e9ff;
    color: #6993ff;
  }

  #btnLightDanger:hover,
  #btnLightDanger:focus,
  #btnLightDanger:active {
    background-color: #ffe2e5;
    color: #f64e60;
  }

  .open-shift-container-wrapper {
    container-type: inline-size;
  }

  .open-shift-container {
    user-select: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    width: 100%;
    border: 1px solid #E5EAEE;
    background-color: #fff;
    margin-bottom: 4px;
  }

  .open-shift-container-content {
    height: 42px;
    display: flex;
    align-items: center;
    padding: 6px;
    gap: 6px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none; 
    -ms-user-select: none;
  }

  .open-shift-container-wrapper:not(.ui-draggable-dragging) .open-shift-container.selected {
    border-color: #3696F24D;
    background-color: #3696F24D;
  }

  .open-shift-container-wrapper:not(.ui-draggable-dragging) .open-shift-container:hover.selected {
    border-color: #3696F280;
    background-color: #3696F280;
  }

  .open-shift-container-wrapper:not(.ui-draggable-dragging) .open-shift-container:hover {
    border-color: #00000026;
    background-color: #0000000D;
  }

  .open-shift-avatar {
    width: 32px;
    height: 32px;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 auto;
  }

  .open-shift-name {
    color: #0D8F89;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 600;
  }

  .open-shift-info {
    display: block;
    flex: 1 1 auto;
    overflow: hidden;
  }

  .open-shifts-count-card-wrapper {
    container-type: inline-size;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 6px !important;
    margin: 8px 6px 8px 6px;
    position: relative;
  }

  .open-shifts-count-card-container {
    user-select: none;
    position: relative;
    border-radius: 6px;
    width: 100%;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  }

  .open-shifts-count-card-content {
    background-color: #3697F126;
    padding: 4px 4px 4px 4px;
    height: 42px;
    border-radius: 6px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .open-shifts-count-card-content:hover {
    background-color: #3697F14D;
  }

  .open-shifts-count-card-content.active {
    background-color: #3697F180;
  }

  .open-shifts-count-card-full-name {
    display: flex;
    align-items: center;
    color: #338CDB;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .open-shifts-label {
    padding-right: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .open-shifts-count {
    flex-shrink: 0;
  }

  .open-shifts-count-card-name {
    display: none;
    color: #338CDB;
    font-size: 12px;
    font-weight: 600;
  }

  .open-shifts-dropdown-cards-wrapper {
    max-height: 250px;
    overflow-y: auto;
  }

  .open-shifts-dropdown {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 999;
    position: absolute;
    width: 100%;
    min-width: 162px;
  }

  .open-shifts-dropdown.align-right {
    left: auto;
    right: 0;
  }

  .open-shifts-dropdown-wrapper {
    padding: 4px 6px 10px 6px;
  }

  .open-shifts-dropdown-title {
    font-size: 16px;
    font-weight: 400;
    padding: 16px 6px 0 6px;
  }

  .open-shifts-dropdown-date {
    font-size: 10px;
    font-weight: 400;
    padding: 0px 6px 6px 6px;
  }

  .open-shifts-dropdown-cards .shift-container-border {
    border: 1px dashed #E5EAEE !important;
    box-shadow: none !important;
  }

  .open-shifts-dropdown-seacrh {
    border-radius: 6px;
    padding: 6px 6px 14px 6px;
  }

  .day-kind-badge-wrapper {
    container-type: inline-size;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 6px !important;
    margin: 8px 6px 8px 6px;
    position: relative;
  }

  .day-kind-badge-container {
    user-select: none;
    position: relative;
    border-radius: 6px;
    width: 100%;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  }

  .day-kind-badge-content {
    background-color: #3697F126;
    padding: 4px 4px 4px 4px;
    height: 28px;
    border-radius: 6px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .day-kind-badge-full-name {
    display: flex;
    align-items: center;
    color: #338CDB;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .day-kind-badge-label {
    padding-right: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .shift-employee-container-content {
    height: 42px;
    display: flex;
    align-items: center;
    padding: 6px;
    gap: 6px;
  }

  .shift-employee-avatar {
    width: 32px;
    height: 32px;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 auto;
  }

  .shift-employee-avatar-image {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
  }

  .shift-employee-info {
    display: block;
    flex: 1 1 auto;
    overflow: hidden;
  }

  .shift-employee-name {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 600;
  }

  .shift-employee-job {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-size: 8px;
    color: #80808F;
  }

  /* DV-3088: schedule norm vs planned shift hours */
  .shift-employee-container-content.with-norm {
    height: auto;
    min-height: 42px;
    position: relative;
  }

  .shift-employee-norm {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
  }

  .shift-employee-norm-track {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    height: 16px;
    border-radius: 4px;
    overflow: hidden;
    background: #E4E9EF;
  }

  .shift-employee-norm-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    background: #8AA9FF;
    transition: width 0.3s ease;
  }

  .shift-employee-norm-fill.over {
    background: #FF7382;
  }

  .shift-employee-norm-value {
    position: relative;
    display: block;
    padding: 0 5px;
    line-height: 16px;
    font-size: 9px;
    font-weight: 600;
    color: #1F2430;
    white-space: nowrap;
  }

  .shift-employee-norm-diff {
    flex: 0 0 auto;
    min-width: 18px;
    height: 16px;
    padding: 0 4px;
    border-radius: 4px;
    line-height: 16px;
    text-align: center;
    font-size: 9px;
    font-weight: 600;
    background: #FFBE3D;
    color: #5C3D00;
  }

  .shift-employee-norm-diff.over {
    background: #FF7382;
    color: #5C0F16;
  }

  .shift-employee-norm-tooltip {
    display: none;
    position: absolute;
    top: 100%;
    left: 6px;
    z-index: 1000;
    min-width: 240px;
    padding: 10px 12px;
    border: 1px solid #E5EAEE;
    border-radius: 8px;
    background: #FFFFFF;
    color: #3A3A44;
    font-size: 11px;
    line-height: 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    pointer-events: none;
  }

  .shift-employee-container-content.with-norm:hover .shift-employee-norm-tooltip {
    display: block;
  }

  .shift-employee-norm-tooltip-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    white-space: nowrap;
  }

  .shift-employee-norm-tooltip-row > span {
    color: #80808F;
  }

  .shift-employee-norm-tooltip-row > b {
    color: #26262E;
    font-weight: 600;
  }


  .shift-group-filter-wrapper,
  .shift-job-filter-wrapper,
  .shift-status-filter-wrapper {
    max-width: 332px;
    width: 100%;
    padding: 0 6px 0 6px;
  }

  .selected-groups-wrapper,
  .selected-jobs-wrapper {
    display: inline-flex;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .selected-groups-wrapper::-webkit-scrollbar,
  .selected-jobs-wrapper::-webkit-scrollbar {
    display: none;
  }

  #job:hover,
  #shiftGroup:hover,
  #status:hover {
    border-color: #00000026;
    background-color: #0000000D;
  }

  .shift-changes-grid-footer {
    height: 52px;
    width: 100%;
    bottom: 0;
    position: sticky;
    z-index: 2;
  }

  .shift-changes-grid-footer-inner {
    display: flex;
    align-items: center;
    height: 52px;
    padding: 12px 16px 12px 16px;
    border-top: 1px solid #D6DBE0;
    background-color: #0000001A;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    cursor: default;
  }

  .shift-changes-delete-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 30px;
    margin-left: auto;
    background-color: #0000000D;
  }

  .shift-changes-delete-button:focus {
    border-color: #0000000D;
  }

  .openImportModalContent {
    margin-left: 6px;
    margin-right: 6px;
  }

  .openImportModalContent:hover {
    border-radius: 6px;
    background-color: #0000000D;
  }

  .importShiftsModalWrapper {
    position: absolute; 
    top: 110px; 
    left: 50%;
    transform: translateX(-50%) !important;
    width: 488px;
    height: 385px;
  }

  .importShiftsModalContent {
    border-radius: 8px;
    padding: 0 32px;
  }

  .importShiftsModalHeader {
    font-weight: 500;
    padding: 12px 0 8px 0;
  }

  .importShiftsModalBody {
    padding: 8px 0 0 0;
  }

  .importModalFirstDescription {
    color: #000000D9;
  }
  
  .importModalLastDescription {
    padding-top: 16px;
    padding-bottom: 16px;
    color: #000000D9;
  }

  .importModalDropzoneWrapper {
    width: 100%;
    height: 146px;
  }

  .importModalDropzone .b-dropzone {
    height: 146px !important;
  }

  .importModalDropzone .b-dropzone>div {
    padding: 32px !important;
    background-color: #0000000D !important;
    border-radius: 5px !important;
    border: 1px dashed #0000001A !important;
    color: #0000004D;
  }

  .importModalDropzone.active .b-dropzone>div {
    padding: 32px !important;
    background-color: #0000000D !important;
    border-radius: 5px !important;
    border: 1px dashed #0000001A !important;
    color: #00000080;
  }  

  .importModalDropzone .b-dropzone>div:hover {
    padding: 32px !important;
    background-color: #00000026 !important;
    border-radius: 5px !important;
    border: 1px dashed #00000026 !important;
    color: #000000D9;
  }
  
  .importModalDropzone.active .b-dropzone>div .file {
    color: #338CDB;
  }

  .importShiftsModalFooter {
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
  }

  .importTemplate {
    display: flex;
    justify-content: center;
    font-size: 13px;
  }

  .nextButton {
    padding: 0;
    width: 128px;
    height: 36px;
    background-color: #0000000D;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }

  .nextButton.active {
    background-color: #3696F2;
  }

  .nextButtonText {
    font-size: 13px;
    color: #0000004D;
  }

  .nextButtonText.active {
    font-size: 13px;
    color: #FFFFFF;
  }

  .importErrorsModalWrapper {
    position: absolute; 
    top: 110px; 
    left: 50%;
    transform: translateX(-50%) !important;
    width: 723px;
    height: 500px;
  }

  .importErrorsModalContent {
    border-radius: 8px;
    padding: 0 32px;
  }

  .importErrorsModalHeader {
    font-weight: 500;
    padding: 12px 0 8px 0;
  }

  .importErrorsModalBody {
    padding: 8px 0 0 0;
  }

  .importNoErrors {
    font-size: 13px;
  }

  .importHasErrors {
    padding: 16px 0 16px 0;
    font-size: 13px;
  }

  .importErrorsList {
    border: 1px solid #0000001A;
    border-radius: 5px;
    padding: 10px;
  }

  .importErrorsList b-pg-grid .tbl {
    font-size: 13px;
    height: 216px !important;
  }

  .importErrorsModalFooter {
    padding: 28px 0;
  }

  .importButton {
    padding: 0;
    width: 133px;
    height: 36px;
    background-color: #3696F2;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }

  .importButtonText {
    font-size: 13px;
    color: #FFFFFF;
  }

  .backButton {
    padding: 0;
    width: 128px;
    height: 36px;
    font-size: 13px;
    background-color: #fff;
    border: none
  }

 .bulk-actions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bulk-action-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 8px;
    font-size: 14px;
    color: #262626;
}

.bulk-action-item:hover {
    background-color: #F3F6F9;
}

.bulk-action-item span {
    flex: 1;
}

  @container (max-width: 70px) {
    .open-shifts-count-card-full-name {
      display: none;
    }

    .open-shifts-count-card-name {
      display: flex;
      align-items: center;
    }
  }

}
.vx-shift-calendar {
  .workplace-multiselect-trigger {
    background: #FFFFFF;
    border: 1px solid #E0E5EB;
    border-radius: 8px;
    padding: 0 10px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
  }
  .workplace-multiselect-trigger:hover {
    border-color: #B6C2CC;
  }
  .workplace-multiselect-trigger[aria-expanded="true"] {
    border-color: #3073B2;
    box-shadow: 0 0 0 3px rgba(48, 115, 178, 0.12);
  }
  .workplace-multiselect-menu {
    min-width: 320px;
    max-width: 420px;
    border: 1px solid #E0E5EB;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(20, 35, 60, 0.12);
    overflow: hidden;
  }
  .workplace-multiselect-search {
    position: relative;
    padding: 10px 12px;
    border-bottom: 1px solid #F0F2F5;
    background: #FAFBFC;
  }
  .workplace-multiselect-search .fa-search {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: #6B8499;
    font-size: 12px;
  }
  .workplace-multiselect-search input {
    border-radius: 6px;
    border: 1px solid #E0E5EB;
    background: #FFFFFF;
    padding-left: 28px;
    height: 32px;
    font-size: 13px;
  }
  .workplace-multiselect-search input:focus {
    border-color: #3073B2;
    box-shadow: 0 0 0 2px rgba(48, 115, 178, 0.12);
    outline: none;
  }
  .workplace-multiselect-list {
    max-height: 320px;
    overflow-y: auto;
    padding: 4px 0;
  }
  .workplace-multiselect-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 13px;
    color: #262626;
    transition: background-color 0.1s ease;
  }
  .workplace-multiselect-row:hover {
    background: #F4F7FA;
  }
  .workplace-multiselect-row.selected {
    background: #EAF2FB;
    color: #2575CB;
    font-weight: 500;
  }
  .workplace-multiselect-row .workplace-multiselect-icon {
    color: #6B8499;
    font-size: 12px;
    flex-shrink: 0;
  }
  .workplace-multiselect-row.selected .workplace-multiselect-icon {
    color: #2575CB;
  }
  .workplace-multiselect-row .workplace-multiselect-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .workplace-multiselect-row .workplace-multiselect-check {
    color: #2575CB;
    font-size: 12px;
    flex-shrink: 0;
  }
  .workplace-multiselect-empty {
    padding: 16px;
    text-align: center;
    color: #6B8499;
    font-size: 12px;
  }

  .workplace-section {
    margin-bottom: 8px;
  }
  .workplace-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f3f4f6;
    position: sticky;
    top: calc(45px + 46px); /* pin below the date row (.shift-grid-header: top 45px + height 46px) so both stay visible without overlapping */
    z-index: 2; /* below .shift-grid-header (z-index 3) so the date row always wins if they ever touch */
    cursor: pointer;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 500;
    color: #262626;
  }
  .workplace-section-header:hover {
    background: #e8eaed;
  }
  .workplace-section-header .chevron {
    font-size: 12px;
    color: #6b7280;
    transition: transform 220ms ease-out;
    display: inline-block;
  }
  .workplace-section-header.collapsed .chevron {
    transform: rotate(-90deg);
  }
  .workplace-section-count {
    color: #6b7280;
    font-weight: 400;
    font-size: 12px;
  }
  .workplace-section-body {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows 220ms ease-out;
  }
  .workplace-section-body.collapsed {
    grid-template-rows: 0fr;
  }
  .workplace-section-body > .workplace-section-body-inner {
    overflow: hidden;
    min-height: 0;
  }
  .employee-job-line {
    color: #6b7280;
    font-size: 11px;
    margin-top: 2px;
  }

  /* shift-template step 1: b-pg-controller sits in one row next to the mode toggle */
  .vx-tpl-ctrl {
    flex: 1 1 auto;
    min-width: 0;
  }
  .vx-tpl-ctrl .grid-controller > input.form-control {
    max-width: 200px;
    margin-left: auto;
  }
  /* filter button is the first button of the append group — keep only its icon */
  .vx-tpl-ctrl .grid-controller .input-group-append > button:first-child {
    font-size: 0;
  }
  .vx-tpl-ctrl .grid-controller .input-group-append > button:first-child > .fa {
    font-size: 13px;
  }
  /* keep the modal the same height when switching employees/jobs (jobs rows are shorter — no photo) */
  .vx-tpl-grid-area {
    min-height: 420px;
  }
  /* equal-width mode toggle buttons regardless of label length (both size to the wider one) */
  /* mode switch styled exactly like the calendar's view-mode toggle (День/Неделя/Месяц):
     standard btn-group border adjacency, light-blue active, only the outer corners rounded.
     Two equal columns so both buttons are the same width regardless of label length. */
  .vx-tpl-modes {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .vx-tpl-modes .btn.vx-tpl-mode-btn {
    background-color: inherit;
    border-color: #0000001A;
    white-space: nowrap;
  }

  /* selected = solid primary, exactly like the "Далее" btn-primary (#6993FF, white text) */
  .vx-tpl-modes .btn.vx-tpl-mode-btn.active {
    background-color: #6993FF;
    border-color: #6993FF;
  }

  .vx-tpl-modes .btn.vx-tpl-mode-btn.active span {
    color: #fff !important;
  }

  .vx-tpl-modes .btn.vx-tpl-mode-btn:hover:not(.active):not(:disabled):not(.disabled) {
    background-color: #3696F24D;
    border-color: #338CDB;
  }

  .vx-tpl-modes .btn.vx-tpl-mode-btn:first-child {
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
  }

  .vx-tpl-modes .btn.vx-tpl-mode-btn:last-child {
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
  }
  /* footer buttons: match the app's standard modal buttons (see #vxShiftModal) and
     keep all four (close/next/back/fill) the same size */
  form[name="vxShiftTemplateModal"] .modal-footer button {
    min-width: 100px;
    height: 36px;
    padding: 0 16px;
    border-radius: 8px;
    transition: none !important;
  }

  /* step-2 day checkboxes: aligned 3-column grid (equal spacing) */
  .vx-tpl-days {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 12px;
    margin-bottom: 14px;
  }
  .vx-tpl-days label {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  /* step-2 redesign: grouped sections (accent #3696F2) */
  .vx-tpl-section {
    margin-bottom: 22px;
  }
  .vx-tpl-section:last-child {
    margin-bottom: 0;
  }
  .vx-tpl-section-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #8A94A6;
    margin-bottom: 10px;
  }
  .vx-tpl-warn {
    background-color: #FFF8E1;
    border: 1px solid #FFE0B2;
    border-radius: 8px;
    padding: 9px 12px;
    color: #8D6E00;
    font-size: 13px;
    margin-top: 12px;
  }
  .vx-tpl-target {
    border: 1px solid #E5E9EE;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
    background: #FBFCFD;
  }
  .vx-tpl-target:last-child {
    margin-bottom: 0;
  }
  .vx-tpl-target-title {
    font-weight: 600;
    font-size: 14px;
    color: #2A2E37;
    margin-bottom: 12px;
  }
  /* one shift card inside «Смены графика» (added via «Добавить смену») */
  .vx-tpl-shift {
    position: relative;
    border: 1px solid #E5E9EE;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 10px;
    background: #FBFCFD;
  }
  .vx-tpl-shift-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    border: none;
    background: transparent;
    color: #A0A8B5;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
  }
  .vx-tpl-shift-remove:hover {
    color: #E9033A;
  }
}

/* #endregion vx-shift-calendar */

/* #region vx-shift-card */
.vx-shift-card.vx-draggable-dragging .shift-container-wrapper * {
    visibility: hidden;
}

.vx-shift-card.vx-draggable-dragging .shift-container-wrapper-content {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    visibility: visible;
    border-radius: 6px;
}

.vx-shift-card {
    .shift-wrapper {
        container-type: inline-size;
    }

    .shift-container-wrapper {
        background-color: rgba(255, 255, 255, 1);
        border-radius: 6px !important;
        margin: 6px 6px 0 6px;
        position: relative;
    }

    .shift-wrapper.ui-droppable-hover .shift-container {
        background-color: rgba(0, 123, 255, 0.1) !important;
    }

    .shift-wrapper.ui-droppable-hover .shift-container-border {
        display: block !important;
        box-shadow: inset 0 0 0 1px #007BFF !important;
    }

    /* Shift Container */
    .shift-container {
        /* opacity: 0.3 !important; */
        user-select: none;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        border-radius: 6px;
        width: 100%;
    }

    .shift-container-border {
        display: none;
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        pointer-events: none;
        z-index: 1;
        border-radius: 6px;
    }

    /* Status Indicators */
    .shift-status-indicator {
        width: 20px;
        height: 20px;
        bottom: -10px;
        right: -10px;
        position: absolute;
        transform: rotate(45deg);
    }

    /* Shift Border */
    .shift-left-badge {
        width: 6px;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }

    .shift-content {
        padding: 4px 4px 4px 10px;
        height: 47px;
        overflow: hidden;
    }

    .shift-content.with-workplace-badge {
        height: 76px;
        overflow: hidden;
    }

    /* Shift Header */
    .shift-header {
        display: flex;
        align-items: center;
        gap: 4px;
        overflow: hidden;
    }

    /* Shift Name */
    .shift-name {
        color: inherit !important;
        min-width: 0;
        font-size: 10px;
        font-family: Open Sans;
        font-weight: 600;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        flex: 1 1 auto;
    }

    /* Shift Time */
    .shift-time {
        white-space: nowrap;
        color: inherit !important;
        font-size: 10px;
        font-family: Open Sans;
        font-weight: 400;
        display: flex;
        flex: 0 0 auto;
        text-align: right;
        /* word-wrap: break-word; */
    }

    .shift-begin-time {
        white-space: nowrap;
        color: inherit !important;
        font-size: 10px;
        font-family: Open Sans;
        font-weight: 400;
        word-wrap: break-word;
    }

    .shift-end-time {
        white-space: nowrap;
        color: inherit !important;
        font-size: 10px;
        font-family: Open Sans;
        font-weight: 400;
        word-wrap: break-word;
    }

    /* Shift User and job Info */
    .shift-user-job-info {
        display: flex;
        margin-top: 4px;
    }

    /* User and job Avatar */
    .shift-user-job-avatar {
        width: 20px;
        height: 20px;
    }

    .shift-workplace-avatar {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #E5EAEE;
        border-radius: 50%;
        color: #464E5F;
    }
    .shift-workplace-avatar i {
        font-size: 10px;
    }

    .shift-avatar-image {
        width: 20px;
        height: 20px;
        border-radius: 20px;
    }

    /* User and job Name */
    .shift-user-job-name {
        color: inherit !important;
        font-size: 10px;
        font-family: Open Sans;
        font-weight: 400;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        padding-left: 4px;
        align-content: center;
    }

    @container (max-width: 110px) {
        .shift-content {
            padding: 4px 4px 4px 10px;
            height: 62px;
        }

        .shift-content.with-workplace-badge {
            height: 90px;
            overflow: hidden;
        }

        .shift-header {
            all: unset;
        }

        .shift-name {
            flex: unset;
        }

        .shift-time {
            text-overflow: clip;
            white-space: nowrap;
            padding-top: 4px;
            flex: unset;
            text-align: left;
        }

        .shift-user-job-info {
            display: inherit;
        }

        .shift-user-job-avatar {
            display: none;
        }

        .shift-user-job-name {
            padding-left: 0px;
        }
    }

    @container (max-width: 70px) {
        .shift-container-wrapper {
            margin: 6px 2px 0 2px;
        }

        .shift-content {
            padding: 4px 2px 4px 6px;
            height: 38px;
        }

        .shift-content.with-workplace-badge {
            height: 56px;
            overflow: hidden;
        }

        .shift-left-badge {
            width: 4px;
        }

        .shift-status-indicator {
            width: 14px;
            height: 14px;
            bottom: -7px;
            right: -7px;
        }

        .shift-header {
            all: unset;
        }

        .shift-time {
            all: unset;
        }

        .shift-name {
            display: none;
        }

        .shift-time-separator {
            display: none;
        }

        .shift-user-job-info {
            display: none;
        }
    }

}

/* #endregion vx-shift-card */

/* #region vx-shift-modal */
.vx-shift-modal {
  #vxShiftModal ~ .modal-backdrop {
    background-color: transparent !important;
  }

  form[name="vxConfirmModal"] .modal-backdrop{
    z-index: 1051 !important;
  }

  .employee-dropdown {
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 8px;
    top: 70px !important;
    left: 19px !important;
    transform: none !important;
    padding: 0;
  }

  .employee-list {
    max-height: 250px;
    overflow-y: auto;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
  }


  #vxShiftModal .modal-footer button {
    height: 36px;
    padding: 0px 16px 0px 16px;
    border-radius: 8px;
    transition: none !important;
  }

  #vxConfirmModal .modal-footer button {
    width: 120px;
    height: 36px;
    border-radius: 8px;
    transition: none !important;
  }

  .b-input .hint-body {
    overflow-x: hidden;
  }

  #btnDefault:hover,
  #btnDefault:focus,
  #btnDefault:active,
  #btnDefault i {
    background-color: inherit !important;
    color: inherit !important;
  }

  #btnLightDanger:hover,
  #btnLightDanger:focus,
  #btnLightDanger:active,
  #btnLightDanger i {
    background-color: #ffe2e5;
    color: #f64e60;
  }

  #btnLightPrimary:hover,
  #btnLightPrimary:focus,
  #btnLightPrimary:active,
  #btnLightPrimary i {
    background-color: #e1e9ff;
    color: #6993ff;
  }

  #btnPrimary:hover,
  #btnPrimary:focus,
  #btnPrimary:active {
    background-color: #6993ff;
    border-color: #6993ff;
  }

  .disabled-span {
    pointer-events: none;
    opacity: 0.8;
    cursor: not-allowed;
  }
}

/* #endregion vx-shift-modal */

.vx-survey-question {
    position: absolute;
    width: 100%;
    height: 100%;
    padding-block-start: 0px;
    pointer-events: auto;
    opacity: 1;
    transition: transform 600ms, opacity 300ms;
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
    
  .slide_section {
    -webkit-tap-highlight-color: transparent;
    height: 100%;
    display: flex;
  }

  .section_wrapper {
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    flex-direction: column;
    visibility: visible;
  }

  .slide_editor_wrapper {
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    overflow: hidden auto;
    scrollbar-width: none;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
  }

  .slide_editor_content {
    margin: auto;
    width: 100%;
    padding-top: 0px;
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
  }

  .slide_section_root {
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
  }

  .root_wrapper {
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
    padding-inline: 40px;
    text-align: start;
  }

  .root_content {
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    max-width: 720px;
    margin: 0px auto;
    padding-inline: 0px;
  }

  .root_spacer {
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
    margin-block: 32px 144px;
  }

  .question_editor_wrapper {
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
  }

  .question_title_wrapper {
    position: relative;
    transition: opacity 0.2s;
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
  }

  .question_header_wrapper {
    max-width: 100%;
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
  }

  .question_header_content {
    -webkit-font-smoothing: antialiased;
    display: flex;
    position: relative;
    overflow-wrap: break-word;
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
  }

  .header_counter_position {
    position: relative;
    height: 28px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
  }

  .header_counter_wrapper {
    position: absolute;
    inset-inline-end: 100%;
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
  }

  .counter_spacer_wrapper {
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
    margin-inline-end: 8px;
  }

  .counter_spacer_content {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    color: rgb(4, 69, 175);
    font-size: 14px;
    line-height: 20px;
    height: 100%;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
  }

  .counter_text_wrapper {
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
    margin: 0px;
    max-width: 100%;
    width: inherit;
    font-weight: unset;
    font-size: 14px;
    line-height: 20px;
  }

  .counter_text_spacer {
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
    margin-inline-start: 2px;
  }

  .counter_text_spacer_boundary {
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
  }

  .counter_text_spacer_icon {
    display: block;
    fill: rgb(4, 69, 175);
    transition: fill 0.2s;
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
  }

  .header_text_wrapper {
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
    margin: 0px;
    max-width: 100%;
    width: inherit;
    font-weight: unset;
    font-size: 20px;
    line-height: 28px;
    color: rgb(0, 0, 0);
    text-align: start;
  }

  .header_block_title {
    margin: 0px;
    max-width: 100%;
    width: inherit;
    font-weight: unset;
    font-size: 20px;
    line-height: 28px;
  }

  .question_spacer_wrapper {
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
    margin-block-start: 8px;
  }

  .block_description {
    box-sizing: inherit; 
  }

  .spacer_wrapper {
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
    margin-block-start: 32px;
  }

  .delay_intersection_disabled_wrapper {
    transition: opacity 0.2s ease-in-out;
    opacity: 1;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
  }

  .textarea_wrapper {
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
  }

  .input_wrapper {
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    position: relative;
  }

  .auto_size_textarea {
    appearance: none;
    display: block;
    width: 100%;
    font-family: inherit;
    color: rgb(4, 69, 175);
    padding-block-start: 0px;
    padding-block-end: 8px;
    padding-inline: 0px;
    border-radius: 0px;
    border: none;
    outline: none;
    background-color: transparent;
    font-size: 24px;
    line-height: 32px;
    resize: none;
    overflow: hidden;
    transition: box-shadow 0.1s ease-out;
    box-shadow: rgba(4, 69, 175, 0.3) 0px 1px;
    overflow-x: hidden;
    overflow-wrap: break-word;
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
  }

  .auto_size_textarea::placeholder {
    color: rgb(180, 199, 231);
  }

  .auto_size_textarea:focus {
    box-shadow: rgb(4, 69, 175) 0px 2px;
  }

  .input_field {
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
    display: block;
    width: 100%;
    font-family: inherit;
    color: rgb(4, 69, 175);
    padding-block-start: 0px;
    padding-block-end: 8px;
    padding-inline: 0px;
    border: none;
    outline: none;
    border-radius: 0px;
    appearance: none;
    background-image: none;
    background-position: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    transform: translateZ(0px);
    font-size: 24px;
    -webkit-font-smoothing: antialiased;
    line-height: unset;
    animation: 1ms ease 0s 1 normal none running native-autofill-in;
    transition: background-color 1e+08s, box-shadow 0.1s ease-out;
    box-shadow: rgba(4, 69, 175, 0.3) 0px 1px;
    background-color: transparent !important;
    margin: 0px;
  }

  .input_field::placeholder {
    -webkit-text-fill-color: rgb(180, 199, 231);
  }

  .input_field:read-only {
    caret-color: transparent;
  }

  .long_text_note {
    margin-block-start: 12px;
  }

  .number_note {
    margin-block-start: 24px;
  }

  .date_spacer {
    margin-block-start: 300px;
  }

  .date_inputs_root {
    position: relative;
    display: flex;
    -webkit-box-align: baseline;
    align-items: baseline;
    width: 280px;
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
  }

  .date_input_distribute {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }

  .input_distribute_spacer {
    flex: 0 0 auto;
    margin-block-end: 8px;
  }

  .input_distribute_text {
    margin: 0px;
    max-width: 100%;
    width: inherit;
    font-weight: unset;
    font-size: 12px;
    line-height: 16px;
    color: rgb(4, 69, 175);
  }

  .input_distribute_wrapper {
    width: 100%;
    position: relative;
    flex: 0 0 auto;
  }

  .data_input_month {
    width: calc(3.5ch);
    display: block;
    width: 100%;
    font-family: inherit;
    color: rgb(4, 69, 175);
    padding-block-start: 0px;
    padding-block-end: 8px;
    padding-inline: 0px;
    border: none;
    outline: none;
    border-radius: 0px;
    appearance: none;
    background-image: none;
    background-position: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    transform: translateZ(0px);
    font-size: 24px;
    -webkit-font-smoothing: antialiased;
    line-height: unset;
    animation: 1ms ease 0s 1 normal none running native-autofill-in;
    transition: background-color 1e+08s, box-shadow 0.1s ease-out;
    box-shadow: rgba(4, 69, 175, 0.3) 0px 1px;
    background-color: transparent !important;
    margin: 0px;
  }

  .data_input_month::placeholder {
    color: rgb(180, 199, 231);
  }

  .data_input_month:read-only {
    caret-color: transparent;
  }

  .date_input_separator {
    align-self: flex-end;
    margin-inline: 20px 16px;
    margin-block-end: 8px;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
  }

  .date_input_separator_wrapper {
    margin: 0px;
    max-width: 100%;
    width: inherit;
    font-weight: unset;
    font-size: 24px;
    line-height: 32px;
    color: rgb(4, 69, 175);
  }

  .day_input:focus-within + .bootstrap-datetimepicker-widget.dropdown-menu {
    inset: auto auto auto 0px !important; 
  }

  .month_input:focus-within + .bootstrap-datetimepicker-widget.dropdown-menu {
    inset: auto -80px auto auto !important;
  }

  .year_input:focus-within + .bootstrap-datetimepicker-widget.dropdown-menu {
    inset: auto 0px auto auto !important;
  }

  .multiple_choice_wrapper {
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
  }

  .multiple_choice_options {
    margin: 0px;
    padding: 0px;
    max-width: 100%;
    min-width: 168px;
    display: inline-flex;
    flex-flow: column wrap;
    -webkit-box-align: stretch;
    align-items: stretch;
    user-select: none;
    margin-block-end: -8px;
  }

  .multiple_choice_option {
    touch-action: manipulation;
    margin-bottom: 8px;
    opacity: 1;
    width: 100%;
    min-width: 150px;
    transition: transform linear;
    margin-block-end: 8px;
    list-style: none;
    display: block;
    outline: none;
    border-radius: 4px;
    text-align: -webkit-match-parent;
    unicode-bidi: isolate;
  }

  .multiple_choice_option_disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
  }

  .multiple_choice_option_checkbox {
    width: 100%;
    height: 100%;
    outline: none;
  }

  .multiple_choice_option_root {
    position: relative;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    border-radius: 4px;
    background-color: rgba(4, 69, 175, 0.1);
    box-shadow: rgba(4, 69, 175, 0.6) 0px 0px 0px 1px inset;
    color: rgb(4, 69, 175);
    max-width: 100%;
    height: inherit;
    min-height: 40px;
    outline: 0px;
    padding-block: 4px;
    transition-duration: 0.1s;
    transition-property: background-color, color, border-color, opacity, box-shadow;
    transition-timing-function: ease-out;
    width: 100%;
    word-break: break-word;
    cursor: pointer;
    opacity: 1;
  }

  .multiple_choice_option_root:focus-within {
    box-shadow: rgb(4, 69, 175) 0px 0px 0px 2px inset;
    background-color: rgba(4, 69, 175, 0.3);
  }

  .multiple_choice_option_style:hover {
    background-color: rgba(4, 69, 175, 0.3);
  }

  .multiple_choice_option_style.active {
    box-shadow: rgb(4, 69, 175) 0px 0px 0px 2px inset;
    background-color: rgba(4, 69, 175, 0.3);
  }

  .multiple_choice_option_root_wrapper {
    display: flex;
    align-self: flex-start;
    margin-block-start: 4px;
    margin-block-end: 0px;
    margin-inline-start: 8px;
    margin-inline-end: 8px;
  }

  .multiple_choice_option_root_content {
    position: relative;
    width: 24px;
    min-width: 22px;
    height: 24px;
    border-radius: 2px;
    font-size: 12px;
    line-height: 16px;
    font-family: sans-serif;
    border-color: rgba(4, 69, 175, 0.6);
    background-color: rgba(255, 255, 255, 0.8);
    color: rgb(4, 69, 175);
  }

  .multiple_choice_option_root_content.active {
    border-color: rgb(4, 69, 175);
    background-color: rgb(4, 69, 175);
    color: rgb(255, 255, 255);
  }

  .option_key_wrapper {
    position: absolute;
    inset-inline-end: 0px;
  }

  .option_key_content {
    height: 24px;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    border-width: 1px;
    border-style: solid;
    border-radius: 2px;
    border-color: rgba(4, 69, 175, 0.6);
    background-color: rgb(255, 255, 255);
  }

  .option_key_content.active {
    border-color: rgb(4, 69, 175);
    background-color: rgb(4, 69, 175);
  }

  .key_text {
    display: none;
    padding-inline-start: 7px;
    white-space: nowrap;
  }

  .key_letter {
    width: 22px;
    height: 22px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    font-weight: 700;
    -webkit-box-pack: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }

  .option_readable_element {
    width: 100%;
    min-width: 100px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    flex: 1 1 0%;
    text-align: start;
    word-break: break-word;
  }

  .option_text_wrapper {
    margin: 0px;
    max-width: 100%;
    width: inherit;
    font-weight: unset;
    font-size: 16px;
    line-height: 24px;
    transition: opacity 90ms ease-in-out;
  }

  .option_text_spacer {
    margin-right: 8px;
  }

  .option_text_input_wrapper {
    display: none;
    user-select: auto;
    -webkit-box-flex: 1;
    flex-grow: 1;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 90ms ease-in-out;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
  }

  .option_text_quill_theme {
    -webkit-tap-highlight-color: transparent;
    transition: opacity 90ms ease-in-out;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
  }

  .option_text_quill_styles {
    position: relative;
    margin-right: 8px;
    margin-left: 8px;
    overflow: visible;
    cursor: text;
  }

  .option_text_quill_editor {
    box-sizing: border-box;
    font-family: inherit;
    font-size: inherit;
    height: 100%;
    margin: 0px;
    position: relative;
    overflow: visible;
  }

  .multiple_choice_option_root:focus-within .option_text_input_wrapper {
    display: unset;
  }

  .multiple_choice_option_root:focus-within .option_readable_wrapper {
    display: none;
  }

  .option_checkbox_content {
    flex-shrink: 0;
    padding-block: 0px;
    padding-inline: 8px 10px;
    opacity: 0;
  }

  .option_checkbox_content.active {
    opacity: 1;
  }

  .option_checkbox_boundary {
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
  }

  .option_checkbox_icon {
    display: block;
    fill: rgb(4, 69, 175);
    transition: fill 0.2s;
  }

  .multiple_choice_count_wrapper {
    min-height: 30px;
    display: inline-block;
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
  }

  .multiple_choice_count_content {
    margin: 0px;
    max-width: 100%;
    width: inherit;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: rgb(4, 69, 175);
    text-align: start;
  }

  .scale_wrapper {
    -webkit-tap-highlight-color: transparent;
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
    margin-inline: auto;
  }

  .scale_options {
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    -webkit-box-pack: center;
    justify-content: center;
  }

  .scale_option {
    list-style: none;
    flex-shrink: 0;
  }

  .scale_button {
    width: 100%;
    aspect-ratio: 1;
    box-sizing: border-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    cursor: pointer;
    font-size: 16px;
    line-height: 24px;
    color: rgb(4, 69, 175);
    background-color: rgb(247, 247, 248);
    transition-duration: 0.1s;
    transition-property: background-color, color, border-color;
    transition-timing-function: ease-out;
    outline: none;
  }

  .scale_button:hover {
    background-color: rgb(237, 237, 240);
  }

  .scale_button.active {
    border-color: rgb(4, 69, 175);
    background-color: rgb(4, 69, 175);
    color: rgb(255, 255, 255);
  }

  .scale_button_disabled {
    pointer-events: none;
    cursor: not-allowed;
  }

  .scale_labels {
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    gap: 8px;
    margin-block-start: 8px;
  }

  .scale_label {
    font-size: 14px;
    line-height: 20px;
    color: rgb(101, 93, 103);
    word-break: break-word;
  }

  .scale_label_min {
    text-align: start;
  }

  .scale_label_mid {
    flex: 1 1 auto;
    text-align: center;
  }

  .scale_label_max {
    text-align: end;
  }

  .scale_labels_list {
    display: flex;
    flex-direction: column;
    -webkit-box-align: start;
    align-items: flex-start;
    gap: 2px;
    margin-block-start: 8px;
  }

  .scale_label_row {
    font-size: 14px;
    line-height: 20px;
    color: rgb(101, 93, 103);
    word-break: break-word;
  }
}

