.main-content.vs-active > :not(.topbar):not(#sls-voice-support):not(footer) {
  display: none !important;
}

.vs-nav-item > svg {
  flex: 0 0 20px;
  color: #92949e;
}

.vs-nav-item:hover > svg,
.vs-nav-item.active > svg {
  color: #ff526c;
}

.vs-page {
  --vs-red: #f02b48;
  --vs-red-bright: #ff526c;
  --vs-panel: #14151c;
  --vs-soft: #0f1016;
  --vs-border: #ffffff13;
  --vs-muted: #92949e;
  display: grid;
  gap: 20px;
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding-bottom: 4px;
  color: #f7f5f7;
}

.vs-page *,
.vs-page *::before,
.vs-page *::after {
  box-sizing: border-box;
}

.vs-page button,
.vs-page input,
.vs-page select {
  font: inherit;
}

.vs-hero {
  position: relative;
  display: flex;
  min-height: 218px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  overflow: hidden;
  padding: 34px 38px;
  border: 1px solid var(--vs-border);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 5%, #ed29484d, transparent 35%),
    radial-gradient(circle at 7% 100%, #89182b26, transparent 37%),
    linear-gradient(122deg, #191a22f7, #101117f7);
  box-shadow: 0 22px 64px #00000038;
}

.vs-hero::after {
  position: absolute;
  inset: 0;
  opacity: .13;
  background-image:
    linear-gradient(#ffffff0d 1px, transparent 1px),
    linear-gradient(90deg, #ffffff0d 1px, transparent 1px);
  background-size: 36px 36px;
  content: "";
  pointer-events: none;
}

.vs-hero > * {
  position: relative;
  z-index: 1;
}

.vs-hero > div:first-child {
  max-width: 920px;
}

.vs-hero > div:first-child > span,
.vs-section-head > div > span {
  color: var(--vs-red-bright);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
}

.vs-hero h2 {
  margin: 9px 0 10px;
  font-size: clamp(31px, 3.3vw, 50px);
  line-height: 1.03;
  letter-spacing: -.045em;
}

.vs-hero p,
.vs-section-head p {
  margin: 0;
  color: var(--vs-muted);
  font-size: 13px;
  line-height: 1.62;
}

.vs-hero-status {
  display: grid;
  grid-template-columns: 10px 1fr;
  min-width: 238px;
  padding: 20px;
  border: 1px solid #ffffff14;
  border-radius: 17px;
  background: #101117d9;
}

.vs-hero-status > i {
  grid-row: 1 / 4;
  align-self: center;
  width: 9px;
  height: 9px;
  margin-right: 12px;
  border-radius: 50%;
  background: #555862;
  box-shadow: 0 0 0 5px #55586218;
}

.vs-hero-status.online {
  border-color: #f02b4850;
  background: #2b1119cf;
}

.vs-hero-status.online > i {
  background: #ff4963;
  box-shadow: 0 0 0 5px #ff49631c, 0 0 18px #ff49635c;
}

.vs-hero-status small,
.vs-hero-status strong,
.vs-hero-status span {
  grid-column: 2;
}

.vs-hero-status small {
  color: #ff8295;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.vs-hero-status strong {
  margin-top: 3px;
  font-size: 24px;
}

.vs-hero-status span {
  margin-top: 4px;
  color: #999aa4;
  font-size: 10px;
}

.vs-panel {
  padding: 24px;
  border: 1px solid var(--vs-border);
  border-radius: 19px;
  background: var(--vs-panel);
  box-shadow: 0 16px 46px #00000022;
}

.vs-settings-form {
  display: grid;
  gap: 20px;
  margin: 0;
}

.vs-primary-panel {
  background:
    radial-gradient(circle at 100% 0, #e72e4515, transparent 34%),
    var(--vs-panel);
}

.vs-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.vs-section-head h3 {
  margin: 5px 0 7px;
  color: #f6f4f6;
  font-size: 22px;
  line-height: 1.2;
}

.vs-section-head > b {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid #f02b483b;
  border-radius: 999px;
  background: #2e111a;
  color: #ff7187;
  font-size: 10px;
  font-weight: 850;
}

.vs-field-grid,
.vs-destinations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.vs-page label > span,
.vs-destination-fields label > span {
  display: block;
  margin-bottom: 7px;
  color: #b5b5bd;
  font-size: 11px;
  font-weight: 800;
}

.vs-page input:not([type="checkbox"]),
.vs-page select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #30323c;
  border-radius: 10px;
  outline: none;
  background: #0d0e13;
  color: #f6f5f7;
  color-scheme: dark;
}

.vs-page input:not([type="checkbox"]):focus,
.vs-page select:focus {
  border-color: var(--vs-red);
  box-shadow: 0 0 0 3px #f02b4818;
}

.vs-page select:disabled {
  opacity: .55;
}

.vs-switch {
  display: grid;
  grid-template-columns: 46px auto;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.vs-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.vs-switch > i {
  position: relative;
  width: 46px;
  height: 26px;
  border: 1px solid #41434d;
  border-radius: 99px;
  background: #0e0f14;
  transition: .18s ease;
}

.vs-switch > i::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #72747e;
  content: "";
  transition: .18s ease;
}

.vs-switch input:checked + i {
  border-color: #f02b4875;
  background: #761a2a;
  box-shadow: 0 0 18px #f02b4826;
}

.vs-switch input:checked + i::after {
  left: 24px;
  background: #ff526c;
}

.vs-switch > span {
  margin: 0;
  color: #eeeef1;
  font-size: 12px;
}

.vs-selection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  max-height: 342px;
  overflow: auto;
  padding-right: 4px;
  scrollbar-color: #8c2940 #111218;
  scrollbar-width: thin;
}

.vs-choice {
  display: grid;
  grid-template-columns: 20px 10px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid #2b2d36;
  border-radius: 11px;
  background: #101117;
  cursor: pointer;
}

.vs-choice:has(i) {
  grid-template-columns: 20px 10px minmax(0, 1fr);
}

.vs-choice:not(:has(i)) {
  grid-template-columns: 20px minmax(0, 1fr);
}

.vs-choice:hover,
.vs-choice.selected {
  border-color: #f02b4858;
  background: #291119;
}

.vs-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.vs-choice > b {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid #4b4e59;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
}

.vs-choice.selected > b {
  border-color: var(--vs-red);
  background: var(--vs-red);
}

.vs-choice > i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--role-color, #777);
}

.vs-choice > span {
  min-width: 0;
  margin: 0;
}

.vs-choice strong,
.vs-choice small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vs-choice strong {
  color: #f0eff2;
  font-size: 12px;
}

.vs-choice small {
  margin-top: 3px;
  color: #7e808a;
  font-size: 9px;
}

.vs-empty-selection {
  padding: 16px;
  border: 1px dashed #ffffff19;
  border-radius: 11px;
  color: #8d8f99;
  font-size: 12px;
  text-align: center;
}

.vs-destination-card {
  padding: 16px;
  border: 1px solid #292b34;
  border-radius: 14px;
  background: #101117;
}

.vs-destination-card > div:first-child {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  margin-bottom: 15px;
}

.vs-card-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #f02b4842;
  border-radius: 11px;
  background: #2b1119;
  color: #ff667e;
  font-size: 17px;
  font-weight: 900;
}

.vs-destination-card h4,
.vs-destination-card p {
  margin: 0;
}

.vs-destination-card h4 {
  font-size: 13px;
}

.vs-destination-card p {
  margin-top: 4px;
  color: #81838d;
  font-size: 10px;
  line-height: 1.45;
}

.vs-destination-fields {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 10px;
}

.vs-savebar {
  position: sticky;
  z-index: 15;
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 17px;
  border: 1px solid #f02b4841;
  border-radius: 15px;
  background: #111219f2;
  box-shadow: 0 18px 45px #0009;
  backdrop-filter: blur(13px);
}

.vs-savebar > span {
  color: #9698a2;
  font-size: 11px;
}

.vs-button,
.vs-icon-button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #343641;
  border-radius: 10px;
  background: #191a22;
  color: #f7f5f7;
  font-weight: 800;
  cursor: pointer;
}

