/* Native menu controls must use the same box model in WebKit and Chromium.
   Select2 owns its hidden input and multiple/listbox controls keep native behavior. */
body select:not([multiple]):is(:not([size]), [size="1"]):not(.select2-hidden-accessible):not(.select2):not([hidden]) {
    -webkit-appearance: none !important;
    appearance: none !important;
    box-sizing: border-box;
    min-height: var(--igf-select-height, 44px);
    height: var(--igf-select-height, 44px);
    padding: 8px 36px 8px 12px;
    padding-inline-end: 36px !important;
    border: 1px solid #c9d5e7;
    border-radius: 10px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23475569' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    line-height: 1.4;
    vertical-align: middle;
    max-width: 100%;
    cursor: pointer;
}
body select:not([multiple]):is(:not([size]), [size="1"]):not(.select2-hidden-accessible):focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}
body select:disabled { cursor: not-allowed; opacity: .65; }
[dir="rtl"] select:not([multiple]):is(:not([size]), [size="1"]) { background-position: left 12px center; padding-inline-start: 12px; }
.igf-sc-field { --igf-select-height: 42px; }
.igf-sc-field input:not([type="checkbox"]):not([type="radio"]) { box-sizing: border-box; height: 42px; }
.automation-field input:not([type="checkbox"]):not([type="radio"]),
.automation-search input { min-height: 44px; }
@media (max-width: 767px) {
    body select:not([multiple]):is(:not([size]), [size="1"]):not(.select2-hidden-accessible) { font-size: 16px; }
}
@media (forced-colors: active) {
    body select:not([multiple]):is(:not([size]), [size="1"]):not(.select2-hidden-accessible) { appearance: auto !important; background-image: none; }
}
