.client-account-page {
    min-height: 100vh;
    padding: 150px clamp(20px, 5vw, 78px) 80px;
    background:
        radial-gradient(circle at top left, rgba(240, 212, 193, .42), transparent 34%),
        linear-gradient(135deg, #fff9f6, #f4ebe7);
    color: #2f2925;
}

.client-auth-page {
    display: grid;
    place-items: start center;
}

.client-auth-card,
.client-account-hero,
.client-account-card,
.client-account-messages,
.client-account-overview {
    width: min(100%, 1120px);
}

.client-auth-card,
.client-account-hero,
.client-account-card,
.client-account-messages {
    border: 1px solid rgba(199, 119, 112, .15);
    border-radius: 24px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 24px 70px rgba(82, 55, 46, .09);
}

.client-auth-card {
    max-width: 560px;
    padding: clamp(28px, 4vw, 48px);
}

.client-login-card {
    max-width: 620px;
    padding: clamp(42px, 5vw, 70px) clamp(28px, 5vw, 70px);
    text-align: center;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, .72),
            rgba(255, 255, 255, .56)
        );
    backdrop-filter: blur(18px);
}

.client-login-heading {
    display: grid;
    justify-items: center;
    gap: 0;
    margin-bottom: 34px;
}

.client-login-heading img {
    width: min(270px, 72vw);
    height: auto;
    object-fit: contain;
}

.client-auth-requirement {
    margin: -8px 0 28px;
    padding: 14px 16px;
    border: 1px solid rgba(199, 119, 112, .2);
    border-radius: 8px;
    background: rgba(253, 238, 235, .58);
    color: #725f59;
    font-size: 13px;
    line-height: 1.55;
}

.client-auth-card-wide {
    max-width: 860px;
}

.client-auth-card.client-password-reset-done-card h1 {
    margin-top: 0;
    font-size: 48px;
    line-height: 1;
    white-space: nowrap;
}

.client-password-reset-confirm-card h1 {
    margin-top: 0;
}

.client-password-reset-complete-card h1 {
    margin-top: 0;
    font-size: 52px;
    line-height: 1.02;
}

.client-register-card {
    max-width: 920px;
    padding: clamp(34px, 5vw, 62px);
}

.client-register-heading {
    display: grid;
    justify-items: center;
    text-align: center;
    margin-bottom: 28px;
}

.client-register-heading img {
    width: min(260px, 70vw);
    height: auto;
    object-fit: contain;
}

.client-auth-card > span,
.client-edit-heading > span,
.client-account-hero span,
.client-account-card > span,
.client-card-head span {
    display: block;
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.client-auth-card h1,
.client-edit-heading h1,
.client-account-hero h1 {
    margin-top: 14px;
    color: #2c2623;
    font-family: var(--font-display);
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 500;
    line-height: .95;
}

.client-auth-card p,
.client-edit-heading p,
.client-account-hero p,
.client-account-empty {
    margin-top: 14px;
    color: #75645f;
    font-size: 15px;
    line-height: 1.7;
}

.client-auth-form {
    margin-top: 30px;
    display: grid;
    gap: 18px;
}

.client-login-card .client-auth-form {
    margin-top: 0;
}

.client-edit-heading {
    margin-top: 24px;
}

.client-profile-edit-card .client-edit-heading h1 {
    margin-top: 0;
    font-size: clamp(34px, 4.5vw, 54px);
    line-height: 1.02;
}

.client-locked-field {
    margin-top: 24px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid rgba(199, 119, 112, .16);
    border-radius: 18px;
    background: rgba(253, 238, 235, .54);
}

.client-locked-field span {
    color: #8b7770;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.client-locked-detail {
    min-width: 0;
    display: grid;
    flex: 1 1 180px;
    gap: 5px;
}

.client-locked-field strong {
    color: #2f2925;
    overflow-wrap: anywhere;
}

.client-locked-field a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(199, 119, 112, .22);
    border-radius: 999px;
    background: #fff;
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    padding: 0 14px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.client-locked-actions {
    display: flex !important;
    flex: 0 0 auto;
    gap: 8px;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

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

.client-auth-wide,
.client-auth-password {
    grid-column: 1 / -1;
}

.client-auth-form label {
    display: grid;
    gap: 8px;
    color: #5c4d49;
    font-size: 13px;
    font-weight: 600;
}

.client-login-card .client-auth-form label > span:first-child {
    text-align: left;
}

.client-auth-label-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.client-auth-label-title svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-primary);
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.client-auth-input-wrap {
    position: relative;
    display: block;
}

.client-auth-input-wrap > svg {
    position: absolute;
    left: 18px;
    top: 50%;
    width: 19px;
    height: 19px;
    transform: translateY(-50%);
    stroke: #9b8f89;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.client-auth-form input {
    min-height: 50px;
    width: 100%;
    border: 1px solid rgba(94, 76, 70, .14);
    border-radius: 14px;
    background: rgba(255, 255, 255, .86);
    color: #2f2925;
    font: inherit;
    padding: 0 16px;
    outline: none;
}

.client-login-card .client-auth-form input {
    min-height: 62px;
    padding-left: 20px;
    padding-right: 52px;
    border-color: rgba(215, 204, 198, .62);
    border-radius: 16px;
    background: rgba(255, 255, 255, .52);
    backdrop-filter: blur(8px);
}

.client-password-toggle {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #8f817c;
    cursor: pointer;
    transition:
        background .24s ease,
        color .24s ease,
        transform .24s ease;
}

.client-password-toggle:hover,
.client-password-toggle.is-visible {
    background: rgba(199, 119, 112, .08);
    color: var(--color-primary);
    transform: translateY(-50%) scale(1.04);
}

.client-password-toggle svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.client-auth-form input:focus {
    border-color: rgba(199, 119, 112, .42);
    box-shadow: 0 0 0 4px rgba(199, 119, 112, .08);
}

.client-upload-field {
    gap: 12px;
}

.client-profile-photo-editor {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .86fr);
    align-items: stretch;
    gap: 12px;
}

.client-upload-control {
    min-height: 58px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 10px 8px 8px;
    border: 1px solid rgba(94, 76, 70, .14);
    border-radius: 16px;
    background: rgba(255, 255, 255, .86);
    overflow: hidden;
    transition:
        border-color .24s ease,
        box-shadow .24s ease,
        transform .24s ease;
}

.client-upload-control:hover {
    border-color: rgba(199, 119, 112, .34);
    box-shadow: 0 14px 34px rgba(82, 55, 46, .08);
    transform: translateY(-1px);
}

.client-upload-control input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.client-upload-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(199, 119, 112, .12);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    padding: 0 16px;
    text-transform: uppercase;
}

