/* Shared account-network controls for desktop and mobile dialogs. */
.proxy-saved-field > label {
    margin: 0;
    color: inherit;
    font: inherit;
}

.proxy-address-control {
    display: flex;
    align-items: stretch;
    gap: 8px;
    min-width: 0;
}

.proxy-address-control input {
    flex: 1 1 0;
    min-width: 0;
    width: 0;
    margin: 0;
    color: var(--ui-ink, #24354b);
    background: var(--ui-surface, #fff);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-weight: 400;
}

.proxy-address-control button {
    flex: 0 0 auto;
    width: auto;
    min-height: 40px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid var(--ui-border, #cbd8e8);
    border-radius: 7px;
    color: var(--ui-accent-strong, #2867c7);
    background: var(--ui-accent-soft, #eef4ff);
    font: inherit;
    white-space: nowrap;
    cursor: pointer;
}

.proxy-address-control button:hover:not(:disabled) {
    border-color: var(--ui-accent, #2867c7);
}

.proxy-address-control button:focus-visible {
    outline: 2px solid var(--ui-accent, #2867c7);
    outline-offset: 2px;
}

.proxy-address-control button:disabled {
    opacity: .65;
    cursor: wait;
}

.proxy-address-hint {
    color: var(--ui-muted, #6b7a90);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}
