/* The original select still owns the selected value and native form behavior. */
select.hh-choice-source {display:none !important;}
button.hh-choice-trigger {
  display:inline-flex; align-items:center; justify-content:space-between; gap:16px;
  min-height:46px; min-width:0; max-width:100%; padding:10px 14px; white-space:normal; text-align:start;
  color:var(--purple); background:#fff; border:1px solid #cec9d5; border-radius:12px;
  font:600 .94rem/1.4 Montserrat,Arial,sans-serif; transition:background .16s,border-color .16s;
}
.hh-choice-trigger::after {content:"";width:8px;height:8px; flex:none; margin:-3px 2px 0 0; border:solid currentColor;border-width:0 1.6px 1.6px 0;transform:rotate(45deg);}
.hh-choice-trigger:hover {border-color:#9a91aa;background:#fdfbff;}
.hh-choice-trigger[aria-expanded=true] {border-color:var(--purple);}
.hh-choice-trigger[aria-expanded=true]::after {margin-top:4px;transform:rotate(225deg);}
.hh-choice-dialog {
  position:fixed; inset:auto; top:var(--picker-y,20vh); left:var(--picker-x,1rem); width:var(--picker-w,17rem);
  max-width:calc(100vw - 24px); max-height: min(28rem,calc(100dvh - 24px)); margin:0; padding:0;
  border:1px solid #e0dce5; border-radius:16px; color:var(--purple); background:#fff;
  box-shadow:0 14px 44px #22173824,0 2px 8px #2217380c;
}
.hh-choice-dialog[open] {display:flex;flex-direction:column;}
.hh-choice-dialog::backdrop {background:transparent;}
.hh-choice-heading {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 8px 5px 16px;font-size:.82rem;font-weight:600;color:#61596b;}
.hh-choice-close {display:grid;place-items:center;width:36px;height:36px;padding:0;background:#f5f3f7;border:0;border-radius:50%;color:var(--purple);font:400 22px/1 Arial,sans-serif;}
.hh-choice-options {display:grid;gap:2px;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 7px 8px;}
.hh-choice-options button {display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:45px;padding:10px 12px;text-align:start;border:0;border-radius:9px;background:white;color:#332d3a;font:500 .96rem/1.45 Montserrat,Arial,sans-serif;}
.hh-choice-options button:hover {background:#f6f4f8;}
.hh-choice-options button[aria-selected=true] {background:#f0edf5;color:var(--purple);font-weight:600;}
.hh-choice-options button[aria-selected=true]::after {content:"";width:6px;height:11px;flex:none;margin:0 5px 4px 0;border:solid var(--purple);border-width:0 1.8px 1.8px 0;transform:rotate(45deg);}
.hh-choice-options button:focus-visible,.hh-choice-close:focus-visible {outline:2px solid var(--purple);outline-offset:-3px;}
@media(max-width:40rem) {
  .hh-choice-dialog {inset:auto 0 0;max-width:100%;width:100%;max-height:min(78dvh,34rem);border-bottom:0;border-radius:22px 22px 0 0;padding:3px 7px max(8px,env(safe-area-inset-bottom));}
  .hh-choice-dialog::backdrop {background:rgb(28 21 42 / .4);}
  .hh-choice-heading {padding:8px 10px 8px 14px;font-size:1rem;color:var(--purple);}
  .hh-choice-options button {min-height:48px;}
}