.client-upload-button svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.client-upload-name {
    min-width: 0;
    flex: 1;
    color: #8b7770;
    font-size: 13px;
    font-weight: 500;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.client-upload-preview {
    min-width: 0;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(199, 119, 112, .14);
    border-radius: 18px;
    background: rgba(253, 238, 235, .36);
}

.client-upload-preview img {
    width: 68px;
    height: 68px;
    display: block;
    flex: 0 0 auto;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 10px 24px rgba(82, 55, 46, .12);
}

.client-upload-preview img[hidden],
.client-upload-preview-placeholder[hidden] {
    display: none;
}

.client-upload-preview-placeholder {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #fff;
    color: var(--color-primary);
    box-shadow: 0 10px 24px rgba(82, 55, 46, .1);
}

.client-upload-preview-placeholder svg {
    width: 30px;
    height: 30px;
    stroke: currentColor;
    stroke-width: 1.6;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.client-upload-preview-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.client-upload-preview strong {
    color: #2f2925;
    font-size: 13px;
}

.client-upload-preview small {
    color: #8b7770;
    line-height: 1.45;
}

.client-auth-form small,
.client-auth-alert {
    color: #b35f59;
    font-size: 12px;
    line-height: 1.5;
}

.client-password-rules {
    display: grid;
    gap: 7px;
    margin-top: 3px;
    padding: 14px 16px;
    border: 1px solid rgba(199, 119, 112, .2);
    border-radius: 8px;
    background: rgba(253, 238, 235, .5);
    color: #765f59;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

.client-password-rules strong {
    margin-bottom: 2px;
    color: #9f5752;
    font-size: 13px;
    font-weight: 600;
}

.client-password-rules > span {
    position: relative;
    padding-left: 15px;
}

.client-password-rules > span::before {
    content: "";
    position: absolute;
    top: .62em;
    left: 1px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-primary);
}

.client-auth-alert {
    padding: 14px 16px;
    border: 1px solid rgba(199, 119, 112, .22);
    border-radius: 16px;
    background: rgba(253, 238, 235, .72);
}

.client-email-verify-page {
    place-items: center;
}

.client-email-verify-card {
    max-width: 680px;
    padding: clamp(46px, 5.4vw, 76px) clamp(34px, 5.6vw, 76px);
}

.client-email-verify-card .client-login-heading {
    margin-bottom: clamp(38px, 5vw, 52px);
}

.client-email-verify-card .client-login-heading img {
    width: min(250px, 64vw);
}

.client-otp-heading {
    display: grid;
    gap: 18px;
    justify-items: center;
    text-align: center;
}

.client-otp-heading h1 {
    margin: 0;
    color: #2c2623;
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 500;
    line-height: .98;
}

.client-otp-heading p {
    max-width: 440px;
    margin: 0;
    color: #75645f;
    font-size: 15px;
    line-height: 1.65;
}

.client-otp-heading strong {
    color: #2f2925;
    font-weight: 700;
}

.client-auth-message-list {
    margin: 34px auto 0;
    width: min(100%, 520px);
    display: grid;
    gap: 10px;
    text-align: left;
}

.client-auth-alert-success {
    border-color: rgba(111, 148, 91, .24);
    background: rgba(231, 239, 224, .72);
    color: #5d784c;
}

.client-email-verify-card .client-otp-form {
    width: min(100%, 520px);
    margin: 48px auto 0;
    gap: 28px;
}

.client-otp-form .client-auth-field {
    gap: 18px;
}

.client-otp-input {
    height: 76px;
    text-align: center;
    font-size: 24px !important;
    font-weight: 700;
    letter-spacing: .35em;
}

.client-otp-resend-form {
    width: min(100%, 520px);
    margin: 20px auto 0;
}

.client-otp-resend {
    min-height: 48px;
    width: 100%;
    border: 1px solid rgba(199, 119, 112, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .76);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        border-color .24s ease,
        box-shadow .24s ease,
        color .24s ease,
        transform .24s ease;
}

.client-otp-resend:hover {
    border-color: rgba(199, 119, 112, .44);
    box-shadow: 0 14px 34px rgba(82, 55, 46, .08);
    color: #a85751;
    transform: translateY(-1px);
}

.client-otp-note {
    max-width: 430px;
    margin: 24px auto 0;
    color: #8b7770;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

.client-form-error-popup {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: grid;
    place-items: center;
    padding: clamp(18px, 4vw, 42px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}

.client-form-error-popup.is-open {
    opacity: 1;
    pointer-events: auto;
}

.client-form-error-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(47, 37, 33, .46);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.client-form-error-card {
    width: min(100%, 520px);
    max-height: min(84vh, 620px);
    position: relative;
    z-index: 1;
    overflow-y: auto;
    padding: clamp(28px, 5vw, 42px);
    border: 1px solid rgba(199, 119, 112, .18);
    border-radius: 28px;
    background:
        radial-gradient(circle at top, rgba(253, 238, 235, .72), transparent 44%),
        rgba(255, 255, 255, .94);
    box-shadow: 0 34px 100px rgba(32, 22, 18, .24);
    text-align: center;
    animation: clientErrorBounce .44s cubic-bezier(.2, .9, .24, 1.18);
}

.client-form-error-close {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(199, 119, 112, .18);
    border-radius: 50%;
    background: rgba(255, 255, 255, .82);
    color: var(--color-primary);
    cursor: pointer;
}

.client-form-error-close svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    stroke-width: 1.9;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.client-form-error-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(253, 238, 235, .9);
    color: var(--color-primary);
}

.client-form-error-icon svg {
    width: 27px;
    height: 27px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.client-form-error-card > span {
    display: block;
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.client-form-error-card h2 {
    margin: 10px 0 8px;
    color: #2c2623;
    font-family: var(--font-display);
    font-size: clamp(30px, 5vw, 44px);
    font-weight: 500;
    line-height: 1;
}

.client-form-error-card p {
    margin: 0;
    color: #75645f;
    font-size: 14px;
    line-height: 1.7;
}

.client-form-error-card ul {
    margin: 22px 0;
    padding: 0;
    display: grid;
    gap: 10px;
    list-style: none;
    text-align: left;
}

.client-form-error-card li {
    padding: 12px 14px;
    border: 1px solid rgba(199, 119, 112, .14);
    border-radius: 14px;
    background: rgba(255, 255, 255, .74);
    color: #6f5d58;
    font-size: 13px;
    line-height: 1.55;
}

.client-form-error-card li strong {
    color: #2f2925;
}

.client-form-error-action {
    min-height: 46px;
    width: 100%;
    border: 1px solid var(--color-primary);
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.client-auth-form button:not(.client-password-toggle),
.client-account-hero a,
.client-card-head a,
.client-auth-footer a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-primary);
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    padding: 0 24px;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        background .22s ease,
        border-color .22s ease,
        color .22s ease;
}

.client-loyalty-card {
    gap: 20px;
}

.client-loyalty-total {
    min-height: 128px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    border: 1px solid rgba(199, 119, 112, .14);
    border-radius: 22px;
    background:
        radial-gradient(circle at 50% 0%, rgba(253, 238, 235, .78), transparent 58%),
        rgba(255, 255, 255, .52);
    text-align: center;
}

.client-loyalty-total strong {
    color: #2f2925;
    font-family: var(--font-display);
    font-size: clamp(48px, 7vw, 70px);
    font-weight: 500;
    line-height: .9;
}

.client-loyalty-total span {
    color: #8a716b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.client-loyalty-feed {
    display: grid;
    gap: 10px;
}

.client-loyalty-feed > div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid rgba(94, 76, 70, .09);
}

.client-loyalty-feed > div > span {
    min-width: 46px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.client-loyalty-feed > div > span.positive {
    background: rgba(217, 233, 208, .72);
    color: #5a7c4a;
}

.client-loyalty-feed > div > span.negative {
    background: rgba(253, 226, 222, .86);
    color: var(--color-primary);
}

.client-loyalty-feed p {
    margin: 0;
    display: grid;
    gap: 2px;
}

.client-loyalty-feed strong {
    color: #332c28;
    font-size: 13px;
}

.client-loyalty-feed small {
    color: #8b7770;
    font-size: 12px;
}

.client-loyalty-rewards {
    margin-top: 20px;
    padding-top: 18px;
    display: grid;
    gap: 10px;
    border-top: 1px solid rgba(98, 72, 61, .1);
}

.client-loyalty-rewards-title {
    color: #8d5f59;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.client-loyalty-reward {
    padding: 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 12px;
    border: 1px solid rgba(116, 86, 74, .12);
    border-radius: 8px;
    background: rgba(252, 247, 245, .68);
}

.client-loyalty-reward.unlocked {
    border-color: rgba(104, 134, 82, .24);
    background: rgba(236, 243, 231, .72);
}

.client-loyalty-reward > div:first-child {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.client-loyalty-reward strong {
    color: #3d3430;
    font-size: 13px;
}

.client-loyalty-reward small,
.client-loyalty-reward-meta > span {
    color: #8e7c74;
    font-size: 10px;
}

.client-loyalty-reward .client-loyalty-service-name {
    margin-top: 2px;
    color: #725d56;
    font-size: 11px;
    font-weight: 600;
}

.client-loyalty-reward-meta {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.client-loyalty-reward-meta > span {
    font-weight: 700;
}

.client-loyalty-reward.unlocked .client-loyalty-reward-meta > span {
    color: #60794e;
}

.client-loyalty-service-link {
    width: 34px;
    height: 34px;
    display: inline-grid;
    flex: 0 0 34px;
    place-items: center;
    border: 1px solid rgba(199, 121, 114, .28);
    border-radius: 8px;
    background: rgba(255, 255, 255, .8);
    color: #b66560;
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.client-loyalty-service-link:hover,
.client-loyalty-service-link:focus-visible {
    border-color: #c97972;
    background: #c97972;
    color: #fff;
    outline: none;
}

.client-loyalty-service-link svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.client-loyalty-progress {
    height: 5px;
    grid-column: 1 / -1;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(104, 78, 67, .1);
}

.client-loyalty-progress i {
    height: 100%;
    display: block;
    border-radius: inherit;
    background: #c97972;
}

.client-loyalty-reward.unlocked .client-loyalty-progress i {
    background: #779663;
}

.client-loyalty-reward > p,
.client-loyalty-terms {
    grid-column: 1 / -1;
}

.client-loyalty-reward > p {
    margin: 0;
    color: #655750;
    font-size: 11px;
    line-height: 1.5;
}

.client-loyalty-terms {
    line-height: 1.45;
}

.client-loyalty-redeem-form,
.client-loyalty-use-link {
    grid-column: 1 / -1;
}

.client-loyalty-redeem-form button,
.client-loyalty-use-link {
    width: 100%;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c97972;
    border-radius: 8px;
    background: #c97972;
    color: #fff;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.client-loyalty-use-link {
    background: #779663;
    border-color: #779663;
}

.client-auth-form button:not(.client-password-toggle):hover {
    background: #bd6f6a;
    border-color: #bd6f6a;
    box-shadow: 0 16px 34px rgba(199, 119, 112, .24);
    transform: translateY(-2px);
}

.client-auth-form button:not(.client-password-toggle):active {
    box-shadow: 0 8px 20px rgba(199, 119, 112, .18);
    transform: translateY(0) scale(.985);
}

.client-login-card .client-auth-form button[type="submit"] {
    position: relative;
    overflow: hidden;
}

.client-login-card .client-auth-form button[type="submit"]::before {
    content: '';
    position: absolute;
    inset: -45% auto -45% -75%;
    width: 52%;
    transform: rotate(18deg);
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, .42),
        transparent
    );
    opacity: 0;
    transition:
        left .52s ease,
        opacity .22s ease;
    pointer-events: none;
}

.client-login-card .client-auth-form button[type="submit"]:hover::before {
    left: 118%;
    opacity: 1;
}

.client-login-card .client-password-toggle {
    min-height: 0;
    padding: 0;
    position: absolute;
    top: 50%;
    right: 14px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #8f817c;
    cursor: pointer;
    letter-spacing: 0;
    text-transform: none;
    box-shadow: none;
}

.client-login-card .client-password-toggle:hover,
.client-login-card .client-password-toggle.is-visible {
    background: rgba(199, 119, 112, .08);
    color: var(--color-primary);
    transform: translateY(-50%) scale(1.04);
}

.client-login-card .client-password-toggle svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.client-auth-footer {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #75645f;
}

.client-auth-footer p {
    margin: 0;
}

.client-auth-footer-soft {
    margin-top: 12px;
}

.client-auth-footer-soft a {
    border-color: rgba(199, 119, 112, .2);
    background: transparent;
}

.client-auth-footer a,
.client-account-hero a,
.client-card-head a {
    min-height: 40px;
    background: #fff;
    color: var(--color-primary);
}

.client-transition-page,
.client-onboarding-page {
    place-items: center;
}

.client-transition-card,
.client-onboarding-card {
    width: min(100%, 680px);
    border: 1px solid rgba(199, 119, 112, .16);
    border-radius: 30px;
    background:
        radial-gradient(circle at 18% 8%, rgba(253, 238, 235, .66), transparent 34%),
        rgba(255, 255, 255, .78);
    box-shadow: 0 28px 90px rgba(82, 55, 46, .12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    text-align: center;
    animation: clientAuthBounce .48s cubic-bezier(.2, .9, .24, 1.18);
}

.client-transition-card {
    padding: clamp(42px, 5vw, 62px) clamp(28px, 5vw, 58px);
}

.client-transition-card-logout {
    background:
        radial-gradient(circle at 82% 0%, rgba(199, 119, 112, .14), transparent 34%),
        rgba(255, 255, 255, .78);
}

.client-transition-logo,
.client-onboarding-heading img {
    width: min(250px, 68vw);
    height: auto;
    object-fit: contain;
}

.client-transition-logo {
    margin: 0 auto 26px;
    display: block;
}

.client-transition-card > span,
.client-onboarding-heading > span {
    display: block;
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.client-transition-card h1,
.client-onboarding-card h1 {
    margin: 8px 0 12px;
    color: #2c2623;
    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 500;
    line-height: 1;
}

.client-transition-card-login h1 {
    margin: 6px 0 28px;
    font-size: clamp(28px, 3.4vw, 40px);
}

.client-transition-card p,
.client-onboarding-card p {
    max-width: 460px;
    margin: 0 auto 28px;
    color: #75645f;
    font-size: 15px;
    line-height: 1.7;
}

.client-transition-loader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.client-transition-loader span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-primary);
    animation: clientTransitionPulse .9s ease-in-out infinite;
}

.client-transition-loader span:nth-child(2) {
    animation-delay: .15s;
}

.client-transition-loader span:nth-child(3) {
    animation-delay: .3s;
}

.client-onboarding-card {
    width: min(100%, 920px);
    padding: clamp(34px, 5vw, 58px);
}

.client-onboarding-heading {
    display: grid;
    justify-items: center;
    gap: 12px;
}

.client-onboarding-heading img {
    margin-bottom: 10px;
}

.client-onboarding-grid {
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.client-onboarding-grid article {
    min-height: 176px;
    position: relative;
    overflow: hidden;
    padding: 24px 20px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 10px;
    border: 1px solid rgba(199, 119, 112, .14);
    border-radius: 22px;
    background: rgba(255, 255, 255, .62);
    box-shadow: 0 14px 34px rgba(82, 55, 46, .04);
    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease,
        background .28s ease;
}

.client-onboarding-grid article::before {
    content: '';
    position: absolute;
    inset: -45% auto -45% -75%;
    width: 54%;
    transform: rotate(18deg);
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, .74),
        transparent
    );
    opacity: 0;
    transition:
        left .56s ease,
        opacity .22s ease;
    pointer-events: none;
}

.client-onboarding-grid article:hover {
    border-color: rgba(199, 119, 112, .3);
    background:
        radial-gradient(circle at 50% 0%, rgba(253, 238, 235, .62), transparent 52%),
        rgba(255, 255, 255, .82);
    box-shadow: 0 22px 46px rgba(82, 55, 46, .1);
    transform: translateY(-5px);
}

.client-onboarding-grid article:hover::before {
    left: 120%;
    opacity: 1;
}

.client-onboarding-grid svg {
    width: 34px;
    height: 34px;
    stroke: var(--color-primary);
    stroke-width: 1.7;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .28s ease;
}

.client-onboarding-grid article:hover svg {
    transform: translateY(-2px) scale(1.06);
}

.client-onboarding-grid h2 {
    margin: 0;
    color: #2f2925;
    font-size: 17px;
}

.client-onboarding-grid p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
}

.client-onboarding-card form {
    display: grid;
    justify-items: center;
    gap: 20px;
}

.client-onboarding-upload {
    width: min(100%, 520px);
    display: grid;
    justify-items: stretch;
    gap: 10px;
    text-align: left;
}

.client-onboarding-card button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-primary);
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    padding: 0 30px;
    text-transform: uppercase;
}

.client-account-hero {
    margin: 0 auto 24px;
    padding: clamp(28px, 5vw, 54px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 14%, rgba(199, 119, 112, .2), transparent 30%),
        radial-gradient(circle at 88% 20%, rgba(255, 255, 255, .96), transparent 24%),
        linear-gradient(135deg, rgba(255, 252, 249, .98), rgba(244, 218, 211, .78));
    border-color: rgba(199, 119, 112, .24);
    box-shadow:
        0 26px 70px rgba(82, 55, 46, .12),
        inset 0 1px 0 rgba(255, 255, 255, .82);
}

.client-account-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(199, 119, 112, .2) 0 1.2px, transparent 1.8px),
        radial-gradient(circle, rgba(255, 255, 255, .86) 0 1px, transparent 1.6px);
    background-size: 92px 92px, 138px 138px;
    background-position: 0 0, 46px 34px;
    opacity: .68;
    pointer-events: none;
}

