.client-page {
    --client-ink: #111827;
    --client-text: #58616f;
    --client-muted: #7b8492;
    --client-border: #e7eef3;
    --client-card: #ffffff;
    --client-teal: #29b8c7;
    --client-green: #78bd42;
    --client-orange: #f39a23;
    --client-deep: #001d33;
    --client-radius: 16px;
    --client-panel-radius: 24px;
    --client-shadow: 0 18px 42px rgba(42, 64, 82, 0.11);
    --client-soft-shadow: 0 10px 24px rgba(42, 64, 82, 0.08);
    background:
        radial-gradient(circle at 8% 8%, rgba(255, 214, 151, 0.32), transparent 24%),
        radial-gradient(circle at 92% 14%, rgba(155, 228, 238, 0.44), transparent 28%),
        linear-gradient(145deg, #fffaf2 0%, #ffffff 42%, #effbff 100%);
    color: var(--client-ink);
    float: left;
    overflow: hidden;
    width: 100%;
}

header {
    background-color: #001d33;
}

.client-page * {
    box-sizing: border-box;
}

.client-page ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.client-container {
    margin: 0 auto;
    max-width: 1210px;
    padding: 0 24px;
    width: 100%;
}

.client-section {
    padding: 72px 0;
}

.client-eyebrow,
.client-pill {
    color: #b66d13;
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.4;
    margin: 0 0 13px;
}

.client-pill {
    background: linear-gradient(90deg, rgba(41, 184, 199, 0.12), rgba(120, 189, 66, 0.11));
    border: 1px solid rgba(41, 184, 199, 0.22);
    border-radius: 999px;
    color: #1e7482;
    padding: 8px 14px;
}

.client-page h1,
.client-page h2,
.client-page h3 {
    color: var(--client-ink);
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0;
    overflow-wrap: anywhere;
}

.client-page h1 {
    font-size: 56px;
    line-height: 1.05;
    max-width: 620px;
}

.client-page h2 {
    font-size: 38px;
    line-height: 1.14;
}

.client-page h3 {
    font-size: 21px;
    line-height: 1.2;
}

.client-page p {
    color: var(--client-text);
    font-size: 17px;
    line-height: 1.58;
    margin: 0;
    overflow-wrap: break-word;
}

.client-hero {
    padding: 126px 0 76px;
}

.client-hero-grid,
.client-split-grid {
    align-items: center;
    display: grid;
    gap: 52px;
    grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
}

.client-split-grid {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.88fr);
}

.client-split-grid-reverse {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
}

.client-hero-copy,
.client-hero-visual,
.client-split-copy,
.client-records-copy {
    min-width: 0;
}

.client-lede {
    margin-top: 22px;
    max-width: 620px;
}

.client-lede-secondary {
    margin-top: 14px;
}

.client-button {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 700;
    justify-content: center;
    margin-top: 30px;
    min-height: 48px;
    padding: 13px 24px;
    text-decoration: none;
    transition: box-shadow 160ms ease, transform 160ms ease;
}

.client-button:hover {
    transform: translateY(-1px);
}

.client-button-primary {
    background: linear-gradient(90deg, #e35d24 0%, #f2b41e 100%);
    box-shadow: 0 14px 28px rgba(226, 112, 24, 0.22);
    color: #ffffff;
}

.client-button:focus-visible {
    outline: 3px solid rgba(31, 151, 221, 0.42);
    outline-offset: 3px;
}

.client-hero-visual {
    min-height: 430px;
    position: relative;
}

.client-product-frame,
.client-media-frame {
    background: #ffffff;
    border: 6px solid #ffffff;
    border-radius: var(--client-radius);
    box-shadow: var(--client-shadow);
    overflow: hidden;
}

.client-product-frame img,
.client-media-frame img {
    display: block;
    height: auto;
    width: 100%;
}

.client-media-frame img {
    height: 100%;
    object-fit: cover;
}

.client-hero-product {
    left: 0;
    position: absolute;
    right: 0;
    top: 42px;
}

.client-floating-ui {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(231, 238, 243, 0.92);
    border-radius: 14px;
    box-shadow: var(--client-shadow);
    max-width: 330px;
    overflow: hidden;
    padding: 7px;
    position: absolute;
    right: -4px;
    top: 0;
    width: 45%;
    z-index: 2;
}

.client-floating-ui img {
    border-radius: 10px;
    display: block;
    height: auto;
    width: 100%;
}

.client-records {
    background: rgba(255, 255, 255, 0.68);
}

.client-records-grid {
    align-items: center;
    display: grid;
    gap: 44px;
    grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
}

.client-benefits {
    background: linear-gradient(90deg, rgba(255, 250, 242, 0.72), rgba(239, 251, 255, 0.72));
}

.client-section-heading {
    margin: 0 auto 34px;
    max-width: 780px;
    text-align: center;
}

.client-section-heading p:not(.client-eyebrow) {
    margin-top: 16px;
}

.client-benefit-panel {
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 26px;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.045);
    display: grid;
    gap: 44px;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.88fr);
    margin-top: 24px;
    overflow: hidden;
    padding: 42px;
    position: relative;
}


