/* EWER 2.0 Location Cascade and Controlled Entry v23 */
.location-entry-v23 {
    margin-top: .55rem;
}
.location-entry-v23__toggle {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border: 0;
    background: transparent;
    color: var(--primary-color, #4f46e5);
    font: inherit;
    font-size: .86rem;
    font-weight: 700;
    padding: .25rem 0;
    cursor: pointer;
}
.location-entry-v23__toggle:hover,
.location-entry-v23__toggle:focus-visible {
    text-decoration: underline;
}
.location-entry-v23--unavailable .location-entry-v23__toggle {
    opacity: .45;
    cursor: not-allowed;
    text-decoration: none;
}
.location-entry-v23__editor {
    margin-top: .55rem;
    padding: .8rem;
    border: 1px solid color-mix(in srgb, var(--primary-color, #4f46e5) 28%, #dbe3f0);
    border-radius: .8rem;
    background: color-mix(in srgb, var(--primary-color, #4f46e5) 4%, #fff);
}
.location-entry-v23__label {
    display: block;
    margin-bottom: .4rem;
    color: var(--text-primary, #1f2937);
    font-size: .82rem;
    font-weight: 700;
}
.location-entry-v23__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: .5rem;
    align-items: center;
}
.location-entry-v23__input {
    min-width: 0;
}
.location-entry-v23__save,
.location-entry-v23__cancel {
    white-space: nowrap;
    min-height: 42px;
}
.location-entry-v23__help {
    margin: .45rem 0 0;
    color: var(--text-muted, #64748b);
    font-size: .76rem;
    line-height: 1.45;
}
.location-entry-v23__status {
    min-height: 1.1rem;
    margin-top: .3rem;
    color: #b42318;
    font-size: .78rem;
    font-weight: 600;
}
@media (max-width: 720px) {
    .location-entry-v23__row {
        grid-template-columns: 1fr 1fr;
    }
    .location-entry-v23__input {
        grid-column: 1 / -1;
    }
}
