.client-account-overview,
.client-account-security-grid,
.client-account-action-grid,
.client-account-session-list,
.client-account-activity-list {
    display: grid;
    gap: 12px;
}

.client-account-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.client-account-data-row,
.client-account-session-row,
.client-account-activity-row,
.client-account-action-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.045);
    color: #f7f3eb;
}

.client-account-data-row,
.client-account-session-row,
.client-account-activity-row {
    display: grid;
    gap: 6px;
    padding: 14px;
}

.client-account-data-row span,
.client-account-session-row span,
.client-account-activity-row span,
.client-account-action-card span {
    color: rgba(247, 243, 235, 0.62);
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.client-account-data-row strong,
.client-account-session-row strong,
.client-account-activity-row strong,
.client-account-action-card strong {
    color: #fffaf0;
}

.client-account-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.client-account-action-card {
    display: grid;
    gap: 7px;
    padding: 16px;
    text-decoration: none;
}

.client-account-session-row.is-current {
    border-color: rgba(247, 243, 235, 0.42);
    background: rgba(247, 243, 235, 0.1);
}

.client-account-muted {
    color: rgba(247, 243, 235, 0.66);
    line-height: 1.45;
}

.client-account-danger-zone {
    border-color: rgba(217, 45, 32, 0.28);
    background: rgba(217, 45, 32, 0.08);
}

.client-dashboard-settings-form {
    display: grid;
    gap: 12px;
}

.client-dashboard-setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.client-dashboard-setting-row > span:first-child {
    display: grid;
    gap: 5px;
}

.client-dashboard-setting-row strong {
    color: #fffaf0;
}

.client-dashboard-setting-row small {
    color: rgba(247, 243, 235, 0.62);
    line-height: 1.4;
}

.client-visibility-switch {
    position: relative;
    width: 48px;
    height: 28px;
    flex: 0 0 48px;
}

.client-visibility-switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.client-visibility-switch i {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 999px;
    background: #f7f3eb;
    transition: background 160ms ease, border-color 160ms ease;
}

.client-visibility-switch i::after {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #151515;
    content: "";
    transition: transform 160ms ease, background 160ms ease;
}

.client-visibility-switch input:checked + i {
    border-color: #16a34a;
    background: #16a34a;
}

.client-visibility-switch input:checked + i::after {
    transform: translateX(20px);
    background: #fff;
}

.client-visibility-switch input:focus-visible + i {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 760px) {
    .client-account-overview,
    .client-account-action-grid {
        grid-template-columns: 1fr;
    }
}