.vs-button.primary {
  border-color: #ff49635e;
  background: linear-gradient(135deg, #f02b48, #d51635);
  box-shadow: 0 9px 24px #f02b4830;
}

.vs-button:hover:not(:disabled),
.vs-icon-button:hover:not(:disabled) {
  border-color: #ff526c8c;
  color: #fff;
}

.vs-button:disabled {
  opacity: .55;
  cursor: wait;
}

.vs-notice {
  padding: 13px 16px;
  border: 1px solid #ffffff16;
  border-radius: 12px;
  background: #14151c;
  color: #d4d4d9;
  font-size: 12px;
}

.vs-notice.success {
  border-color: #f02b4848;
  background: #2a1119;
  color: #ffbdc7;
}

.vs-notice.error {
  border-color: #ff4762a6;
  background: #3a1019;
  color: #ff9aaa;
}

.vs-rule-list {
  display: grid;
  gap: 7px;
}

.vs-forward-team-intro {
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid #f02b4833;
  border-radius: 12px;
  background: #24121966;
}

.vs-forward-team-intro strong {
  color: #ffc5ce;
  font-size: 13px;
}

.vs-forward-team-intro p {
  margin: 7px 0 0;
  color: #a7a7b1;
  font-size: 11px;
  line-height: 1.65;
}

.vs-forward-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.vs-forward-member {
  min-width: 0;
  padding: 17px;
  border: 1px solid #30313b;
  border-radius: 14px;
  background: #101117;
}

.vs-forward-member-head,
.vs-custom-alias-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vs-forward-member-head > div {
  min-width: 0;
}

.vs-forward-member-head strong,
.vs-forward-member-head small {
  display: block;
  overflow-wrap: anywhere;
}

.vs-forward-member-head strong {
  font-size: 15px;
}

.vs-forward-member-head small {
  margin-top: 4px;
  color: #a3a4ad;
  font-size: 11px;
}

.vs-forward-member-head > b {
  flex: 0 0 auto;
  padding: 6px 8px;
  border: 1px solid #f02b4833;
  border-radius: 7px;
  color: #ff8b9d;
  font-size: 10px;
}

.vs-alias-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0;
}

