.tr-phone-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.tr-phone-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.tr-phone-input-wrap {
    display: flex;
    align-items: stretch;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.tr-phone-input-wrap:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.tr-phone-input-wrap.is-invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.tr-phone-prefix {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0 0.75rem;
    background: #f3f4f6;
    border-right: 1px solid #e5e7eb;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.tr-phone-flag {
    font-size: 1rem;
    line-height: 1;
}

.tr-phone-input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    padding: 0.625rem 0.75rem;
    font-size: 1rem;
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
    background: transparent;
}

.tr-phone-hint {
    margin: 0;
    font-size: 0.75rem;
    color: #6b7280;
}

.tr-phone-error {
    margin: 0;
    font-size: 0.75rem;
    color: #dc2626;
}

.tr-phone-error.hidden {
    display: none;
}

.ac-form-grid .tr-phone-field {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .ac-form-grid-2 .tr-phone-field {
        grid-column: span 1;
    }
}