.client-account-hero::after {
    content: '';
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 310px;
    height: 310px;
    border-radius: 50%;
    border: 1px solid rgba(199, 119, 112, .16);
    background: rgba(255, 255, 255, .32);
    pointer-events: none;
}

.client-account-hero > * {
    position: relative;
    z-index: 1;
}

.client-account-hero h1 {
    margin-top: 0;
    font-size: clamp(30px, 3.6vw, 48px);
    line-height: 1;
}

.client-account-hero.is-birthday {
    border-color: rgba(199, 119, 112, .34);
    background:
        radial-gradient(circle at 10% 14%, rgba(199, 119, 112, .24), transparent 30%),
        radial-gradient(circle at 82% 22%, rgba(255, 255, 255, .98), transparent 25%),
        linear-gradient(135deg, rgba(255, 251, 248, .99), rgba(244, 218, 211, .84));
}

.client-birthday-page-decor {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.client-account-hero,
.client-account-tabs,
.client-account-section,
.client-account-messages {
    position: relative;
    z-index: 1;
}

.client-birthday-page-balloon {
    position: absolute;
    width: clamp(34px, 4vw, 58px);
    height: clamp(48px, 5.5vw, 78px);
    border-radius: 50% 50% 46% 46%;
    background:
        radial-gradient(circle at 32% 24%, rgba(255, 255, 255, .94), transparent 25%),
        linear-gradient(145deg, rgba(255, 224, 220, .9), rgba(199, 119, 112, .62));
    box-shadow: 0 24px 54px rgba(82, 55, 46, .1);
    opacity: .58;
    animation: auriaBirthdayBalloon 8.2s ease-in-out infinite;
}

.client-birthday-page-balloon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    width: 1px;
    height: clamp(48px, 8vw, 86px);
    background: linear-gradient(rgba(199, 119, 112, .34), transparent);
    transform: translateX(-50%);
}

.client-birthday-page-balloon:nth-child(1) {
    left: clamp(22px, 4vw, 72px);
    top: 18%;
}

.client-birthday-page-balloon:nth-child(2) {
    right: clamp(28px, 5vw, 92px);
    top: 32%;
    width: clamp(28px, 3.4vw, 48px);
    height: clamp(40px, 4.8vw, 66px);
    animation-delay: -2.6s;
}

.client-birthday-page-balloon:nth-child(3) {
    left: clamp(34px, 7vw, 132px);
    bottom: 10%;
    width: clamp(24px, 3vw, 42px);
    height: clamp(36px, 4.2vw, 58px);
    background:
        radial-gradient(circle at 32% 24%, rgba(255, 255, 255, .94), transparent 25%),
        linear-gradient(145deg, rgba(255, 246, 238, .98), rgba(229, 190, 181, .72));
    animation-delay: -4.4s;
}