.vs-alias-chips > span {
  max-width: 100%;
  padding: 6px 8px;
  border: 1px solid #ffffff12;
  border-radius: 7px;
  background: #1d1e27;
  color: #dddee5;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.vs-forward-member-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.vs-forward-member-form > button {
  grid-column: 1 / -1;
  justify-self: start;
}

.vs-project-leads {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid #f02b4833;
}

.vs-project-leads h4 {
  margin: 6px 0 0;
  font-size: 18px;
}

.vs-project-lead-member {
  border-color: #f02b483b;
  background: linear-gradient(145deg, #23131b 0, #101117 60%);
}

.vs-lead-alias-options {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 18px 0 4px;
  padding: 0;
  border: 0;
}

.vs-lead-alias-options legend {
  margin-bottom: 9px;
  color: #b7b8c1;
  font-size: 11px;
  font-weight: 700;
}

.vs-lead-alias-options > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.vs-lead-alias-options > small {
  display: block;
  margin-top: 9px;
  color: #93949f;
  font-size: 10px;
  line-height: 1.6;
}

.vs-lead-alias {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 9px;
  border: 1px solid #ffffff12;
  border-radius: 8px;
  background: #14151c;
  cursor: pointer;
}

.vs-lead-alias.selected {
  border-color: #f02b4866;
  background: #321620;
}

.vs-lead-alias input {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #f02b48;
}

.vs-page .vs-lead-alias > span {
  margin: 0;
  color: #dddde5;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.vs-custom-alias-head {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #ffffff0d;
}

.vs-custom-alias-head > strong {
  color: #a7a8b2;
  font-size: 11px;
}

.vs-custom-alias-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.vs-custom-alias {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 7px;
}

.vs-custom-alias.disabled {
  opacity: .58;
}

.vs-custom-alias strong,
.vs-custom-alias small {
  display: block;
  overflow-wrap: anywhere;
}

.vs-custom-alias strong {
  font-size: 12px;
}

.vs-custom-alias small,
.vs-alias-hint {
  margin: 4px 0 0;
  color: #858792;
  font-size: 10px;
  line-height: 1.5;
}

.vs-additional-rules-head {
  margin: 24px 0 12px;
}

.vs-rule-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 11px;
  min-height: 60px;
  padding: 9px 10px;
  border: 1px solid #292b34;
  border-radius: 11px;
  background: #101117;
}

.vs-rule-row.disabled {
  opacity: .58;
}

.vs-rule-type,
.vs-rule-status {
  color: #ff6c82;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
}

.vs-rule-row > div strong,
.vs-rule-row > div small {
  display: block;
}

.vs-rule-row > div strong {
  font-size: 12px;
}

.vs-rule-row > div small {
  margin-top: 3px;
  color: #83858f;
  font-size: 10px;
}

.vs-icon-button {
  min-height: 34px;
  padding-inline: 11px;
  font-size: 10px;
}

.vs-icon-button.danger {
  border-color: #e2334d3f;
  background: #2a1118;
  color: #ff7186;
}

.vs-rule-form {
  display: grid;
  grid-template-columns: .7fr 1.2fr 1fr .65fr auto;
  align-items: end;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #ffffff0d;
}

.vs-subhead {
  grid-column: 1 / -1;
}

.vs-subhead strong,
.vs-subhead span {
  display: block;
}

.vs-subhead strong {
  font-size: 13px;
}

