.voice-settings-section { max-width: 760px; }
#voice-settings-voice, #voice-settings-camera, #voice-settings-streaming, #voice-settings-sounds { scroll-margin-top: 28px; }
.voice-settings-submenu { margin-bottom: 4px; }
.appearance-settings-menu-group { display: contents; }
.appearance-menu-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.appearance-work-mode-options { display: grid; gap: 4px; padding: 2px 8px 7px; }
.appearance-work-mode-options[hidden] { display: none !important; }
.appearance-work-mode-options label { display: flex; align-items: center; gap: 8px; min-height: 28px; color: #aeb2bf; font-size: 13px; cursor: pointer; }
.appearance-work-mode-options input { width: 14px; height: 14px; margin: 0; accent-color: #75b8f5; }
.appearance-work-mode-options input:checked + span { color: #fff; }
.appearance-settings-section { gap: 22px; }
.appearance-settings-section h2 { scroll-margin-top: 28px; }
.appearance-mode-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.appearance-mode-cards label { display: flex; align-items: flex-start; gap: 10px; min-height: 76px; padding: 14px; border: 1px solid #363943; border-radius: 9px; background: #191a20; cursor: pointer; }
.appearance-mode-cards input { width: 15px; height: 15px; margin: 3px 0 0; accent-color: #75b8f5; }
.appearance-mode-cards span { display: grid; gap: 5px; }
.appearance-mode-cards small, .appearance-section-note, .appearance-setting-line small { color: #9297a6; font-size: 13px; font-weight: 400; }
.appearance-theme-options { display: flex; flex-wrap: wrap; gap: 9px; }
.appearance-theme-options button { width: 49px; height: 49px; padding: 0; border: 1px solid #737783; border-radius: 8px; }
.appearance-theme-options button.is-active { border: 4px solid #5865f2; }
.appearance-theme-options .theme-light { background: #fff; }
.appearance-theme-options .theme-gray { background: #303136; }
.appearance-theme-options .theme-dark { background: #1f2025; }
.appearance-theme-options .theme-black { background: #000; }
.appearance-setting-line { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 46px; }
.appearance-setting-line > span { display: grid; gap: 4px; }
.appearance-setting-line > input[type="checkbox"] { width: 44px; height: 24px; flex: 0 0 44px; appearance: none; border-radius: 999px; background: #292b32; box-shadow: inset 0 0 0 1px #3b3e47; cursor: pointer; }
.appearance-setting-line > input[type="checkbox"]::before { content: ""; display: block; width: 16px; height: 16px; margin: 4px; border-radius: 50%; background: #f4f5f7; transition: transform .16s ease; }
.appearance-setting-line > input[type="checkbox"]:checked { background: #4c7fad; box-shadow: none; }
.appearance-setting-line > input[type="checkbox"]:checked::before { transform: translateX(20px); }
.appearance-search-options { display: grid; gap: 14px; }
.appearance-search-options label { display: flex; align-items: center; gap: 10px; color: #e7e9ef; }
.appearance-search-options input { width: 18px; height: 18px; margin: 0; accent-color: #75b8f5; }
@media (max-width: 760px) { .appearance-mode-cards { grid-template-columns: 1fr; } }
.voice-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; margin-top: 0; }
.voice-settings-grid label { display: grid; gap: 10px; color: #d8dbe5; }
.voice-settings-grid strong { font-size: 14px; }
.voice-settings-grid select {
  width: 100%; height: 42px; padding: 0 40px 0 13px; border: 1px solid #363943; border-radius: 8px;
  appearance: none; color: #f3f4f8; font-size: 14px; font-weight: 400;
  background-color: #191a20;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%23f3f4f8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 12px 8px;
}
.voice-device-picker { position: relative; width: 100%; }
.voice-device-picker > select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.voice-device-picker-button { display: grid; grid-template-columns: 18px minmax(0, 1fr) 12px; align-items: center; gap: 7px; width: 100%; height: 42px; padding: 0 13px; border: 1px solid #363943; border-radius: 8px; background: #191a20; color: #f3f4f8; font: inherit; font-size: 14px; font-weight: 400; text-align: left; }
.voice-device-picker-button svg, .voice-device-picker-menu svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.voice-device-picker-button span, .voice-device-picker-menu span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.voice-device-picker-button i { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.voice-device-picker.is-open .voice-device-picker-button { border-color: #363943; border-radius: 8px 8px 0 0; outline: none; }
.voice-device-picker-menu { position: absolute; z-index: 80; top: calc(100% - 1px); left: 0; right: 0; overflow: hidden; border: 1px solid #59606d; border-radius: 0 0 15px 15px; background: #191a20; box-shadow: 0 12px 28px rgba(0,0,0,.35); }
.voice-device-picker-menu[hidden] { display: none; }
.voice-device-picker-menu button { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center; gap: 7px; width: 100%; min-height: 32px; padding: 6px 12px; border: 0; border-radius: 0; background: transparent; color: #f3f4f8; font: inherit; font-size: 14px; font-weight: 400; text-align: left; }
.voice-device-picker-menu button:hover, .voice-device-picker-menu button[aria-selected="true"] { background: #75b8f5; color: #101217; }
.voice-range-control > span { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.voice-range-control output { color: #aeb2bf; font-size: 12px; font-variant-numeric: tabular-nums; }
.voice-settings-grid input[type="range"] {
  width: 100%; height: 24px; margin: 0; cursor: pointer; appearance: none; background: transparent;
}
.voice-settings-grid input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 1px;
  background:
    linear-gradient(90deg, transparent 0 var(--signal-fill), #34373e var(--signal-fill) 100%),
    linear-gradient(90deg, #36c86f 0 84%, #f0df35 91%, #ff465c 100%);
}
.voice-settings-grid input[type="range"]::-webkit-slider-thumb {
  width: 12px; height: 12px; margin-top: -4px; border: 0; border-radius: 50%;
  appearance: none; background: #75b8f5; box-shadow: 0 1px 3px rgba(0, 0, 0, .55);
}
.voice-settings-grid input[type="range"]::-moz-range-track {
  height: 4px; border-radius: 1px;
  background:
    linear-gradient(90deg, transparent 0 var(--signal-fill), #34373e var(--signal-fill) 100%),
    linear-gradient(90deg, #36c86f 0 84%, #f0df35 91%, #ff465c 100%);
}
.voice-settings-grid input[type="range"]::-moz-range-thumb {
  width: 12px; height: 12px; border: 0; border-radius: 50%;
  background: #75b8f5; box-shadow: 0 1px 3px rgba(0, 0, 0, .55);
}
.voice-test-row { display: grid; grid-template-columns: auto minmax(220px, 1fr); align-items: start; gap: 18px; margin-top: 30px; }
.voice-test-row [data-voice-test] { min-height: 40px; }
.voice-test-row .stop-label { display: none; }
.voice-test-row [data-voice-test].is-testing .start-label { display: none; }
.voice-test-row [data-voice-test].is-testing .stop-label { display: inline; }
.voice-test-indicator { min-width: 0; padding-top: 5px; }
.voice-test-indicator small { display: block; margin-top: 7px; color: #8d919d; font-size: 11px; line-height: 1.2; }
.voice-test-meter { display: flex; align-items: center; gap: 3px; width: 100%; height: 24px; overflow: hidden; }
.voice-test-meter i { width: 4px; height: 22px; flex: 1 1 4px; max-width: 5px; border-radius: 2px; background: #4a4d56 !important; transition: background-color .07s ease, opacity .07s ease; }
.voice-test-meter i.is-active { height: 22px; background: #42cf7b !important; }
.voice-test-meter i.is-active:nth-child(n+35) { background: #e3d448 !important; }
.voice-test-meter i.is-active:nth-child(n+40) { background: #f05b68 !important; }
.voice-settings-help { margin-top: 30px; color: #9297a6; font-size: 13px; }
.voice-settings-help a { color: #49a8f8; text-decoration: none; }
.voice-settings-help a:hover { text-decoration: underline; }
.voice-camera-section { display: grid; gap: 22px; margin-top: 38px; padding-top: 30px; border-top: 1px solid #30323a; }
.voice-camera-section h3 { margin: 0 0 8px; color: #f0f1f5; font-size: 24px; line-height: 1.25; font-weight: 600; }
.voice-camera-preview { position: relative; display: grid; place-items: center; min-height: 370px; overflow: hidden; border: 1px solid #2d3038; border-radius: 8px; background: #17181e; }
.voice-camera-preview video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.voice-camera-preview.is-active video { opacity: 1; }
.voice-camera-preview button { position: relative; z-index: 1; width: auto; min-width: 156px; max-width: calc(100% - 32px); padding: 0 18px; justify-self: center; }
.voice-camera-preview.is-active button { align-self: end; margin-bottom: 16px; opacity: 0; transition: opacity .15s; }
.voice-camera-preview.is-active:hover button, .voice-camera-preview.is-active button:focus-visible { opacity: 1; }
.voice-camera-preview .stop-label { display: none; }
.voice-camera-preview [data-camera-test].is-testing .start-label { display: none; }
.voice-camera-preview [data-camera-test].is-testing .stop-label { display: inline; }
.voice-camera-always { margin-top: 0; }
.voice-camera-device { display: grid; gap: 10px; margin-top: 0; color: #d8dbe5; }
.voice-camera-device strong { font-size: 14px; }
.voice-camera-device select { width: 100%; height: 42px; padding: 0 40px 0 13px; border: 1px solid #363943; border-radius: 8px; appearance: none; color: #f3f4f8; background: #191a20 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%23f3f4f8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 13px center; }
.voice-streaming-section { display: grid; gap: 22px; margin-top: 38px; padding-top: 30px; border-top: 1px solid #30323a; }
.voice-streaming-section h3 { margin: 0 0 8px; color: #f0f1f5; font-size: 24px; line-height: 1.25; font-weight: 600; }
.voice-streaming-section > .voice-setting-line { margin-top: 0; }
.voice-streaming-advanced[hidden] { display: none !important; }
.voice-streaming-advanced { display: grid; gap: 22px; }
.voice-streaming-advanced .voice-setting-line { margin-top: 0; }
.voice-sounds-section { display: grid; gap: 0; margin-top: 38px; padding-top: 30px; border-top: 1px solid #30323a; }
.voice-sounds-section h3 { margin: 0 0 18px; color: #f0f1f5; font-size: 24px; line-height: 1.25; font-weight: 600; }
.voice-sound-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; border-bottom: 1px solid #30323a; }
.voice-sound-row > span { display: grid; gap: 5px; }
.voice-sound-row strong { color: #e7e9ef; font-size: 14px; }
.voice-sound-row button { width: max-content; height: auto; min-height: 0; padding: 0; background: transparent; color: #75b8f5; font-size: 13px; font-weight: 400; }
.voice-sound-row > input { width: 44px; height: 24px; flex: 0 0 44px; appearance: none; border-radius: 999px; background: #292b32; box-shadow: inset 0 0 0 1px #3b3e47; cursor: pointer; }
.voice-sound-row > input::before { content: ""; display: block; width: 16px; height: 16px; margin: 4px; border-radius: 50%; background: #f4f5f7; transition: transform .16s ease; }
.voice-sound-row > input:checked { background: #4c7fad; box-shadow: none; }
.voice-sound-row > input:checked::before { transform: translateX(20px); }
.voice-sounds-more { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 76px; padding: 12px 0; background: transparent; color: #e7e9ef; text-align: left; }
.voice-sounds-more > span { display: grid; gap: 5px; }
.voice-sounds-more small { color: #9297a6; font-size: 13px; font-weight: 400; }
.voice-sounds-more .hide-label { display: none; }
.voice-sounds-more.is-open .show-label { display: none; }
.voice-sounds-more.is-open .hide-label { display: inline; }
.voice-sounds-more .voice-advanced-chevron::before { top: 14px; }
.voice-sounds-more.is-open .voice-advanced-chevron::before { top: 18px; transform: rotate(225deg); }
.voice-extra-sounds[hidden] { display: none !important; }
.voice-extra-sounds { display: grid; }
.voice-related-settings { display: grid; gap: 16px; margin-top: 22px; }
.voice-related-settings h4 { margin: 0; color: #9297a6; font-size: 14px; }
.voice-related-settings > button { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 8px 0; background: transparent; color: #e7e9ef; text-align: left; }
.voice-related-settings > button > i { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 8px; background: #292b32; color: #fff; font-style: normal; }
.voice-related-settings > button > i svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.voice-related-settings > button > span { display: grid; gap: 5px; }
.voice-related-settings small { color: #9297a6; font-size: 13px; font-weight: 400; }
.voice-related-settings b { color: #b6bac5; font-size: 32px; font-weight: 300; }
.voice-input-profile { margin-top: 38px; padding-top: 30px; border-top: 1px solid #30323a; }
.voice-input-profile h3 { margin: 0 0 18px; font-size: 15px; color: #f0f1f5; }
.voice-profile-option { display: flex; align-items: flex-start; gap: 11px; margin: 0 0 16px; cursor: pointer; }
.voice-profile-option input { width: 15px; height: 15px; flex: 0 0 15px; margin: 4px 0 0; accent-color: #75b8f5; }
.voice-profile-option span, .voice-setting-line > span { display: grid; gap: 4px; }
.voice-profile-option small, .voice-setting-line small { color: #9297a6; font-size: 13px; font-weight: 400; }
.voice-custom-settings[hidden] { display: none !important; }
.voice-custom-settings { margin-top: 28px; }
.voice-setting-line { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 25px; }
.voice-noise-suppression { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 25px; }
.voice-noise-suppression > span { display: grid; gap: 4px; }
.voice-noise-suppression small { color: #9297a6; font-size: 13px; font-weight: 400; }
.voice-noise-suppression select { width: 190px; height: 42px; flex: 0 0 190px; padding: 0 38px 0 13px; border: 1px solid #363943; border-radius: 8px; appearance: none; color: #f3f4f8; background: #191a20 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%23f3f4f8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 13px center; }
.voice-setting-line > input[type="checkbox"] { width: 44px; height: 24px; flex: 0 0 44px; appearance: none; border-radius: 999px; background: #292b32; box-shadow: inset 0 0 0 1px #3b3e47; cursor: pointer; }
.voice-setting-line > input[type="checkbox"]::before { content: ""; display: block; width: 16px; height: 16px; margin: 4px; border-radius: 50%; background: #f4f5f7; transition: transform .16s ease; }
.voice-setting-line > input[type="checkbox"]:checked { background: #4c7fad; box-shadow: none; }
.voice-setting-line > input[type="checkbox"]:checked::before { transform: translateX(20px); }
.voice-dependent-setting.is-disabled { cursor: not-allowed; opacity: .48; }
.voice-dependent-setting > input[type="checkbox"]:disabled { cursor: not-allowed; }
.voice-advanced-toggle { position: relative; cursor: pointer; }
.voice-advanced-toggle > input { position: absolute; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
.voice-advanced-toggle .hide-label { display: none; }
.voice-advanced-toggle.is-open .show-label { display: none; }
.voice-advanced-toggle.is-open .hide-label { display: inline; }
.voice-advanced-chevron { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 8px; background: #292b32; position: relative; }
.voice-advanced-chevron::before { content: ""; position: absolute; left: 15px; top: 14px; width: 12px; height: 12px; border-right: 2px solid #e6e8ee; border-bottom: 2px solid #e6e8ee; transform: rotate(45deg); transition: transform .16s, top .16s; }
.voice-advanced-toggle.is-open .voice-advanced-chevron::before { top: 18px; transform: rotate(225deg); }
.voice-advanced-settings[hidden] { display: none !important; }
.voice-advanced-settings { margin-top: 28px; padding-top: 2px; }
.voice-attenuation-settings { margin-top: 30px; }
.voice-attenuation-settings h4 { margin: 0 0 7px; font-size: 15px; }
.voice-attenuation-settings p { margin: 0 0 24px; color: #a1a5b1; font-size: 13px; line-height: 1.45; }
.voice-attenuation-settings > label:first-of-type { display: grid; gap: 12px; }
.voice-attenuation-settings > label:first-of-type > span { display: flex; justify-content: space-between; }
.voice-attenuation-settings input[type="range"] { width: 100%; accent-color: #5865f2; }
.voice-sensitivity-control { position: relative; width: 100%; margin-top: 14px; --threshold-position: 22%; }
.voice-sensitivity-control output { position: absolute; z-index: 2; left: var(--threshold-position); bottom: 25px; padding: 5px 8px; border-radius: 5px; background: #111318; color: #f1f2f5; font-size: 12px; line-height: 1; white-space: nowrap; opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(3px); transition: opacity .12s, transform .12s; }
.voice-sensitivity-control output::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -4px; border: 4px solid transparent; border-top-color: #111318; }
.voice-sensitivity-control:hover output, .voice-sensitivity-control.is-editing output, .voice-sensitivity-control:focus-within output { opacity: 1; transform: translateX(-50%) translateY(0); }
.voice-sensitivity-range { width: 100%; height: 22px; margin: 0; appearance: none; background: transparent; cursor: pointer; }
.voice-sensitivity-range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #42cf7b 0 var(--input-signal, 0%), #555861 var(--input-signal, 0%) 100%); }
.voice-sensitivity-range::-webkit-slider-thumb { width: 15px; height: 15px; margin-top: -5px; appearance: none; border: 0; border-radius: 50%; background: #f4f5f7; box-shadow: 0 1px 4px rgba(0,0,0,.45); }
.voice-sensitivity-range::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #42cf7b 0 var(--input-signal, 0%), #555861 var(--input-signal, 0%) 100%); }
.voice-sensitivity-range::-moz-range-thumb { width: 15px; height: 15px; border: 0; border-radius: 50%; background: #f4f5f7; box-shadow: 0 1px 4px rgba(0,0,0,.45); }
.voice-sensitivity-control.is-auto output { display: none; }
.voice-sensitivity-control.is-auto .voice-sensitivity-range { pointer-events: none; cursor: default; }
.voice-sensitivity-control.is-auto .voice-sensitivity-range::-webkit-slider-thumb { width: 0; height: 0; margin: 0; box-shadow: none; }
.voice-sensitivity-control.is-auto .voice-sensitivity-range::-moz-range-thumb { width: 0; height: 0; border: 0; box-shadow: none; }
.voice-settings-error { margin-top: 12px; color: #f06a6a; font-size: 13px; }
@media (max-width: 760px) { .voice-settings-grid { grid-template-columns: 1fr; } .voice-test-row { grid-template-columns: 1fr; } }
