/* R128 — macOS Safari Select Normalization
   Scope: visual normalization of native <select> controls only.
   Reason: macOS Safari rendered native grey/bevel select chrome and double up/down arrows,
   conflicting with the locked Global Lilac Prism UI.
   No application logic, data, layout, date-input, payment, PDF/share, security, or responsive behavior changes. */

/* Single-value selects: suppress OS-native chrome and use one consistent Lilac chevron.
   The reserved right padding intentionally mirrors the space native controls already consume,
   so existing width/height/layout contracts remain unchanged. */
select:not([multiple]){
  -webkit-appearance:none!important;
  appearance:none!important;
  box-sizing:border-box!important;
  padding-right:32px!important;
  border-color:transparent!important;
  color:#13264a!important;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.5 1.5L6 6L10.5 1.5' stroke='%236655D3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 11px center/12px 8px no-repeat,
    linear-gradient(#fff,#fff) padding-box,
    linear-gradient(95deg,rgba(52,191,217,.34),rgba(79,117,222,.30),rgba(127,108,255,.32),rgba(227,132,194,.28),rgba(242,161,107,.28)) border-box!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)!important;
}

select:not([multiple]):hover{
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.5 1.5L6 6L10.5 1.5' stroke='%235D4DCC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 11px center/12px 8px no-repeat,
    linear-gradient(rgba(255,255,255,.96),rgba(255,255,255,.96)) padding-box,
    linear-gradient(95deg,rgba(52,191,217,.46),rgba(79,117,222,.42),rgba(127,108,255,.44),rgba(227,132,194,.38),rgba(242,161,107,.38)) border-box!important;
}

select:not([multiple]):focus,
select:not([multiple]):focus-visible{
  border-color:transparent!important;
  outline:none!important;
  box-shadow:0 0 0 3px rgba(127,108,255,.09),inset 0 0 0 1px rgba(255,255,255,.25)!important;
}

select:not([multiple]):disabled{
  opacity:.58!important;
  cursor:not-allowed!important;
}

select option{
  color:#13264a;
  background:#fff;
}

/* Legacy engine cleanup; harmless elsewhere. */
select::-ms-expand{display:none}
