.santohost-preferences {
    position: relative;
    z-index: 80;
    font: 600 14px/1.3 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.santohost-preferences > summary {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 10px;
    background: rgba(255, 255, 255, .07);
    color: #fff;
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
}

.santohost-preferences > summary::-webkit-details-marker { display: none; }

.santohost-preferences > summary:hover,
.santohost-preferences > summary:focus-visible,
.santohost-preferences[open] > summary {
    border-color: rgba(255, 222, 173, .62);
    background: rgba(255, 222, 173, .12);
    outline: none;
}

.santohost-preferences__chevron { transition: transform 160ms ease; }
.santohost-preferences[open] .santohost-preferences__chevron { transform: rotate(180deg); }

.santohost-preferences__panel {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    width: min(92vw, 430px);
    padding: 17px;
    border: 1px solid #d8dfe7;
    border-radius: 14px;
    background: #fff;
    color: #172231;
    box-shadow: 0 22px 60px rgba(7, 18, 32, .26);
}

.santohost-preferences__panel form {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.santohost-preferences__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 13px;
}

.santohost-preferences__grid label {
    display: grid;
    gap: 7px;
    color: #526173;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.santohost-preferences__grid select {
    width: 100%;
    min-height: 44px;
    padding: 9px 32px 9px 10px;
    border: 1px solid #cbd3dd !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #172231 !important;
    font: 600 14px/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
    text-transform: none;
}

.santohost-preferences__note {
    margin: 12px 0 !important;
    color: #6c7887 !important;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
}

.santohost-preferences__panel button {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d98200 !important;
    border-radius: 9px !important;
    background: #f59e0b !important;
    color: #132337 !important;
    cursor: pointer;
    font: 800 14px/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
}

.santohost-preferences--mobile { display: none; }

.portal-admin .santohost-preferences > summary {
    border-color: #cbd3dd;
    background: #fff;
    color: #344254;
}

@media (max-width: 800px) {
    .santohost-preferences--desktop { display: none; }
    body:not(:has(.santohost-preferences--mobile)) .santohost-preferences--desktop { display: block; }
    .santohost-preferences--mobile { display: block; }
    .santohost-preferences,
    .santohost-preferences > summary { width: 100%; }
    .santohost-preferences > summary { justify-content: center; }
    .santohost-preferences__panel {
        position: static;
        width: 100%;
        margin-top: 9px;
        box-shadow: none;
    }
}

@media (max-width: 420px) {
    .santohost-preferences__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .santohost-preferences__chevron { transition: none; }
}
