/* Shared form selects: native form semantics, with a branded picker where supported. */
#main-content select:not([multiple]):not([size]) {
    appearance: none;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    min-height: 50px;
    height: auto;
    padding: 13px 54px 13px 16px;
    border: 1px solid #b7cec4;
    border-radius: 10px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Crect width='30' height='30' rx='8' fill='%23e8f2ed'/%3E%3Cpath d='m10 13 5 5 5-5' fill='none' stroke='%23265b48' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center / 30px;
    color: #1b3329;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-align: start;
    cursor: pointer;
    box-shadow: 0 2px 4px rgb(27 51 41 / 3%);
    transition: border-color .18s ease, box-shadow .18s ease;
}
#main-content select:not([multiple]):not([size]):hover:not(:disabled) { border-color: #679b87; }
#main-content select:not([multiple]):not([size]):focus-visible {
    border-color: #378574;
    outline: 2px solid #378574;
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgb(106 196 174 / 12%);
}
#main-content select:not([multiple]):not([size]):disabled {
    background-color: #f1f4f1;
    color: #718078;
    opacity: .7;
    cursor: not-allowed;
    box-shadow: none;
}
#main-content select:not([multiple]):not([size]):is([aria-invalid="true"], :user-invalid) {
    border-color: #b54d4d;
}

@supports (appearance: base-select) {
    #main-content select:not([multiple]):not([size]),
    #main-content select:not([multiple]):not([size])::picker(select) { appearance: base-select; }
    #main-content select:not([multiple]):not([size]) { white-space: normal; overflow-wrap: anywhere; }
    #main-content select:not([multiple]):not([size])::picker-icon { display: none; }
    #main-content select:not([multiple]):not([size]):open { border-color: #378574; }
    #main-content select:not([multiple]):not([size])::picker(select) {
        box-sizing: border-box;
        inline-size: anchor-size(self-inline);
        max-inline-size: calc(100vw - 32px);
        max-block-size: min(360px, 60dvh);
        margin-block: 8px;
        padding: 6px;
        border: 1px solid #b7cec4;
        border-radius: 12px;
        background: #fff;
        color: #1b3329;
        font: inherit;
        box-shadow: 0 12px 32px rgb(6 24 46 / 14%);
        overflow: auto;
        scrollbar-width: thin;
        scrollbar-color: #a8cbbb #f4f8f5;
    }
    #main-content select:not([multiple]):not([size]) option {
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 44px;
        padding: 11px 12px;
        border-radius: 7px;
        color: #294b3e;
        background: #fff;
        font: inherit;
        white-space: normal;
        overflow-wrap: anywhere;
        cursor: pointer;
    }
    #main-content select:not([multiple]):not([size]) option:checked { background: #e0f0e8; color: #194e3b; font-weight: 600; }
    #main-content select:not([multiple]):not([size]) option:is(:hover, :focus-visible) { background: #edf5f0; outline: 1px solid #a8cbbb; outline-offset: -1px; }
    #main-content select:not([multiple]):not([size]) option::checkmark { order: 1; margin-inline-start: auto; color: #26745c; }
    #main-content select:not([multiple]):not([size]) option:disabled { color: #7e8b84; background: #f5f7f5; cursor: not-allowed; }
}
@media (max-width: 700px) {
    #main-content select:not([multiple]):not([size]) { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    #main-content select:not([multiple]):not([size]) { transition: none; }
}
@media (forced-colors: active) {
    #main-content select:not([multiple]):not([size]) { appearance: auto; background-image: none; }
}
