.customize-card {
    display: grid;
    gap: 20px;
    padding: 24px;
}

.customize-title-row {
    align-items: flex-start;
    padding-bottom: 16px;
    border-bottom: 1px solid #e1eaed;
}

.customize-form {
    display: grid;
    gap: 18px;
}

.customize-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
    gap: 18px 20px;
}

.customize-card .form-group {
    display: grid;
    gap: 8px;
    margin: 0;
}

.account-page .customize-card label,
.account-page .customize-card .form-group label {
    color: #243842;
    font-size: 0.88rem;
    font-weight: 900;
}

.account-page .customize-card select,
.account-page .customize-card textarea {
    width: 100%;
    border: 1px solid #cbd7dc;
    border-radius: 6px;
    padding: 11px 12px;
    color: #17232b;
    background: #fff;
    font: inherit;
}

.account-page .customize-card select {
    min-height: 44px;
}

.account-page .customize-card textarea {
    min-height: 96px;
    resize: vertical;
}

.full-width {
    grid-column: 1 / -1;
}

.color-field {
    align-self: start;
}

.color-control {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f6faf9;
    border: 1px solid #dce8e8;
    border-radius: 8px;
}

.account-page .color-control input[type="color"] {
    width: 48px !important;
    min-width: 48px;
    height: 48px !important;
    min-height: 48px !important;
    padding: 4px !important;
    border: 1px solid #b9cace;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.color-swatch {
    width: 28px;
    height: 28px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: var(--swatch-color);
    cursor: pointer;
}

.color-swatch.active {
    border-color: #17232b;
    box-shadow: 0 0 0 3px #dce8e8;
}

#avatar-color-label {
    color: #52636c;
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.account-check {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 12px;
    color: #31424c;
    background: #f6faf9;
    border: 1px solid #dce8e8;
    border-radius: 8px;
    font-weight: 800;
}

.account-check input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    accent-color: #176d6a;
}

.profile-custom-meta {
    display: grid;
    gap: 6px;
    margin-top: 10px;
}

.profile-custom-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    padding: 5px 10px;
    color: #176d6a;
    background: #e2f2ef;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 900;
}

.profile-custom-meta p {
    max-width: 560px;
    margin: 0;
    color: #43545d !important;
    line-height: 1.45;
}

.profile-custom-empty {
    color: #77868d !important;
    font-size: 0.88rem;
}

@media (max-width: 820px) {
    .customize-card {
        padding: 20px;
    }

    .customize-grid {
        grid-template-columns: 1fr;
    }

    .color-control {
        grid-template-columns: 48px 1fr;
    }

    #avatar-color-label {
        grid-column: 1 / -1;
    }
}
