.clientsphere-page {
    --client-bg: #f6f8fc;
    --client-card: #fff;
    --client-line: #dde5ef;
    --client-soft-line: #edf1f6;
    --client-text: #172033;
    --client-muted: #728197;
    --client-faint: #9aa8bb;
    --client-primary: #5947e8;
    --client-primary-dark: #4635d3;
    --client-primary-soft: #eef0ff;
    --client-blue: #2563eb;
    --client-blue-soft: #eaf2ff;
    --client-violet: #7c3aed;
    --client-violet-soft: #f1eaff;
    --client-amber: #d97706;
    --client-amber-soft: #fff4d7;
    --client-teal: #0f9f90;
    --client-teal-soft: #dffaf5;
    --client-slate: #64748b;
    --client-slate-soft: #edf2f7;
    color: var(--client-text);
    display: grid;
    gap: 1.45rem;
}

/* Client profile */
.clientsphere-profile {
    gap: 1.1rem;
    padding-bottom: 1rem;
}

.clientsphere-profile-header,
.clientsphere-profile-kpis article,
.clientsphere-profile-identity,
.clientsphere-profile-titleline,
.clientsphere-profile-meta,
.clientsphere-profile-actions,
.clientsphere-profile-card > header,
.clientsphere-profile-card > header > div,
.clientsphere-profile-contact-name,
.clientsphere-profile-row-actions,
.clientsphere-principal-heading,
.clientsphere-principal-links a,
.clientsphere-profile-quick a,
.clientsphere-profile-activity a,
.clientsphere-profile-activity > div > span,
.clientsphere-profile-list a,
.clientsphere-profile-timeline > div {
    align-items: center;
    display: flex;
}

.clientsphere-profile-header {
    background: var(--client-card);
    border: 1px solid var(--client-line);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .04);
    justify-content: space-between;
    min-height: 96px;
    padding: 1.2rem;
}

.clientsphere-profile-identity {
    gap: 1rem;
    min-width: 0;
}

.clientsphere-profile-logo {
    align-items: center;
    background: linear-gradient(145deg, #3b82f6, #1d4ed8);
    border-radius: 11px;
    box-shadow: 0 5px 12px rgba(37, 99, 235, .24);
    color: #fff;
    display: flex;
    flex: 0 0 58px;
    font-size: 1.3rem;
    font-weight: 900;
    height: 58px;
    justify-content: center;
    overflow: hidden;
    width: 58px;
}

.clientsphere-profile-logo img {
    background: #fff;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    width: 100%;
}

.clientsphere-profile-titleline {
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: .45rem;
}

.clientsphere-profile-badge {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: .7rem;
    font-weight: 900;
    gap: .35rem;
    padding: .28rem .62rem;
}

.clientsphere-profile-badge.is-type {
    background: var(--client-blue-soft);
    color: var(--client-blue);
}

.clientsphere-profile-badge.is-active {
    background: #dcfce7;
    color: #079669;
}

.clientsphere-profile-badge.is-inactive {
    background: var(--client-slate-soft);
    color: var(--client-slate);
}

.clientsphere-profile-badge i,
.clientsphere-contact-status i {
    background: currentColor;
    border-radius: 50%;
    height: 6px;
    width: 6px;
}

.clientsphere-profile-meta {
    color: #748399;
    flex-wrap: wrap;
    font-size: .78rem;
    font-weight: 700;
    gap: .65rem 1rem;
}

.clientsphere-profile-meta span {
    align-items: center;
    display: inline-flex;
    gap: .3rem;
}

.clientsphere-profile-meta i {
    color: #9aa8ba;
}

.clientsphere-profile-actions {
    flex-wrap: wrap;
    gap: .55rem;
    justify-content: flex-end;
}

.clientsphere-profile-actions > form {
    margin: 0;
}

.clientsphere-profile-actions .clientsphere-btn {
    font-size: .84rem;
    min-height: 38px;
    padding: .5rem .85rem;
}

.clientsphere-profile-dropdown {
    position: relative;
}

.clientsphere-profile-actions-menu {
    background: #fff;
    border: 1px solid var(--client-line);
    border-radius: 10px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .14);
    min-width: 205px;
    padding: .4rem;
    position: absolute;
    right: 0;
    top: calc(100% + 7px);
    z-index: 30;
}

.clientsphere-profile-actions-menu a,
.clientsphere-profile-actions-menu button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 7px;
    color: #526176;
    display: flex;
    font-size: .8rem;
    font-weight: 700;
    gap: .55rem;
    padding: .62rem .7rem;
    text-align: left;
    text-decoration: none;
    width: 100%;
}

.clientsphere-profile-actions-menu a:hover,
.clientsphere-profile-actions-menu button:hover {
    background: #f6f8fb;
    color: var(--client-primary);
}

.clientsphere-profile-actions-menu form {
    border-top: 1px solid var(--client-soft-line);
    margin-top: .25rem;
    padding-top: .25rem;
}

.clientsphere-profile-actions-menu form button {
    color: #dc2626;
}

.clientsphere-profile-kpis {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.clientsphere-profile-kpis article {
    background: #fff;
    border: 1px solid var(--client-line);
    border-radius: 11px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .035);
    gap: .9rem;
    min-height: 80px;
    padding: 1rem;
}

.clientsphere-profile-kpis article > span {
    align-items: center;
    border-radius: 10px;
    display: inline-flex;
    flex: 0 0 42px;
    font-size: 1.05rem;
    height: 42px;
    justify-content: center;
}

.clientsphere-profile-kpis .is-brand { background: var(--client-primary-soft); color: var(--client-primary); }
.clientsphere-profile-kpis .is-teal { background: var(--client-teal-soft); color: var(--client-teal); }
.clientsphere-profile-kpis .is-amber { background: var(--client-amber-soft); color: var(--client-amber); }
.clientsphere-profile-kpis .is-slate { background: var(--client-slate-soft); color: var(--client-slate); }

.clientsphere-profile-kpis strong,
.clientsphere-profile-kpis small {
    display: block;
}

.clientsphere-profile-kpis strong {
    color: #111827;
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1.05;
}

.clientsphere-profile-kpis strong.is-date {
    font-size: .92rem;
}

.clientsphere-profile-kpis small {
    color: #748399;
    font-size: .76rem;
    font-weight: 700;
    margin-top: .2rem;
}

.clientsphere-profile-tabs {
    align-items: end;
    background: #fff;
    border-bottom: 1px solid var(--client-line);
    border-radius: 11px 11px 0 0;
    box-shadow: 0 2px 5px rgba(15, 23, 42, .03);
    display: flex;
    min-height: 54px;
    overflow-x: auto;
    padding: .45rem 1rem 0;
}