.client-benefit-panel-reverse {
    grid-template-columns: minmax(390px, 0.88fr) minmax(0, 1fr);
}

/* Benefits: plain text with thin dividers (no cards inside the panel) */
.client-benefit-copy {
    display: grid;
    gap: 0;
}

.client-benefit-copy article {
    padding: 22px 0;
}

.client-benefit-copy article + article {
    border-top: 1px solid #eef1f3;
}

.client-benefit-copy article:first-child {
    padding-top: 0;
}

.client-benefit-copy article:last-child {
    padding-bottom: 0;
}

.client-benefit-copy p {
    font-size: 16px;
    margin-top: 10px;
}

.client-benefit-panel .client-media-frame {
    aspect-ratio: 4 / 3;
}

.client-crm {
    background: rgba(255, 255, 255, 0.76);
}

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

.client-crm-card {
    background: var(--client-card);
    border: 1px solid var(--client-border);
    border-radius: var(--client-radius);
    box-shadow: var(--client-soft-shadow);
    padding: 26px 22px;
}

/* Gold line icons, matching the other updated pages */
.client-crm-card span {
    color: #d99a2b;
    display: block;
    margin-bottom: 16px;
}

.client-crm-card span svg {
    display: block;
}

.client-crm-card p {
    font-size: 15px;
    line-height: 1.48;
    margin-top: 12px;
}

.client-payment-showcase {
    align-items: center;
    background:
        radial-gradient(circle at 5% 7%, rgba(155, 228, 238, 0.24), transparent 30%),
        radial-gradient(circle at 95% 92%, rgba(243, 195, 67, 0.14), transparent 28%),
        #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 26px;
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.045);
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(0, 0.45fr) minmax(560px, 1fr);
    margin-top: 30px;
    padding: 34px;
}

.client-payment-copy p {
    margin-top: 14px;
}

.client-payment-product {
    border-width: 5px;
}

.client-hipaa {
    background: rgba(255, 255, 255, 0.58);
}

.client-split-copy p {
    margin-top: 18px;
}

.client-security-card {
    background:
        radial-gradient(circle at 12% 12%, rgba(69, 208, 239, 0.12), transparent 28%),
        radial-gradient(circle at 90% 88%, rgba(242, 180, 30, 0.1), transparent 30%),
        #ffffff;
    border: 1px solid rgba(231, 238, 243, 0.88);
    border-radius: var(--client-panel-radius);
    box-shadow: var(--client-shadow);
    padding: 36px;
}

/* Airy teal icon tile (matches the other updated pages) */
.client-security-icon {
    align-items: center;
    background: linear-gradient(135deg, #e8f8fa 0%, #f1f9e9 100%);
    border: 1px solid #d7eef1;
    border-radius: 14px;
    color: #1a9aa8;
    display: inline-flex;
    height: 52px;
    justify-content: center;
    margin-bottom: 20px;
    width: 52px;
}

.client-security-icon svg {
    display: block;
}

/* Safeguards: thin teal checks, bold lead + short line */
.client-security-list {
    display: grid;
    gap: 16px;
    list-style: none;
    margin: 20px 0 0 !important;
    padding: 0;
}

.client-security-list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 28px;
    position: relative;
}

.client-security-list li::before {
    border: solid #137f8c;
    border-width: 0 1.75px 1.75px 0;
    content: "";
    height: 11px;
    left: 5px;
    position: absolute;
    top: 0.3em;
    transform: rotate(45deg);
    width: 5.5px;
}

