body.sml-pro-terminal-active .sml-tvr-slot,
.sml-tvr-slot {
  width: min(100%, 430px);
  margin: 14px 0 14px auto;
  box-sizing: border-box;
}

.sml-tvr,
.sml-tvr * {
  box-sizing: border-box;
  min-width: 0;
}

.sml-pro-symbol-copy {
  position: relative;
}

.sml-pro-symbol-search,
.sml-pro-symbol-search * {
  box-sizing: border-box;
  min-width: 0;
}

.sml-pro-symbol-search {
  position: relative;
  width: min(100%, 310px);
  margin: 0;
  font-family: Inter, Arial, sans-serif;
}

.sml-pro-symbol-search__field {
  display: grid;
  grid-template-columns: auto minmax(72px, 1fr) 32px;
  align-items: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.sml-pro-symbol-search__field:focus-within {
  border-color: rgba(105, 216, 255, .72);
  background: #07131f;
  box-shadow: 0 0 0 3px rgba(105, 216, 255, .13);
}

.sml-pro-symbol-search__field > span {
  padding-left: 2px;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
}

.sml-pro-symbol-search input {
  width: 100%;
  height: 40px;
  padding: 0 4px 0 0;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  font: 900 32px/1 Inter, Arial, sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}

.sml-pro-symbol-search input::-webkit-search-cancel-button {
  display: none;
}

.sml-pro-symbol-search__field button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(105, 216, 255, .38);
  border-radius: 6px;
  background: rgba(105, 216, 255, .1);
  color: #a6ebff;
  font: 900 18px/1 Inter, Arial, sans-serif;
  cursor: pointer;
}

.sml-pro-symbol-search__field button:hover,
.sml-pro-symbol-search__field button:focus-visible {
  border-color: #69d8ff;
  background: #15384d;
  outline: 0;
}

.sml-pro-symbol-search__menu {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  z-index: 10020;
  width: min(430px, calc(100vw - 28px));
  max-height: min(390px, calc(100vh - 180px));
  display: none;
  overflow-y: auto;
  border: 1px solid #3b566b;
  border-radius: 8px;
  background: #071018;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .58);
}

.sml-pro-symbol-search__menu[data-open="1"] {
  display: block;
}

.sml-pro-symbol-search__menu button {
  width: 100%;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 10px 11px;
  border: 0;
  border-bottom: 1px solid #213440;
  background: #071018;
  color: #edf5f8;
  text-align: left;
  cursor: pointer;
}

.sml-pro-symbol-search__menu button:last-child {
  border-bottom: 0;
}

.sml-pro-symbol-search__menu button:hover,
.sml-pro-symbol-search__menu button:focus-visible,
.sml-pro-symbol-search__menu button[aria-selected="true"] {
  background: #102535;
  outline: 0;
}

.sml-pro-symbol-search__menu b {
  color: #67ee9d;
  font-size: 14px;
}

.sml-pro-symbol-search__menu span {
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sml-pro-symbol-search__menu small {
  color: #96adbb;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
  white-space: nowrap;
}

.sml-pro-symbol-search__empty {
  padding: 12px;
  color: #9db2c1;
  font-size: 11px;
  line-height: 1.45;
}

.sml-tvr {
  --voice-bg: #07121d;
  --voice-panel: #0b1a29;
  --voice-line: #3c5a72;
  --voice-text: #f5f9fc;
  --voice-muted: #9db2c1;
  --voice-green: #5ce996;
  --voice-blue: #69d8ff;
  --voice-red: #ff7181;
  position: relative;
  width: 100%;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--voice-line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 14% 10%, rgba(92, 233, 150, .12), transparent 31%),
    linear-gradient(145deg, #10283a, var(--voice-bg) 68%, #0b1b2c);
  color: var(--voice-text);
  font-family: Inter, Arial, sans-serif;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35), inset 0 1px rgba(255, 255, 255, .05);
}

.sml-tvr__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(105, 216, 255, .22);
}

.sml-tvr__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: var(--voice-green);
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sml-tvr__head h2 {
  margin: 0 !important;
  color: #fff !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
}

.sml-tvr__live {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(92, 233, 150, .38);
  border-radius: 999px;
  background: rgba(92, 233, 150, .1);
  color: #a7ffca;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.sml-tvr__live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--voice-green);
  box-shadow: 0 0 10px rgba(92, 233, 150, .75);
}

.sml-tvr__head-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 7px;
}

