.member-card {
    border: 1px solid #e5dac8;
    border-radius: 16px;
    background: #fffdf8;
    padding: 20px 22px;
    box-shadow: 0 6px 16px rgba(68, 49, 30, 0.06);
}

.member-card.narrow {
    max-width: 520px;
    margin: 0 auto;
}

.member-card h1 {
    margin-top: 0;
}

.member-heading {
    display: grid;
    gap: 12px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee3d1;
}

.member-heading h1 {
    margin: 0;
    font-size: 44px;
    line-height: 1;
    color: #17294a;
}

.member-tabs {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.member-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 14px;
    border: 1px solid #decfb8;
    border-radius: 999px;
    color: #5d452b;
    background: #fffaf3;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.15s ease;
}

.member-tab:hover {
    background: #f8ecda;
    border-color: #ccb48f;
}

.member-tab.is-active {
    color: #fff;
    border-color: #5f6e87;
    background: linear-gradient(135deg, #5d6f8d, #7387a8);
}

.member-tip {
    margin: 0 0 10px;
    color: #6a5d4c;
    font-size: 14px;
}

.member-form {
    display: grid;
    gap: 12px;
}

.member-form.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.member-form label {
    display: grid;
    gap: 6px;
    color: #544636;
    font-size: 14px;
}

.member-form .full {
    grid-column: 1 / -1;
}

.member-form input,
.member-form textarea {
    border: 1px solid #ddcfbc;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    color: #3f3124;
    background: #fff;
}

.member-form textarea {
    min-height: 94px;
}

.member-form button {
    height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #6f5438, #9a7a3e);
    cursor: pointer;
}

.member-actions {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.member-actions a {
    color: #664a2c;
}

.note-box {
    border: 1px solid #eadfce;
    border-radius: 12px;
    background: #fefaf2;
    padding: 12px;
}

.note-box h3 {
    margin: 0 0 6px;
}

.note-box ul {
    margin: 0;
    padding-left: 18px;
    color: #6e6154;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-actions a {
    color: #6a4f30;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 0;
}

.profile-item {
    border: 1px solid #eadfce;
    border-radius: 12px;
    background: #fefaf2;
    padding: 14px;
}

.profile-item h2 {
    margin: 0 0 10px;
    font-size: 32px;
    line-height: 1;
    color: #182a4b;
}

.profile-item p {
    margin: 0 0 8px;
    color: #3f3124;
}

.profile-item p:last-child {
    margin-bottom: 0;
}

.member-placeholder {
    border: 1px dashed #d8cab3;
    border-radius: 12px;
    background: #fdf9f1;
    padding: 12px;
}

.error {
    color: #b4493f;
    font-size: 12px;
}

@media (max-width: 760px) {
    .member-form.grid,
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .member-heading h1 {
        font-size: 38px;
    }

    .profile-item h2 {
        font-size: 30px;
    }
}