.client-birthday-page-confetti {
    position: absolute;
    width: 7px;
    height: 12px;
    border-radius: 999px;
    background: rgba(199, 119, 112, .42);
    opacity: .56;
    animation: auriaBirthdayConfetti 6.4s ease-in-out infinite;
}

.client-birthday-page-confetti:nth-child(4) {
    left: 9%;
    top: 38%;
}

.client-birthday-page-confetti:nth-child(5) {
    left: 17%;
    bottom: 22%;
    width: 5px;
    height: 5px;
    animation-delay: -1.2s;
}

.client-birthday-page-confetti:nth-child(6) {
    right: 12%;
    top: 16%;
    animation-delay: -2.4s;
}

.client-birthday-page-confetti:nth-child(7) {
    right: 7%;
    bottom: 24%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, .86);
    animation-delay: -3.1s;
}

.client-birthday-page-confetti:nth-child(8) {
    left: 6%;
    top: 68%;
    animation-delay: -4.2s;
}

.client-birthday-page-confetti:nth-child(9) {
    right: 19%;
    bottom: 14%;
    animation-delay: -5s;
}

.client-birthday-celebration {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.client-birthday-balloon {
    position: absolute;
    width: clamp(24px, 3vw, 38px);
    height: clamp(32px, 4vw, 52px);
    border-radius: 50% 50% 46% 46%;
    background:
        radial-gradient(circle at 32% 24%, rgba(255, 255, 255, .92), transparent 24%),
        linear-gradient(145deg, rgba(255, 229, 224, .95), rgba(199, 119, 112, .7));
    box-shadow:
        0 18px 36px rgba(82, 55, 46, .12),
        inset 0 -10px 20px rgba(151, 84, 79, .08);
    opacity: .72;
    transform-origin: center bottom;
    animation: auriaBirthdayBalloon 7.5s ease-in-out infinite;
}

.client-birthday-balloon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: calc(100% - 1px);
    width: 1px;
    height: clamp(26px, 4vw, 48px);
    background: linear-gradient(rgba(199, 119, 112, .38), transparent);
    transform: translateX(-50%);
}

.client-birthday-balloon:nth-child(1) {
    left: 8%;
    bottom: -18px;
}

.client-birthday-balloon:nth-child(2) {
    left: 34%;
    top: 12%;
    width: clamp(18px, 2.3vw, 30px);
    height: clamp(26px, 3.2vw, 42px);
    background:
        radial-gradient(circle at 32% 24%, rgba(255, 255, 255, .92), transparent 24%),
        linear-gradient(145deg, rgba(255, 246, 238, .98), rgba(229, 190, 181, .78));
    animation-delay: -2.4s;
}

.client-birthday-balloon:nth-child(3) {
    right: 18%;
    bottom: 10%;
    animation-delay: -4.1s;
}

.client-birthday-balloon:nth-child(4) {
    right: 6%;
    top: 8%;
    width: clamp(20px, 2.5vw, 32px);
    height: clamp(28px, 3.4vw, 44px);
    background:
        radial-gradient(circle at 32% 24%, rgba(255, 255, 255, .92), transparent 24%),
        linear-gradient(145deg, rgba(248, 219, 214, .92), rgba(255, 255, 255, .82));
    animation-delay: -1.2s;
}

.client-birthday-confetti {
    position: absolute;
    width: 7px;
    height: 11px;
    border-radius: 999px;
    background: rgba(199, 119, 112, .48);
    opacity: .58;
    animation: auriaBirthdayConfetti 5.8s ease-in-out infinite;
}

.client-birthday-confetti:nth-child(5) {
    left: 18%;
    top: 18%;
}

.client-birthday-confetti:nth-child(6) {
    left: 48%;
    top: 12%;
    width: 5px;
    height: 5px;
    animation-delay: -1s;
}

.client-birthday-confetti:nth-child(7) {
    right: 42%;
    bottom: 22%;
    background: rgba(255, 255, 255, .9);
    animation-delay: -2s;
}

.client-birthday-confetti:nth-child(8) {
    right: 28%;
    top: 18%;
    animation-delay: -3.2s;
}

.client-birthday-confetti:nth-child(9) {
    right: 12%;
    bottom: 28%;
    width: 5px;
    height: 5px;
    animation-delay: -4.2s;
}

.client-birthday-confetti:nth-child(10) {
    left: 62%;
    bottom: 14%;
    background: rgba(228, 176, 166, .72);
    animation-delay: -2.8s;
}

.client-birthday-sparkles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.client-birthday-sparkles span {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(199, 119, 112, .58);
    box-shadow: 0 0 0 8px rgba(199, 119, 112, .08);
    animation: auriaBirthdayFloat 3.8s ease-in-out infinite;
}

.client-birthday-sparkles span:nth-child(1) {
    left: 12%;
    top: 18%;
}

.client-birthday-sparkles span:nth-child(2) {
    left: 28%;
    bottom: 20%;
    animation-delay: .45s;
}

.client-birthday-sparkles span:nth-child(3) {
    right: 36%;
    top: 22%;
    animation-delay: .9s;
}

.client-birthday-sparkles span:nth-child(4) {
    right: 16%;
    top: 48%;
    animation-delay: 1.35s;
}

.client-birthday-sparkles span:nth-child(5) {
    right: 28%;
    bottom: 18%;
    animation-delay: 1.8s;
}

.client-birthday-note {
    margin: 12px 0 0;
    color: #9b625c;
    font-size: 14px;
    font-weight: 600;
}

.client-birthday-card {
    width: min(100%, 330px);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid rgba(199, 119, 112, .18);
    border-radius: 26px;
    background:
        radial-gradient(circle at 100% 0, rgba(255, 255, 255, .82), transparent 34%),
        rgba(255, 255, 255, .54);
    box-shadow:
        0 18px 40px rgba(82, 55, 46, .1),
        inset 0 1px 0 rgba(255, 255, 255, .75);
    backdrop-filter: blur(12px);
    animation: auriaBirthdayCardIn .72s cubic-bezier(.2, .9, .25, 1.18) both;
}

.client-birthday-card-icon {
    width: 46px;
    height: 46px;
    display: inline-grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(253, 232, 228, .92);
    color: var(--color-primary);
}

.client-birthday-card-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.client-birthday-card strong,
.client-birthday-card small {
    display: block;
}

.client-birthday-card strong {
    color: #2f2724;
    font-size: 15px;
    line-height: 1.25;
}

.client-birthday-card small {
    margin-top: 4px;
    color: #7d6660;
    font-size: 12px;
    line-height: 1.45;
}

.client-birthday-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: grid;
    place-items: center;
    padding: clamp(18px, 4vw, 46px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .26s ease;
}

.client-birthday-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.client-birthday-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(44, 35, 31, .28);
    backdrop-filter: blur(12px);
}

.client-birthday-modal-dialog {
    width: min(100%, 520px);
    position: relative;
    overflow: hidden;
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: clamp(34px, 5vw, 54px) clamp(24px, 5vw, 46px);
    border: 1px solid rgba(199, 119, 112, .18);
    border-radius: 32px;
    background:
        radial-gradient(circle at 14% 12%, rgba(250, 223, 218, .86), transparent 32%),
        radial-gradient(circle at 94% 12%, rgba(255, 255, 255, .98), transparent 30%),
        linear-gradient(145deg, rgba(255, 252, 249, .98), rgba(250, 238, 234, .96));
    box-shadow:
        0 32px 90px rgba(44, 35, 31, .2),
        inset 0 1px 0 rgba(255, 255, 255, .8);
    text-align: center;
    transform: translateY(18px) scale(.94);
    transition: transform .36s cubic-bezier(.2, .9, .25, 1.15);
}

.client-birthday-modal.is-open .client-birthday-modal-dialog {
    transform: translateY(0) scale(1);
}

.client-birthday-modal-party {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.client-birthday-modal-dialog > *:not(.client-birthday-modal-party) {
    position: relative;
    z-index: 1;
}

.client-birthday-modal-close {
    width: 42px;
    height: 42px;
    position: absolute !important;
    inset: 18px 18px auto auto !important;
    z-index: 4 !important;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(199, 119, 112, .18);
    border-radius: 15px;
    background: rgba(255, 255, 255, .76);
    color: var(--color-primary);
    cursor: pointer;
    justify-self: auto !important;
    align-self: auto !important;
    margin: 0;
    padding: 0;
    transition:
        transform .22s ease,
        background .22s ease,
        box-shadow .22s ease;
}

.client-birthday-modal-close:hover {
    background: rgba(253, 232, 228, .88);
    box-shadow: 0 14px 30px rgba(82, 55, 46, .12);
    transform: translateY(-1px);
}

.client-birthday-modal-close svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
}

.client-birthday-modal-icon {
    width: 76px;
    height: 76px;
    display: inline-grid;
    place-items: center;
    border-radius: 26px;
    background:
        radial-gradient(circle at 32% 22%, rgba(255, 255, 255, .85), transparent 35%),
        rgba(253, 232, 228, .94);
    color: var(--color-primary);
    box-shadow: 0 18px 36px rgba(82, 55, 46, .1);
}

