/* ISOHU 1.2.19 - Shared theme-correct select controls. External stylesheet for CSP. */
html[data-isohu-picker-theme="light"] { --ui-picker-bg:#edf5eb;--ui-picker-panel:#fbfdf9;--ui-picker-row:#fbfdf9;--ui-picker-hover:#e5f0e2;--ui-picker-selected:#d6e9d4;--ui-picker-search:#ffffff;--ui-picker-text:#193c2a;--ui-picker-muted:#486b53;--ui-picker-border:#9ebca4;--ui-picker-mark:#2e683d;--ui-picker-shadow:0 16px 36px #183b252b; }
html[data-isohu-picker-theme="dark"] { --ui-picker-bg:#192e23;--ui-picker-panel:#12251a;--ui-picker-row:#162d20;--ui-picker-hover:#294734;--ui-picker-selected:#365840;--ui-picker-search:#102016;--ui-picker-text:#f0f6ec;--ui-picker-muted:#bbcebb;--ui-picker-border:#66876c;--ui-picker-mark:#c1e3b8;--ui-picker-shadow:0 16px 36px #0008; }
/* Specificities intentionally override older theme rules on all three pages. */
html[data-isohu-picker-theme] body .isohu-picker .isohu-picker-toggle,
html[data-isohu-picker-theme] body .isohu-registry-page .isohu-picker .isohu-picker-toggle,
html[data-isohu-picker-theme] body .isohu-vault-collection .isohu-build-picker .isohu-build-picker-trigger {
 background:var(--ui-picker-bg)!important;background-color:var(--ui-picker-bg)!important;color:var(--ui-picker-text)!important;-webkit-text-fill-color:var(--ui-picker-text)!important;border-color:var(--ui-picker-border)!important;opacity:1!important;
}
html[data-isohu-picker-theme] body .isohu-picker-toggle .isohu-picker-label,
html[data-isohu-picker-theme] body .isohu-build-picker-trigger .isohu-build-picker-current,
html[data-isohu-picker-theme] body .isohu-picker-toggle .isohu-picker-chevron,
html[data-isohu-picker-theme] body .isohu-build-picker-trigger .isohu-build-picker-chevron {color:var(--ui-picker-text)!important;-webkit-text-fill-color:var(--ui-picker-text)!important;opacity:1!important;}
html[data-isohu-picker-theme] body .isohu-picker-toggle .isohu-picker-placeholder {color:var(--ui-picker-muted)!important;-webkit-text-fill-color:var(--ui-picker-muted)!important;opacity:1!important;}
html[data-isohu-picker-theme] body .isohu-picker .isohu-picker-chevron,
html[data-isohu-picker-theme] body .isohu-build-picker .isohu-build-picker-chevron {background:var(--ui-picker-hover)!important;border-color:var(--ui-picker-border)!important;}
html[data-isohu-picker-theme] body .isohu-picker .isohu-picker-popover,
html[data-isohu-picker-theme] body .isohu-build-picker-panel {background:var(--ui-picker-panel)!important;background-color:var(--ui-picker-panel)!important;border-color:var(--ui-picker-border)!important;box-shadow:var(--ui-picker-shadow)!important;color:var(--ui-picker-text)!important;-webkit-text-fill-color:var(--ui-picker-text)!important;}
html[data-isohu-picker-theme] body .isohu-picker .isohu-picker-search,
html[data-isohu-picker-theme] body .isohu-build-picker-panel .isohu-build-picker-search {background:var(--ui-picker-search)!important;background-color:var(--ui-picker-search)!important;border-color:var(--ui-picker-border)!important;color:var(--ui-picker-text)!important;-webkit-text-fill-color:var(--ui-picker-text)!important;}
html[data-isohu-picker-theme] body .isohu-picker .isohu-picker-search::placeholder,
html[data-isohu-picker-theme] body .isohu-build-picker-panel .isohu-build-picker-search::placeholder {color:var(--ui-picker-muted)!important;-webkit-text-fill-color:var(--ui-picker-muted)!important;opacity:1!important;}
html[data-isohu-picker-theme] body .isohu-picker .isohu-picker-option,
html[data-isohu-picker-theme] body .isohu-build-picker-panel .isohu-build-picker-option {background:var(--ui-picker-row)!important;background-color:var(--ui-picker-row)!important;color:var(--ui-picker-text)!important;-webkit-text-fill-color:var(--ui-picker-text)!important;opacity:1!important;}
html[data-isohu-picker-theme] body .isohu-picker .isohu-picker-option:is(:hover,.is-active),
html[data-isohu-picker-theme] body .isohu-build-picker-panel .isohu-build-picker-option:is(:hover,.is-active) {background:var(--ui-picker-hover)!important;background-color:var(--ui-picker-hover)!important;}
html[data-isohu-picker-theme] body .isohu-picker .isohu-picker-option:is(.is-selected,[aria-selected="true"]),
html[data-isohu-picker-theme] body .isohu-build-picker-panel .isohu-build-picker-option[aria-selected="true"] {background:var(--ui-picker-selected)!important;background-color:var(--ui-picker-selected)!important;color:var(--ui-picker-text)!important;-webkit-text-fill-color:var(--ui-picker-text)!important;}
html[data-isohu-picker-theme] body .isohu-picker-mark,
html[data-isohu-picker-theme] body .isohu-build-picker-tick {color:var(--ui-picker-mark)!important;-webkit-text-fill-color:var(--ui-picker-mark)!important;}
html[data-isohu-picker-theme] body .isohu-picker-empty,
html[data-isohu-picker-theme] body .isohu-build-picker-empty {color:var(--ui-picker-muted)!important;-webkit-text-fill-color:var(--ui-picker-muted)!important;}

/* Override older highly specific light-mode text-fill declarations in Vault. */
html[data-isohu-picker-theme] body .vaultpanel .isohu-picker button.isohu-picker-toggle .isohu-picker-label,
html[data-isohu-picker-theme] body .board-library-panel .isohu-picker button.isohu-picker-toggle .isohu-picker-label { color:var(--ui-picker-text)!important;-webkit-text-fill-color:var(--ui-picker-text)!important;opacity:1!important; }
html[data-isohu-picker-theme] body .vaultpanel .isohu-picker button.isohu-picker-toggle .isohu-picker-placeholder,
html[data-isohu-picker-theme] body .board-library-panel .isohu-picker button.isohu-picker-toggle .isohu-picker-placeholder {color:var(--ui-picker-muted)!important;-webkit-text-fill-color:var(--ui-picker-muted)!important;}

/* ISOHU 1.2.34: shared 28px vector chevron, same as Collection. */
html[data-isohu-picker-theme] body .isohu-picker .isohu-picker-chevron,
html[data-isohu-picker-theme] body .isohu-build-picker .isohu-build-picker-chevron {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 28px!important;width:28px!important;min-width:28px!important;height:28px!important;
  padding:0!important;box-sizing:border-box!important;font-size:0!important;line-height:0!important;
  border:1px solid var(--ui-picker-border)!important;border-radius:7px!important;
  background:var(--ui-picker-hover)!important;transform:none!important;opacity:1!important;
}
html[data-isohu-picker-theme] body .isohu-picker .isohu-picker-chevron::after,
html[data-isohu-picker-theme] body .isohu-build-picker .isohu-build-picker-chevron::after {
  content:""!important;display:block!important;width:8px!important;height:8px!important;
  border-right:2px solid var(--ui-picker-text)!important;
  border-bottom:2px solid var(--ui-picker-text)!important;
  transform:translateY(-2px) rotate(45deg)!important;transition:transform .15s ease;
}
html[data-isohu-picker-theme] body .isohu-picker.is-open .isohu-picker-chevron::after,
html[data-isohu-picker-theme] body .isohu-build-picker .isohu-build-picker-trigger[aria-expanded="true"] .isohu-build-picker-chevron::after {
  transform:translateY(2px) rotate(225deg)!important;
}
@media(prefers-reduced-motion:reduce){
 html[data-isohu-picker-theme] body .isohu-picker .isohu-picker-chevron::after,
 html[data-isohu-picker-theme] body .isohu-build-picker .isohu-build-picker-chevron::after{transition:none!important}
}