.client-security-list strong {
    color: var(--client-ink);
    font-size: 16px;
    line-height: 1.35;
}

.client-security-list span {
    color: var(--client-text);
    font-size: 14.5px;
    line-height: 1.5;
}

/* HIPAA and PCI badges */
.client-badges {
    align-items: center;
    display: flex;
    gap: 28px;
    margin-top: 28px;
}

.client-badges img {
    display: block;
    height: 46px;
    opacity: 0.85;
    width: auto;
}

.client-hipaa .client-split-copy p {
    max-width: 36em;
}

@media (max-width: 1199px) {
    .client-page h1 {
        font-size: 50px;
    }

    .client-page h2 {
        font-size: 36px;
    }

    .client-hero-grid,
.client-records-grid,
.client-split-grid,
.client-split-grid-reverse,
.client-benefit-panel,
.client-benefit-panel-reverse,
.client-payment-showcase {
        gap: 38px;
    }

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

@media (max-width: 991px) {
    .client-hero {
        padding: 112px 0 62px;
    }

    .client-hero-grid,
.client-records-grid,
.client-split-grid,
.client-split-grid-reverse,
.client-benefit-panel,
.client-benefit-panel-reverse,
.client-payment-showcase {
        grid-template-columns: 1fr;
    }

    .client-section {
        padding: 62px 0;
    }

    .client-hero-copy {
        text-align: center;
    }

    .client-page h1,
    .client-lede {
        margin-left: auto;
        margin-right: auto;
    }

    .client-hero-visual {
        display: grid;
        gap: 16px;
        margin: 0 auto;
        max-width: 760px;
        min-height: auto;
        width: 100%;
    }

    .client-hero-product,
.client-floating-ui {
        left: auto;
        max-width: none;
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
    }

    .client-floating-ui {
        justify-self: center;
        max-width: 420px;
    }


    .client-payment-showcase {
        padding: 30px;
    }

}

@media (max-width: 767px) {
    .client-container {
        padding: 0 18px;
    }

    .client-page h1 {
        font-size: 40px;
    }

    .client-page h2 {
        font-size: 31px;
    }

    .client-page p {
        font-size: 16px;
    }

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

    .client-benefit-panel {
        border-radius: 22px;
        padding: 30px 22px;
    }

    .client-floating-ui {
        display: none;
    }

    .client-product-frame,
    .client-media-frame {
        border-width: 4px;
        border-radius: 14px;
    }

    .client-security-card,
    .client-crm-card {
        padding: 24px;
    }
}

@media (max-width: 575px) {
    .client-hero {
        padding-top: 96px;
    }

    .client-page h1 {
        font-size: 34px;
    }

    .client-page h2 {
        font-size: 28px;
    }

    .client-section {
        padding: 52px 0;
    }

}

/* ==========================================================================
   Hero: matches the Calendar & Scheduling and Online Booking heroes
   ========================================================================== */
.client-hero {
    background:
        radial-gradient(circle at 10% 28%, rgba(167, 234, 242, 0.55), transparent 28%),
        radial-gradient(circle at 88% 34%, rgba(255, 205, 116, 0.34), transparent 30%),
        linear-gradient(145deg, #f4fbfc 0%, #ffffff 50%, #fff8ec 100%);
    padding: 126px 0 72px;
    position: relative;
}

.client-hero::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
    bottom: 0;
    content: "";
    height: 120px;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
}

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

.client-hero .client-hero-grid {
    align-items: center;
    display: grid;
    gap: 52px;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
}

.client-hero .client-hero-copy {
    min-width: 0;
    text-align: left;
}

.client-hero-eyebrow {
    color: #58616f !important;
    font-size: 16px !important;
    font-weight: 700;
    line-height: 1.4 !important;
    margin: 0 0 12px !important;
}

.client-hero .client-lede {
    margin: 22px 0 0;
    max-width: 590px;
}

.cm-hero-visual {
    min-height: 440px;
    min-width: 0;
    position: relative;
}

.cm-hero-frame {
    aspect-ratio: 1 / 1;
    background: #ffffff;
    border: 6px solid #ffffff;
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(42, 64, 82, 0.1);
    overflow: hidden;
    padding: 10px;
    width: 100%;
}

.cm-hero-frame img {
    border-radius: 12px;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

/* Floating cards (same style as the other heroes) */
.cm-hero-card {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(17, 24, 39, 0.06);
    border-radius: 16px;
    box-shadow:
        0 1px 2px rgba(17, 24, 39, 0.04),
        0 18px 36px -12px rgba(30, 60, 80, 0.28);
    color: #111827;
    display: flex;
    font-family: 'Roboto', sans-serif;
    position: absolute;
    z-index: 2;
}

/* Sits high so it clears the client's face in the photo */
.cm-hero-card-top {
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    right: -40px;
    top: -18px;
    width: 300px;
}

.cmc-app,
.cmc-avatar {
    align-items: center;
    background: #e3f4f6;
    color: #137f8c;
    display: inline-flex;
    justify-content: center;
}

.cmc-app {
    border-radius: 10px;
    flex: 0 0 40px;
    height: 40px;
}

.cmc-app svg,
.cmc-avatar svg {
    display: block;
}

.cmc-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.cmc-meta {
    align-items: baseline;
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.cmc-meta strong {
    font-size: 13.5px;
    font-weight: 700;
}

.cmc-meta small {
    color: #8a94a1;
    font-size: 12px;
}

.cmc-text {
    color: #4f5866;
    font-size: 13px;
    line-height: 1.45;
}

/* Sits low so the provider's hands and tablet stay visible */
.cm-hero-card-bottom {
    bottom: -28px;
    flex-direction: column;
    gap: 12px;
    left: -24px;
    padding: 16px;
    width: 270px;
}

.cmc-head {
    align-items: center;
    display: flex;
    gap: 10px;
}

.cmc-avatar {
    border-radius: 50%;
    flex: 0 0 38px;
    height: 38px;
}

.cmc-name {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.cmc-name strong {
    font-size: 14.5px;
    font-weight: 700;
}

.cmc-name small {
    color: #7b8492;
    font-size: 12px;
}

.cmc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cmc-tags span {
    background: #fdf3df;
    border-radius: 999px;
    color: #8a5a0b;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 9px;
}

.cmc-tags span + span {
    background: #e3f4f6;
    color: #137f8c;
}

.cmc-rows {
    background: #f8fbfb;
    border-left: 3px solid #137f8c;
    border-radius: 4px 10px 10px 4px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
}

.cmc-rows > span {
    align-items: baseline;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.cmc-rows small {
    color: #7b8492;
    font-size: 11.5px;
}

.cmc-rows b {
    font-size: 12.5px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    text-align: right;
}

.cmc-rows b.cmc-next {
    color: #137f8c;
}

@media (max-width: 1199px) {
    .client-hero .client-hero-grid {
        gap: 40px;
    }

    .cm-hero-card-top {
        right: -16px;
        width: 270px;
    }

    .cm-hero-card-bottom {
        left: -16px;
        width: 250px;
    }
}

@media (max-width: 991px) {
    .client-hero {
        padding: 112px 0 58px;
    }

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

    .client-hero .client-hero-copy {
        text-align: center;
    }

    .client-hero .client-lede {
        margin-left: auto;
        margin-right: auto;
    }

    .cm-hero-visual {
        margin: 0 auto;
        max-width: 560px;
        width: 100%;
    }
}

/* Phones: cards stack above and below the photo */
@media (max-width: 575px) {
    .client-hero {
        padding: 96px 0 36px;
    }

    .cm-hero-visual {
        display: flex;
        flex-direction: column;
        gap: 14px;
        min-height: auto;
    }

    .cm-hero-card {
        inset: auto;
        margin: 0 auto;
        position: relative;
    }

    .cm-hero-card-top {
        max-width: 320px;
        order: 1;
        width: 100%;
    }

    .cm-hero-frame {
        order: 2;
    }

    .cm-hero-card-bottom {
        max-width: 290px;
        order: 3;
        width: 100%;
    }
}

/* Complete Client Records */
.client-records .client-records-grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.95fr);
    gap: 56px;
}

.client-page .cr-intro {
    margin-top: 16px;
    max-width: 36em;
}

.cr-groups {
    display: grid;
    gap: 22px;
    margin-top: 28px;
}

.client-page .cr-label {
    color: #7b8492;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.cr-list {
    display: grid;
    gap: 8px 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.cr-list li {
    color: var(--client-ink);
    font-size: 16px;
    line-height: 1.45;
    padding-left: 26px;
    position: relative;
}

.cr-list li::before {
    border: solid #137f8c;
    border-width: 0 1.75px 1.75px 0;
    content: "";
    height: 11px;
    left: 5px;
    position: absolute;
    top: 0.3em;
    transform: rotate(45deg);
    width: 5.5px;
}

/* Profile card */
.cr-profile {
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.06);
    border-radius: 20px;
    box-shadow:
        0 1px 2px rgba(17, 24, 39, 0.04),
        0 28px 56px -28px rgba(30, 60, 80, 0.32);
    font-family: 'Roboto', sans-serif;
    min-width: 0;
    overflow: hidden;
}

@media (max-width: 991px) {
    .client-records .client-records-grid {
        grid-template-columns: 1fr;
    }

    .cr-profile {
        margin: 0 auto;
        max-width: 560px;
        width: 100%;
    }
}

@media (max-width: 575px) {
    .cr-list {
        grid-template-columns: 1fr;
    }

}

.cr-nowrap {
    white-space: nowrap;
}

/* Final CTA: same warm-to-teal panel as the other updated pages */
.client-final-cta {
    background: #ffffff;
    padding: 24px 0 40px;
}

.cmCtaPanel {
    background:
        radial-gradient(ellipse at 0% 0%, rgba(242, 180, 30, 0.22), transparent 55%),
        radial-gradient(ellipse at 100% 100%, rgba(41, 184, 199, 0.22), transparent 55%),
        linear-gradient(135deg, #fffaf2 0%, #f1fbfc 100%);
    border: 1px solid #e6edf2;
    border-radius: 28px;
    margin: 0 auto;
    max-width: 1000px;
    padding: 80px 64px;
    text-align: center;
}

.client-page .cmCtaPanel .cmCtaEyebrow {
    color: #b0620f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.4;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.client-page .cmCtaPanel h2 {
    font-size: 44px;
    line-height: 1.2;
    margin: 0 0 14px;
}

.client-page .cmCtaPanel .cmCtaLead {
    color: var(--client-ink);
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
    margin: 0 auto;
    max-width: 640px;
}

.cmCtaBtn {
    align-items: center;
    background: linear-gradient(90deg, #e35d24 0%, #f2b41e 100%);
    border-radius: 999px;
    box-shadow: 0 14px 28px -12px rgba(227, 93, 36, 0.55);
    color: #ffffff;
    display: inline-flex;
    font-size: 16px;
    font-weight: 700;
    justify-content: center;
    line-height: 1.2;
    margin-top: 28px;
    min-height: 56px;
    padding: 16px 34px;
    text-decoration: none;
    transition: box-shadow 160ms ease;
}

.cmCtaBtn:hover,
.cmCtaBtn:focus {
    box-shadow: 0 18px 32px -12px rgba(227, 93, 36, 0.65);
    color: #ffffff;
    text-decoration: none;
}

.cmCtaBtn:focus-visible {
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px rgba(19, 127, 140, 0.55);
    outline: none;
}

@media (max-width: 991px) {
    .cmCtaPanel {
        padding: 64px 48px;
    }

    .client-page .cmCtaPanel h2 {
        font-size: 34px;
    }
}

@media (max-width: 575px) {
    .client-final-cta {
        padding: 10px 0 24px;
    }

    .cmCtaPanel {
        border-radius: 22px;
        padding: 48px 22px;
    }

    .client-page .cmCtaPanel h2 {
        font-size: 28px;
    }

    .client-page .cmCtaPanel .cmCtaLead {
        font-size: 16px;
        line-height: 28px;
    }
}




































































/* "Pinned" tag on the hero Client Notes card */
.cmc-meta small.cmc-pinned {
    background: #fdf3df;
    border-radius: 999px;
    color: #8a5a0b;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 2px 8px;
    text-transform: uppercase;
}

/* Keep "HIPAA-Compliant" together */
.cm-keep {
    white-space: nowrap;
}

/* Purchase History mock (sample data) */
.client-payment-product.cph {
    background: #ffffff;
    font-family: 'Roboto', sans-serif;
}

.cph-inner {
    padding: 14px 16px 16px;
}

.cph-head {
    align-items: center;
    background: #f4f7fa;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    padding: 9px 12px;
}

.cph-head > span:first-child {
    align-items: baseline;
    display: flex;
    gap: 10px;
}

.cph-head strong {
    color: #111827;
    font-size: 14px;
}

.cph-head small {
    color: #9b3c6f;
    font-size: 12px;
    font-weight: 600;
}

.cph-win {
    align-items: center;
    display: inline-flex;
    gap: 9px;
}

.cph-win i {
    color: #6b7280;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
}

.cph-win .cph-i-print {
    border: 1.5px solid #9aa3ae;
    border-radius: 2px;
    height: 10px;
    width: 12px;
}

.cph-win .cph-i-help {
    border: 1.5px solid #9aa3ae;
    border-radius: 50%;
    color: #9aa3ae;
    font-size: 9px;
    height: 13px;
    line-height: 10px;
    text-align: center;
    width: 13px;
}

.cph-win .cph-i-close {
    color: #111827;
    font-size: 16px;
}

.cph-tabs {
    border-bottom: 1px solid #eef1f3;
    display: flex;
    flex-wrap: wrap;
    gap: 2px 14px;
    margin-top: 8px;
}

.cph-tabs b,
.cph-tabs i {
    font-size: 11px;
    font-style: normal;
    padding: 6px 0 7px;
    white-space: nowrap;
}

.cph-tabs b {
    box-shadow: inset 0 -2px 0 #9b3c6f;
    color: #111827;
}

.cph-tabs i {
    color: #6b7280;
    font-weight: 500;
}

.cph-search {
    display: flex;
    justify-content: flex-end;
    margin: 10px 0 6px;
}

.cph-search span {
    border: 1px solid #e3e8ec;
    border-radius: 7px;
    color: #9aa3ae;
    font-size: 10.5px;
    padding: 4px 10px;
    width: 120px;
}

.client-page .cph-table,
.cph-table {
    border-collapse: separate;
    border-spacing: 0;
    font-size: 11.5px;
    width: 100%;
}

.cph-table th {
    background: #9b3c6f;
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 6px 8px;
    text-align: left;
    text-transform: uppercase;
}

.cph-table th:first-child { border-radius: 8px 0 0 0; }
.cph-table th:last-child { border-radius: 0 8px 0 0; }

.cph-table td {
    border-top: 1px solid #f0f2f4;
    color: #374151;
    padding: 6px 8px;
}

.cph-table tbody tr:nth-child(even) td {
    background: #fbfcfd;
}

/* "Know Every Client" card on phones: one CRM card per row */
@media (max-width: 575px) {
    .client-crm-grid {
        grid-template-columns: 1fr !important;
    }

    .cph-inner {
        padding: 10px;
    }

    .cph-tabs i:nth-child(n+3) {
        display: none;
    }

    .cph-table th:nth-child(2),
    .cph-table td:nth-child(2) {
        display: none;
    }

    .cph-table th:nth-child(3) { border-radius: 0; }

    /* Hero: cards float over the photo's corners, clear of both faces */
    .cm-hero-visual {
        display: block;
        padding: 78px 0 120px;
        position: relative;
    }

    .cm-hero-card {
        margin: 0;
        position: absolute;
    }

    .cm-hero-card-top {
        left: auto;
        max-width: 260px;
        right: -4px;
        top: 0;
        width: 74%;
    }

    .cm-hero-card-bottom {
        bottom: 0;
        left: -4px;
        max-width: 250px;
        right: auto;
        width: 70%;
    }
}

@media (max-width: 575px) {
    .cph-head {
        align-items: flex-start;
    }

    .cph-head > span:first-child {
        flex-direction: column;
        gap: 1px;
    }

    .cph-table {
        font-size: 10.5px;
    }

    .cph-table th,
    .cph-table td {
        padding: 5px 5px;
    }

    .cph-table th {
        font-size: 8.5px;
    }
}

/* Phones: compact overlay cards, half on the frame edge, inset from the screen edges (matches Telemedicine) */
@media (max-width: 575px) {
    .cm-hero-visual {
        padding-top: 50px;
    }

    .cm-hero-card-top {
        padding: 9px 12px;
        right: 10px;
        width: 72%;
    }

    .cm-hero-card-top .cmc-text {
        font-size: 11px;
    }

    .cm-hero-card-bottom {
        left: 10px;
        max-width: 270px;
        width: 76%;
    }
}

/* Client Details mock in Complete Client Records (80/20, sample data) */
.cdx { color: #1f2937; }
.cdx-bar { align-items: center; background: #f7f8fa; border-bottom: 1px solid #e7eaee; display: flex; justify-content: space-between; padding: 10px 14px; }
.cdx-bar strong { color: #111827; font-size: 13px; }
.cdx-tools { align-items: center; color: #6b7280; display: inline-flex; gap: 9px; }
.cdx-tools svg { display: block; height: 13px; width: 13px; }
.cdx-tabs { align-items: center; border-bottom: 1px solid #e7eaee; display: flex; gap: 12px; padding: 0 14px; }
.cdx-name { align-items: center; color: #111827; display: inline-flex; font-size: 13px; font-weight: 700; gap: 4px; margin-right: auto; padding: 10px 0; white-space: nowrap; }
.cdx-tab { color: #4b5563; font-size: 10px; font-weight: 600; padding: 11px 0 10px; white-space: nowrap; }
.cdx-tab.is-on { box-shadow: inset 0 -2px 0 #2f86c9; color: #111827; }
.cdx-menu { border: 1px solid #e3e8ec; border-radius: 5px; display: inline-flex; flex-direction: column; gap: 2px; padding: 5px 4px; }
.cdx-menu i { background: #4b5563; border-radius: 1px; display: block; height: 1.5px; width: 10px; }
.cdx-body { background: #f4f6f9; padding: 10px; }
.cdx-stats { display: grid; gap: 7px; grid-template-columns: 0.8fr 1fr 1.25fr 0.8fr; }
.cdx-stats div { background: #ffffff; border-radius: 8px; box-shadow: 0 1px 2px rgba(17, 24, 39, 0.05); display: flex; flex-direction: column; gap: 3px; padding: 8px 6px; text-align: center; }
.cdx-stats small { color: #6b7280; font-size: 9.5px; white-space: nowrap; }
.cdx-stats strong { color: #111827; font-size: 17px; line-height: 1.2; }
.cdx-stats .cdx-next { font-size: 11px; line-height: 20px; white-space: nowrap; }
.cdx-main { align-items: stretch; display: grid; gap: 8px; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); margin-top: 8px; }
.cdx-side { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.cdx-profile, .cdx-acc, .cdx-appts { background: #ffffff; border-radius: 8px; box-shadow: 0 1px 2px rgba(17, 24, 39, 0.05); }
.cdx-profile { padding-bottom: 9px; }
.client-page .cdx-acc { align-items: center; color: #111827; display: flex; font-family: 'Roboto', sans-serif !important; font-size: 10.5px; font-weight: 700 !important; gap: 5px; line-height: 1.2; margin: 0; padding: 8px 10px; }
.cdx-acc svg { color: #6b7280; flex: 0 0 7px; }
.client-page .cdx-profile .cdx-acc { box-shadow: none; }
.cdx-acc-open svg { transform: rotate(90deg); }
.cdx-person { align-items: center; display: flex; gap: 8px; padding: 2px 9px 6px; }
.cdx-avatar { align-items: center; background: linear-gradient(145deg, #f3dccf, #e4b9a5); border-radius: 50%; color: #7a4632; display: inline-flex; flex: 0 0 40px; font-size: 13px; font-weight: 700; height: 40px; justify-content: center; letter-spacing: 0.02em; }
.cdx-buttons { display: flex; flex-direction: column; gap: 4px; }
.cdx-buttons span { background: #eef1f5; border-radius: 5px; color: #374151; font-size: 9.5px; font-weight: 600; padding: 3px 7px; text-align: center; white-space: nowrap; }
.client-page .cdx-contact, .client-page .cdx-alerts { list-style: none; margin: 0; padding: 0 9px; }
.cdx-contact li { color: #6b7280; font-size: 9.5px; line-height: 1.75; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cdx-contact b { color: #111827; font-weight: 600; }
.client-page .cdx-alerts { border-top: 1px solid #f0f2f4; margin: 6px 9px 0; padding: 6px 0 0; }
.cdx-alerts li { align-items: center; color: #374151; display: flex; font-size: 9.5px; gap: 5px; line-height: 1.9; white-space: nowrap; }
.cdx-alerts i { align-items: center; border-radius: 50%; display: inline-flex; flex: 0 0 14px; height: 14px; justify-content: center; }
.cdx-alerts svg { display: block; }
.cdx-a-gold { background: #fdf3df; color: #c27a12; }
.cdx-a-red { background: #fde8e8; color: #d23b3b; }
.cdx-a-plum { background: #f2e6f7; color: #9a4fc0; }
.cdx-appts { -webkit-mask-image: linear-gradient(#000 84%, transparent); mask-image: linear-gradient(#000 84%, transparent); max-height: 100%; min-width: 0; overflow: hidden; position: relative; }
.cdx-main > .cdx-appts { height: 0; min-height: 100%; }
.cdx-cols, .cdx-row { align-items: center; display: grid; gap: 5px; grid-template-columns: 28px 52px minmax(0, 1fr) minmax(0, 1.05fr) 62px; padding: 0 8px; }
.cdx-cols { background: #3b4049; color: #ffffff; font-size: 8.5px; font-weight: 700; height: 24px; letter-spacing: 0.05em; text-transform: uppercase; }
.cdx-row { border-top: 1px solid #f0f2f4; color: #374151; font-size: 9.5px; height: 29px; white-space: nowrap; }
.cdx-cols + .cdx-row { border-top: 0; }
.cdx-row:nth-child(odd) { background: #fafbfc; }
.cdx-id { color: #111827; font-weight: 700; }
.cdx-icons { align-items: center; display: flex; gap: 2px; }
.cdx-i { align-items: center; border-radius: 50%; display: inline-flex; flex: 0 0 10px; font-size: 7px; font-style: normal; font-weight: 700; height: 10px; justify-content: center; width: 10px; }
.cdx-i-info { background: #e3e9f6; color: #3d63d6; font-family: Georgia, serif; }
.cdx-i-pin { background: #e6e8ec; box-shadow: inset 0 0 0 3px #e6e8ec, inset 0 0 0 5px #9aa3ae; }
.cdx-i-note { background: #fbe9e9; border-radius: 2px; box-shadow: inset 0 0 0 1.2px #e08a8a; height: 9px; width: 8px; flex-basis: 8px; }
.cdx-i-vid { background: #2f6fb7; color: #ffffff; flex-basis: 12px; height: 12px; width: 12px; }
.cdx-st { border-radius: 3px; display: inline-block; font-size: 7.5px; font-style: normal; font-weight: 700; letter-spacing: 0.03em; padding: 2px 5px; }
.cdx-act { background: #e3f5e1; color: #2f7d32; }
.cdx-nos { background: #fde8ea; color: #b4343f; }
.cdx-out { background: #e5ebf8; color: #34509a; }
.cdx-inv { background: #e5ebf8; color: #34509a; }

@media (max-width: 1499px) {
    .cdx-tab:nth-child(5) { display: none; }
}

@media (min-width: 992px) and (max-width: 1299px) {
    .cdx-i-pin, .cdx-i-note { display: none; }
    .cdx-cols, .cdx-row { grid-template-columns: 26px 26px minmax(0, 1fr) minmax(0, 1.12fr) 62px; }
}

@media (max-width: 575px) {
    .cdx-tab:nth-child(n+3) { display: none; }
    .cdx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cdx-main { grid-template-columns: 1fr; }
    .cdx-side .cdx-acc:not(.cdx-acc-open) { display: none; }
    .cdx-main > .cdx-appts { height: 236px; min-height: 0; }
    .cdx-cols, .cdx-row { grid-template-columns: 28px 54px minmax(0, 1fr) minmax(0, 1.1fr) 62px; }
}

/* Inline links in CRM cards */
.client-crm-card p a { color: #0f7b86; font-weight: 500; text-decoration: underline; text-decoration-color: rgba(15, 123, 134, 0.35); text-underline-offset: 3px; }
.client-crm-card p a:hover { text-decoration-color: currentColor; }
