/* Shared themed dropdowns, preserving native control sizing and form semantics. */
select:not([multiple]):not([size]),select[size="1"] {
  appearance:none !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4.5 6.5 3.5 3.5 3.5-3.5' stroke='%237481a3' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-position:right 9px center !important;background-repeat:no-repeat !important;background-size:14px !important;
  padding-right:28px !important;cursor:pointer;text-overflow:ellipsis;min-width:0;
}
select:disabled{cursor:default;opacity:.6}
/* Editable fields use their existing border as the focus indicator. This also
   covers .input-icon searches: the input, rather than its wrapper, owns the
   border. Normalize legacy shadows and later widget outlines without changing
   field geometry or the keyboard focus of buttons, checkboxes and table areas. */
:is(input:not([type="checkbox"],[type="radio"],[type="range"],[type="color"],[type="hidden"],[type="button"],[type="submit"],[type="reset"],[type="image"]),textarea,select):is(:focus,[aria-expanded="true"]) {
  outline:none !important;
  outline-offset:0 !important;
  box-shadow:none !important;
}
/* Validation colors take precedence over the ordinary accent focus color. */
:is(input:not([type="checkbox"],[type="radio"],[type="range"],[type="color"],[type="hidden"],[type="button"],[type="submit"],[type="reset"],[type="image"]),textarea,select):is(:focus,[aria-expanded="true"]):not([aria-invalid="true"],.is-invalid,.has-error,.input-error,.error,:user-invalid):not(:where([aria-invalid="true"],.is-invalid,.has-error,.input-error,.error) *) {
  border-color:var(--accent) !important;
}
@media(forced-colors:active) {
  :is(input:not([type="checkbox"],[type="radio"],[type="range"],[type="color"],[type="hidden"],[type="button"],[type="submit"],[type="reset"],[type="image"]),textarea,select):is(:focus,[aria-expanded="true"]) {
    outline:2px solid Highlight !important;
    outline-offset:-2px !important;
  }
}
.pc3-select-menu {position:fixed;z-index:2000;display:flex;flex-direction:column;gap:2px;overflow-y:auto;overscroll-behavior:contain;padding:6px;background:var(--paper);color:var(--ink);border:1px solid var(--line-2);border-radius:12px;box-shadow:var(--shadow-md);font:13px/1.45 var(--font-sans);scrollbar-width:thin;}
.pc3-select-option {display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:35px;padding:8px 10px;border-radius:7px;cursor:pointer;}
.pc3-select-option>span{overflow-wrap:anywhere}
.pc3-select-option:hover,.pc3-select-option.is-focused{background:var(--accent-soft);color:var(--ink)}
.pc3-select-option[aria-selected="true"]{color:var(--accent-2);font-weight:650;background:var(--accent-soft)}
.pc3-select-option .ico{flex:none}
.pc3-select-group,.pc3-select-empty{padding:8px 10px;color:var(--ink-3);font-size:12px}
.store-avatar{border-radius:10px;flex:none}
.store-avatar .ico{max-width:70%;max-height:70%}
.store-avatar.sm{width:32px;height:32px}
.store-avatar.xs{width:26px;height:26px}