.sml-tvr__share-toggle,
.sml-tvr__share-tools button {
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(105, 216, 255, .45);
  border-radius: 7px;
  background: #102638;
  color: #dff7ff;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.sml-tvr__share-toggle:hover,
.sml-tvr__share-toggle:focus-visible,
.sml-tvr__share-tools button:hover,
.sml-tvr__share-tools button:focus-visible {
  border-color: var(--voice-blue);
  background: #173b54;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(105, 216, 255, .2);
}

.sml-tvr__share-menu {
  position: absolute;
  z-index: 20;
  top: 55px;
  right: 14px;
  width: min(330px, calc(100% - 28px));
  padding: 12px;
  border: 1px solid #43647d;
  border-radius: 8px;
  background: #07131e;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .55);
}

.sml-tvr__share-menu[hidden] {
  display: none;
}

.sml-tvr__share-menu > strong {
  display: block;
  margin-bottom: 9px;
  color: #fff;
  font-size: 12px;
}

.sml-tvr__share-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.sml-tvr__share-grid a {
  min-width: 0;
  padding: 8px 9px;
  overflow: hidden;
  border: 1px solid rgba(105, 216, 255, .25);
  border-radius: 6px;
  background: #0d2232;
  color: #eaf7ff !important;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  text-decoration: none !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sml-tvr__share-grid a:hover,
.sml-tvr__share-grid a:focus-visible {
  border-color: var(--voice-green);
  color: #b8ffd3 !important;
  outline: 0;
}

.sml-tvr__share-tools {
  display: flex;
  gap: 7px;
  margin-top: 8px;
}

.sml-tvr__share-tools button {
  flex: 1 1 0;
}

.sml-tvr__share-status {
  display: block;
  min-height: 16px;
  margin-top: 6px;
  color: #a7ffca;
  font-size: 10px;
  font-weight: 750;
}

.sml-tvr__stage {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.sml-tvr__orb {
  position: relative;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid rgba(105, 216, 255, .45);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(105, 216, 255, .2), rgba(92, 233, 150, .08) 58%, #08121c);
  box-shadow: 0 0 22px rgba(105, 216, 255, .14);
}

.sml-tvr__mic-icon {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 7px;
  height: 7px;
  overflow: hidden;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--voice-green);
  color: transparent;
}

.sml-tvr__orb i {
  width: 4px;
  height: 18px;
  border-radius: 5px;
  background: var(--voice-blue);
  transform-origin: center;
}

.sml-tvr__orb i:nth-of-type(2) {
  height: 30px;
  background: var(--voice-green);
}

.sml-tvr__orb[data-speaking="1"] {
  border-color: var(--voice-green);
  box-shadow: 0 0 30px rgba(92, 233, 150, .34);
}

.sml-tvr__orb[data-speaking="1"] i {
  animation: smlTvrWave .62s ease-in-out infinite alternate;
}

.sml-tvr__orb[data-speaking="1"] i:nth-of-type(2) {
  animation-delay: -.22s;
}

.sml-tvr__orb[data-speaking="1"] i:nth-of-type(3) {
  animation-delay: -.4s;
}

@keyframes smlTvrWave {
  to { transform: scaleY(.32); }
}

.sml-tvr__stage-copy {
  display: grid;
  gap: 5px;
}

.sml-tvr__stage-copy strong {
  color: #fff;
  font-size: 14px;
  font-weight: 850;
}

.sml-tvr__stage-copy span {
  color: var(--voice-muted);
  font-size: 11px;
  line-height: 1.45;
}

.sml-tvr__meter {
  height: 8px;
  margin-top: 4px;
  overflow: hidden;
  border: 1px solid #294153;
  border-radius: 999px;
  background: #071019;
}

.sml-tvr__meter i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--voice-green), var(--voice-blue));
  box-shadow: 0 0 12px rgba(92, 233, 150, .45);
  transition: width .08s linear;
}

.sml-tvr__members {
  min-height: 68px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  align-content: start;
}

.sml-tvr__empty {
  grid-column: 1 / -1;
  display: grid;
  min-height: 68px;
  place-items: center;
  padding: 10px;
  border: 1px dashed rgba(126, 155, 176, .36);
  border-radius: 7px;
  color: var(--voice-muted);
  font-size: 11px;
  text-align: center;
}

.sml-tvr__member {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 8px;
  gap: 8px;
  align-items: center;
  padding: 7px;
  border: 1px solid #294153;
  border-radius: 7px;
  background: rgba(6, 16, 25, .62);
  color: #fff !important;
  text-decoration: none !important;
}

.sml-tvr__member img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border: 1px solid #40647d;
  border-radius: 50%;
  background: #111e29;
}

.sml-tvr__member span,
.sml-tvr__member strong,
.sml-tvr__member small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sml-tvr__member strong {
  font-size: 11px;
  font-weight: 850;
}

.sml-tvr__member small {
  margin-top: 2px;
  color: var(--voice-muted);
  font-size: 9px;
}

.sml-tvr__member > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #667987;
}

.sml-tvr__member[data-speaking="1"] {
  border-color: rgba(92, 233, 150, .55);
  box-shadow: 0 0 16px rgba(92, 233, 150, .12);
}

.sml-tvr__member[data-speaking="1"] > i {
  background: var(--voice-green);
  box-shadow: 0 0 10px rgba(92, 233, 150, .8);
}

.sml-tvr__audio {
  display: none;
}

.sml-tvr__actions {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto auto;
  gap: 7px;
  margin-top: auto;
}

