.plan-device-picker { min-width: 0; margin: 0 0 16px; }
.plan-device-label { display: block; margin-bottom: 7px; color: #545b6e; font-size: 13px; font-weight: 700; }
.plan-device-picker .plan-device-trigger { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #e4e3eb; border-radius: 11px; background: #fff; color: #41485b; text-align: left; }
.plan-device-trigger > span:first-child { min-width: 0; flex: 1; }
.plan-device-trigger strong, .plan-device-trigger small { display: block; overflow-wrap: anywhere; }
.plan-device-trigger strong { font-size: 14px; }
.plan-device-trigger small { margin-top: 3px; color: #808698; font-size: 12px; font-weight: 400; }
.plan-device-trigger small:empty { display: none; }
.plan-device-trigger[aria-expanded="true"] { border-color: #7864e8; }
.plan-device-trigger > b { color: #7968cc; }
.plan-device-picker-panel { margin-top: 8px; padding: 12px; border: 1px solid #e6e2f7; border-radius: 12px; background: #fbfaff; }
.plan-device-picker-panel > label { display: block; margin: 0 0 7px; color: #70788b; font-size: 12px; }
.plan-device-picker-panel input { width: 100%; min-width: 0; margin: 0; }
.plan-device-match-count { display: block; margin: 9px 2px; color: #878c9c; font-size: 12px; }
.plan-device-results { max-height: 300px; overflow-y: auto; overscroll-behavior: contain; }
.plan-device-group + .plan-device-group { margin-top: 12px; }
.plan-device-picker .plan-device-group-toggle { position: sticky; top: 0; z-index: 1; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0; padding: 12px 10px; border: 0; border-radius: 8px; color: #5f547f; background: #f4f1fd; font-size: 13px; text-align: left; }
.plan-device-group-title { min-width: 0; display: flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.plan-device-group-count { flex-shrink: 0; color: #888196; font-size: 11px; font-weight: 400; }
.plan-device-group-arrow { display: inline-block; color: #7968cc; font-size: 18px; line-height: 1; transition: transform .15s; }
.plan-device-group-toggle[aria-expanded="true"] .plan-device-group-arrow { transform: rotate(90deg); }
.plan-device-group-items[hidden] { display: none; }
.plan-device-picker .plan-device-option { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 9px; border: 1px solid transparent; border-radius: 9px; color: #51586a; background: #fff; text-align: left; }
.plan-device-picker .plan-device-option:hover { background: #f6f3ff; }
.plan-device-picker .plan-device-option.selected { border-color: #d8d0ff; background: #efebff; }
.plan-device-option-copy { min-width: 0; flex: 1; }
.plan-device-option-copy strong, .plan-device-option-copy small { display: block; overflow-wrap: anywhere; }
.plan-device-option-copy strong { font-size: 13px; }
.plan-device-option-copy small { margin-top: 4px; color: #9195a1; font-size: 11px; line-height: 1.5; }
.plan-device-status { flex-shrink: 0; color: #9a9fab; font-size: 12px; }
.plan-device-status.online { color: #18845f; }
.plan-device-picked { width: 16px; flex-shrink: 0; color: #6e52df; font-weight: 700; }
.plan-device-trigger:focus-visible, .plan-device-option:focus-visible, .plan-device-group-toggle:focus-visible { outline: 3px solid #d8d0ff; outline-offset: 1px; }
@media (max-width: 600px) {
  .plan-device-picker-panel { padding: 9px; }
  .plan-device-results { max-height: 250px; }
}