.clientsphere-profile-tabs button {
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    color: #66758c;
    font-size: .84rem;
    font-weight: 600;
    margin-bottom: -1px;
    padding: .8rem 1rem;
    white-space: nowrap;
}

.clientsphere-profile-tabs button.is-active {
    border-bottom-color: var(--client-primary);
    color: var(--client-primary);
}

.clientsphere-profile-layout {
    align-items: start;
    display: grid;
    gap: 1.2rem;
    grid-template-columns: minmax(0, 1fr) 280px;
}

.clientsphere-profile-main,
.clientsphere-profile-aside {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.clientsphere-profile-card {
    background: #fff;
    border: 1px solid var(--client-line);
    border-radius: 11px;
    box-shadow: 0 2px 5px rgba(15, 23, 42, .035);
    min-width: 0;
    overflow: hidden;
}

.clientsphere-profile-card > header {
    background: #fbfcfe;
    border-bottom: 1px solid var(--client-soft-line);
    gap: .5rem;
    justify-content: flex-start;
    min-height: 46px;
    padding: .75rem 1rem;
}

.clientsphere-profile-card > header i {
    color: var(--client-primary);
    font-size: .95rem;
}

.clientsphere-profile-card > header h2 {
    color: #3c4a5e;
    font-size: .88rem;
    font-weight: 800;
    letter-spacing: .035em;
    margin: 0;
    text-transform: uppercase;
}

.clientsphere-profile-details {
    display: grid;
    gap: 1.15rem 2.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 1.25rem;
}

.clientsphere-profile-details > div {
    min-width: 0;
}

.clientsphere-profile-details > div.is-full {
    grid-column: 1 / -1;
}

.clientsphere-profile-details small,
.clientsphere-profile-details strong,
.clientsphere-profile-details span,
.clientsphere-profile-details a {
    display: block;
}

.clientsphere-profile-details small {
    color: #93a3b8;
    font-size: .65rem;
    font-weight: 900;
    letter-spacing: .055em;
    margin-bottom: .35rem;
    text-transform: uppercase;
}

.clientsphere-profile-details strong,
.clientsphere-profile-details span,
.clientsphere-profile-details a {
    color: #334155;
    font-size: .85rem;
    font-weight: 700;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.clientsphere-profile-details strong {
    font-weight: 900;
}

.clientsphere-profile-details a {
    color: var(--client-primary);
}

.clientsphere-profile-details a.is-neutral {
    color: #526176;
}

.clientsphere-profile-details a i {
    margin-right: .25rem;
}

.clientsphere-profile-contacts-card > header {
    justify-content: space-between;
}

.clientsphere-profile-contacts-card > header > div {
    gap: .5rem;
}

.clientsphere-profile-contacts-card > header > div > span {
    background: #e9eef5;
    border-radius: 999px;
    color: #66758c;
    font-size: .64rem;
    font-weight: 900;
    padding: .15rem .42rem;
}

.clientsphere-profile-contacts-card > header button,
.clientsphere-profile-tab-card > header a,
.clientsphere-profile-notes-card > header a {
    background: transparent;
    border: 0;
    color: var(--client-primary);
    font-size: .72rem;
    font-weight: 900;
    margin-left: auto;
    text-decoration: none;
}

.clientsphere-profile-table-wrap {
    overflow-x: auto;
}

.clientsphere-profile-table {
    border-collapse: collapse;
    min-width: 900px;
    width: 100%;
}

.clientsphere-profile-table th {
    background: #fafbfd;
    color: #7c8ba0;
    font-size: .63rem;
    font-weight: 900;
    letter-spacing: .04em;
    padding: .7rem .85rem;
    text-align: left;
    text-transform: uppercase;
}

.clientsphere-profile-table td {
    border-top: 1px solid #f0f3f7;
    color: #59687c;
    font-size: .8rem;
    font-weight: 700;
    padding: .75rem .85rem;
    vertical-align: middle;
}

.clientsphere-profile-table td a {
    color: var(--client-primary);
    text-decoration: none;
}

.clientsphere-profile-contact-name {
    color: #334155;
    gap: .55rem;
    white-space: nowrap;
}

.clientsphere-contact-avatar {
    align-items: center;
    background: var(--client-primary-soft);
    border-radius: 50%;
    color: var(--client-primary);
    display: inline-flex;
    flex: 0 0 28px;
    font-size: .6rem;
    font-weight: 900;
    height: 28px;
    justify-content: center;
    overflow: visible;
    position: relative;
    text-transform: uppercase;
    width: 28px;
}

.clientsphere-contact-avatar img {
    border-radius: inherit;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.clientsphere-contact-avatar.is-large {
    border-radius: 10px;
    flex-basis: 48px;
    font-size: .85rem;
    height: 48px;
    width: 48px;
}

.clientsphere-contact-avatar.is-large > i {
    background: #34d399;
    border: 2px solid #fff;
    border-radius: 50%;
    bottom: -2px;
    height: 11px;
    position: absolute;
    right: -2px;
    width: 11px;
}

.clientsphere-contact-role,
.clientsphere-contact-status {
    align-items: center;
    background: #eef2f7;
    border-radius: 999px;
    color: #64748b;
    display: inline-flex;
    font-size: .62rem;
    font-weight: 900;
    gap: .28rem;
    padding: .25rem .5rem;
    white-space: nowrap;
}

.clientsphere-contact-role.is-principal {
    background: var(--client-primary-soft);
    color: var(--client-primary);
}

.clientsphere-contact-status.is-active {
    background: #dcfce7;
    color: #079669;
}

.clientsphere-contact-status.is-inactive {
    color: #7c8ba0;
}

.clientsphere-profile-row-actions {
    gap: .3rem;
}

.clientsphere-profile-row-actions a {
    background: #f0f3f7;
    border-radius: 5px;
    color: #64748b !important;
    font-size: .62rem;
    padding: .35rem .48rem;
}

.clientsphere-profile-row-actions a.is-view {
    background: var(--client-primary-soft);
    color: var(--client-primary) !important;
}

.clientsphere-principal-body {
    padding: 1rem;
}

.clientsphere-principal-heading {
    gap: .75rem;
    margin-bottom: 1rem;
}

.clientsphere-principal-heading strong,
.clientsphere-principal-heading small {
    display: block;
}

.clientsphere-principal-heading strong {
    color: #334155;
    font-size: .84rem;
    font-weight: 900;
}

.clientsphere-principal-heading small {
    color: #7c8ba0;
    font-size: .72rem;
    margin-top: .15rem;
}

.clientsphere-principal-links {
    display: grid;
    gap: .55rem;
    margin-bottom: 1rem;
}

.clientsphere-principal-links a {
    color: #59687c;
    font-size: .7rem;
    gap: .55rem;
    min-width: 0;
    text-decoration: none;
}

.clientsphere-principal-links a > i {
    align-items: center;
    background: #f0f3f7;
    border-radius: 6px;
    color: #91a0b4;
    display: inline-flex;
    flex: 0 0 25px;
    height: 25px;
    justify-content: center;
}

.clientsphere-principal-links a span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.clientsphere-profile-soft-button {
    align-items: center;
    background: var(--client-primary-soft);
    border: 1px solid #dde0ff;
    border-radius: 8px;
    color: var(--client-primary);
    display: flex;
    font-size: .72rem;
    font-weight: 900;
    gap: .4rem;
    justify-content: center;
    padding: .55rem;
    text-decoration: none;
}

.clientsphere-profile-notes-card > header {
    justify-content: space-between;
}

.clientsphere-profile-notes-card > header > div {
    gap: .5rem;
}

.clientsphere-profile-notes-card > div,
.clientsphere-profile-notes-pane > div {
    padding: 1rem;
}

.clientsphere-profile-notes-card p,
.clientsphere-profile-notes-pane p {
    background: #fff9e8;
    border: 1px solid #f7e5ad;
    border-radius: 8px;
    color: #4c596c;
    font-size: .72rem;
    line-height: 1.55;
    margin: 0;
    padding: .85rem;
}

.clientsphere-profile-notes-card p.is-empty {
    background: #f8fafc;
    border-color: var(--client-soft-line);
    color: #91a0b4;
}

.clientsphere-profile-quick > div {
    display: grid;
    gap: .5rem;
    padding: .75rem;
}

.clientsphere-profile-quick a {
    background: #f8fafc;
    border: 1px solid #f0f3f7;
    border-radius: 8px;
    color: #59687c;
    font-size: .7rem;
    font-weight: 800;
    gap: .6rem;
    padding: .55rem;
    text-decoration: none;
}

.clientsphere-profile-quick a > i {
    align-items: center;
    border-radius: 6px;
    display: inline-flex;
    flex: 0 0 26px;
    height: 26px;
    justify-content: center;
}

.clientsphere-profile-quick i.is-violet { background: var(--client-violet-soft); color: var(--client-violet); }
.clientsphere-profile-quick i.is-teal { background: var(--client-teal-soft); color: var(--client-teal); }
.clientsphere-profile-quick i.is-amber { background: var(--client-amber-soft); color: var(--client-amber); }

.clientsphere-profile-activity > div,
.clientsphere-profile-timeline {
    display: grid;
    gap: .75rem;
    padding: 1rem;
}

.clientsphere-profile-activity a,
.clientsphere-profile-activity > div > span,
.clientsphere-profile-timeline > div {
    color: #536176;
    gap: .6rem;
    text-decoration: none;
}

.clientsphere-profile-activity a > i,
.clientsphere-profile-activity > div > span > i,
.clientsphere-profile-timeline > div > i {
    align-items: center;
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 24px;
    font-size: .65rem;
    height: 24px;
    justify-content: center;
}

.clientsphere-profile-activity i.is-brand,
.clientsphere-profile-timeline i.is-brand { background: var(--client-primary-soft); color: var(--client-primary); }
.clientsphere-profile-activity i.is-teal,
.clientsphere-profile-timeline i.is-teal { background: var(--client-teal-soft); color: var(--client-teal); }
.clientsphere-profile-activity i.is-amber,
.clientsphere-profile-timeline i.is-amber { background: var(--client-amber-soft); color: var(--client-amber); }

.clientsphere-profile-activity strong,
.clientsphere-profile-activity small,
.clientsphere-profile-timeline strong,
.clientsphere-profile-timeline small {
    display: block;
}

.clientsphere-profile-activity strong,
.clientsphere-profile-timeline strong {
    font-size: .67rem;
    font-weight: 900;
}

.clientsphere-profile-activity small,
.clientsphere-profile-timeline small {
    color: #98a6b8;
    font-size: .61rem;
    margin-top: .12rem;
}

.clientsphere-profile-tab-card > header a {
    border: 1px solid #dde0ff;
    border-radius: 7px;
    padding: .4rem .65rem;
}

.clientsphere-profile-list {
    display: grid;
}

.clientsphere-profile-list a {
    border-top: 1px solid var(--client-soft-line);
    color: #4c5b70;
    gap: 1rem;
    padding: .9rem 1rem;
    text-decoration: none;
}

.clientsphere-profile-list a:first-child {
    border-top: 0;
}

.clientsphere-profile-list a > span {
    flex: 1;
}

.clientsphere-profile-list strong,
.clientsphere-profile-list small {
    display: block;
}

.clientsphere-profile-list strong {
    font-size: .82rem;
}

.clientsphere-profile-list small {
    color: #93a3b8;
    font-size: .68rem;
    margin-top: .15rem;
}

.clientsphere-profile-list em {
    background: #f0f3f7;
    border-radius: 999px;
    color: #64748b;
    font-size: .8rem;
    font-style: normal;
    font-weight: 800;
    padding: .3rem .55rem;
}

.clientsphere-profile-empty {
    align-items: center;
    color: #91a0b4;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    justify-content: center;
    min-height: 120px;
    padding: 1rem;
    text-align: center;
}

.clientsphere-profile-empty > i {
    font-size: 1.4rem;
}

.clientsphere-profile-empty p {
    font-size: .74rem;
    margin: 0;
}

.clientsphere-profile-empty a {
    color: var(--client-primary);
    font-size: .7rem;
    font-weight: 900;
    text-decoration: none;
}

@media (max-width: 1199px) {
    .clientsphere-profile-layout {
        grid-template-columns: minmax(0, 1fr) 250px;
    }

    .clientsphere-profile-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .clientsphere-profile-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .clientsphere-profile-layout {
        grid-template-columns: 1fr;
    }

    .clientsphere-profile-aside {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .clientsphere-profile-kpis,
    .clientsphere-profile-aside,
    .clientsphere-profile-details {
        grid-template-columns: 1fr;
    }

    .clientsphere-profile-details > div.is-full {
        grid-column: auto;
    }

    .clientsphere-profile-actions,
    .clientsphere-profile-actions > form,
    .clientsphere-profile-actions .clientsphere-btn,
    .clientsphere-profile-dropdown {
        width: 100%;
    }

    .clientsphere-profile-dropdown > .clientsphere-btn {
        width: 100%;
    }
}

/* Creation client */
.clientsphere-new {
    gap: 1.25rem;
    padding-bottom: 1rem;
}

.clientsphere-new-header,
.clientsphere-new-card-header,
.clientsphere-sirene-row,
.clientsphere-sirene-success,
.clientsphere-status,
.clientsphere-contact-toggle,
.clientsphere-logo-drop,
.clientsphere-new-actions,
.clientsphere-new-actions > div,
.clientsphere-new-api,
.clientsphere-new-draft {
    align-items: center;
    display: flex;
}

.clientsphere-new-header {
    justify-content: space-between;
}

.clientsphere-new .clientsphere-title h1 {
    font-size: 1.65rem;
}

.clientsphere-new .clientsphere-title p {
    font-size: .92rem;
    font-weight: 600;
}

.clientsphere-new-back {
    align-items: center;
    background: #eef2f7;
    border-radius: 8px;
    color: #64748b;
    display: inline-flex;
    flex: 0 0 34px;
    font-size: 1.1rem;
    height: 34px;
    justify-content: center;
    text-decoration: none;
    width: 34px;
}

.clientsphere-new-back:hover {
    background: #e2e8f0;
    color: var(--client-text);
}

.clientsphere-new-draft {
    background: #f5f7fa;
    border-radius: 999px;
    color: var(--client-faint);
    font-size: .78rem;
    font-weight: 700;
    gap: .4rem;
    padding: .4rem .7rem;
}

.clientsphere-new-draft i {
    background: #fbbf24;
    border-radius: 50%;
    height: 7px;
    width: 7px;
}

.clientsphere-new-layout {
    align-items: start;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr) 285px;
}

.clientsphere-new-main,
.clientsphere-new-form,
.clientsphere-new-aside {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.clientsphere-new-aside {
    position: sticky;
    top: 82px;
}

.clientsphere-new-card {
    background: #fff;
    border: 1px solid var(--client-line);
    border-radius: 11px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .035);
    min-width: 0;
    overflow: hidden;
}

.clientsphere-new-card-header {
    background: #fbfcfe;
    border-bottom: 1px solid var(--client-soft-line);
    gap: .7rem;
    min-height: 64px;
    padding: .9rem 1.2rem;
}

.clientsphere-new-card-header h2 {
    color: #273449;
    font-size: .92rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 0;
}

.clientsphere-new-card-header p {
    color: var(--client-muted);
    font-size: .72rem;
    font-weight: 600;
    margin: .15rem 0 0;
}

.clientsphere-new-section-icon {
    align-items: center;
    border-radius: 7px;
    display: inline-flex;
    flex: 0 0 30px;
    font-size: 1rem;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.clientsphere-new-section-icon.is-brand {
    background: var(--client-primary-soft);
    color: var(--client-primary);
}

.clientsphere-new-section-icon.is-blue {
    background: var(--client-blue-soft);
    color: var(--client-blue);
}

.clientsphere-new-section-icon.is-violet {
    background: var(--client-violet-soft);
    color: var(--client-violet);
}

.clientsphere-new-section-icon.is-teal {
    background: var(--client-teal-soft);
    color: var(--client-teal);
}

.clientsphere-new-section-icon.is-amber {
    background: var(--client-amber-soft);
    color: var(--client-amber);
}

.clientsphere-new-api {
    background: var(--client-primary-soft);
    border: 1px solid #d8dcff;
    border-radius: 999px;
    color: var(--client-primary);
    font-size: .68rem;
    font-weight: 900;
    gap: .25rem;
    margin-left: auto;
    padding: .25rem .55rem;
}

.clientsphere-required {
    color: var(--client-faint);
    font-size: .68rem;
    font-weight: 700;
    margin-left: auto;
}

.clientsphere-required b,
.clientsphere-new-field label b {
    color: #f87171;
}

.clientsphere-new-card-body {
    padding: 1.2rem;
}

.clientsphere-sirene-search {
    background: #f8fafc;
    border: 1px solid var(--client-line);
    border-radius: 10px;
    padding: 1rem;
}

.clientsphere-sirene-row {
    align-items: flex-end;
    gap: .8rem;
}

.clientsphere-sirene-row .clientsphere-new-field {
    flex: 1;
}

.clientsphere-sirene-submit {
    margin-bottom: 1.45rem;
    min-height: 42px;
}

.clientsphere-sirene-success {
    align-items: flex-start;
    background: #eafbf4;
    border: 1px solid #9debc9;
    border-radius: 8px;
    color: #087857;
    gap: .7rem;
    margin-top: .75rem;
    padding: .75rem .9rem;
}

.clientsphere-sirene-success > span {
    align-items: center;
    background: #ccf6e3;
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 26px;
    height: 26px;
    justify-content: center;
}

.clientsphere-sirene-success strong {
    display: block;
    font-size: .82rem;
    font-weight: 900;
}

.clientsphere-sirene-success p {
    font-size: .7rem;
    font-weight: 650;
    margin: .1rem 0 0;
}

.clientsphere-sirene-success em {
    background: #ccf6e3;
    border-radius: 999px;
    font-size: .66rem;
    font-style: normal;
    font-weight: 900;
    margin-left: auto;
    padding: .25rem .45rem;
    white-space: nowrap;
}

.clientsphere-new-fields {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.clientsphere-new-field.is-full {
    grid-column: 1 / -1;
}

.clientsphere-new-field label {
    color: #405069;
    display: block;
    font-size: .76rem;
    font-weight: 800;
    margin-bottom: .4rem;
}

.clientsphere-new-field .form-control,
.clientsphere-new-field .form-select {
    background-color: #f8fafc;
    border-color: #dce4ee;
    border-radius: 7px;
    color: #334155;
    font-size: .86rem;
    min-height: 42px;
}

.clientsphere-new-field textarea.form-control {
    min-height: 112px;
    padding: .8rem;
    resize: vertical;
}

.clientsphere-new-field .form-control:focus,
.clientsphere-new-field .form-select:focus {
    background-color: #fff;
    border-color: #a8a0fa;
    box-shadow: 0 0 0 3px rgba(89, 71, 232, .1);
}

.clientsphere-new-field .form-control.is-sirene {
    background: #ebfbf5;
    border-color: #9ce8ca;
}

.clientsphere-new-field small {
    color: var(--client-faint);
    display: block;
    font-size: .68rem;
    font-weight: 600;
    margin-top: .35rem;
}

.clientsphere-new-field small.clientsphere-prefilled {
    color: #0ba777;
}

.clientsphere-new-input-icon {
    position: relative;
}

.clientsphere-new-input-icon > i:first-child {
    color: #9cabc0;
    font-size: 1rem;
    left: .75rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.clientsphere-new-input-icon .form-control {
    padding-left: 2.2rem;
}

.clientsphere-new-input-icon .clientsphere-field-check {
    color: #10b981;
    left: auto;
    right: .75rem;
}

.clientsphere-new-divider {
    align-items: center;
    color: #94a3b8;
    display: flex;
    font-size: .66rem;
    font-weight: 900;
    gap: .65rem;
    letter-spacing: .08em;
    margin: 1.25rem 0 .9rem;
    text-transform: uppercase;
}

.clientsphere-new-divider::before,
.clientsphere-new-divider::after {
    background: var(--client-soft-line);
    content: '';
    flex: 1;
    height: 1px;
}

.clientsphere-status {
    background: #f8fafc;
    border: 1px solid #dce4ee;
    border-radius: 7px;
    cursor: pointer;
    gap: .65rem;
    margin: 0;
    min-height: 42px;
    padding: .55rem .7rem;
}

.clientsphere-status input,
.clientsphere-contact-toggle input {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.clientsphere-status-switch,
.clientsphere-contact-toggle span {
    background: #cbd5e1;
    border-radius: 999px;
    flex: 0 0 auto;
    height: 21px;
    padding: 2px;
    transition: background .2s;
    width: 38px;
}

.clientsphere-status-switch::after,
.clientsphere-contact-toggle span::after {
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .2);
    content: '';
    display: block;
    height: 17px;
    transition: transform .2s;
    width: 17px;
}

.clientsphere-status input:checked + .clientsphere-status-switch,
.clientsphere-contact-toggle input:checked + span {
    background: #10b981;
}

.clientsphere-status input:checked + .clientsphere-status-switch::after,
.clientsphere-contact-toggle input:checked + span::after {
    transform: translateX(17px);
}

.clientsphere-status strong {
    color: #0a8f67;
    font-size: .84rem;
}

.clientsphere-logo-drop {
    background: #f8fafc;
    border: 1px dashed #c9d4e2;
    border-radius: 10px;
    cursor: pointer;
    gap: 1rem;
    padding: 1rem;
    transition: border-color .2s, background .2s;
}

.clientsphere-logo-drop:hover {
    background: #f5f3ff;
    border-color: #9b91f5;
}

.clientsphere-logo-drop.is-invalid {
    border-color: #dc3545;
}

.clientsphere-logo-drop input {
    display: none;
}

.clientsphere-logo-drop > span:nth-child(2) {
    flex: 1;
}

.clientsphere-logo-drop strong {
    color: #334155;
    display: block;
    font-size: .82rem;
    font-weight: 850;
}

.clientsphere-logo-drop small {
    color: var(--client-faint);
    display: block;
    font-size: .7rem;
    margin-top: .15rem;
}

.clientsphere-logo-preview {
    align-items: center;
    background: var(--client-primary-soft);
    border-radius: 9px;
    color: var(--client-primary);
    display: inline-flex;
    flex: 0 0 54px;
    font-size: 1.55rem;
    height: 54px;
    justify-content: center;
    overflow: hidden;
}

.clientsphere-logo-preview img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.clientsphere-upload-error {
    color: #dc3545;
    font-size: .75rem;
    margin-top: .4rem;
}

.clientsphere-contact-toggle {
    color: #475569;
    cursor: pointer;
    font-size: .75rem;
    font-weight: 800;
    gap: .45rem;
    margin: 0 0 0 auto;
}

.clientsphere-contact-toggle span {
    height: 19px;
    width: 34px;
}

.clientsphere-contact-toggle span::after {
    height: 15px;
    width: 15px;
}

.clientsphere-contact-toggle input:checked + span::after {
    transform: translateX(15px);
}

.clientsphere-contact-fields {
    max-height: 500px;
    opacity: 1;
    transition: max-height .25s, opacity .2s, padding .25s;
}

.clientsphere-contact-fields.is-disabled {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding-bottom: 0;
    padding-top: 0;
}

.clientsphere-summary .clientsphere-new-card-header {
    min-height: 51px;
    padding: .75rem .9rem;
}

.clientsphere-summary .clientsphere-new-card-header > i {
    color: var(--client-primary);
}

.clientsphere-summary .clientsphere-new-card-header h2,
.clientsphere-duplicate .clientsphere-new-card-header h2 {
    font-size: .75rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.clientsphere-summary .clientsphere-new-card-header > span:last-child {
    background: #eef2f7;
    border-radius: 999px;
    color: #94a3b8;
    font-size: .62rem;
    font-weight: 900;
    margin-left: auto;
    padding: .2rem .4rem;
}

.clientsphere-summary .clientsphere-new-card-header > span.is-verified {
    background: #d9f8e9;
    color: #07865f;
}

.clientsphere-summary-body,
.clientsphere-duplicate-body {
    padding: .95rem;
}

.clientsphere-summary dl {
    display: grid;
    gap: .85rem;
    margin: 0;
}

.clientsphere-summary dl > div.is-two {
    display: grid;
    gap: .65rem;
    grid-template-columns: 1fr 1fr;
}

.clientsphere-summary dt {
    color: #94a3b8;
    font-size: .61rem;
    font-weight: 900;
    letter-spacing: .06em;
    margin-bottom: .15rem;
    text-transform: uppercase;
}

.clientsphere-summary dd {
    color: #475569;
    font-size: .76rem;
    line-height: 1.45;
    margin: 0;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.clientsphere-summary dl > div:first-child dd {
    color: #1f2937;
    font-size: .86rem;
    font-weight: 900;
}

.clientsphere-summary dd.is-brand {
    color: var(--client-primary);
    font-weight: 900;
}

.clientsphere-summary .is-separated {
    border-top: 1px solid var(--client-soft-line);
    padding-top: .75rem;
}

.clientsphere-duplicate {
    border-color: #f7d681;
}

.clientsphere-duplicate .clientsphere-new-card-header {
    background: #fffaf0;
    border-color: #fce9b7;
    min-height: 51px;
    padding: .7rem .9rem;
}

.clientsphere-duplicate-body > p {
    color: #9a5a08;
    display: flex;
    font-size: .72rem;
    font-weight: 750;
    gap: .45rem;
    line-height: 1.45;
}

.clientsphere-duplicate-client {
    background: #fff9e9;
    border: 1px solid #f6d273;
    border-radius: 8px;
    display: grid;
    gap: .1rem .5rem;
    grid-template-columns: 28px 1fr;
    margin: .75rem 0;
    padding: .65rem;
}

.clientsphere-duplicate-client > span {
    align-items: center;
    background: var(--client-blue-soft);
    border-radius: 6px;
    color: var(--client-blue);
    display: inline-flex;
    grid-row: 1 / 3;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.clientsphere-duplicate-client strong {
    color: #334155;
    font-size: .76rem;
}

.clientsphere-duplicate-client small {
    color: #7c8798;
    font-size: .66rem;
}

.clientsphere-duplicate-body > a {
    color: var(--client-primary);
    display: block;
    font-size: .7rem;
    font-weight: 850;
    margin-bottom: .75rem;
}

.clientsphere-duplicate-body .clientsphere-btn {
    font-size: .72rem;
    min-height: 36px;
}

.clientsphere-new-tip {
    align-items: flex-start;
    background: var(--client-primary-soft);
    border: 1px solid #dce0ff;
    border-radius: 10px;
    color: var(--client-primary);
    display: flex;
    gap: .6rem;
    padding: 1rem;
}

.clientsphere-new-tip > i {
    margin-top: .1rem;
}

.clientsphere-new-tip strong {
    display: block;
    font-size: .72rem;
}

.clientsphere-new-tip p {
    font-size: .68rem;
    font-weight: 650;
    line-height: 1.55;
    margin: .35rem 0 0;
}

.clientsphere-new-actions {
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--client-line);
    border-radius: 10px;
    bottom: .75rem;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
    justify-content: space-between;
    padding: .85rem 1rem;
    position: sticky;
    z-index: 10;
}

.clientsphere-new-actions p {
    color: var(--client-faint);
    font-size: .75rem;
    margin: 0;
}

.clientsphere-new-actions p i {
    color: var(--client-primary);
    margin-right: .3rem;
}

.clientsphere-new-actions p strong {
    color: #475569;
}

.clientsphere-new-actions > div {
    gap: .65rem;
}

.clientsphere-new-actions .clientsphere-btn {
    min-height: 40px;
}

@media (max-width: 1199.98px) {
    .clientsphere-new-layout {
        grid-template-columns: minmax(0, 1fr) 245px;
    }

    .clientsphere-new-aside {
        position: static;
    }
}

@media (max-width: 991.98px) {
    .clientsphere-new-layout {
        grid-template-columns: 1fr;
    }

    .clientsphere-new-aside {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .clientsphere-new-tip {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .clientsphere-new-header,
    .clientsphere-sirene-row,
    .clientsphere-logo-drop,
    .clientsphere-new-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .clientsphere-new-draft {
        align-self: flex-start;
    }

    .clientsphere-new-fields,
    .clientsphere-new-aside {
        grid-template-columns: 1fr;
    }

    .clientsphere-sirene-submit {
        margin-bottom: 0;
    }

    .clientsphere-new-card-header {
        flex-wrap: wrap;
    }

    .clientsphere-new-api,
    .clientsphere-required,
    .clientsphere-contact-toggle {
        margin-left: 40px;
    }

    .clientsphere-logo-drop .clientsphere-btn {
        width: 100%;
    }

    .clientsphere-new-actions > div {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.clientsphere-heading,
.clientsphere-title,
.clientsphere-heading-actions,
.clientsphere-kpi-top,
.clientsphere-filter,
.clientsphere-table-toolbar,
.clientsphere-check-label,
.clientsphere-table-tools,
.clientsphere-client,
.clientsphere-city,
.clientsphere-contact,
.clientsphere-row-actions,
.clientsphere-table-footer,
.clientsphere-pagination,
.clientsphere-page-size,
.clientsphere-side-card h2,
.clientsphere-side-card a,
.clientsphere-tip h2 {
    align-items: center;
    display: flex;
}

.clientsphere-heading {
    gap: 1rem;
    justify-content: space-between;
}

.clientsphere-title {
    gap: .8rem;
    min-width: 0;
}

.clientsphere-title-icon {
    align-items: center;
    background: var(--client-primary-soft);
    border-radius: 8px;
    color: var(--client-primary);
    display: inline-flex;
    flex: 0 0 36px;
    font-size: 1.2rem;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.clientsphere-title h1 {
    color: #101827;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.05;
    margin: 0;
}

.clientsphere-title p {
    color: var(--client-muted);
    font-size: 1rem;
    margin: .35rem 0 0;
}

.clientsphere-heading-actions {
    gap: .65rem;
    justify-content: flex-end;
}

.clientsphere-btn {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 8px;
    display: inline-flex;
    font-size: .96rem;
    font-weight: 800;
    gap: .45rem;
    justify-content: center;
    min-height: 42px;
    padding: .6rem 1rem;
    text-decoration: none;
    white-space: nowrap;
}

.clientsphere-btn-secondary {
    background: #fff;
    border-color: var(--client-line);
    box-shadow: 0 2px 5px rgba(15, 23, 42, .04);
    color: #526176;
}

.clientsphere-btn-secondary:hover {
    border-color: #cbd5e1;
    color: var(--client-text);
}

.clientsphere-btn-primary {
    background: var(--client-primary);
    border-color: var(--client-primary);
    box-shadow: 0 6px 14px rgba(89, 71, 232, .22);
    color: #fff;
}

.clientsphere-btn-primary:hover {
    background: var(--client-primary-dark);
    border-color: var(--client-primary-dark);
    color: #fff;
}

.clientsphere-kpis {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.clientsphere-kpi {
    background: var(--client-card);
    border: 1px solid var(--client-line);
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(15, 23, 42, .04);
    min-height: 136px;
    padding: 1.3rem;
}

.clientsphere-kpi-top {
    justify-content: space-between;
    margin-bottom: 1.05rem;
}

.clientsphere-kpi-icon,
.clientsphere-type-icon {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    flex: 0 0 auto;
    justify-content: center;
}

.clientsphere-kpi-icon {
    font-size: 1.25rem;
    height: 42px;
    width: 42px;
}

.clientsphere-kpi strong {
    color: #0f172a;
    display: block;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.clientsphere-kpi > span:last-child {
    color: var(--client-muted);
    display: block;
    font-size: .98rem;
    font-weight: 700;
    margin-top: .45rem;
}

.clientsphere-kpi-trend {
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 900;
    line-height: 1;
    padding: .35rem .55rem;
}

.clientsphere-kpi-icon.is-brand,
.clientsphere-type-icon.is-brand,
.clientsphere-kpi-trend.is-brand {
    background: var(--client-primary-soft);
    color: var(--client-primary);
}

.clientsphere-kpi-icon.is-blue,
.clientsphere-type-icon.is-blue,
.clientsphere-kpi-trend.is-blue,
.clientsphere-pill.is-blue {
    background: var(--client-blue-soft);
    color: var(--client-blue);
}

.clientsphere-kpi-icon.is-violet,
.clientsphere-type-icon.is-violet,
.clientsphere-kpi-trend.is-violet,
.clientsphere-pill.is-violet {
    background: var(--client-violet-soft);
    color: var(--client-violet);
}

.clientsphere-kpi-icon.is-amber,
.clientsphere-type-icon.is-amber,
.clientsphere-kpi-trend.is-amber,
.clientsphere-pill.is-amber {
    background: var(--client-amber-soft);
    color: var(--client-amber);
}

.clientsphere-kpi-icon.is-teal,
.clientsphere-type-icon.is-teal,
.clientsphere-kpi-trend.is-teal,
.clientsphere-pill.is-teal {
    background: var(--client-teal-soft);
    color: var(--client-teal);
}

.clientsphere-kpi-icon.is-slate,
.clientsphere-type-icon.is-slate,
.clientsphere-kpi-trend.is-slate,
.clientsphere-pill.is-slate {
    background: var(--client-slate-soft);
    color: var(--client-slate);
}

.clientsphere-grid {
    display: grid;
    gap: 1.45rem;
    grid-template-columns: minmax(0, 1fr) 260px;
}

.clientsphere-main {
    display: grid;
    gap: 1.1rem;
    min-width: 0;
}

.clientsphere-filter,
.clientsphere-table-card,
.clientsphere-side-card,
.clientsphere-tip {
    background: var(--client-card);
    border: 1px solid var(--client-line);
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(15, 23, 42, .035);
}

.clientsphere-filter {
    column-gap: .75rem;
    flex-wrap: wrap;
    padding: 1.15rem;
    row-gap: .85rem;
}

.clientsphere-search,
.clientsphere-select {
    display: inline-flex;
    position: relative;
}

.clientsphere-search {
    flex: 1 1 360px;
}

.clientsphere-search i,
.clientsphere-select i {
    color: #9aa8bb;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.clientsphere-search i {
    font-size: 1.15rem;
    left: .85rem;
}

.clientsphere-search input,
.clientsphere-select select {
    background: #fff;
    border: 1px solid var(--client-line);
    border-radius: 8px;
    color: #46566b;
    font-size: .8rem;
    min-height: 42px;
    outline: 0;
    width: 100%;
}

.clientsphere-search input {
    padding: .65rem .9rem .65rem 2.5rem;
}

.clientsphere-search input::placeholder {
    color: #9aa8bb;
}

.clientsphere-select {
    flex: 0 0 162px;
}

.clientsphere-select select {
    appearance: none;
    padding: .65rem 2.3rem .65rem .9rem;
}

.clientsphere-select i {
    font-size: 1rem;
    right: .8rem;
}

.clientsphere-reset {
    background: transparent;
    border: 0;
    color: var(--client-primary);
    font-weight: 900;
    min-height: 42px;
    padding: .6rem .25rem;
}

.clientsphere-filter-note {
    color: #8b99ad;
    flex: 0 0 100%;
    font-size: .85rem;
    font-weight: 700;
    margin: 0;
}

.clientsphere-filter-note i,
.clientsphere-filter-note strong {
    color: var(--client-primary);
}

.clientsphere-table-card {
    overflow: hidden;
}

.clientsphere-table-toolbar {
    border-bottom: 1px solid var(--client-soft-line);
    justify-content: space-between;
    min-height: 46px;
    padding: .75rem 1rem;
}

.clientsphere-check-label {
    color: #627188;
    gap: .55rem;
    margin: 0;
}

.clientsphere-check-label input,
.clientsphere-table input[type="checkbox"] {
    border: 1px solid #aeb8c6;
    border-radius: 4px;
    height: 17px;
    width: 17px;
}

.clientsphere-table-tools {
    gap: .85rem;
}

.clientsphere-table-tools button {
    align-items: center;
    background: transparent;
    border: 0;
    color: #63738b;
    display: inline-flex;
    font-weight: 800;
    gap: .25rem;
}

.clientsphere-column-picker {
    position: relative;
}

.clientsphere-column-picker-menu {
    background: #fff;
    border: 1px solid var(--client-line);
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .14);
    display: grid;
    gap: .25rem;
    min-width: 220px;
    padding: .75rem;
    position: absolute;
    right: 0;
    top: calc(100% + .55rem);
    z-index: 20;
}

.clientsphere-column-picker-menu[hidden] {
    display: none;
}

.clientsphere-column-picker-menu > strong {
    color: var(--client-text);
    font-size: .8rem;
    padding: .2rem .35rem .45rem;
}

.clientsphere-column-picker-menu label {
    align-items: center;
    border-radius: 7px;
    color: #53637a;
    cursor: pointer;
    display: flex;
    font-size: .88rem;
    font-weight: 750;
    gap: .6rem;
    margin: 0;
    padding: .45rem .35rem;
}

.clientsphere-column-picker-menu label:hover {
    background: #f8fafc;
}

.clientsphere-column-picker-menu input {
    accent-color: var(--client-primary);
}

.clientsphere-column-picker-menu .clientsphere-column-picker-reset {
    border-top: 1px solid var(--client-soft-line);
    color: var(--client-primary);
    justify-content: flex-start;
    margin-top: .35rem;
    padding: .65rem .35rem .2rem;
}

.clientsphere-table-card .fu-data-table-scroll {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

.clientsphere-table {
    min-width: 1120px;
}

.clientsphere-table [data-column][hidden] {
    display: none;
}

.clientsphere-table thead th {
    background: #f8fafc;
    color: #738097;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: 0;
    padding-bottom: .95rem;
    padding-top: .95rem;
    text-transform: uppercase;
}

.clientsphere-table tbody td {
    border-top: 1px solid var(--client-soft-line);
    color: #53637a;
    font-size: .94rem;
    font-weight: 700;
    padding-bottom: .9rem;
    padding-top: .9rem;
    vertical-align: middle;
}

.clientsphere-col-check {
    width: 42px;
}

.clientsphere-client {
    color: var(--client-text);
    gap: .65rem;
    text-decoration: none;
}

.clientsphere-client strong {
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.15;
}

.clientsphere-client:hover strong {
    color: var(--client-primary);
}

.clientsphere-type-icon {
    font-size: 1rem;
    height: 34px;
    width: 34px;
}

.clientsphere-client-logo {
    overflow: hidden;
    padding: 3px;
    background: #fff;
    border: 1px solid var(--client-line);
}

.clientsphere-client-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.clientsphere-pill,
.clientsphere-status {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: .82rem;
    font-weight: 900;
    gap: .35rem;
    line-height: 1;
    padding: .42rem .65rem;
    white-space: nowrap;
}

.clientsphere-mono {
    color: #506076;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-weight: 800;
}

.clientsphere-city {
    color: #5f6f86;
    gap: .25rem;
}

.clientsphere-city i {
    color: #96a3b6;
    font-size: .9rem;
}

.clientsphere-contact {
    gap: .5rem;
}

.clientsphere-avatar {
    align-items: center;
    background: #eaf2ff;
    border-radius: 50%;
    color: #2563eb;
    display: inline-flex;
    flex: 0 0 24px;
    font-size: .68rem;
    font-weight: 900;
    height: 24px;
    justify-content: center;
    width: 24px;
}

.clientsphere-avatar.is-1 {
    background: #eaf2ff;
    color: #2563eb;
}

.clientsphere-avatar.is-2 {
    background: #f1eaff;
    color: #7c3aed;
}

.clientsphere-avatar.is-3 {
    background: #fff4d7;
    color: #d97706;
}

.clientsphere-avatar.is-4 {
    background: #dffaf5;
    color: #0f9f90;
}

.clientsphere-status.is-active {
    background: #c9f6dd;
    color: #057a4f;
}

.clientsphere-status.is-archived {
    background: #edf2f7;
    color: #64748b;
}

.clientsphere-status i {
    background: currentColor;
    border-radius: 50%;
    height: 6px;
    width: 6px;
}

.clientsphere-muted {
    color: #8a98ad;
}

.clientsphere-row-actions {
    gap: .6rem;
}

.clientsphere-row-actions a,
.clientsphere-row-actions button {
    background: transparent;
    border: 0;
    color: #64748b;
    font-weight: 900;
    padding: 0;
    text-decoration: none;
}

.clientsphere-row-actions a:hover,
.clientsphere-row-actions button:hover {
    color: var(--client-primary);
}

.clientsphere-empty-row td {
    color: #8492a8;
    padding: 2rem;
    text-align: center;
}

.clientsphere-table-footer {
    border-top: 1px solid var(--client-soft-line);
    color: #627188;
    gap: 1rem;
    justify-content: space-between;
    min-height: 58px;
    padding: .8rem 1rem;
}

.clientsphere-pagination {
    gap: .35rem;
    justify-content: center;
}

.clientsphere-pagination button,
.clientsphere-page-size select {
    background: #fff;
    border: 1px solid var(--client-line);
    border-radius: 6px;
    color: #64748b;
    font-weight: 800;
    min-height: 32px;
}

.clientsphere-pagination button {
    min-width: 32px;
}

.clientsphere-pagination button.is-active {
    background: var(--client-primary);
    border-color: var(--client-primary);
    color: #fff;
}

.clientsphere-pagination button:disabled {
    color: #b8c2d0;
    cursor: not-allowed;
}

.clientsphere-page-size {
    gap: .5rem;
    white-space: nowrap;
}

.clientsphere-page-size select {
    padding: .25rem 1.8rem .25rem .65rem;
}

.clientsphere-aside {
    display: grid;
    gap: 1.1rem;
    align-content: start;
}

.clientsphere-side-card {
    overflow: hidden;
}

.clientsphere-side-card h2 {
    border-bottom: 1px solid var(--client-soft-line);
    color: #4b5870;
    font-size: .92rem;
    font-weight: 900;
    gap: .45rem;
    margin: 0;
    padding: .95rem 1rem;
    text-transform: uppercase;
}

.clientsphere-side-card h2 i,
.clientsphere-tip h2 i {
    color: var(--client-primary);
}

.clientsphere-side-card a {
    background: #f8fafc;
    border: 1px solid var(--client-soft-line);
    border-radius: 8px;
    color: #526176;
    gap: .75rem;
    margin: .75rem 1rem;
    min-height: 58px;
    padding: .75rem;
    text-decoration: none;
}

.clientsphere-side-card a strong {
    font-size: .84rem;
    font-weight: 900;
    line-height: 1.15;
}

.clientsphere-side-card a:hover {
    border-color: #cbd5e1;
    color: var(--client-primary);
}

.clientsphere-distribution {
    padding-bottom: .8rem;
}

.clientsphere-distribution-row {
    display: grid;
    gap: .4rem;
    padding: .45rem 1rem;
}

.clientsphere-distribution-row div {
    align-items: center;
    color: #66758d;
    display: flex;
    font-size: .88rem;
    font-weight: 700;
    justify-content: space-between;
}

.clientsphere-distribution-row strong {
    color: #3b4658;
    font-weight: 900;
}

.clientsphere-progress {
    background: #eef2f7;
    border-radius: 999px;
    display: block;
    height: 7px;
    overflow: hidden;
}

.clientsphere-progress i {
    border-radius: inherit;
    display: block;
    height: 100%;
}

.clientsphere-progress .is-blue {
    background: #3b82f6;
}

.clientsphere-progress .is-violet {
    background: #8b5cf6;
}

.clientsphere-progress .is-amber {
    background: #f59e0b;
}

.clientsphere-progress .is-teal {
    background: #14b8a6;
}

.clientsphere-progress .is-slate {
    background: #64748b;
}

.clientsphere-tip {
    background: #eef2ff;
    border-color: #dbe2ff;
    color: var(--client-primary);
    padding: 1rem;
}

.clientsphere-tip h2 {
    color: var(--client-primary);
    font-size: .95rem;
    font-weight: 900;
    gap: .45rem;
    margin: 0 0 .75rem;
}

.clientsphere-tip p {
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.55;
    margin: 0 0 .85rem;
}

.clientsphere-tip a {
    color: var(--client-primary);
    font-weight: 900;
    text-decoration: none;
}

@media (max-width: 1399.98px) {
    .clientsphere-grid {
        grid-template-columns: minmax(0, 1fr) 240px;
    }
}

@media (max-width: 1199.98px) {
    .clientsphere-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .clientsphere-aside {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .clientsphere-heading,
    .clientsphere-table-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .clientsphere-heading-actions,
    .clientsphere-filter,
    .clientsphere-aside {
        grid-template-columns: 1fr;
    }

    .clientsphere-heading-actions {
        width: 100%;
    }

    .clientsphere-heading-actions .clientsphere-btn,
    .clientsphere-filter .clientsphere-btn,
    .clientsphere-search,
    .clientsphere-select {
        flex: 1 1 100%;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .clientsphere-kpis {
        grid-template-columns: 1fr;
    }

    .clientsphere-title {
        align-items: flex-start;
    }

    .clientsphere-heading-actions {
        flex-direction: column;
    }
}
