.btr-profile-card {
    max-width: 720px;
    margin: 24px auto;
    padding: clamp(20px, 4vw, 36px);
    border: 1px solid #dce3e1;
    border-radius: 12px;
    background: #fff;
    color: #303e3b;
    text-align: left;
}
.btr-profile-card h2 { font-size: 24px; line-height: 1.3; margin-bottom: 12px; }
#editprofileform.btr-profile-card {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}
#editprofileform.btr-details-form > .row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
#editprofileform.btr-details-form .form-group { min-width: 0; }
#editprofileform.btr-details-form input:not([type=submit]):not([type=hidden]) {
    width: 100%;
    max-width: none;
}
.btr-profile-card > p { margin-bottom: 24px; line-height: 1.6; }
.btr-details-grid,
.btr-details-form > .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0 0 18px; }
.btr-details-form .form-group { width: auto; float: none; margin: 0 0 18px; }
.btr-detail-field { padding: 14px; border: 1px solid #dce3e1; border-radius: 8px; min-width: 0; }
.btr-detail-field.is-complete { background: #f5f7f6; }
.client-profile-form .btr-detail-field.is-saved-valid { display: none; }
.btr-detail-field.needs-attention { border-color: #8b6840; background: #fffaf1; }
.btr-details-form label { display: block; font-weight: 600; margin-bottom: 8px; }
.btr-field-status { display: block; font-size: 12px; font-weight: 400; color: #596962; }
.needs-attention .btr-field-status { color: #755128; }
.btr-details-form input:not([type=submit]):not([type=hidden]) {
    box-sizing: border-box; width: 100%; min-height: 46px; padding: 10px 12px;
    border: 1px solid #9aa9a4; border-radius: 6px; background: #fff; color: #303e3b; font-size: 16px;
}
.btr-details-form input[readonly] { background: #edf1ef !important; }
.btr-details-form input:focus-visible { outline: 2px solid #31695c; outline-offset: 3px; }
.btr-detail-field:focus-within { border-color: #31695c; }
.btr-profile-card .btr-field-help,
.btr-profile-card .description { font-size: 13px; line-height: 1.5; margin: 8px 0 0; color: #52615c; padding: 0; }
.btr-profile-card .btr-field-error { font-size: 13px; line-height: 1.5; color: #9d3030; margin: 8px 0 0; padding: 0; }
.btr-field-help:empty, .btr-field-error:empty { display: none; }
.btr-details-form .msg-box { margin-top: 12px; }
.btr-details-form .submit { margin: 20px 0 0; padding: 0; }
.btr-details-form input[type=submit] { min-height: 46px; border-radius: 6px; cursor: pointer; }
.btr-details-form input[type=submit]:disabled { opacity: .65; cursor: wait; }
@media (max-width: 600px) {
    #editprofileform.btr-details-form > .row { grid-template-columns: minmax(0, 1fr); }
    .btr-details-grid, .btr-details-form > .row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .btr-profile-card { margin: 16px 0; }
}