.client-birthday-modal-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.client-birthday-modal-dialog p {
    margin: 8px 0 0;
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.client-birthday-modal-dialog h2 {
    max-width: 390px;
    margin: 6px 0 0;
    color: #2f2925;
    font-family: var(--font-display);
    font-size: clamp(34px, 5vw, 50px);
    font-weight: 500;
    line-height: 1;
}

/* Real-image birthday celebration */
.client-birthday-scene {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.client-birthday-floating-balloons {
    width: clamp(92px, 8vw, 148px);
    height: auto;
    position: absolute;
    bottom: -46vh;
    opacity: 0;
    filter: saturate(.8) drop-shadow(0 18px 28px rgba(64, 43, 38, .12));
    animation: auriaBirthdayImageRise var(--birthday-rise-duration, 18s) linear infinite;
    animation-delay: var(--birthday-rise-delay, 0s);
    will-change: transform, opacity;
}

.client-birthday-floating-balloons-1 {
    --birthday-rise-duration: 17s;
    --birthday-rise-delay: -5s;
    left: 1.5%;
}

.client-birthday-floating-balloons-2 {
    --birthday-rise-duration: 21s;
    --birthday-rise-delay: -16s;
    width: clamp(72px, 6vw, 112px);
    left: 10%;
}

.client-birthday-floating-balloons-3 {
    --birthday-rise-duration: 24s;
    --birthday-rise-delay: -10s;
    width: clamp(64px, 5vw, 96px);
    left: 18%;
}

.client-birthday-floating-balloons-4 {
    --birthday-rise-duration: 19s;
    --birthday-rise-delay: -12s;
    right: 1.5%;
}

.client-birthday-floating-balloons-5 {
    --birthday-rise-duration: 23s;
    --birthday-rise-delay: -3s;
    width: clamp(70px, 6vw, 110px);
    right: 10%;
}

.client-birthday-floating-balloons-6 {
    --birthday-rise-duration: 26s;
    --birthday-rise-delay: -20s;
    width: clamp(62px, 5vw, 94px);
    right: 18%;
}

@keyframes auriaBirthdayImageRise {
    0% {
        opacity: 0;
        transform: translate3d(0, 24vh, 0) rotate(-3deg) scale(.88);
    }
    10% {
        opacity: .68;
    }
    42% {
        transform: translate3d(24px, -42vh, 0) rotate(2deg) scale(.96);
    }
    72% {
        opacity: .62;
        transform: translate3d(-18px, -90vh, 0) rotate(-2deg) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate3d(12px, -154vh, 0) rotate(3deg) scale(1.04);
    }
}

.client-birthday-modal-garland {
    width: 118%;
    height: 156px;
    position: absolute;
    top: -20px;
    left: 50%;
    object-fit: cover;
    object-position: top center;
    opacity: .5;
    filter: saturate(.82);
    transform: translateX(-50%);
}

.client-birthday-modal-image-balloons {
    width: 118px;
    height: auto;
    position: absolute;
    bottom: -48px;
    opacity: .38;
    filter: saturate(.75) drop-shadow(0 14px 22px rgba(64, 43, 38, .1));
    animation: auriaBirthdayModalImageFloat 5.8s ease-in-out infinite;
}

.client-birthday-modal-image-balloons-left {
    left: -25px;
}

.client-birthday-modal-image-balloons-right {
    right: -28px;
    transform: scaleX(-1);
    animation-delay: -2.8s;
}

.client-birthday-hero-party {
    position: absolute !important;
    inset: 0;
    z-index: 0 !important;
    overflow: hidden;
    pointer-events: none;
}

.client-birthday-hero-garland {
    position: absolute;
    top: -68px;
    left: 50%;
    width: 112%;
    height: clamp(108px, 10vw, 150px);
    object-fit: cover;
    object-position: top center;
    opacity: .34;
    filter: saturate(.78) brightness(1.06);
    transform: translateX(-50%);
}

.client-birthday-hero-balloons {
    position: absolute;
    bottom: -54px;
    width: clamp(92px, 8vw, 126px);
    height: auto;
    opacity: .2;
    filter: saturate(.76) drop-shadow(0 12px 20px rgba(64, 43, 38, .08));
    animation: auriaBirthdayModalImageFloat 6.4s ease-in-out infinite;
}

.client-birthday-hero-balloons.is-left {
    left: -22px;
}

.client-birthday-hero-balloons.is-right {
    right: -24px;
    transform: scaleX(-1);
    animation-delay: -3.2s;
}

.client-account-hero.is-birthday > :not(.client-birthday-hero-party) {
    z-index: 2;
}

@keyframes auriaBirthdayModalImageFloat {
    0%, 100% { translate: 0 5px; }
    50% { translate: 0 -8px; }
}

.client-birthday-modal-dialog h2 {
    max-width: calc(100% - 16px);
    margin: 14px 0 2px;
    font-size: clamp(25px, 3.3vw, 38px);
    line-height: 1.08;
    white-space: nowrap;
}

.client-birthday-modal-balloon {
    position: absolute;
    width: 42px;
    height: 56px;
    border-radius: 50% 50% 46% 46%;
    background:
        radial-gradient(circle at 32% 24%, rgba(255, 255, 255, .92), transparent 24%),
        linear-gradient(145deg, rgba(255, 229, 224, .95), rgba(199, 119, 112, .7));
    box-shadow: 0 18px 36px rgba(82, 55, 46, .12);
    animation: auriaBirthdayBalloon 7.2s ease-in-out infinite;
}

.client-birthday-modal-balloon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    width: 1px;
    height: 50px;
    background: linear-gradient(rgba(199, 119, 112, .38), transparent);
    transform: translateX(-50%);
}

.client-birthday-modal-balloon:nth-child(1) {
    left: 34px;
    bottom: -28px;
}

.client-birthday-modal-balloon:nth-child(2) {
    right: 54px;
    top: 76px;
    width: 34px;
    height: 46px;
    animation-delay: -2.2s;
}

.client-birthday-modal-balloon:nth-child(3) {
    right: 22px;
    bottom: 34px;
    width: 28px;
    height: 38px;
    background:
        radial-gradient(circle at 32% 24%, rgba(255, 255, 255, .92), transparent 24%),
        linear-gradient(145deg, rgba(255, 246, 238, .98), rgba(229, 190, 181, .78));
    animation-delay: -4s;
}

.client-birthday-modal-confetti {
    position: absolute;
    width: 7px;
    height: 11px;
    border-radius: 999px;
    background: rgba(199, 119, 112, .44);
    animation: auriaBirthdayConfetti 5.6s ease-in-out infinite;
}

.client-birthday-modal-confetti:nth-child(4) {
    left: 22%;
    top: 20%;
}

.client-birthday-modal-confetti:nth-child(5) {
    left: 35%;
    bottom: 20%;
    width: 5px;
    height: 5px;
    animation-delay: -1.4s;
}

.client-birthday-modal-confetti:nth-child(6) {
    right: 28%;
    top: 18%;
    animation-delay: -2.6s;
}

.client-birthday-modal-confetti:nth-child(7) {
    right: 18%;
    bottom: 22%;
    background: rgba(255, 255, 255, .86);
    animation-delay: -3.4s;
}

.client-birthday-modal-confetti:nth-child(8) {
    left: 14%;
    bottom: 38%;
    width: 5px;
    height: 5px;
    animation-delay: -4.2s;
}

body.client-birthday-modal-open {
    overflow: hidden;
}

@keyframes auriaBirthdayFloat {
    0%,
    100% {
        opacity: .28;
        transform: translateY(0) scale(.82);
    }

    45% {
        opacity: .85;
        transform: translateY(-14px) scale(1.08);
    }
}

@keyframes auriaBirthdayBalloon {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(-3deg);
    }

    42% {
        transform: translate3d(8px, -22px, 0) rotate(4deg);
    }

    72% {
        transform: translate3d(-6px, -12px, 0) rotate(-2deg);
    }
}

@keyframes auriaBirthdayConfetti {
    0%,
    100% {
        opacity: .24;
        transform: translate3d(0, 0, 0) rotate(0deg);
    }

    50% {
        opacity: .82;
        transform: translate3d(10px, 18px, 0) rotate(26deg);
    }
}

