/* Control paint is native CSS; existing switch/recording owners keep their widgets.
 * The first important layer also protects controls from generic input materials. */
@layer orator-quiet-edges {
  html[data-theme] input:is([type="checkbox"],[type="radio"]):not(:where(.switch-row input,.camera-correction-mode-row input,.recording-audio-options input,.board-chalk-toggle input)) {
    appearance:none!important;-webkit-appearance:none!important;display:inline-grid!important;place-content:center;
    width:17px!important;height:17px!important;min-height:0!important;padding:0!important;flex:none;vertical-align:middle;
    border:1px solid var(--line-strong,var(--line))!important;border-radius:4px!important;
    background:var(--room-control,var(--panel))!important;background-image:none!important;box-shadow:none!important;cursor:pointer;
  }
  html[data-theme] input[type="radio"]:not(:where(.switch-row input,.camera-correction-mode-row input,.recording-audio-options input,.board-chalk-toggle input)){border-radius:50%!important}
  html[data-theme] input:is([type="checkbox"],[type="radio"]):not(:where(.switch-row input,.camera-correction-mode-row input,.recording-audio-options input,.board-chalk-toggle input)):checked{border-color:var(--accent)!important}
  html[data-theme] input[type="checkbox"]:not(:where(.switch-row input,.camera-correction-mode-row input,.recording-audio-options input,.board-chalk-toggle input))::before{content:"";width:8px;height:4px;border:solid var(--accent);border-width:0 0 2px 2px;transform:translateY(-1px) rotate(-45deg) scale(0)}
  html[data-theme] input[type="checkbox"]:not(:where(.switch-row input,.camera-correction-mode-row input,.recording-audio-options input,.board-chalk-toggle input)):checked::before{transform:translateY(-1px) rotate(-45deg) scale(1)}
  html[data-theme] input[type="radio"]::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--accent);transform:scale(0)}
  html[data-theme] input[type="radio"]:checked::before{transform:scale(1)}
  html[data-theme] input:is([type="checkbox"],[type="radio"]):not(:where(.switch-row input,.camera-correction-mode-row input,.recording-audio-options input,.board-chalk-toggle input)):disabled{opacity:.45;cursor:not-allowed}
  html[data-theme] input:is([type="checkbox"],[type="radio"],[type="range"]):focus-visible{outline:2px solid var(--accent)!important;outline-offset:3px!important}
  html[data-theme] input[type="range"]{appearance:none!important;-webkit-appearance:none!important;accent-color:var(--accent)!important;background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;min-height:20px;padding:0}
  html[data-theme] input[type="range"]::-webkit-slider-runnable-track{height:5px;border-radius:999px;background:color-mix(in srgb,var(--text) 18%,var(--panel))}
  html[data-theme] input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;margin-top:-5px;border:0;border-radius:50%;background:var(--accent)}
  html[data-theme] input[type="range"]::-moz-range-track{height:5px;border-radius:999px;background:color-mix(in srgb,var(--text) 18%,var(--panel))}
  html[data-theme] input[type="range"]::-moz-range-thumb{width:15px;height:15px;border:0;border-radius:50%;background:var(--accent)}
  html[data-theme] input[type="range"]:disabled::-webkit-slider-thumb{background:var(--muted)}
  html[data-theme] input[type="range"]:disabled::-moz-range-thumb{background:var(--muted)}
  html[data-theme] input[type="range"]:disabled{accent-color:var(--muted)!important;opacity:.4;cursor:not-allowed}
  html[data-theme] .room-select-toggle{color:var(--text)!important;background:var(--room-control,var(--panel))!important;background-image:none!important;border:0!important;box-shadow:none!important;transform:none!important}
  html[data-theme] .room-select-option{color:var(--text)!important;background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;transform:none!important}
  html[data-theme] .room-select-option[aria-selected="true"],html[data-theme] .room-select-option:not(:disabled):is(:hover,:focus-visible){color:var(--accent)!important;background:color-mix(in srgb,var(--accent) 12%,var(--panel))!important}
  html[data-theme] .room-select-toggle:focus-visible,html[data-theme] .room-select-option:focus-visible{outline:2px solid var(--accent)!important;outline-offset:-2px!important}
}
.room-select-box{position:relative;min-width:0;flex:1;width:100%}
.room-native-select{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;border:0!important;clip-path:inset(50%);overflow:hidden;white-space:nowrap;pointer-events:none}
.room-select-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-width:0;min-height:36px;padding:8px 10px;border-radius:10px;font:inherit;text-align:left;cursor:pointer;overflow-wrap:anywhere}
.room-select-toggle::after{content:'⌄';flex:none;color:var(--muted)}
.room-select-toggle:disabled,.room-select-option:disabled{opacity:.45;cursor:not-allowed}
.room-select-list{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:60;max-height:220px;overflow:auto;overscroll-behavior:contain;padding:4px;border-radius:10px;background:var(--panel);box-shadow:0 8px 24px #0002}
.room-select-box[hidden],.room-select-list[hidden]{display:none!important}
.room-select-option{display:block;width:100%;min-height:34px;padding:9px 8px;border-radius:6px;font:inherit;font-size:12px;text-align:left;overflow-wrap:anywhere}
.my-settings-form .room-select-toggle{min-height:42px;padding:0 10px;font-size:11px;border-radius:11px}
.breakout-destination .room-select-toggle{min-height:47px;font-size:13px}
.room-select-box:has(>.room-info-capacity-select){width:76px;min-width:76px;flex:none}
.room-select-box:has(>.room-info-capacity-select)>.room-select-toggle{height:28px;min-height:28px;padding:0 9px;font-size:10px;font-weight:850;border-radius:8px}
.board-control .room-select-box{width:145px;flex:none}
.board-control .room-select-toggle{padding:7px 8px;min-height:0;font-size:10px;border-radius:8px}
.board-toolbar-dock-bottom .room-select-list{top:auto;bottom:calc(100% + 4px)}
.presentation-search-row .room-select-box{min-width:132px;width:auto;flex:none}
.presentation-search-row .room-select-toggle{height:36px;min-height:36px;padding:0 9px;font-size:11px;border-radius:11px}
@media(max-width:767px){html[data-theme] :is(.product-field,.my-settings-card) .room-select-toggle{font-size:16px}.board-control .room-select-box{width:138px}}
@media(forced-colors:active){
  @layer orator-quiet-edges {
    html[data-theme] input:is([type="checkbox"],[type="radio"]):not(:where(.switch-row input,.camera-correction-mode-row input,.recording-audio-options input,.board-chalk-toggle input)){border-color:ButtonText!important;background:Canvas!important;forced-color-adjust:none}
    html[data-theme] input[type="checkbox"]::before{border-color:Highlight!important}
    html[data-theme] input[type="radio"]::before{background:Highlight!important}
    html[data-theme] input[type="range"]{appearance:auto!important;-webkit-appearance:auto!important;accent-color:Highlight!important;forced-color-adjust:auto}
    html[data-theme] .room-select-toggle,html[data-theme] .room-select-option{color:ButtonText!important;background:Canvas!important;border:1px solid ButtonText!important;forced-color-adjust:none}
    html[data-theme] .room-select-option[aria-selected="true"],html[data-theme] .room-select-option:not(:disabled):is(:hover,:focus-visible){color:HighlightText!important;background:Highlight!important}
    html[data-theme] input:is([type="checkbox"],[type="radio"],[type="range"]):focus-visible,html[data-theme] .room-select-toggle:focus-visible,html[data-theme] .room-select-option:focus-visible{outline-color:Highlight!important}
  }
  .room-select-list{background:Canvas;border:1px solid ButtonText}
}
