.dc-physical-address-card {
    margin: 18px 0;
    padding: 16px;
    border: 1px solid rgba(249, 115, 22, .22);
    border-radius: 14px;
    background: linear-gradient(135deg, #fff7ed, #fff);
    color: #1f2937;
    box-shadow: 0 10px 28px rgba(249, 115, 22, .08);
    font-family: inherit;
}

.dc-physical-address-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.dc-physical-address-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9a3412;
    font-size: 16px;
    font-weight: 700;
}

.dc-physical-address-title::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: #f97316;
    color: #fff;
    content: '收';
    font-size: 13px;
    font-weight: 700;
}

.dc-physical-address-edit {
    padding: 6px 12px;
    border: 0;
    border-radius: 999px;
    background: #f97316;
    color: #fff;
    box-shadow: 0 6px 14px rgba(249, 115, 22, .22);
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

.dc-physical-address-edit:hover {
    background: #ea580c;
}

.dc-physical-address-summary {
    color: #7c2d12;
    font-size: 13px;
    line-height: 1.8;
}

.dc-physical-address-empty {
    color: #9ca3af;
}

.dc-physical-hidden-field {
    display: none !important;
}

.dc-physical-address-modal {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-sizing: border-box;
    background: rgba(15, 23, 42, .48);
}

.dc-physical-address-modal.show {
    display: flex;
}

.dc-physical-address-dialog {
    width: min(520px, 100%);
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(15, 23, 42, .25);
}

.dc-physical-address-dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #f3f4f6;
    color: #111827;
    font-size: 17px;
    font-weight: 700;
}

.dc-physical-address-close {
    border: 0;
    background: transparent;
    color: #6b7280;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.dc-physical-address-form {
    max-height: min(68vh, 620px);
    padding: 18px;
    overflow: auto;
}

.dc-physical-address-field {
    margin-bottom: 13px;
}

.dc-physical-address-field label {
    display: block;
    margin-bottom: 6px;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
}

.dc-physical-address-field input,
.dc-physical-address-field textarea,
.dc-physical-address-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 11px;
    box-sizing: border-box;
    outline: 0;
    background: #fff;
    color: #111827;
    font-size: 14px;
}

.dc-physical-address-field textarea {
    min-height: 76px;
    resize: vertical;
}

.dc-physical-address-field input:focus,
.dc-physical-address-field textarea:focus,
.dc-physical-address-field select:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, .12);
}

.dc-physical-address-smart {
    margin-bottom: 14px;
    padding: 12px;
    border: 1px dashed #fed7aa;
    border-radius: 13px;
    background: #fffaf5;
}

.dc-physical-address-smart textarea {
    min-height: 72px;
}

.dc-physical-address-smart-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
}

.dc-physical-address-smart-tip {
    color: #b45309;
    font-size: 12px;
    line-height: 1.5;
}

.dc-physical-address-smart-btn {
    padding: 7px 12px;
    border: 0;
    border-radius: 9px;
    background: #fb923c;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

.dc-physical-contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.dc-physical-region-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.dc-physical-region-row select,
.dc-physical-region-row input {
    min-width: 0;
}

.dc-physical-region-manual {
    margin-top: 8px;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.5;
}

.dc-physical-region-manual-input {
    margin-top: 8px;
}

.dc-physical-address-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 0 18px 18px;
}

.dc-physical-address-btn {
    padding: 9px 16px;
    border: 0;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
}

.dc-physical-address-cancel {
    background: #f3f4f6;
    color: #374151;
}

.dc-physical-address-save {
    background: #f97316;
    color: #fff;
    box-shadow: 0 8px 18px rgba(249, 115, 22, .22);
}

.dc-physical-address-save:hover {
    background: #ea580c;
}

@media (max-width: 640px) {
    .dc-physical-address-card {
        margin: 14px 0;
        padding: 14px;
    }

    .dc-physical-address-head {
        align-items: flex-start;
    }

    .dc-physical-address-dialog {
        border-radius: 16px;
    }

    .dc-physical-contact-row {
        grid-template-columns: 1fr;
    }

    .dc-physical-address-actions {
        flex-direction: column-reverse;
    }

    .dc-physical-address-btn {
        width: 100%;
    }
}