@keyframes auriaBirthdayCardIn {
    0% {
        opacity: 0;
        transform: translateY(12px) scale(.96);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes auriaBirthdayProfileIn {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.client-account-hero-profile {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.4vw, 28px);
    min-width: 0;
}

.client-account-hero.is-birthday .client-account-hero-profile {
    animation: auriaBirthdayProfileIn .68s ease both;
}

.client-account-hero .client-account-avatar {
    width: clamp(74px, 7vw, 98px);
    height: clamp(74px, 7vw, 98px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid rgba(199, 119, 112, .26);
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 22%, rgba(255, 255, 255, .92), transparent 42%),
        linear-gradient(145deg, rgba(253, 238, 235, .9), rgba(255, 255, 255, .74));
    box-shadow:
        0 18px 38px rgba(82, 55, 46, .1),
        inset 0 1px 0 rgba(255, 255, 255, .9);
    line-height: 0;
    overflow: hidden;
}

.client-account-avatar-button {
    padding: 0;
    cursor: pointer;
    transition:
        transform .24s ease,
        box-shadow .24s ease,
        border-color .24s ease;
}

.client-account-avatar-button:hover {
    border-color: rgba(199, 119, 112, .5);
    box-shadow:
        0 24px 48px rgba(82, 55, 46, .15),
        inset 0 1px 0 rgba(255, 255, 255, .9);
    transform: translateY(-2px) scale(1.02);
}

.client-account-avatar-button:focus-visible {
    outline: 3px solid rgba(199, 119, 112, .26);
    outline-offset: 4px;
}

.client-account-hero .client-account-avatar svg {
    width: clamp(32px, 3.2vw, 42px);
    height: clamp(32px, 3.2vw, 42px);
    display: block;
    flex: 0 0 auto;
    stroke: var(--color-primary);
    stroke-width: 1.7;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.client-account-hero .client-account-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.client-profile-viewer {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: clamp(18px, 4vw, 48px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}

.client-profile-viewer.is-open {
    opacity: 1;
    pointer-events: auto;
}

.client-profile-viewer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(47, 37, 33, .5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.client-profile-viewer-dialog {
    width: min(92vw, 620px);
    max-height: min(84vh, 680px);
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    padding: clamp(20px, 4vw, 34px);
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 30px;
    background:
        radial-gradient(circle at top, rgba(253, 238, 235, .52), transparent 48%),
        rgba(255, 255, 255, .84);
    box-shadow: 0 36px 110px rgba(32, 22, 18, .26);
    transform: translateY(16px) scale(.98);
    transition: transform .28s cubic-bezier(.2, .9, .24, 1.18);
}

.client-profile-viewer.is-open .client-profile-viewer-dialog {
    transform: translateY(0) scale(1);
}

.client-profile-viewer-dialog img {
    width: min(100%, 480px);
    max-height: min(70vh, 520px);
    display: block;
    border-radius: 24px;
    object-fit: contain;
    box-shadow: 0 24px 60px rgba(82, 55, 46, .14);
}

.client-profile-viewer-close {
    width: 42px;
    height: 42px;
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(199, 119, 112, .18);
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--color-primary);
    cursor: pointer;
    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.client-profile-viewer-close:hover {
    background: #fff;
    box-shadow: 0 14px 26px rgba(82, 55, 46, .12);
    transform: translateY(-1px);
}

.client-profile-viewer-close svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 1.9;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.client-profile-viewer-open {
    overflow: hidden;
}

.client-account-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.client-account-hero-actions a {
    gap: 9px;
    position: relative;
    overflow: hidden;
    transition:
        transform .26s ease,
        box-shadow .26s ease,
        background .26s ease,
        color .26s ease,
        border-color .26s ease;
}

.client-account-hero-actions a::before {
    content: '';
    position: absolute;
    inset: -45% auto -45% -70%;
    width: 52%;
    transform: rotate(18deg);
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, .46),
        transparent
    );
    opacity: 0;
    transition:
        left .52s ease,
        opacity .24s ease;
    pointer-events: none;
}

.client-account-hero-actions a:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(199, 119, 112, .16);
}

.client-account-hero-actions a:hover::before {
    left: 118%;
    opacity: 1;
}

.client-account-hero-actions svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.client-account-hero-actions .client-account-ghost {
    background: rgba(255, 255, 255, .76);
    color: var(--color-primary);
}

.client-account-hero-actions .client-account-ghost:hover {
    background: rgba(255, 255, 255, .96);
    border-color: rgba(199, 119, 112, .62);
}

.client-account-messages {
    margin: 0 auto 24px;
    padding: 16px 20px;
}

.client-account-messages p {
    margin: 0;
    color: #6f8a58;
    font-weight: 600;
}

.client-private-notices {
    display: grid;
    width: min(100%, 1120px);
    margin: 0 auto 24px;
    gap: 12px;
}

.client-private-notice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(199, 119, 112, .2);
    border-radius: 8px;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 16px 38px rgba(82, 55, 46, .07);
}

.client-private-notice > span {
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(199, 119, 112, .12);
    color: #b35f59;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.client-private-notice.is-reminder > span {
    background: rgba(116, 143, 94, .13);
    color: #617a4e;
}

.client-private-notice h2,
.client-private-notice p {
    margin: 0;
}

.client-private-notice h2 {
    color: #332c28;
    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 500;
}

.client-private-notice p {
    margin-top: 4px;
    color: #796a63;
    font-size: 13px;
    line-height: 1.55;
}

.client-private-notice .client-private-notice-benefit {
    display: block;
    margin-top: 7px;
    color: #a65651;
    font-size: 11px;
    font-weight: 700;
}

.client-private-notice code {
    padding: 8px 10px;
    border: 1px dashed rgba(199, 119, 112, .42);
    border-radius: 6px;
    color: #a65651;
    font-size: 11px;
    font-weight: 800;
}

.client-private-notice a {
    display: inline-grid;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid #c97770;
    border-radius: 6px;
    background: #c97770;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
    place-items: center;
}

.client-promotion-modal {
    position: fixed;
    inset: 0;
    z-index: 1450;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
}

.client-promotion-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.client-promotion-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(45, 36, 32, .34);
    backdrop-filter: blur(12px);
}

.client-promotion-modal-dialog {
    width: min(100%, 620px);
    max-height: calc(100vh - 40px);
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 13px;
    overflow-y: auto;
    padding: 42px 46px 36px;
    border: 1px solid rgba(199, 119, 112, .22);
    border-radius: 24px;
    background:
        radial-gradient(circle at 12% 8%, rgba(249, 223, 218, .7), transparent 34%),
        radial-gradient(circle at 92% 4%, rgba(255, 255, 255, .96), transparent 31%),
        #fffaf8;
    box-shadow: 0 34px 100px rgba(52, 39, 34, .24);
    text-align: center;
    transform: translateY(18px) scale(.96);
    transition: transform .34s cubic-bezier(.2, .9, .25, 1.12);
}

.client-promotion-modal.is-open .client-promotion-modal-dialog {
    transform: translateY(0) scale(1);
}

.client-promotion-modal-close {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    border: 1px solid rgba(199, 119, 112, .2);
    border-radius: 12px;
    background: rgba(255, 255, 255, .78);
    color: var(--color-primary);
    cursor: pointer;
    place-items: center;
}

.client-promotion-modal-close svg,
.client-promotion-modal-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.client-promotion-modal-close svg {
    width: 17px;
    height: 17px;
    stroke-width: 1.9;
}

.client-promotion-modal-icon {
    width: 66px;
    height: 66px;
    display: grid;
    border-radius: 20px;
    background: rgba(249, 225, 221, .9);
    color: var(--color-primary);
    place-items: center;
}

.client-promotion-modal-icon svg {
    width: 31px;
    height: 31px;
    stroke-width: 1.65;
}

