
select.bs-native {
  position: absolute;
  width: 1px !important; height: 1px !important;
  min-width: 0 !important;
  opacity: 0;
  pointer-events: none;
}

.bs-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: var(--control-h);
  min-width: 132px;
  padding: 0 10px;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  line-height: 1;
  cursor: pointer;
  transition: border-color var(--duration-fast) var(--ease-standard);
}
.bs-trigger.grow { flex: 1; }

.field .bs-trigger { width: 100%; min-width: 0; }
.bs-trigger:hover:not(:disabled) { border-color: var(--border-strong); }
.bs-trigger:focus-visible {
  outline: none;
  border-color: var(--action-bg);
  box-shadow: 0 0 0 3px var(--surface-brand-soft);
}
.bs-trigger:disabled { opacity: 0.55; cursor: not-allowed; }

.bs-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bs-label.is-empty { color: var(--text-subtle); }

.bs-badge { margin-left: 6px; vertical-align: middle; font-weight: var(--fw-medium); }

.bs-chev {
  flex: none;
  color: var(--text-subtle);
  transition: transform var(--duration-fast) var(--ease-standard);
}
.bs-trigger.is-open .bs-chev { transform: rotate(180deg); }

.bs-menu {
  position: fixed;
  z-index: 9999;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  font-family: var(--font-body);
  font-size: var(--text-xs);
}

.bs-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  color: var(--text-body);
  cursor: pointer;
  border-bottom: 1px solid var(--border-subtle);
}
.bs-find {
  position: sticky; top: 0; z-index: 1;
  padding: 8px; background: var(--surface-card);
  border-bottom: 1px solid var(--border-subtle);
}
.bs-find .input { width: 100%; }

.bs-opt:last-child { border-bottom: none; }
.bs-opt:hover { background: var(--surface-sunken); }

.bs-opt.is-sel {
  background: var(--surface-brand-soft);
  color: var(--text-brand);
  font-weight: var(--fw-semibold);
}

.bs-opt.is-off {
  cursor: default;
  color: var(--text-subtle);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 9px 10px 5px;
}
.bs-opt.is-off:hover { background: none; }

.bs-menu.is-actions .bs-opt {
  min-height: var(--control-h); padding: 0 16px; justify-content: flex-start;
}
.bs-opt > span:has(> .bs-icon), .sheet-opt > span:has(> .bs-icon) {
  display: inline-flex; align-items: center; gap: 8px;
}
.bs-icon {
  width: 16px; height: 16px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.bs-opt.is-multi, .sheet-opt.is-multi { justify-content: flex-start; cursor: pointer; }
.bs-opt.is-multi .chk, .sheet-opt.is-multi .chk { flex: none; pointer-events: none; }
.bs-multi-text { flex: 1; min-width: 0; }
.bs-multi-head {
  display: flex; gap: 10px; padding: 6px 10px;
  border-bottom: 1px solid var(--border-subtle); background: var(--surface-card);
}
.bs-multi-head button {
  border: 0; background: none; padding: 0; cursor: pointer;
  color: var(--text-brand); font: inherit; font-size: var(--text-2xs); font-weight: var(--fw-medium);
}
.bs-multi-head button:hover { text-decoration: underline; }

[data-device] .sheet-opt.is-multi .chk svg { width: 13px; height: 13px; }
[data-device] .sheet-opts .bs-multi-head { padding: 0 16px; min-height: var(--touch-h-sm); align-items: center; gap: 20px; }
[data-device] .sheet-opts .bs-multi-head button { font-size: var(--text-sm); min-height: var(--touch-h-sm); }