.sml-tvr__actions button {
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #40617a;
  border-radius: 7px;
  background: #102638;
  color: #eaf5fb;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.sml-tvr__actions button:hover,
.sml-tvr__actions button:focus-visible {
  border-color: var(--voice-blue);
  background: #173b54;
  outline: 0;
}

.sml-tvr__actions button:focus-visible {
  box-shadow: 0 0 0 3px rgba(105, 216, 255, .28);
}

.sml-tvr__actions button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.sml-tvr__actions .sml-tvr__primary {
  border-color: var(--voice-green);
  background: var(--voice-green);
  color: #04110a;
}

.sml-tvr__actions .sml-tvr__leave:not(:disabled) {
  border-color: rgba(255, 113, 129, .55);
  color: #ffc4cb;
}

.sml-tvr__notice {
  min-height: 16px;
  margin: 0 !important;
  color: var(--voice-muted) !important;
  font-size: 10px !important;
  line-height: 1.45 !important;
}

.sml-tvr__notice[data-tone="error"],
.sml-tvr[data-status="error"] .sml-tvr__stage-copy strong {
  color: #ffabb4 !important;
}

.sml-tvr__notice[data-tone="warning"] {
  color: #f5cc70 !important;
}

@media (min-width: 1200px) {
  body.sml-pro-terminal-active #sml-ws > #sml-ws-left,
  #sml-ws > #sml-ws-left {
    grid-column: 1;
    grid-row: 1;
  }

  body.sml-pro-terminal-active #sml-ws > #sml-ws-mid,
  #sml-ws > #sml-ws-mid {
    grid-column: 2;
    grid-row: 1;
  }

  body.sml-pro-terminal-active #sml-ws > #sml-ws-rail,
  #sml-ws > #sml-ws-rail {
    grid-column: 3;
    grid-row: 1;
  }

  body.sml-pro-terminal-active #sml-ws > .sml-tvr-slot[data-voice-placement="workspace"],
  #sml-ws > .sml-tvr-slot[data-voice-placement="workspace"] {
    grid-column: 2 / 4;
    grid-row: 1;
    align-self: end;
    width: 100%;
    max-width: none;
    min-height: 303px;
    margin: 0;
    z-index: 2;
  }

  #sml-ws > .sml-tvr-slot[data-voice-placement="workspace"] .sml-tvr {
    height: 303px;
    min-height: 303px;
    gap: 8px;
    padding: 14px;
  }

  #sml-ws > .sml-tvr-slot[data-voice-placement="workspace"] .sml-tvr__stage {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  #sml-ws > .sml-tvr-slot[data-voice-placement="workspace"] .sml-tvr__orb {
    width: 56px;
    height: 56px;
  }

  #sml-ws > .sml-tvr-slot[data-voice-placement="workspace"] .sml-tvr__members,
  #sml-ws > .sml-tvr-slot[data-voice-placement="workspace"] .sml-tvr__empty {
    min-height: 54px;
  }

  #sml-ws > .sml-tvr-slot[data-voice-placement="workspace"] .sml-tvr__members {
    overflow-y: auto;
  }

  #sml-ws > .sml-tvr-slot[data-voice-placement="workspace"] .sml-tvr__actions button {
    min-height: 36px;
  }
}

@media (max-width: 1199px) {
  body.sml-pro-terminal-active #sml-ws > .sml-tvr-slot[data-voice-placement="workspace"],
  #sml-ws > .sml-tvr-slot[data-voice-placement="workspace"] {
    grid-column: 1 / -1;
    grid-row: auto;
    width: 100%;
    max-width: none;
    margin: 12px 0 0;
  }
}

@media (max-width: 700px) {
  .sml-pro-symbol-search {
    width: min(100%, 190px);
  }

  .sml-pro-symbol-search__field {
    grid-template-columns: auto minmax(55px, 1fr) 28px;
    min-height: 36px;
  }

  .sml-pro-symbol-search__field > span,
  .sml-pro-symbol-search input {
    font-size: 22px !important;
  }

  .sml-pro-symbol-search input {
    height: 34px;
  }

  .sml-pro-symbol-search__field button {
    width: 25px;
    height: 25px;
    font-size: 15px;
  }

  .sml-pro-symbol-search__menu {
    width: min(360px, calc(100vw - 24px));
  }

  .sml-pro-symbol-search__menu button {
    grid-template-columns: 66px minmax(0, 1fr);
  }

  .sml-pro-symbol-search__menu small {
    grid-column: 2;
  }

  body.sml-pro-terminal-active .sml-tvr-slot,
  .sml-tvr-slot {
    width: 100%;
    margin: 10px 0;
  }

  .sml-tvr {
    min-height: 0;
    padding: 13px;
  }

  .sml-tvr__head {
    align-items: flex-start;
    gap: 9px;
  }

  .sml-tvr__head-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sml-tvr__share-toggle {
    width: 100%;
  }

  .sml-tvr__share-menu {
    top: 68px;
    right: 10px;
    width: calc(100% - 20px);
  }

  .sml-tvr__stage {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .sml-tvr__orb {
    width: 54px;
    height: 54px;
  }

  .sml-tvr__members {
    grid-template-columns: 1fr;
  }

  .sml-tvr__actions {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sml-tvr *,
  .sml-tvr *::before,
  .sml-tvr *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