.client-promotion-modal-kicker {
    color: var(--color-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.client-promotion-modal-dialog h2,
.client-promotion-modal-dialog p {
    margin: 0;
}

.client-promotion-modal-dialog h2 {
    max-width: 500px;
    color: #2f2825;
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 500;
    line-height: 1.04;
}

.client-promotion-modal-dialog > p {
    max-width: 500px;
    color: #76645e;
    font-size: 14px;
    line-height: 1.65;
}

.client-promotion-modal-benefit {
    color: #a95853;
    font-size: 13px;
}

.client-promotion-modal-code {
    min-width: 220px;
    display: grid;
    gap: 6px;
    padding: 12px 18px;
    border: 1px dashed rgba(199, 119, 112, .46);
    border-radius: 8px;
    background: rgba(255, 255, 255, .7);
}

.client-promotion-modal-code span {
    color: #8f7b74;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.client-promotion-modal-code code {
    color: #a6534e;
    font-family: inherit;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .08em;
}

.client-promotion-modal-expiry {
    color: #8a7871;
    font-size: 11px;
}

.client-promotion-modal-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 6px;
}

.client-promotion-modal-actions button,
.client-promotion-modal-actions a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(199, 119, 112, .3);
    border-radius: 8px;
    background: rgba(255, 255, 255, .8);
    color: var(--color-primary);
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.client-promotion-modal-actions a,
.client-promotion-modal-actions .is-primary {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
}

body.client-promotion-modal-open {
    overflow: hidden;
}

@media (max-width: 720px) {
    .client-private-notice {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .client-private-notice > span,
    .client-private-notice code,
    .client-private-notice a {
        justify-self: start;
    }

    .client-promotion-modal-dialog {
        padding: 38px 22px 24px;
    }

    .client-promotion-modal-dialog h2 {
        font-size: 31px;
    }

    .client-promotion-modal-actions {
        grid-template-columns: 1fr;
    }
}

.client-account-shell {
    width: min(100%, 1120px);
    margin: 0 auto;
}

.client-account-tabs {
    margin-bottom: 26px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    overflow-x: auto;
    border: 1px solid rgba(199, 119, 112, .15);
    border-radius: 22px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 18px 50px rgba(82, 55, 46, .07);
    scrollbar-width: none;
}

.client-account-tabs::-webkit-scrollbar {
    display: none;
}

.client-account-tabs button {
    min-height: 46px;
    flex: 0 0 auto;
    border: 1px solid rgba(199, 119, 112, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .62);
    color: #75645f;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 0 22px;
    text-transform: uppercase;
    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.client-account-tabs button.active {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 12px 26px rgba(199, 119, 112, .18);
}

.client-account-panel {
    display: none;
}

.client-account-panel.active {
    display: block;
}

.client-account-panel.is-leaving {
    animation: clientAccountPanelOut .13s ease both;
    pointer-events: none;
}

.client-account-panel.is-entering {
    animation: clientAccountPanelIn .24s cubic-bezier(.22, .8, .3, 1) both;
}

.client-account-overview,
.client-account-grid {
    width: min(100%, 1120px);
    margin: 0 auto;
    display: grid;
}

.client-account-overview {
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
    gap: 20px;
    margin-bottom: 20px;
}

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

.client-section-list + .client-section-list {
    margin-top: 30px;
}

.client-section-list h2 {
    margin: 0 0 12px;
    color: #2f2925;
    font-size: 18px;
    font-weight: 700;
}

.client-account-card {
    padding: 26px;
}

.client-account-card h2 {
    margin-top: 14px;
    color: #2f2925;
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 500;
    line-height: 1;
}

.client-profile-card dl {
    margin-top: 22px;
    display: grid;
    gap: 12px;
}

.client-profile-card dl div,
.client-account-row,
.client-feature-row {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.client-profile-card dt,
.client-account-row small,
.client-feature-row small {
    color: #8b7770;
    font-size: 12px;
    line-height: 1.55;
}

.client-profile-card dd,
.client-account-row strong,
.client-feature-row strong {
    margin: 4px 0 0;
    color: #2f2925;
    font-size: 14px;
    font-weight: 700;
}

.client-account-row,
.client-feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.client-account-row > div,
.client-feature-row > div {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.client-account-row strong,
.client-feature-row strong,
.client-account-row small,
.client-feature-row small {
    overflow-wrap: anywhere;
}

.client-row-side {
    flex: 0 0 auto;
    display: grid;
    justify-items: end;
    gap: 8px;
    text-align: right;
}

.client-records-card {
    padding: 30px 32px 32px;
}

.client-panel-head {
    align-items: flex-end;
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(82, 55, 46, .08);
}

.client-panel-title,
.client-profile-title {
    min-width: 0;
}

.client-panel-title span,
.client-profile-title span {
    display: block;
    margin-bottom: 8px;
    color: var(--color-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.client-account-card .client-panel-title h2,
.client-account-card .client-profile-title h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.08;
}

.client-section-list {
    padding: 20px;
    border: 1px solid rgba(199, 119, 112, .14);
    border-radius: 8px;
    background: rgba(253, 248, 246, .58);
}

.client-section-list + .client-section-list {
    margin-top: 18px;
}

.client-section-heading {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    list-style: none;
}

.client-section-heading::-webkit-details-marker {
    display: none;
}

.client-section-list[open] .client-section-heading {
    margin-bottom: 10px;
}

.client-section-heading-title {
    color: #2f2925;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.1;
}

.client-section-heading-side {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.client-section-heading .client-section-count {
    min-width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(199, 119, 112, .12);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 800;
}

.client-section-heading-side svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .22s ease;
}

.client-section-list[open] .client-section-heading-side svg {
    transform: rotate(180deg);
}

.client-record-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 82px;
    padding: 14px 0;
}

.client-record-row + .client-record-row {
    border-top: 1px solid rgba(82, 55, 46, .07);
}

.client-section-list .client-record-row:last-child,
.client-records-card > .client-record-row:last-child {
    border-bottom: 0;
}

.client-record-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(199, 119, 112, .2);
    border-radius: 50%;
    background: rgba(253, 238, 235, .58);
    color: var(--color-primary);
}

.client-record-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.client-record-content {
    align-content: center;
}

.client-record-title-line {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.client-record-title-line .client-status-pill {
    min-height: 24px;
    padding: 0 10px;
}

.client-record-row .client-row-side {
    min-width: 150px;
}

.client-records-card > .client-account-empty,
.client-section-list > .client-account-empty {
    margin: 8px 0 0;
    padding: 18px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .7);
    text-align: center;
}

.client-profile-head {
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(82, 55, 46, .08);
}

.client-profile-details,
.client-profile-card dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
    margin: 0;
}

.client-profile-card .client-profile-detail {
    min-width: 0;
    padding: 17px 0;
    border-bottom: 1px solid rgba(82, 55, 46, .08);
}

.client-profile-card .client-profile-detail dt {
    margin-bottom: 6px;
    color: #9a7b73;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.client-profile-card .client-profile-detail dd {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.client-profile-card-full {
    padding: 32px;
}

.client-status-pill {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(232, 218, 212, .72);
    color: #736660;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.client-status-pill[data-status="confirmed"],
.client-status-pill[data-status="paid"],
.client-status-pill[data-status="approved"],
.client-status-pill[data-status="completed"],
.client-status-pill[data-status="delivered"] {
    background: rgba(218, 235, 207, .88);
    color: #587545;
}

.client-status-pill[data-status="pending"],
.client-status-pill[data-status="draft"],
.client-status-pill[data-status="redirected"],
.client-status-pill[data-status="processing"],
.client-status-pill[data-status="shipped"] {
    background: rgba(249, 228, 214, .88);
    color: #9a6048;
}

.client-status-pill[data-status="cancelled"],
.client-status-pill[data-status="rejected"],
.client-status-pill[data-status="expired"],
.client-status-pill[data-status="error"],
.client-status-pill[data-status="no_show"] {
    background: rgba(247, 218, 218, .88);
    color: #a84d4d;
}

.client-detail-link {
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.client-payment-action {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(199, 119, 112, .24);
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    padding: 0 14px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(199, 119, 112, .18);
}

.client-payment-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(199, 119, 112, .24);
}

.client-detail-shell {
    width: min(100%, 1120px);
    margin: 0 auto;
}

.client-back-link,
.client-detail-action {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(199, 119, 112, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 0 18px;
    text-decoration: none;
    text-transform: uppercase;
}

.client-detail-hero {
    margin-top: 18px;
    margin-bottom: 20px;
    padding: clamp(28px, 5vw, 52px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid rgba(199, 119, 112, .15);
    border-radius: 24px;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 24px 70px rgba(82, 55, 46, .09);
}

.client-detail-hero-premium {
    overflow: hidden;
    position: relative;
}

.client-detail-hero-premium::after {
    content: "";
    width: 220px;
    height: 220px;
    position: absolute;
    right: -80px;
    bottom: -120px;
    border-radius: 50%;
    background: rgba(253, 238, 235, .82);
    pointer-events: none;
}

.client-detail-hero-premium > * {
    position: relative;
    z-index: 1;
}

.client-detail-hero-side {
    display: grid;
    justify-items: end;
    gap: 10px;
    text-align: right;
}

.client-detail-hero-side small {
    color: #8b7770;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.client-detail-hero span:first-child,
.client-detail-list dt {
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.client-detail-hero h1 {
    margin-top: 12px;
    color: #2f2925;
    font-family: var(--font-display);
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 500;
    line-height: .98;
}

.client-detail-hero p {
    margin-top: 10px;
    color: #75645f;
    font-size: 15px;
}

.client-detail-summary {
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.client-detail-summary article {
    min-height: 92px;
    padding: 18px;
    display: grid;
    align-content: center;
    border: 1px solid rgba(199, 119, 112, .14);
    border-radius: 20px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 18px 46px rgba(82, 55, 46, .07);
}

.client-detail-summary span {
    color: var(--color-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.client-detail-summary strong {
    margin-top: 8px;
    overflow-wrap: anywhere;
    color: #2f2925;
    font-size: 17px;
}

.client-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.client-detail-wide {
    grid-column: 1 / -1;
}

.client-detail-card-soft {
    background:
        radial-gradient(circle at top right, rgba(253, 238, 235, .38), transparent 34%),
        rgba(255, 255, 255, .82);
}

.client-detail-item {
    min-height: 68px;
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.client-detail-item:last-child {
    border-bottom: 0;
}

.client-detail-item > div {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.client-detail-item strong {
    overflow-wrap: anywhere;
    color: #2f2925;
    font-size: 14px;
}

.client-detail-item small {
    color: #8b7770;
    font-size: 12px;
    line-height: 1.6;
}

.client-detail-note {
    margin: 0;
    padding: 18px;
    border: 1px solid rgba(199, 119, 112, .12);
    border-radius: 18px;
    background: rgba(253, 238, 235, .36);
    color: #75645f;
    line-height: 1.7;
}

.client-detail-list {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.client-detail-list div {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.client-detail-list dd {
    margin: 5px 0 0;
    color: #2f2925;
    font-weight: 700;
}

.client-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.client-card-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.client-profile-head {
    justify-content: flex-end;
    margin-bottom: 6px;
}

.client-icon-actions a {
    width: 42px;
    min-height: 42px;
    padding: 0;
    border-color: rgba(199, 119, 112, .2);
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 10px 24px rgba(82, 55, 46, .06);
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        background .22s ease,
        border-color .22s ease;
}

.client-icon-actions a:hover {
    border-color: rgba(199, 119, 112, .42);
    background: rgba(253, 238, 235, .72);
    box-shadow: 0 16px 30px rgba(82, 55, 46, .1);
    transform: translateY(-2px);
}

.client-icon-actions svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.client-security-form {
    max-width: 680px;
}

.client-access-card .client-edit-heading h1 {
    font-size: clamp(34px, 4.5vw, 50px);
    line-height: 1;
}

.client-form-help {
    color: #8b7770;
}

@keyframes clientAccountPanelIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes clientAccountPanelOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-4px);
    }
}

@keyframes clientAuthBounce {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes clientTransitionPulse {
    0%,
    100% {
        opacity: .32;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-5px);
    }
}

@keyframes clientErrorBounce {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.client-card-head.client-panel-head {
    margin-bottom: 24px;
}

.client-card-head.client-profile-head {
    justify-content: space-between;
    margin-bottom: 22px;
}

@media (max-width: 820px) {
    .client-account-page {
        padding-top: 190px;
    }

    .client-auth-grid,
    .client-account-overview,
    .client-account-grid {
        grid-template-columns: 1fr;
    }

    .client-account-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .client-birthday-card {
        width: 100%;
    }

    .client-birthday-balloon:nth-child(3),
    .client-birthday-balloon:nth-child(4) {
        opacity: .42;
    }

    .client-account-hero-profile {
        align-items: flex-start;
    }

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

    .client-detail-grid {
        grid-template-columns: 1fr;
    }

    .client-onboarding-grid {
        grid-template-columns: 1fr;
    }

    .client-detail-hero {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    body:has(.client-account-page) .hair-assistant-widget {
        display: none;
    }

    .client-account-page {
        padding-left: 14px;
        padding-right: 14px;
    }

    .client-auth-card,
    .client-account-card,
    .client-account-hero,
    .client-account-tabs {
        border-radius: 20px;
        padding: 24px;
    }

    .client-account-hero {
        align-items: stretch;
        gap: 22px;
        padding: 24px 22px;
    }

    .client-account-hero-profile {
        align-items: center;
        gap: 16px;
    }

    .client-account-hero .client-account-avatar {
        width: 76px;
        height: 76px;
    }

    .client-account-hero h1 {
        margin: 0;
        font-size: 34px;
        line-height: 1;
    }

    .client-account-hero-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 10px;
    }

    .client-account-hero-actions a {
        width: 100%;
        min-width: 0;
        min-height: 46px;
        gap: 7px;
        padding: 0 8px;
        font-size: 10px;
        letter-spacing: .08em;
        white-space: nowrap;
    }

    .client-account-hero-actions svg {
        width: 15px;
        height: 15px;
    }

    .client-email-verify-card {
        padding: 34px 20px;
    }

    .client-auth-card.client-password-reset-done-card h1 {
        font-size: 34px;
    }

    .client-password-reset-complete-card h1 {
        font-size: 38px;
        line-height: 1.05;
    }

    .client-email-verify-card .client-login-heading {
        margin-bottom: 30px;
    }

    .client-otp-heading {
        gap: 14px;
    }

    .client-auth-message-list,
    .client-email-verify-card .client-otp-form {
        margin-top: 34px;
    }

    .client-otp-heading h1 {
        font-size: 32px;
    }

    .client-email-verify-card .client-otp-form {
        gap: 24px;
    }

    .client-otp-form .client-auth-field {
        gap: 14px;
    }

    .client-otp-resend-form {
        margin-top: 16px;
    }

    .client-account-tabs {
        justify-content: flex-start;
        padding: 14px;
    }

    .client-auth-footer,
    .client-card-head,
    .client-locked-field {
        align-items: stretch;
        flex-direction: column;
    }

    .client-locked-actions {
        width: 100%;
        flex-direction: column;
    }

    .client-account-row,
    .client-feature-row,
    .client-detail-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .client-account-hero-profile {
        width: 100%;
    }

    .client-birthday-card {
        grid-template-columns: 1fr;
        justify-items: start;
        padding: 16px;
    }

    .client-birthday-balloon {
        opacity: .38;
    }

    .client-birthday-modal {
        padding: 16px;
    }

    .client-birthday-modal-dialog {
        border-radius: 26px;
        padding: 52px 22px 30px;
    }

    .client-birthday-modal-close {
        inset: 14px 14px auto auto !important;
    }

    .client-birthday-modal-dialog h2 {
        font-size: clamp(30px, 11vw, 40px);
    }

    .client-detail-summary {
        grid-template-columns: 1fr;
    }

    .client-detail-hero h1 {
        font-size: 34px;
        line-height: 1;
    }

    .client-detail-hero-side {
        justify-items: start;
        text-align: left;
    }

    .client-row-side {
        width: 100%;
        justify-items: start;
        text-align: left;
    }

    .client-detail-link {
        white-space: normal;
    }

    .client-payment-action {
        width: 100%;
    }

    .client-card-actions {
        justify-content: stretch;
    }

    .client-card-actions a,
    .client-locked-field a {
        width: 100%;
    }

    .client-upload-control {
        align-items: stretch;
        flex-direction: column;
        padding: 10px;
    }

    .client-profile-photo-editor {
        grid-template-columns: 1fr;
    }

    .client-upload-button {
        width: 100%;
    }

    .client-upload-name {
        width: 100%;
        text-align: center;
    }

    .client-otp-input {
        font-size: 20px !important;
        letter-spacing: .22em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .client-account-panel.is-leaving,
    .client-account-panel.is-entering {
        animation: none;
    }

    .client-birthday-balloon,
    .client-birthday-confetti,
    .client-birthday-sparkles span,
    .client-birthday-card,
    .client-birthday-modal-dialog,
    .client-birthday-modal-confetti,
    .client-birthday-modal-balloon,
    .client-birthday-floating-balloons,
    .client-birthday-modal-image-balloons,
    .client-birthday-hero-balloons,
    .client-account-hero.is-birthday .client-account-hero-profile {
        animation: none;
    }

    .client-birthday-floating-balloons {
        display: none;
    }
}

@media (max-width: 720px) {
    .client-birthday-floating-balloons {
        width: clamp(66px, 18vw, 92px);
    }

    .client-birthday-floating-balloons-2,
    .client-birthday-floating-balloons-5 {
        display: none;
    }

    .client-birthday-floating-balloons-3 {
        left: 4%;
    }

    .client-birthday-floating-balloons-6 {
        right: 4%;
    }

    .client-birthday-modal-dialog h2 {
        max-width: 100%;
        font-size: clamp(21px, 7vw, 30px);
        white-space: nowrap;
    }

    .client-birthday-modal-garland {
        width: 150%;
        height: 132px;
        opacity: .42;
    }

    .client-birthday-modal-image-balloons {
        width: 88px;
        opacity: .28;
    }

    .client-birthday-hero-garland {
        top: -48px;
        width: 150%;
        height: 118px;
        opacity: .3;
    }

    .client-birthday-hero-balloons {
        bottom: -38px;
        width: 82px;
        opacity: .16;
    }
}

@media (max-width: 820px) {
    .client-records-card,
    .client-profile-card-full {
        padding: 26px;
    }

    .client-record-row {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .client-record-row .client-row-side,
    .client-record-row > .client-detail-link {
        grid-column: 2;
        min-width: 0;
        width: 100%;
        justify-items: start;
        text-align: left;
    }

    .client-record-row .client-row-side {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 520px) {
    .client-records-card,
    .client-profile-card-full {
        padding: 22px 18px;
    }

    .client-panel-head {
        align-items: stretch;
        gap: 18px;
        margin-bottom: 18px;
        padding-bottom: 18px;
    }

    .client-panel-head > a {
        width: 100%;
    }

    .client-account-card .client-panel-title h2,
    .client-account-card .client-profile-title h2 {
        font-size: 27px;
    }

    .client-section-list {
        padding: 16px;
    }

    .client-section-heading-title {
        font-size: 22px;
    }

    .client-record-row {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 12px;
        min-height: 0;
        padding: 16px 0;
    }

    .client-record-icon {
        width: 40px;
        height: 40px;
    }

    .client-record-row .client-row-side,
    .client-record-row > .client-detail-link {
        grid-column: 1 / -1;
        padding-left: 52px;
    }

    .client-record-row .client-payment-action {
        width: auto;
    }

    .client-profile-head {
        align-items: flex-start;
        flex-direction: row;
        gap: 14px;
    }

    .client-profile-head .client-card-actions {
        width: auto;
        flex: 0 0 auto;
        display: flex;
        justify-content: flex-end;
    }

    .client-profile-head .client-icon-actions a {
        width: 40px;
        min-height: 40px;
    }

    .client-profile-details,
    .client-profile-card dl {
        grid-template-columns: 1fr;
    }
}