.vs-subhead span {
  margin-top: 3px;
  color: #7f818b;
  font-size: 10px;
}

.vs-rule-enabled {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid #30323c;
  border-radius: 10px;
  background: #0d0e13;
  cursor: pointer;
}

.vs-rule-enabled input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.vs-rule-enabled i {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border: 1px solid #f02b4869;
  border-radius: 5px;
  background: #301119;
  color: #fff;
  font-size: 11px;
}

.vs-rule-enabled > span {
  margin: 0;
  white-space: nowrap;
}

.vs-rule-actions {
  display: flex;
  gap: 7px;
}

.vs-live-counters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.vs-live-counters article {
  display: grid;
  gap: 4px;
  padding: 15px;
  border: 1px solid #2a2c35;
  border-radius: 12px;
  background: #101117;
}

.vs-live-counters small {
  color: #858792;
  font-size: 10px;
}

.vs-live-counters strong {
  color: #ff6c82;
  font-size: 25px;
  font-variant-numeric: tabular-nums;
}

.vs-live-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.vs-live-columns article {
  padding: 14px;
  border: 1px solid #292b34;
  border-radius: 13px;
  background: #101117;
}

.vs-live-columns h4 {
  margin: 0 0 10px;
  font-size: 12px;
}

.vs-live-columns ol {
  display: grid;
  gap: 6px;
  max-height: 260px;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.vs-live-columns li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 9px;
  border-top: 1px solid #ffffff0b;
}

.vs-live-columns li > b {
  color: #ff667e;
  font-size: 10px;
}

.vs-live-columns li span,
.vs-live-columns li small {
  display: block;
}

.vs-live-columns li span {
  font-size: 11px;
}

.vs-live-columns li small {
  margin-top: 3px;
  color: #7f818a;
  font-size: 9px;
}

.vs-live-columns li.empty {
  display: block;
  color: #7f818b;
  font-size: 11px;
}

.vs-state {
  display: grid;
  min-height: 360px;
  place-items: center;
  align-content: center;
  gap: 9px;
  border: 1px solid var(--vs-border, #ffffff13);
  border-radius: 20px;
  background: var(--vs-panel, #14151c);
  color: #f5f3f5;
  text-align: center;
}

.vs-state span {
  color: #92949e;
  font-size: 12px;
}

.vs-state.error strong {
  color: #ff7187;
}

.vs-state > i {
  width: 18px;
  height: 18px;
  border: 2px solid #f02b4845;
  border-top-color: #f02b48;
  border-radius: 50%;
  animation: vs-spin .8s linear infinite;
}

.vs-state .vs-button {
  margin-top: 10px;
}

.sls-voicesupport-permission-row {
  border-color: #f02b4838 !important;
  background: #2a111933 !important;
}

.sls-voicesupport-capability {
  border-color: #f02b4838 !important;
}

@keyframes vs-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1180px) {
  .vs-forward-team-grid {
    grid-template-columns: 1fr;
  }

  .vs-rule-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vs-rule-enabled,
  .vs-rule-actions {
    align-self: end;
  }
}

@media (max-width: 900px) {
  .vs-hero,
  .vs-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .vs-hero-status {
    width: min(100%, 330px);
  }

  .vs-field-grid,
  .vs-destinations,
  .vs-live-columns {
    grid-template-columns: 1fr;
  }

  .vs-rule-row {
    grid-template-columns: 62px minmax(0, 1fr) auto;
  }

  .vs-rule-row .vs-rule-status {
    grid-column: 3;
    grid-row: 1;
  }

  .vs-rule-row .vs-icon-button {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .vs-page {
    gap: 14px;
  }

  .vs-hero,
  .vs-panel {
    padding: 19px;
    border-radius: 16px;
  }

  .vs-selection-grid,
  .vs-live-counters,
  .vs-rule-form,
  .vs-forward-member-form {
    grid-template-columns: 1fr;
  }

  .vs-destination-fields {
    grid-template-columns: 1fr;
  }

  .vs-lead-alias-options > div {
    grid-template-columns: 1fr;
  }

  .vs-savebar {
    position: static;
    align-items: stretch;
    flex-direction: column;
  }

  .vs-rule-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .vs-rule-row .vs-rule-type,
  .vs-rule-row > div {
    grid-column: 1;
  }

  .vs-rule-row .vs-rule-status {
    grid-column: 2;
    grid-row: 1;
  }

  .vs-rule-row .vs-icon-button {
    grid-column: auto;
  }

  .vs-custom-alias {
    grid-template-columns: 1fr 1fr;
  }

  .vs-custom-alias > span {
    grid-column: 1 / -1;
  }
}
