/*
Theme Name: Taqtik Health
Theme URI: https://taqtikhealth.com
Author: Taqtik Health
Description: Custom Taqtik Health patient engagement and healthcare platform theme.
Version: 0.1.0
Text Domain: taqtikhealth
*/

/* =========================================================
   TAQTIK HEALTH DESIGN SYSTEM
   ========================================================= */

:root {
    --tq-blue: #0072BF;
    --tq-dark-blue: #055A8C;
    --tq-light-blue: #298FCA;

    --tq-gray: #666666;
    --tq-dark-gray: #4D4D4D;
    --tq-light-gray: #8C8C8C;

    --tq-ink: #173042;
    --tq-soft: #F3F8FB;
    --tq-soft-blue: #EAF5FB;
    --tq-border: #DCE8EF;
    --tq-white: #FFFFFF;

    --tq-radius: 22px;
    --tq-shadow: 0 16px 45px rgba(18, 72, 105, .10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--tq-ink);
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: var(--tq-blue);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.tq-wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* HEADER */

.tq-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--tq-border);
}

.tq-header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.tq-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    font-size: 25px;
    font-weight: 700;
    color: var(--tq-gray);
}

.tq-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 50% 50% 50% 10%;
    transform: rotate(-45deg);
    background: var(--tq-blue);
    position: relative;
}

.tq-brand-mark::after {
    content: "";
    position: absolute;
    width: 13px;
    height: 13px;
    background: white;
    border-radius: 50%;
    left: 12px;
    top: 12px;
}

.tq-nav ul {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tq-nav a {
    color: var(--tq-dark-gray);
    font-weight: 600;
    font-size: 15px;
}

.tq-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 21px;
    border-radius: 999px;
    background: var(--tq-blue);
    color: white;
    font-weight: 700;
}

/* HERO */

.tq-hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 92px;
    background:
        radial-gradient(circle at 86% 15%, rgba(41,143,202,.18), transparent 30%),
        linear-gradient(135deg, #fff 15%, #f1f9fd 100%);
}

.tq-hero-grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 70px;
    align-items: center;
}

.tq-kicker {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--tq-soft-blue);
    color: var(--tq-dark-blue);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.tq-hero h1 {
    margin: 18px 0 20px;
    max-width: 720px;
    color: var(--tq-ink);
    font-size: clamp(43px, 5.6vw, 72px);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.tq-hero h1 span {
    color: var(--tq-blue);
}

.tq-hero-copy {
    max-width: 650px;
    color: var(--tq-gray);
    font-size: 19px;
}

.tq-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
}

.tq-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--tq-blue);
    color: white;
    font-weight: 700;
}

.tq-button-secondary {
    background: white;
    color: var(--tq-dark-blue);
    border: 1px solid var(--tq-border);
}

.tq-dashboard-card {
    padding: 27px;
    border-radius: 30px;
    background: white;
    box-shadow: var(--tq-shadow);
}

.tq-dashboard-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tq-status {
    padding: 6px 11px;
    border-radius: 999px;
    background: #E8F7EF;
    color: #267A4A;
    font-size: 12px;
    font-weight: 700;
}

.tq-progress {
    height: 10px;
    margin: 17px 0 8px;
    overflow: hidden;
    border-radius: 20px;
    background: #E6EEF2;
}

.tq-progress span {
    display: block;
    width: 74%;
    height: 100%;
    background: var(--tq-blue);
}

.tq-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 11px;
    margin-top: 20px;
}

.tq-metric {
    padding: 16px 12px;
    border-radius: 16px;
    background: var(--tq-soft);
}

.tq-metric strong {
    display: block;
    color: var(--tq-dark-blue);
    font-size: 22px;
}

.tq-metric small {
    color: var(--tq-gray);
}

/* SECTIONS */

.tq-section {
    padding: 88px 0;
}

.tq-section-soft {
    background: var(--tq-soft);
}

.tq-section-heading {
    max-width: 720px;
    margin-bottom: 38px;
}

.tq-section-heading h2 {
    margin: 10px 0;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -.03em;
}

.tq-section-heading p {
    color: var(--tq-gray);
    font-size: 18px;
}

.tq-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.tq-card {
    padding: 30px;
    border: 1px solid var(--tq-border);
    border-radius: var(--tq-radius);
    background: white;
    box-shadow: 0 8px 30px rgba(18,72,105,.05);
}

.tq-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 16px;
    background: var(--tq-soft-blue);
    color: var(--tq-blue);
    font-size: 24px;
}

.tq-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.tq-card p {
    color: var(--tq-gray);
}

/* CTA */

.tq-cta {
    padding: 45px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 30px;
    border-radius: 30px;
    background: var(--tq-dark-blue);
    color: white;
}

.tq-cta h2 {
    margin: 0 0 8px;
    font-size: 34px;
}

.tq-cta p {
    margin: 0;
    opacity: .86;
}

/* FOOTER */

.tq-footer {
    padding: 55px 0;
    background: #102B3B;
    color: rgba(255,255,255,.75);
}

.tq-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.tq-footer h3,
.tq-footer h4 {
    color: white;
}

.tq-footer a {
    color: rgba(255,255,255,.82);
}

/* INTERIOR */

.tq-page {
    padding: 75px 0;
}

.tq-page h1 {
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.08;
}

/* MOBILE */

@media (max-width: 900px) {
    .tq-nav {
        display: none;
    }

    .tq-hero {
        padding: 65px 0;
    }

    .tq-hero-grid,
    .tq-cards,
    .tq-footer-grid {
        grid-template-columns: 1fr;
    }

    .tq-hero-grid {
        gap: 38px;
    }

    .tq-cards {
        gap: 15px;
    }

    .tq-cta {
        grid-template-columns: 1fr;
        padding: 30px;
    }
}

@media (max-width: 560px) {
    .tq-wrap {
        width: min(100% - 28px, 1180px);
    }

    .tq-header-inner {
        min-height: 68px;
    }

    .tq-brand {
        font-size: 20px;
    }

    .tq-brand-mark {
        width: 31px;
        height: 31px;
    }

    .tq-brand-mark::after {
        width: 11px;
        height: 11px;
        left: 10px;
        top: 10px;
    }

    .tq-login {
        padding: 0 15px;
        min-height: 40px;
        font-size: 14px;
    }

    .tq-hero h1 {
        font-size: 43px;
    }

    .tq-metrics {
        grid-template-columns: 1fr;
    }

    .tq-section {
        padding: 60px 0;
    }
}


/* =========================================================
   TAQTIK WEIGHT + METABOLIC HEALTH
   2026-09-21
   ========================================================= */

.tq-card-label {
    display: block;
    margin-bottom: 8px;
    color: var(--tq-dark-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

.tq-program-card {
    position: relative;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.tq-program-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tq-shadow);
}

.tq-program-featured {
    border-color: rgba(0,114,191,.35);
    background:
        linear-gradient(
            145deg,
            #fff 0%,
            #f2f9fd 100%
        );
}

.tq-metabolic-section {
    overflow: hidden;
    background:
        radial-gradient(
            circle at 85% 30%,
            rgba(41,143,202,.16),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #f7fbfd,
            #edf7fc
        );
}

.tq-metabolic-grid {
    display: grid;
    grid-template-columns: 1fr .85fr;
    gap: 70px;
    align-items: center;
}

.tq-metabolic-grid h2 {
    max-width: 680px;
    margin: 15px 0 18px;
    color: var(--tq-ink);
    font-size: clamp(34px, 4.3vw, 52px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.tq-section-lead {
    max-width: 680px;
    color: var(--tq-gray);
    font-size: 18px;
}

.tq-journey-card {
    padding: 30px;
    border: 1px solid var(--tq-border);
    border-radius: 28px;
    background: rgba(255,255,255,.95);
    box-shadow: var(--tq-shadow);
}

.tq-journey-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.tq-journey-head small {
    color: var(--tq-blue);
    font-weight: 800;
    letter-spacing: .06em;
}

.tq-journey-head h3 {
    margin: 5px 0 0;
    font-size: 23px;
}

.tq-journey-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid var(--tq-border);
}

.tq-journey-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--tq-soft-blue);
    color: var(--tq-blue);
    font-size: 18px;
    font-weight: 800;
}

.tq-journey-row strong,
.tq-journey-row small {
    display: block;
}

.tq-journey-row small {
    margin-top: 2px;
    color: var(--tq-gray);
}

@media (max-width: 900px) {

    .tq-metabolic-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

}

@media (max-width: 560px) {

    .tq-metabolic-section {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .tq-metabolic-grid h2 {
        font-size: 35px;
    }

    .tq-journey-card {
        padding: 21px;
        border-radius: 22px;
    }

}


/* =========================================================
   TAQTIK HEALTH UI POLISH
   2026-09-21
   ========================================================= */

/* HEADER */

.tq-header {
    box-shadow: 0 1px 0 rgba(20, 64, 88, .06);
}

.tq-header-inner {
    min-height: 76px;
    gap: 26px;
}

.tq-brand {
    flex: 0 0 auto;
    gap: 11px;
    white-space: nowrap;
}

.tq-brand-symbol {
    display: block;
    width: 34px;
    height: 42px;
    color: var(--tq-blue);
}

.tq-brand-symbol svg {
    display: block;
    width: 100%;
    height: 100%;
}

.tq-brand-word {
    color: var(--tq-gray);
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -.025em;
}

.tq-brand-word strong {
    color: var(--tq-dark-blue);
}

.tq-brand-mark {
    display: none;
}


/* DESKTOP NAV */

.tq-desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.tq-desktop-nav > a,
.tq-nav-dropdown-toggle {
    border: 0;
    background: none;
    padding: 26px 0;
    color: var(--tq-dark-gray);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.tq-desktop-nav > a:hover,
.tq-nav-dropdown-toggle:hover {
    color: var(--tq-blue);
}

.tq-nav-dropdown {
    position: relative;
}

.tq-nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tq-nav-dropdown-toggle span {
    font-size: 15px;
    transition: transform .2s ease;
}

.tq-nav-dropdown.is-open
.tq-nav-dropdown-toggle span {
    transform: rotate(180deg);
}

.tq-nav-dropdown-menu {
    position: absolute;
    top: calc(100% - 5px);
    left: 50%;
    width: 390px;
    padding: 10px;
    visibility: hidden;
    opacity: 0;
    transform:
        translateX(-50%)
        translateY(8px);
    border: 1px solid var(--tq-border);
    border-radius: 20px;
    background: white;
    box-shadow:
        0 22px 60px rgba(17, 61, 88, .16);
    transition:
        opacity .18s ease,
        transform .18s ease,
        visibility .18s ease;
}

.tq-nav-dropdown:hover
.tq-nav-dropdown-menu,
.tq-nav-dropdown.is-open
.tq-nav-dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform:
        translateX(-50%)
        translateY(0);
}

.tq-nav-dropdown-menu a {
    display: flex;
    gap: 13px;
    align-items: center;
    padding: 14px;
    border-radius: 14px;
    color: var(--tq-ink);
}

.tq-nav-dropdown-menu a:hover {
    background: var(--tq-soft);
}

.tq-menu-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--tq-soft-blue);
    color: var(--tq-blue);
    font-size: 18px;
}

.tq-nav-dropdown-menu strong,
.tq-nav-dropdown-menu small {
    display: block;
}

.tq-nav-dropdown-menu strong {
    font-size: 14px;
}

.tq-nav-dropdown-menu small {
    margin-top: 2px;
    color: var(--tq-gray);
    font-size: 12px;
}


/* HEADER ACTIONS */

.tq-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tq-header-login {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--tq-blue);
    color: white;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 7px 18px rgba(0,114,191,.16);
}

.tq-header-login:hover {
    background: var(--tq-dark-blue);
    color: white;
}

.tq-login {
    display: none;
}


/* MOBILE BUTTON */

.tq-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--tq-border);
    border-radius: 13px;
    background: white;
    cursor: pointer;
}

.tq-menu-toggle span {
    width: 20px;
    height: 2px;
    display: block;
    margin: 4px auto;
    border-radius: 2px;
    background: var(--tq-dark-blue);
    transition: .2s ease;
}

.tq-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.tq-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.tq-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}


/* MOBILE NAV */

.tq-mobile-nav {
    display: none;
}

.tq-mobile-nav-inner {
    width: min(100% - 28px, 1180px);
    margin: 0 auto;
    padding: 8px 0 25px;
}

.tq-mobile-label {
    display: block;
    margin: 18px 4px 7px;
    color: var(--tq-light-gray);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.tq-mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px;
    border-bottom: 1px solid var(--tq-border);
    color: var(--tq-ink);
    font-weight: 700;
}

.tq-mobile-nav a span {
    color: var(--tq-blue);
    font-size: 24px;
    line-height: 1;
}

.tq-mobile-nav .tq-mobile-login {
    justify-content: center;
    margin-top: 20px;
    padding: 13px 20px;
    border: 0;
    border-radius: 999px;
    background: var(--tq-blue);
    color: white;
}


/* HERO POLISH */

.tq-hero {
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.tq-hero-grid {
    gap: clamp(45px, 7vw, 90px);
}

.tq-hero h1 {
    max-width: 620px;
}

.tq-hero-copy {
    max-width: 680px;
}

.tq-dashboard-card {
    position: relative;
    overflow: hidden;
    padding: 32px;
}

.tq-dashboard-card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    top: -100px;
    right: -75px;
    border-radius: 50%;
    background: rgba(41,143,202,.09);
}


/* PROGRAM ICONS */

.tq-program-card .tq-icon {
    width: 58px;
    height: 58px;
    border-radius: 17px;
}

.tq-program-card .tq-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tq-program-card h3 {
    min-height: 54px;
}

.tq-program-card > a {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    font-weight: 700;
}


/* SECTION RHYTHM */

.tq-section {
    position: relative;
}

.tq-section-heading {
    margin-bottom: 42px;
}

.tq-cards {
    align-items: stretch;
}

.tq-card {
    height: 100%;
}


/* RESPONSIVE HEADER */

@media (max-width: 1050px) {

    .tq-desktop-nav {
        gap: 18px;
    }

    .tq-desktop-nav > a,
    .tq-nav-dropdown-toggle {
        font-size: 13px;
    }

    .tq-brand-word {
        font-size: 20px;
    }

}


@media (max-width: 900px) {

    .tq-desktop-nav {
        display: none;
    }

    .tq-menu-toggle {
        display: block;
    }

    .tq-mobile-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 999;
        max-height: 0;
        display: block;
        overflow: hidden;
        opacity: 0;
        background: white;
        border-top: 1px solid var(--tq-border);
        box-shadow: 0 20px 40px rgba(18,72,105,.12);
        transition:
            max-height .3s ease,
            opacity .2s ease;
    }

    .tq-mobile-nav.is-open {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        opacity: 1;
    }

    body.tq-menu-open {
        overflow: hidden;
    }

    .tq-hero {
        min-height: auto;
    }

}


@media (max-width: 560px) {

    .tq-header-inner {
        min-height: 66px;
        gap: 10px;
    }

    .tq-brand-symbol {
        width: 27px;
        height: 34px;
    }

    .tq-brand-word {
        font-size: 18px;
    }

    .tq-header-login {
        min-height: 39px;
        padding: 0 15px;
        font-size: 13px;
    }

    .tq-menu-toggle {
        width: 40px;
        height: 40px;
    }

    .tq-hero {
        padding: 54px 0 58px;
    }

    .tq-hero h1 {
        margin-top: 15px;
        font-size: clamp(40px, 12vw, 52px);
    }

    .tq-hero-copy {
        font-size: 17px;
    }

    .tq-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .tq-actions .tq-button {
        width: 100%;
    }

    .tq-dashboard-card {
        padding: 23px;
        border-radius: 23px;
    }

    .tq-program-card h3 {
        min-height: 0;
    }

}


/* =========================================================
   TAQTIK PATIENT ENGAGEMENT EXPERIENCE
   2026-09-21
   ========================================================= */

.tq-patient-dashboard {
    background: #f5f9fb;
}

.tq-patient-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 58px 0 90px;
}

.tq-patient-welcome {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 25px;
}

.tq-patient-eyebrow,
.tq-panel-label {
    color: var(--tq-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
}

.tq-patient-welcome h1 {
    max-width: 720px;
    margin: 8px 0 12px;
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.tq-patient-welcome p {
    max-width: 680px;
    margin: 0;
    color: var(--tq-gray);
    font-size: 18px;
}

.tq-patient-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: #e7f6ee;
    color: #257548;
    font-size: 13px;
    font-weight: 800;
}

.tq-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #35a66a;
}

.tq-dashboard-notice {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    padding: 13px 17px;
    border: 1px solid #cfe3ee;
    border-radius: 13px;
    background: #eef8fd;
    color: var(--tq-dark-blue);
    font-size: 13px;
}

.tq-dashboard-notice span {
    color: var(--tq-gray);
}


/* OVERVIEW */

.tq-journey-overview {
    display: grid;
    grid-template-columns: 1.6fr .65fr;
    gap: 20px;
}

.tq-journey-main,
.tq-next-step {
    padding: 30px;
    border: 1px solid var(--tq-border);
    border-radius: 25px;
    background: white;
    box-shadow: 0 8px 28px rgba(18,72,105,.05);
}

.tq-panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.tq-panel-heading h2 {
    margin: 5px 0 0;
    font-size: 27px;
    letter-spacing: -.025em;
}

.tq-week-score {
    color: var(--tq-blue);
    font-size: 32px;
    font-weight: 800;
}

.tq-large-progress {
    height: 11px;
    margin: 25px 0;
    overflow: hidden;
    border-radius: 20px;
    background: #e8eff3;
}

.tq-large-progress span,
.tq-mini-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--tq-blue);
}

.tq-journey-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.tq-journey-stats div {
    padding: 15px;
    border-radius: 15px;
    background: var(--tq-soft);
}

.tq-journey-stats strong,
.tq-journey-stats span {
    display: block;
}

.tq-journey-stats strong {
    color: var(--tq-dark-blue);
    font-size: 23px;
}

.tq-journey-stats span {
    margin-top: 2px;
    color: var(--tq-gray);
    font-size: 12px;
}

.tq-next-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tq-next-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin: 18px 0 14px;
    border-radius: 15px;
    background: var(--tq-soft-blue);
    color: var(--tq-blue);
    font-size: 20px;
    font-weight: 800;
}

.tq-next-step h3 {
    margin: 0 0 7px;
    font-size: 21px;
}

.tq-next-step p {
    margin: 0 0 20px;
    color: var(--tq-gray);
    font-size: 14px;
}

.tq-next-step .tq-button {
    width: 100%;
    margin-top: auto;
}


/* SECTIONS */

.tq-dashboard-section {
    padding-top: 55px;
}

.tq-dashboard-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 22px;
}

.tq-dashboard-section-heading h2 {
    margin: 5px 0 0;
    font-size: 30px;
    letter-spacing: -.025em;
}

.tq-dashboard-section-heading > a {
    font-size: 14px;
    font-weight: 700;
}


/* ACTION CARDS */

.tq-action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.tq-action-card {
    position: relative;
    min-height: 205px;
    display: flex;
    flex-direction: column;
    padding: 23px;
    border: 1px solid var(--tq-border);
    border-radius: 21px;
    background: white;
    color: var(--tq-ink);
    box-shadow: 0 6px 22px rgba(18,72,105,.04);
    transition: .2s ease;
}

.tq-action-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0,114,191,.35);
    box-shadow: var(--tq-shadow);
}

.tq-action-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 17px;
    border-radius: 14px;
    background: var(--tq-soft-blue);
    color: var(--tq-blue);
}

.tq-action-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tq-action-card strong {
    font-size: 19px;
}

.tq-action-card small {
    margin-top: 5px;
    padding-right: 15px;
    color: var(--tq-gray);
    line-height: 1.45;
}

.tq-action-arrow {
    position: absolute;
    right: 21px;
    bottom: 18px;
    color: var(--tq-blue);
    font-size: 21px;
}


/* CHALLENGES */

.tq-challenge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.tq-challenge-card {
    padding: 24px;
    border: 1px solid var(--tq-border);
    border-radius: 21px;
    background: white;
}

.tq-challenge-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tq-challenge-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--tq-blue);
    color: white;
    font-weight: 800;
}

.tq-challenge-tag {
    padding: 6px 9px;
    border-radius: 999px;
    background: var(--tq-soft);
    color: var(--tq-gray);
    font-size: 11px;
    font-weight: 700;
}

.tq-challenge-card h3 {
    margin: 18px 0 7px;
    font-size: 20px;
}

.tq-challenge-card p {
    min-height: 48px;
    margin: 0 0 18px;
    color: var(--tq-gray);
    font-size: 14px;
}

.tq-mini-progress {
    height: 7px;
    overflow: hidden;
    border-radius: 20px;
    background: #e8eff3;
}

.tq-progress-copy {
    display: block;
    margin-top: 8px;
    color: var(--tq-dark-blue);
    font-size: 12px;
}

.tq-card-link {
    font-size: 14px;
    font-weight: 700;
}


/* ACHIEVEMENTS */

.tq-achievement-section {
    margin-top: 55px;
    padding: 38px;
    border-radius: 27px;
    background:
        linear-gradient(
            135deg,
            #eaf6fc,
            #f7fbfd
        );
}

.tq-badge-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.tq-badge {
    padding: 22px 15px;
    text-align: center;
    border: 1px solid rgba(0,114,191,.13);
    border-radius: 18px;
    background: rgba(255,255,255,.85);
}

.tq-badge-icon {
    width: 61px;
    height: 61px;
    display: grid;
    place-items: center;
    margin: 0 auto 13px;
    border: 5px solid #d9eef8;
    border-radius: 50%;
    background: var(--tq-blue);
    color: white;
    font-size: 17px;
    font-weight: 800;
}

.tq-badge strong,
.tq-badge small {
    display: block;
}

.tq-badge strong {
    font-size: 14px;
}

.tq-badge small {
    margin-top: 3px;
    color: var(--tq-gray);
    font-size: 11px;
}

.tq-badge-locked {
    opacity: .48;
}


/* LEARNING */

.tq-learning-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 17px;
}

.tq-learning-card {
    padding: 27px;
    border: 1px solid var(--tq-border);
    border-radius: 21px;
    background: white;
}

.tq-learning-type {
    color: var(--tq-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
}

.tq-learning-card h3 {
    margin: 9px 0;
    font-size: 21px;
}

.tq-learning-card p {
    color: var(--tq-gray);
}

.tq-learning-card a {
    font-weight: 700;
}


/* COMMUNITY */

.tq-community-preview {
    display: grid;
    grid-template-columns: 1fr .85fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
    padding: 45px;
    overflow: hidden;
    border-radius: 28px;
    background: var(--tq-dark-blue);
    color: white;
}

.tq-community-preview .tq-panel-label {
    color: #9ed8f5;
}

.tq-community-preview h2 {
    max-width: 500px;
    margin: 8px 0 12px;
    color: white;
    font-size: 36px;
    line-height: 1.1;
}

.tq-community-preview p {
    max-width: 560px;
    color: rgba(255,255,255,.82);
}

.tq-community-preview .tq-button {
    margin-top: 10px;
    background: white;
    color: var(--tq-dark-blue);
}

.tq-community-visual {
    display: grid;
    gap: 10px;
}

.tq-community-message {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 15px;
    border-radius: 15px;
    background: rgba(255,255,255,.11);
}

.tq-community-message > span {
    flex: 0 0 39px;
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: white;
    color: var(--tq-dark-blue);
    font-size: 11px;
    font-weight: 800;
}

.tq-community-message p {
    margin: 0;
    font-size: 13px;
}

.tq-community-message strong {
    display: block;
    color: white;
}


/* MOBILE */

@media (max-width: 900px) {

    .tq-journey-overview,
    .tq-community-preview {
        grid-template-columns: 1fr;
    }

    .tq-action-grid,
    .tq-badge-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .tq-journey-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .tq-challenge-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 560px) {

    .tq-patient-shell {
        width: min(100% - 28px, 1180px);
        padding: 38px 0 60px;
    }

    .tq-patient-welcome {
        display: block;
    }

    .tq-patient-status {
        width: max-content;
        margin-top: 18px;
    }

    .tq-dashboard-notice {
        display: block;
    }

    .tq-dashboard-notice strong,
    .tq-dashboard-notice span {
        display: block;
    }

    .tq-dashboard-notice span {
        margin-top: 4px;
    }

    .tq-journey-main,
    .tq-next-step {
        padding: 21px;
        border-radius: 20px;
    }

    .tq-panel-heading h2,
    .tq-dashboard-section-heading h2 {
        font-size: 24px;
    }

    .tq-action-grid,
    .tq-badge-row,
    .tq-learning-grid {
        grid-template-columns: 1fr;
    }

    .tq-action-card {
        min-height: 175px;
    }

    .tq-dashboard-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .tq-achievement-section {
        margin-left: -14px;
        margin-right: -14px;
        padding: 28px 14px;
        border-radius: 0;
    }

    .tq-community-preview {
        margin-left: -14px;
        margin-right: -14px;
        padding: 32px 20px;
        border-radius: 0;
    }

    .tq-community-preview h2 {
        font-size: 31px;
    }

}


/* =========================================================
   TAQTIK PATIENT ENGAGEMENT EXPERIENCE
   2026-09-21
   ========================================================= */

.tq-patient-dashboard {
    background: #f5f9fb;
}

.tq-patient-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 58px 0 90px;
}

.tq-patient-welcome {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 25px;
}

.tq-patient-eyebrow,
.tq-panel-label {
    color: var(--tq-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
}

.tq-patient-welcome h1 {
    max-width: 720px;
    margin: 8px 0 12px;
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.tq-patient-welcome p {
    max-width: 680px;
    margin: 0;
    color: var(--tq-gray);
    font-size: 18px;
}

.tq-patient-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: #e7f6ee;
    color: #257548;
    font-size: 13px;
    font-weight: 800;
}

.tq-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #35a66a;
}

.tq-dashboard-notice {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    padding: 13px 17px;
    border: 1px solid #cfe3ee;
    border-radius: 13px;
    background: #eef8fd;
    color: var(--tq-dark-blue);
    font-size: 13px;
}

.tq-dashboard-notice span {
    color: var(--tq-gray);
}


/* OVERVIEW */

.tq-journey-overview {
    display: grid;
    grid-template-columns: 1.6fr .65fr;
    gap: 20px;
}

.tq-journey-main,
.tq-next-step {
    padding: 30px;
    border: 1px solid var(--tq-border);
    border-radius: 25px;
    background: white;
    box-shadow: 0 8px 28px rgba(18,72,105,.05);
}

.tq-panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.tq-panel-heading h2 {
    margin: 5px 0 0;
    font-size: 27px;
    letter-spacing: -.025em;
}

.tq-week-score {
    color: var(--tq-blue);
    font-size: 32px;
    font-weight: 800;
}

.tq-large-progress {
    height: 11px;
    margin: 25px 0;
    overflow: hidden;
    border-radius: 20px;
    background: #e8eff3;
}

.tq-large-progress span,
.tq-mini-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--tq-blue);
}

.tq-journey-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.tq-journey-stats div {
    padding: 15px;
    border-radius: 15px;
    background: var(--tq-soft);
}

.tq-journey-stats strong,
.tq-journey-stats span {
    display: block;
}

.tq-journey-stats strong {
    color: var(--tq-dark-blue);
    font-size: 23px;
}

.tq-journey-stats span {
    margin-top: 2px;
    color: var(--tq-gray);
    font-size: 12px;
}

.tq-next-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tq-next-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin: 18px 0 14px;
    border-radius: 15px;
    background: var(--tq-soft-blue);
    color: var(--tq-blue);
    font-size: 20px;
    font-weight: 800;
}

.tq-next-step h3 {
    margin: 0 0 7px;
    font-size: 21px;
}

.tq-next-step p {
    margin: 0 0 20px;
    color: var(--tq-gray);
    font-size: 14px;
}

.tq-next-step .tq-button {
    width: 100%;
    margin-top: auto;
}


/* SECTIONS */

.tq-dashboard-section {
    padding-top: 55px;
}

.tq-dashboard-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 22px;
}

.tq-dashboard-section-heading h2 {
    margin: 5px 0 0;
    font-size: 30px;
    letter-spacing: -.025em;
}

.tq-dashboard-section-heading > a {
    font-size: 14px;
    font-weight: 700;
}


/* ACTION CARDS */

.tq-action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.tq-action-card {
    position: relative;
    min-height: 205px;
    display: flex;
    flex-direction: column;
    padding: 23px;
    border: 1px solid var(--tq-border);
    border-radius: 21px;
    background: white;
    color: var(--tq-ink);
    box-shadow: 0 6px 22px rgba(18,72,105,.04);
    transition: .2s ease;
}

.tq-action-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0,114,191,.35);
    box-shadow: var(--tq-shadow);
}

.tq-action-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 17px;
    border-radius: 14px;
    background: var(--tq-soft-blue);
    color: var(--tq-blue);
}

.tq-action-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tq-action-card strong {
    font-size: 19px;
}

.tq-action-card small {
    margin-top: 5px;
    padding-right: 15px;
    color: var(--tq-gray);
    line-height: 1.45;
}

.tq-action-arrow {
    position: absolute;
    right: 21px;
    bottom: 18px;
    color: var(--tq-blue);
    font-size: 21px;
}


/* CHALLENGES */

.tq-challenge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.tq-challenge-card {
    padding: 24px;
    border: 1px solid var(--tq-border);
    border-radius: 21px;
    background: white;
}

.tq-challenge-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tq-challenge-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--tq-blue);
    color: white;
    font-weight: 800;
}

.tq-challenge-tag {
    padding: 6px 9px;
    border-radius: 999px;
    background: var(--tq-soft);
    color: var(--tq-gray);
    font-size: 11px;
    font-weight: 700;
}

.tq-challenge-card h3 {
    margin: 18px 0 7px;
    font-size: 20px;
}

.tq-challenge-card p {
    min-height: 48px;
    margin: 0 0 18px;
    color: var(--tq-gray);
    font-size: 14px;
}

.tq-mini-progress {
    height: 7px;
    overflow: hidden;
    border-radius: 20px;
    background: #e8eff3;
}

.tq-progress-copy {
    display: block;
    margin-top: 8px;
    color: var(--tq-dark-blue);
    font-size: 12px;
}

.tq-card-link {
    font-size: 14px;
    font-weight: 700;
}


/* ACHIEVEMENTS */

.tq-achievement-section {
    margin-top: 55px;
    padding: 38px;
    border-radius: 27px;
    background:
        linear-gradient(
            135deg,
            #eaf6fc,
            #f7fbfd
        );
}

.tq-badge-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.tq-badge {
    padding: 22px 15px;
    text-align: center;
    border: 1px solid rgba(0,114,191,.13);
    border-radius: 18px;
    background: rgba(255,255,255,.85);
}

.tq-badge-icon {
    width: 61px;
    height: 61px;
    display: grid;
    place-items: center;
    margin: 0 auto 13px;
    border: 5px solid #d9eef8;
    border-radius: 50%;
    background: var(--tq-blue);
    color: white;
    font-size: 17px;
    font-weight: 800;
}

.tq-badge strong,
.tq-badge small {
    display: block;
}

.tq-badge strong {
    font-size: 14px;
}

.tq-badge small {
    margin-top: 3px;
    color: var(--tq-gray);
    font-size: 11px;
}

.tq-badge-locked {
    opacity: .48;
}


/* LEARNING */

.tq-learning-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 17px;
}

.tq-learning-card {
    padding: 27px;
    border: 1px solid var(--tq-border);
    border-radius: 21px;
    background: white;
}

.tq-learning-type {
    color: var(--tq-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
}

.tq-learning-card h3 {
    margin: 9px 0;
    font-size: 21px;
}

.tq-learning-card p {
    color: var(--tq-gray);
}

.tq-learning-card a {
    font-weight: 700;
}


/* COMMUNITY */

.tq-community-preview {
    display: grid;
    grid-template-columns: 1fr .85fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
    padding: 45px;
    overflow: hidden;
    border-radius: 28px;
    background: var(--tq-dark-blue);
    color: white;
}

.tq-community-preview .tq-panel-label {
    color: #9ed8f5;
}

.tq-community-preview h2 {
    max-width: 500px;
    margin: 8px 0 12px;
    color: white;
    font-size: 36px;
    line-height: 1.1;
}

.tq-community-preview p {
    max-width: 560px;
    color: rgba(255,255,255,.82);
}

.tq-community-preview .tq-button {
    margin-top: 10px;
    background: white;
    color: var(--tq-dark-blue);
}

.tq-community-visual {
    display: grid;
    gap: 10px;
}

.tq-community-message {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 15px;
    border-radius: 15px;
    background: rgba(255,255,255,.11);
}

.tq-community-message > span {
    flex: 0 0 39px;
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: white;
    color: var(--tq-dark-blue);
    font-size: 11px;
    font-weight: 800;
}

.tq-community-message p {
    margin: 0;
    font-size: 13px;
}

.tq-community-message strong {
    display: block;
    color: white;
}


/* MOBILE */

@media (max-width: 900px) {

    .tq-journey-overview,
    .tq-community-preview {
        grid-template-columns: 1fr;
    }

    .tq-action-grid,
    .tq-badge-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .tq-journey-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .tq-challenge-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 560px) {

    .tq-patient-shell {
        width: min(100% - 28px, 1180px);
        padding: 38px 0 60px;
    }

    .tq-patient-welcome {
        display: block;
    }

    .tq-patient-status {
        width: max-content;
        margin-top: 18px;
    }

    .tq-dashboard-notice {
        display: block;
    }

    .tq-dashboard-notice strong,
    .tq-dashboard-notice span {
        display: block;
    }

    .tq-dashboard-notice span {
        margin-top: 4px;
    }

    .tq-journey-main,
    .tq-next-step {
        padding: 21px;
        border-radius: 20px;
    }

    .tq-panel-heading h2,
    .tq-dashboard-section-heading h2 {
        font-size: 24px;
    }

    .tq-action-grid,
    .tq-badge-row,
    .tq-learning-grid {
        grid-template-columns: 1fr;
    }

    .tq-action-card {
        min-height: 175px;
    }

    .tq-dashboard-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .tq-achievement-section {
        margin-left: -14px;
        margin-right: -14px;
        padding: 28px 14px;
        border-radius: 0;
    }

    .tq-community-preview {
        margin-left: -14px;
        margin-right: -14px;
        padding: 32px 20px;
        border-radius: 0;
    }

    .tq-community-preview h2 {
        font-size: 31px;
    }

}


/* =========================================================
   TAQTIK PATIENT ENGAGEMENT EXPERIENCE
   2026-09-21
   ========================================================= */

.tq-patient-dashboard {
    background: #f5f9fb;
}

.tq-patient-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 58px 0 90px;
}

.tq-patient-welcome {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 25px;
}

.tq-patient-eyebrow,
.tq-panel-label {
    color: var(--tq-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
}

.tq-patient-welcome h1 {
    max-width: 720px;
    margin: 8px 0 12px;
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.tq-patient-welcome p {
    max-width: 680px;
    margin: 0;
    color: var(--tq-gray);
    font-size: 18px;
}

.tq-patient-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: #e7f6ee;
    color: #257548;
    font-size: 13px;
    font-weight: 800;
}

.tq-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #35a66a;
}

.tq-dashboard-notice {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    padding: 13px 17px;
    border: 1px solid #cfe3ee;
    border-radius: 13px;
    background: #eef8fd;
    color: var(--tq-dark-blue);
    font-size: 13px;
}

.tq-dashboard-notice span {
    color: var(--tq-gray);
}


/* OVERVIEW */

.tq-journey-overview {
    display: grid;
    grid-template-columns: 1.6fr .65fr;
    gap: 20px;
}

.tq-journey-main,
.tq-next-step {
    padding: 30px;
    border: 1px solid var(--tq-border);
    border-radius: 25px;
    background: white;
    box-shadow: 0 8px 28px rgba(18,72,105,.05);
}

.tq-panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.tq-panel-heading h2 {
    margin: 5px 0 0;
    font-size: 27px;
    letter-spacing: -.025em;
}

.tq-week-score {
    color: var(--tq-blue);
    font-size: 32px;
    font-weight: 800;
}

.tq-large-progress {
    height: 11px;
    margin: 25px 0;
    overflow: hidden;
    border-radius: 20px;
    background: #e8eff3;
}

.tq-large-progress span,
.tq-mini-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--tq-blue);
}

.tq-journey-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.tq-journey-stats div {
    padding: 15px;
    border-radius: 15px;
    background: var(--tq-soft);
}

.tq-journey-stats strong,
.tq-journey-stats span {
    display: block;
}

.tq-journey-stats strong {
    color: var(--tq-dark-blue);
    font-size: 23px;
}

.tq-journey-stats span {
    margin-top: 2px;
    color: var(--tq-gray);
    font-size: 12px;
}

.tq-next-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tq-next-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin: 18px 0 14px;
    border-radius: 15px;
    background: var(--tq-soft-blue);
    color: var(--tq-blue);
    font-size: 20px;
    font-weight: 800;
}

.tq-next-step h3 {
    margin: 0 0 7px;
    font-size: 21px;
}

.tq-next-step p {
    margin: 0 0 20px;
    color: var(--tq-gray);
    font-size: 14px;
}

.tq-next-step .tq-button {
    width: 100%;
    margin-top: auto;
}


/* SECTIONS */

.tq-dashboard-section {
    padding-top: 55px;
}

.tq-dashboard-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 22px;
}

.tq-dashboard-section-heading h2 {
    margin: 5px 0 0;
    font-size: 30px;
    letter-spacing: -.025em;
}

.tq-dashboard-section-heading > a {
    font-size: 14px;
    font-weight: 700;
}


/* ACTION CARDS */

.tq-action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.tq-action-card {
    position: relative;
    min-height: 205px;
    display: flex;
    flex-direction: column;
    padding: 23px;
    border: 1px solid var(--tq-border);
    border-radius: 21px;
    background: white;
    color: var(--tq-ink);
    box-shadow: 0 6px 22px rgba(18,72,105,.04);
    transition: .2s ease;
}

.tq-action-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0,114,191,.35);
    box-shadow: var(--tq-shadow);
}

.tq-action-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 17px;
    border-radius: 14px;
    background: var(--tq-soft-blue);
    color: var(--tq-blue);
}

.tq-action-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tq-action-card strong {
    font-size: 19px;
}

.tq-action-card small {
    margin-top: 5px;
    padding-right: 15px;
    color: var(--tq-gray);
    line-height: 1.45;
}

.tq-action-arrow {
    position: absolute;
    right: 21px;
    bottom: 18px;
    color: var(--tq-blue);
    font-size: 21px;
}


/* CHALLENGES */

.tq-challenge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.tq-challenge-card {
    padding: 24px;
    border: 1px solid var(--tq-border);
    border-radius: 21px;
    background: white;
}

.tq-challenge-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tq-challenge-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--tq-blue);
    color: white;
    font-weight: 800;
}

.tq-challenge-tag {
    padding: 6px 9px;
    border-radius: 999px;
    background: var(--tq-soft);
    color: var(--tq-gray);
    font-size: 11px;
    font-weight: 700;
}

.tq-challenge-card h3 {
    margin: 18px 0 7px;
    font-size: 20px;
}

.tq-challenge-card p {
    min-height: 48px;
    margin: 0 0 18px;
    color: var(--tq-gray);
    font-size: 14px;
}

.tq-mini-progress {
    height: 7px;
    overflow: hidden;
    border-radius: 20px;
    background: #e8eff3;
}

.tq-progress-copy {
    display: block;
    margin-top: 8px;
    color: var(--tq-dark-blue);
    font-size: 12px;
}

.tq-card-link {
    font-size: 14px;
    font-weight: 700;
}


/* ACHIEVEMENTS */

.tq-achievement-section {
    margin-top: 55px;
    padding: 38px;
    border-radius: 27px;
    background:
        linear-gradient(
            135deg,
            #eaf6fc,
            #f7fbfd
        );
}

.tq-badge-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.tq-badge {
    padding: 22px 15px;
    text-align: center;
    border: 1px solid rgba(0,114,191,.13);
    border-radius: 18px;
    background: rgba(255,255,255,.85);
}

.tq-badge-icon {
    width: 61px;
    height: 61px;
    display: grid;
    place-items: center;
    margin: 0 auto 13px;
    border: 5px solid #d9eef8;
    border-radius: 50%;
    background: var(--tq-blue);
    color: white;
    font-size: 17px;
    font-weight: 800;
}

.tq-badge strong,
.tq-badge small {
    display: block;
}

.tq-badge strong {
    font-size: 14px;
}

.tq-badge small {
    margin-top: 3px;
    color: var(--tq-gray);
    font-size: 11px;
}

.tq-badge-locked {
    opacity: .48;
}


/* LEARNING */

.tq-learning-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 17px;
}

.tq-learning-card {
    padding: 27px;
    border: 1px solid var(--tq-border);
    border-radius: 21px;
    background: white;
}

.tq-learning-type {
    color: var(--tq-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
}

.tq-learning-card h3 {
    margin: 9px 0;
    font-size: 21px;
}

.tq-learning-card p {
    color: var(--tq-gray);
}

.tq-learning-card a {
    font-weight: 700;
}


/* COMMUNITY */

.tq-community-preview {
    display: grid;
    grid-template-columns: 1fr .85fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
    padding: 45px;
    overflow: hidden;
    border-radius: 28px;
    background: var(--tq-dark-blue);
    color: white;
}

.tq-community-preview .tq-panel-label {
    color: #9ed8f5;
}

.tq-community-preview h2 {
    max-width: 500px;
    margin: 8px 0 12px;
    color: white;
    font-size: 36px;
    line-height: 1.1;
}

.tq-community-preview p {
    max-width: 560px;
    color: rgba(255,255,255,.82);
}

.tq-community-preview .tq-button {
    margin-top: 10px;
    background: white;
    color: var(--tq-dark-blue);
}

.tq-community-visual {
    display: grid;
    gap: 10px;
}

.tq-community-message {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 15px;
    border-radius: 15px;
    background: rgba(255,255,255,.11);
}

.tq-community-message > span {
    flex: 0 0 39px;
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: white;
    color: var(--tq-dark-blue);
    font-size: 11px;
    font-weight: 800;
}

.tq-community-message p {
    margin: 0;
    font-size: 13px;
}

.tq-community-message strong {
    display: block;
    color: white;
}


/* MOBILE */

@media (max-width: 900px) {

    .tq-journey-overview,
    .tq-community-preview {
        grid-template-columns: 1fr;
    }

    .tq-action-grid,
    .tq-badge-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .tq-journey-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .tq-challenge-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 560px) {

    .tq-patient-shell {
        width: min(100% - 28px, 1180px);
        padding: 38px 0 60px;
    }

    .tq-patient-welcome {
        display: block;
    }

    .tq-patient-status {
        width: max-content;
        margin-top: 18px;
    }

    .tq-dashboard-notice {
        display: block;
    }

    .tq-dashboard-notice strong,
    .tq-dashboard-notice span {
        display: block;
    }

    .tq-dashboard-notice span {
        margin-top: 4px;
    }

    .tq-journey-main,
    .tq-next-step {
        padding: 21px;
        border-radius: 20px;
    }

    .tq-panel-heading h2,
    .tq-dashboard-section-heading h2 {
        font-size: 24px;
    }

    .tq-action-grid,
    .tq-badge-row,
    .tq-learning-grid {
        grid-template-columns: 1fr;
    }

    .tq-action-card {
        min-height: 175px;
    }

    .tq-dashboard-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .tq-achievement-section {
        margin-left: -14px;
        margin-right: -14px;
        padding: 28px 14px;
        border-radius: 0;
    }

    .tq-community-preview {
        margin-left: -14px;
        margin-right: -14px;
        padding: 32px 20px;
        border-radius: 0;
    }

    .tq-community-preview h2 {
        font-size: 31px;
    }

}


/* =========================================================
   TAQTIK CONNECTOR / WEARABLE EXPERIENCE
   2026-09-21
   ========================================================= */

.tq-interior-hero {
    padding: 85px 0;
    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(41,143,202,.16),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #f8fcfe,
            #edf7fc
        );
}

.tq-interior-hero-copy {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.tq-interior-hero h1 {
    max-width: 760px;
    margin: 12px 0 18px;
    font-size: clamp(44px, 6vw, 70px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.tq-interior-hero p {
    max-width: 700px;
    margin: 0 0 27px;
    color: var(--tq-gray);
    font-size: 19px;
    line-height: 1.65;
}


/* WEARABLE SECTION */

.tq-wearable-section {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 85px 0;
}

.tq-wearable-intro {
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
}

.tq-wearable-intro h2 {
    margin: 10px 0 14px;
    font-size: clamp(34px, 4vw, 49px);
    letter-spacing: -.035em;
}

.tq-wearable-intro p {
    color: var(--tq-gray);
}

.tq-wearable-lead {
    font-size: 19px;
}


/* STEPS */

.tq-connector-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}

.tq-connector-step {
    position: relative;
    padding: 30px;
    border: 1px solid var(--tq-border);
    border-radius: 24px;
    background: white;
    box-shadow: 0 8px 30px rgba(18,72,105,.05);
}

.tq-connector-featured {
    border-color: rgba(0,114,191,.32);
    box-shadow: 0 15px 40px rgba(0,114,191,.10);
}

.tq-step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--tq-dark-blue);
    color: white;
    font-size: 12px;
    font-weight: 800;
}

.tq-step-icon {
    width: 57px;
    height: 57px;
    display: grid;
    place-items: center;
    margin-bottom: 21px;
    border-radius: 17px;
    background: var(--tq-soft-blue);
    color: var(--tq-blue);
}

.tq-step-icon svg,
.tq-patient-connect-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tq-connector-step h3 {
    margin: 0 0 9px;
    font-size: 22px;
}

.tq-connector-step p {
    min-height: 90px;
    color: var(--tq-gray);
    font-size: 14px;
    line-height: 1.6;
}

.tq-connector-step > a {
    font-weight: 700;
}

.tq-step-note {
    display: block;
    margin-top: 17px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--tq-soft);
    color: var(--tq-gray);
    font-size: 11px;
    font-weight: 700;
}


/* APP STORE BUTTONS */

.tq-store-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.tq-store-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    border-radius: 11px;
    background: #111;
    color: white !important;
    text-decoration: none;
}

.tq-store-button:hover {
    background: #292929;
    color: white;
}

.tq-store-button svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.tq-store-button span {
    display: block;
    line-height: 1.05;
}

.tq-store-button small,
.tq-store-button strong {
    display: block;
}

.tq-store-button small {
    margin-bottom: 2px;
    font-size: 9px;
}

.tq-store-button strong {
    font-size: 15px;
}


/* PORTAL / CONNECTOR EXPLANATION */

.tq-portal-explainer {
    padding:
        80px
        max(20px, calc((100% - 1180px) / 2));
    background: var(--tq-soft);
}

.tq-portal-explainer > div:first-child {
    max-width: 760px;
}

.tq-portal-explainer h2 {
    margin: 10px 0 32px;
    font-size: clamp(31px, 4vw, 45px);
    letter-spacing: -.035em;
}

.tq-portal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.tq-portal-grid article {
    padding: 31px;
    border: 1px solid var(--tq-border);
    border-radius: 22px;
    background: white;
}

.tq-portal-label {
    color: var(--tq-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
}

.tq-portal-grid h3 {
    margin: 7px 0;
    font-size: 25px;
}

.tq-portal-grid p {
    color: var(--tq-gray);
}

.tq-inline-downloads {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    font-weight: 700;
}


/* FOR PATIENTS */

.tq-patient-connect {
    width: min(1000px, calc(100% - 40px));
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 38px;
    align-items: center;
    margin: 75px auto;
    padding: 38px;
    border: 1px solid var(--tq-border);
    border-radius: 26px;
    background: white;
    box-shadow: var(--tq-shadow);
}

.tq-patient-connect-icon {
    width: 150px;
    height: 150px;
    display: grid;
    place-items: center;
    border-radius: 35px;
    background:
        linear-gradient(
            145deg,
            var(--tq-blue),
            var(--tq-dark-blue)
        );
    color: white;
}

.tq-patient-connect-icon svg {
    width: 60px;
    height: 60px;
}

.tq-patient-connect h2 {
    margin: 8px 0 9px;
    font-size: 34px;
}

.tq-patient-connect p {
    max-width: 650px;
    color: var(--tq-gray);
}

.tq-text-link {
    display: inline-block;
    margin-top: 18px;
    font-weight: 700;
}


/* TABLET */

@media (max-width: 800px) {

    .tq-connector-steps {
        grid-template-columns: 1fr;
    }

    .tq-connector-step p {
        min-height: 0;
    }

    .tq-portal-grid {
        grid-template-columns: 1fr;
    }

    .tq-patient-connect {
        grid-template-columns: 1fr;
    }

    .tq-patient-connect-icon {
        width: 90px;
        height: 90px;
        border-radius: 24px;
    }

    .tq-patient-connect-icon svg {
        width: 42px;
        height: 42px;
    }

}


/* MOBILE */

@media (max-width: 560px) {

    .tq-interior-hero {
        padding: 55px 0;
    }

    .tq-interior-hero-copy,
    .tq-wearable-section {
        width: min(100% - 28px, 1180px);
    }

    .tq-interior-hero h1 {
        font-size: 43px;
    }

    .tq-interior-hero p {
        font-size: 17px;
    }

    .tq-wearable-section {
        padding: 58px 0;
    }

    .tq-wearable-intro {
        text-align: left;
    }

    .tq-connector-step {
        padding: 23px;
    }

    .tq-store-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .tq-store-button {
        width: 100%;
        justify-content: center;
    }

    .tq-patient-connect {
        width: min(100% - 28px, 1000px);
        margin: 50px auto;
        padding: 24px;
    }

    .tq-patient-connect h2 {
        font-size: 29px;
    }

}


/* =========================================================
   TAQTIK RPM MANUAL + CONNECTED TRACKING
   2026-09-21
   ========================================================= */

.tq-rpm-options {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 85px 0;
}

.tq-rpm-options-intro {
    max-width: 760px;
    margin-bottom: 40px;
}

.tq-rpm-options-intro h2,
.tq-tracking-heading h2,
.tq-wearable-choice h2,
.tq-rpm-how-heading h2,
.tq-patient-tracking h2,
.tq-patient-simple-cta h2 {
    margin: 9px 0 13px;
    font-size: clamp(32px, 4vw, 47px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.tq-rpm-options-intro p,
.tq-tracking-heading p,
.tq-wearable-choice-copy p,
.tq-patient-tracking-copy p,
.tq-patient-simple-cta p {
    color: var(--tq-gray);
    font-size: 17px;
    line-height: 1.65;
}

.tq-rpm-option-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tq-rpm-option-card {
    padding: 32px;
    border: 1px solid var(--tq-border);
    border-radius: 25px;
    background: white;
    box-shadow: 0 10px 35px rgba(18,72,105,.06);
}

.tq-rpm-option-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 18px;
    background: rgba(0,114,191,.08);
    color: var(--tq-blue);
}

.tq-rpm-option-icon svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tq-option-label {
    display: block;
    margin-bottom: 6px;
    color: var(--tq-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
}

.tq-rpm-option-card h3 {
    margin: 0 0 10px;
    font-size: 26px;
}

.tq-rpm-option-card > p {
    min-height: 82px;
    color: var(--tq-gray);
    line-height: 1.6;
}


/* MANUAL TRACKING */

.tq-tracking-section {
    padding:
        80px
        max(20px, calc((100% - 1180px) / 2));
    background: var(--tq-soft);
}

.tq-tracking-heading {
    max-width: 720px;
    margin-bottom: 35px;
}

.tq-tracking-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.tq-tracking-grid article {
    padding: 28px;
    border: 1px solid var(--tq-border);
    border-radius: 22px;
    background: white;
}

.tq-tracking-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 15px;
    background: rgba(0,114,191,.08);
    color: var(--tq-blue);
    font-size: 25px;
    font-weight: 700;
}

.tq-tracking-grid h3 {
    margin: 0 0 7px;
    font-size: 22px;
}

.tq-tracking-grid p {
    margin: 0;
    color: var(--tq-gray);
    line-height: 1.55;
}


/* OPTIONAL WEARABLE */

.tq-wearable-choice {
    width: min(1080px, calc(100% - 40px));
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 60px;
    align-items: center;
    margin: 90px auto;
}

.tq-wearable-note {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(0,114,191,.08);
    color: var(--tq-dark-blue) !important;
    font-size: 13px !important;
    font-weight: 800;
}

.tq-wearable-visual {
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 35px;
    border-radius: 30px;
    background:
        linear-gradient(
            145deg,
            #edf8fd,
            #f8fcfe
        );
}

.tq-device-phone {
    width: 110px;
    height: 205px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 6px solid var(--tq-dark-blue);
    border-radius: 25px;
    background: white;
    color: var(--tq-dark-blue);
}

.tq-device-phone strong {
    color: var(--tq-blue);
    font-size: 17px;
}

.tq-device-phone small {
    color: var(--tq-gray);
}

.tq-device-dot {
    width: 26px;
    height: 4px;
    position: absolute;
    margin-top: -165px;
    border-radius: 4px;
    background: var(--tq-dark-blue);
}

.tq-device-link {
    display: flex;
    gap: 5px;
}

.tq-device-link span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--tq-light-blue);
}

.tq-device-watch {
    width: 90px;
    height: 125px;
    display: grid;
    place-items: center;
    border-radius: 30px;
    background: var(--tq-dark-blue);
}

.tq-watch-face {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border-radius: 21px;
    background: white;
    color: var(--tq-blue);
    font-size: 31px;
    font-weight: 800;
}


/* HOW IT WORKS */

.tq-rpm-how {
    padding:
        80px
        max(20px, calc((100% - 1180px) / 2));
    background: #f8fbfd;
}

.tq-rpm-how-heading {
    margin-bottom: 30px;
}

.tq-rpm-how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.tq-rpm-how-grid article {
    padding: 27px;
    border-radius: 20px;
    background: white;
    border: 1px solid var(--tq-border);
}

.tq-rpm-how-grid article > span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    margin-bottom: 17px;
    border-radius: 50%;
    background: var(--tq-blue);
    color: white;
    font-weight: 800;
}

.tq-rpm-how-grid h3 {
    margin: 0 0 8px;
}

.tq-rpm-how-grid p {
    color: var(--tq-gray);
    line-height: 1.55;
}


/* PATIENT PAGE */

.tq-patient-tracking {
    width: min(1080px, calc(100% - 40px));
    margin: 80px auto;
}

.tq-patient-tracking-copy {
    max-width: 720px;
    margin-bottom: 35px;
}

.tq-patient-tracking-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tq-patient-tracking-grid article {
    padding: 31px;
    border: 1px solid var(--tq-border);
    border-radius: 23px;
    background: white;
    box-shadow: 0 8px 30px rgba(18,72,105,.05);
}

.tq-patient-tracking-grid h3 {
    margin: 5px 0 10px;
    font-size: 25px;
}

.tq-patient-tracking-grid p {
    color: var(--tq-gray);
    line-height: 1.6;
}

.tq-patient-simple-cta {
    padding: 75px 20px;
    text-align: center;
    background: var(--tq-soft);
}

.tq-patient-simple-cta p {
    max-width: 650px;
    margin: 0 auto 20px;
}


/* MOBILE */

@media (max-width: 800px) {

    .tq-rpm-option-grid,
    .tq-patient-tracking-grid {
        grid-template-columns: 1fr;
    }

    .tq-tracking-grid,
    .tq-rpm-how-grid {
        grid-template-columns: 1fr;
    }

    .tq-wearable-choice {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tq-rpm-option-card > p {
        min-height: 0;
    }

}


@media (max-width: 560px) {

    .tq-rpm-options,
    .tq-wearable-choice,
    .tq-patient-tracking {
        width: min(100% - 28px, 1180px);
    }

    .tq-rpm-options {
        padding: 58px 0;
    }

    .tq-rpm-option-card,
    .tq-patient-tracking-grid article {
        padding: 23px;
    }

    .tq-wearable-choice {
        margin: 58px auto;
    }

    .tq-wearable-visual {
        min-height: 220px;
        gap: 14px;
        padding: 22px 12px;
    }

    .tq-device-phone {
        width: 95px;
        height: 180px;
    }

    .tq-device-watch {
        width: 75px;
        height: 105px;
    }

    .tq-watch-face {
        width: 58px;
        height: 58px;
    }

}


/* =========================================================
   TAQTIK COMMUNITY HOME V1
   2026-09-21
   ========================================================= */

.tq-community-home {
    background: #f5f8fa;
    color: #263746;
}

.tq-community-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.tq-community-hero {
    padding: 64px 0;
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(41,143,202,.18),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #055A8C 0%,
            #0072BF 100%
        );
    color: #fff;
}

.tq-community-hero .tq-community-shell {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
    align-items: center;
}

.tq-community-eyebrow,
.tq-community-section-label,
.tq-community-card-label {
    display: block;
    margin-bottom: 9px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.tq-community-eyebrow {
    color: #bfe7fb;
}

.tq-community-hero h1 {
    max-width: 650px;
    margin: 0 0 17px;
    color: #fff;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1;
    letter-spacing: -.035em;
}

.tq-community-hero-copy > p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.86);
    font-size: 19px;
    line-height: 1.6;
}

.tq-community-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.tq-community-button {
    display: inline-flex;
    min-height: 46px;
    padding: 11px 20px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    text-decoration: none;
    font-weight: 750;
    transition:
        transform .15s ease,
        box-shadow .15s ease;
}

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

.tq-community-button-primary {
    background: #0072BF;
    color: #fff;
    box-shadow: 0 8px 22px rgba(0,73,120,.16);
}

.tq-community-hero .tq-community-button-primary {
    background: #fff;
    color: #055A8C;
}

.tq-community-button-light {
    border: 1px solid rgba(255,255,255,.4);
    color: #fff;
}

.tq-community-progress-card {
    padding: 29px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 24px;
    background: rgba(255,255,255,.12);
    box-shadow: 0 22px 55px rgba(0,44,73,.18);
    backdrop-filter: blur(10px);
}

.tq-community-card-label {
    color: #bfe7fb;
}

.tq-community-progress-card h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 27px;
}

.tq-community-progress-card > p {
    margin: 0 0 24px;
    color: rgba(255,255,255,.8);
}

.tq-community-progress-heading {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}

.tq-community-progress-heading span {
    color: #bfe7fb;
}

.tq-community-progress-track {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
}

.tq-community-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #fff;
}

.tq-community-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 24px;
}

.tq-community-mini-stats div {
    padding: 14px 8px;
    border-radius: 14px;
    background: rgba(255,255,255,.1);
    text-align: center;
}

.tq-community-mini-stats strong,
.tq-community-mini-stats span {
    display: block;
}

.tq-community-mini-stats strong {
    color: #fff;
    font-size: 23px;
}

.tq-community-mini-stats span {
    margin-top: 2px;
    color: rgba(255,255,255,.72);
    font-size: 11px;
}

.tq-community-progress-card small {
    display: block;
    margin-top: 18px;
    color: rgba(255,255,255,.62);
    line-height: 1.5;
}

.tq-community-main {
    padding: 0 0 80px;
}

.tq-community-nav {
    display: flex;
    gap: 5px;
    margin: -24px 0 42px;
    padding: 8px;
    position: relative;
    z-index: 2;
    overflow-x: auto;
    border: 1px solid #e1e8ed;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(34,66,85,.09);
}

.tq-community-nav a {
    display: flex;
    gap: 7px;
    min-width: max-content;
    padding: 11px 15px;
    align-items: center;
    border-radius: 10px;
    color: #4d6473;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.tq-community-nav a:first-child,
.tq-community-nav a:hover {
    background: #edf7fc;
    color: #0072BF;
}

.tq-community-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 34px;
    align-items: start;
}

.tq-community-section + .tq-community-section {
    margin-top: 48px;
}

.tq-community-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 17px;
}

.tq-community-section-label {
    margin-bottom: 5px;
    color: #0072BF;
}

.tq-community-heading h2 {
    margin: 0;
    color: #263746;
    font-size: 29px;
}

.tq-community-sample-pill {
    padding: 5px 9px;
    border-radius: 999px;
    background: #eaf4fa;
    color: #055A8C;
    font-size: 11px;
    font-weight: 800;
}

.tq-feed-card {
    display: flex;
    gap: 15px;
    margin-bottom: 14px;
    padding: 22px;
    border: 1px solid #e2e9ed;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(42,67,82,.045);
}

.tq-feed-avatar {
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #055A8C;
    color: #fff;
    font-weight: 850;
}

.tq-feed-avatar-blue {
    background: #0072BF;
}

.tq-feed-content {
    min-width: 0;
    flex: 1;
}

.tq-feed-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.tq-feed-meta strong {
    color: #263746;
}

.tq-feed-meta span {
    padding: 3px 7px;
    border-radius: 999px;
    background: #eef4f7;
    color: #6c7f8b;
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
}

.tq-feed-content p {
    margin: 9px 0 12px;
    color: #5c6d77;
    line-height: 1.6;
}

.tq-feed-actions {
    display: flex;
    gap: 20px;
    color: #758791;
    font-size: 13px;
    font-weight: 650;
}

.tq-community-text-link {
    color: #0072BF;
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
}

.tq-community-group-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.tq-community-group-card {
    display: flex;
    gap: 15px;
    padding: 21px;
    border: 1px solid #e2e9ed;
    border-radius: 18px;
    background: #fff;
}

.tq-group-icon {
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eaf5fb;
    color: #0072BF;
    font-weight: 850;
}

.tq-community-group-card h3 {
    margin: 0 0 5px;
    color: #263746;
    font-size: 17px;
}

.tq-community-group-card p {
    margin: 0 0 8px;
    color: #667984;
    font-size: 13px;
    line-height: 1.5;
}

.tq-community-group-card span {
    color: #0072BF;
    font-size: 11px;
    font-weight: 750;
}

.tq-community-sidebar {
    display: grid;
    gap: 17px;
}

.tq-community-side-card {
    padding: 22px;
    border: 1px solid #e2e9ed;
    border-radius: 19px;
    background: #fff;
}

.tq-community-side-card h3 {
    margin: 0 0 14px;
    color: #263746;
    font-size: 21px;
}

.tq-community-journey-list {
    display: grid;
}

.tq-community-journey-list > a {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    gap: 10px;
    padding: 12px 0;
    align-items: center;
    border-top: 1px solid #edf1f3;
    color: #263746;
    text-decoration: none;
}

.tq-community-journey-list > a:first-child {
    border-top: 0;
}

.tq-side-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #eaf5fb;
    color: #0072BF;
    font-weight: 850;
}

.tq-community-journey-list strong,
.tq-community-journey-list small {
    display: block;
}

.tq-community-journey-list small {
    margin-top: 2px;
    color: #81909a;
}

.tq-community-journey-list b {
    color: #8aa0ad;
    font-size: 23px;
}

.tq-health-card {
    background: #edf7fc;
    border-color: #d3e9f5;
}

.tq-health-card p {
    color: #5c6d77;
    font-size: 13px;
    line-height: 1.6;
}

.tq-health-card .tq-community-button {
    width: 100%;
    margin-top: 6px;
}

.tq-community-privacy {
    padding: 18px 20px;
    border-radius: 17px;
    background: #f0f2f3;
}

.tq-community-privacy strong {
    color: #4d4d4d;
}

.tq-community-privacy p {
    margin: 5px 0 0;
    color: #6b7479;
    font-size: 12px;
    line-height: 1.55;
}


/* COMMUNITY MOBILE */

@media (max-width: 900px) {

    .tq-community-hero {
        padding: 44px 0 55px;
    }

    .tq-community-hero .tq-community-shell,
    .tq-community-layout {
        grid-template-columns: 1fr;
    }

    .tq-community-hero .tq-community-shell {
        gap: 32px;
    }

    .tq-community-layout {
        gap: 35px;
    }

    .tq-community-group-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .tq-community-shell {
        width: min(100% - 28px, 1180px);
    }

    .tq-community-hero {
        padding-top: 34px;
    }

    .tq-community-hero h1 {
        font-size: 40px;
    }

    .tq-community-hero-copy > p {
        font-size: 16px;
    }

    .tq-community-hero-actions {
        display: grid;
    }

    .tq-community-button {
        width: 100%;
    }

    .tq-community-progress-card {
        padding: 22px;
        border-radius: 20px;
    }

    .tq-community-mini-stats {
        gap: 6px;
    }

    .tq-community-mini-stats div {
        padding: 12px 4px;
    }

    .tq-community-nav {
        margin-top: -19px;
        margin-bottom: 32px;
        border-radius: 14px;
    }

    .tq-community-heading h2 {
        font-size: 25px;
    }

    .tq-feed-card {
        padding: 17px;
    }

    .tq-feed-avatar {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .tq-community-group-card {
        padding: 17px;
    }

}


/* =========================================================
   TAQTIK COMMUNITY ONBOARDING
   2026-09-21
   ========================================================= */

.tq-community-onboarding {
    display: flex;
    gap: 14px;
    margin-top: 23px;
    padding: 18px;
    align-items: flex-start;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px;
    background: rgba(255,255,255,.10);
}

.tq-community-onboarding-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255,255,255,.16);
    color: #fff;
    font-size: 19px;
    font-weight: 800;
}

.tq-community-onboarding strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 15px;
}

.tq-community-onboarding p {
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 13px;
    line-height: 1.55;
}

@media (max-width: 600px) {

    .tq-community-onboarding {
        padding: 15px;
    }

}


/* =========================================================
   TAQTIK COMMUNITY PROFILE
   2026-09-21
   ========================================================= */

body.page-id-36 .entry-header,
body.page-id-36 .entry-title {
    display: none;
}

body.page-id-36 .site-main,
body.page-id-36 main {
    padding-top: 0;
}

body.page-id-36 .entry-content {
    margin: 0;
    max-width: none;
}

.tq-profile-page {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 58px 0 80px;
}

.tq-profile-heading {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 34px;
}

.tq-profile-heading h1 {
    margin: 5px 0 10px;
    font-size: clamp(36px, 5vw, 54px);
    line-height: 1.05;
    color: #173247;
}

.tq-community-section-label {
    display: block;
    color: #0072BF;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
}

.tq-profile-current-avatar {
    flex: 0 0 auto;
}

.tq-member-avatar-image,
.tq-member-avatar-fallback {
    width: 104px;
    height: 104px;
    border-radius: 50%;
}

.tq-member-avatar-image {
    display: block;
    object-fit: cover;
}

.tq-member-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0072BF;
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    box-shadow: 0 10px 28px rgba(0, 114, 191, .18);
}

.tq-profile-group-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    border-radius: 999px;
    background: #eaf5fb;
    color: #055A8C;
    font-size: 13px;
    font-weight: 700;
}

.tq-profile-form {
    display: grid;
    gap: 22px;
    max-width: 850px;
}

.tq-profile-card {
    display: block;
    padding: 28px;
    background: #fff;
    border: 1px solid #dce6ec;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(30, 65, 90, .06);
}

.tq-profile-card h2 {
    margin: 0 0 8px;
    color: #173247;
    font-size: 24px;
}

.tq-profile-help {
    margin: 0 0 24px;
    color: #617789;
    line-height: 1.6;
}

.tq-profile-card label:not(.tq-profile-focus) {
    display: block;
    margin: 22px 0 7px;
    color: #173247;
    font-weight: 700;
}

.tq-profile-card label span {
    color: #7890a0;
    font-size: 13px;
    font-weight: 500;
}

.tq-profile-card input[type="text"],
.tq-profile-card textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    padding: 13px 15px;
    border: 1px solid #cbd9e2;
    border-radius: 10px;
    background: #fff;
    color: #173247;
    font: inherit;
}

.tq-profile-card textarea {
    min-height: 120px;
    resize: vertical;
}

.tq-profile-card input[type="text"]:focus,
.tq-profile-card textarea:focus {
    border-color: #0072BF;
    outline: 3px solid rgba(0, 114, 191, .10);
}

.tq-profile-card small {
    display: block;
    margin-top: 7px;
    color: #7890a0;
    line-height: 1.45;
}

.tq-profile-card input[type="file"] {
    display: block;
    width: 100%;
    padding: 14px;
    box-sizing: border-box;
    border: 1px dashed #b8cad5;
    border-radius: 10px;
    background: #f7fafc;
}

.tq-profile-focus-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.tq-profile-focus {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid #dce6ec;
    border-radius: 12px;
    background: #f8fbfd;
    cursor: pointer;
}

.tq-profile-focus:hover {
    border-color: #8bc4e5;
    background: #f0f8fc;
}

.tq-profile-focus input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.tq-profile-focus span {
    color: #173247 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

.tq-profile-privacy {
    background: #f3f9fc;
}

.tq-profile-privacy p {
    margin-bottom: 0;
    color: #526d7e;
    line-height: 1.65;
}

.tq-profile-save {
    justify-self: start;
    appearance: none;
    border: 0;
    border-radius: 10px;
    padding: 14px 24px;
    background: #0072BF;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 114, 191, .18);
}

.tq-profile-save:hover {
    background: #055A8C;
}

.tq-profile-message {
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: 700;
}

.tq-profile-success {
    background: #eef8f2;
    border: 1px solid #cce8d5;
    color: #28653d;
}

.tq-profile-error {
    background: #fff3f2;
    border: 1px solid #efd0cd;
    color: #8a3028;
}

@media (max-width: 700px) {

    .tq-profile-page {
        width: min(100% - 28px, 1120px);
        padding: 34px 0 60px;
    }

    .tq-profile-heading {
        align-items: flex-start;
    }

    .tq-member-avatar-image,
    .tq-member-avatar-fallback {
        width: 76px;
        height: 76px;
    }

    .tq-member-avatar-fallback {
        font-size: 28px;
    }

    .tq-profile-card {
        padding: 21px;
    }

    .tq-profile-focus-grid {
        grid-template-columns: 1fr;
    }
}



/* =========================================================
   TAQTIK COMMUNITY PROFILE
   2026-09-21
   ========================================================= */

body.page-id-36 .entry-header,
body.page-id-36 .entry-title {
    display: none;
}

body.page-id-36 .site-main,
body.page-id-36 main {
    padding-top: 0;
}

body.page-id-36 .entry-content {
    margin: 0;
    max-width: none;
}

.tq-profile-page {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 58px 0 80px;
}

.tq-profile-heading {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 34px;
}

.tq-profile-heading h1 {
    margin: 5px 0 10px;
    font-size: clamp(36px, 5vw, 54px);
    line-height: 1.05;
    color: #173247;
}

.tq-community-section-label {
    display: block;
    color: #0072BF;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
}

.tq-profile-current-avatar {
    flex: 0 0 auto;
}

.tq-member-avatar-image,
.tq-member-avatar-fallback {
    width: 104px;
    height: 104px;
    border-radius: 50%;
}

.tq-member-avatar-image {
    display: block;
    object-fit: cover;
}

.tq-member-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0072BF;
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    box-shadow: 0 10px 28px rgba(0, 114, 191, .18);
}

.tq-profile-group-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    border-radius: 999px;
    background: #eaf5fb;
    color: #055A8C;
    font-size: 13px;
    font-weight: 700;
}

.tq-profile-form {
    display: grid;
    gap: 22px;
    max-width: 850px;
}

.tq-profile-card {
    display: block;
    padding: 28px;
    background: #fff;
    border: 1px solid #dce6ec;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(30, 65, 90, .06);
}

.tq-profile-card h2 {
    margin: 0 0 8px;
    color: #173247;
    font-size: 24px;
}

.tq-profile-help {
    margin: 0 0 24px;
    color: #617789;
    line-height: 1.6;
}

.tq-profile-card label:not(.tq-profile-focus) {
    display: block;
    margin: 22px 0 7px;
    color: #173247;
    font-weight: 700;
}

.tq-profile-card label span {
    color: #7890a0;
    font-size: 13px;
    font-weight: 500;
}

.tq-profile-card input[type="text"],
.tq-profile-card textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    padding: 13px 15px;
    border: 1px solid #cbd9e2;
    border-radius: 10px;
    background: #fff;
    color: #173247;
    font: inherit;
}

.tq-profile-card textarea {
    min-height: 120px;
    resize: vertical;
}

.tq-profile-card input[type="text"]:focus,
.tq-profile-card textarea:focus {
    border-color: #0072BF;
    outline: 3px solid rgba(0, 114, 191, .10);
}

.tq-profile-card small {
    display: block;
    margin-top: 7px;
    color: #7890a0;
    line-height: 1.45;
}

.tq-profile-card input[type="file"] {
    display: block;
    width: 100%;
    padding: 14px;
    box-sizing: border-box;
    border: 1px dashed #b8cad5;
    border-radius: 10px;
    background: #f7fafc;
}

.tq-profile-focus-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.tq-profile-focus {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid #dce6ec;
    border-radius: 12px;
    background: #f8fbfd;
    cursor: pointer;
}

.tq-profile-focus:hover {
    border-color: #8bc4e5;
    background: #f0f8fc;
}

.tq-profile-focus input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.tq-profile-focus span {
    color: #173247 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

.tq-profile-privacy {
    background: #f3f9fc;
}

.tq-profile-privacy p {
    margin-bottom: 0;
    color: #526d7e;
    line-height: 1.65;
}

.tq-profile-save {
    justify-self: start;
    appearance: none;
    border: 0;
    border-radius: 10px;
    padding: 14px 24px;
    background: #0072BF;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 114, 191, .18);
}

.tq-profile-save:hover {
    background: #055A8C;
}

.tq-profile-message {
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: 700;
}

.tq-profile-success {
    background: #eef8f2;
    border: 1px solid #cce8d5;
    color: #28653d;
}

.tq-profile-error {
    background: #fff3f2;
    border: 1px solid #efd0cd;
    color: #8a3028;
}

@media (max-width: 700px) {

    .tq-profile-page {
        width: min(100% - 28px, 1120px);
        padding: 34px 0 60px;
    }

    .tq-profile-heading {
        align-items: flex-start;
    }

    .tq-member-avatar-image,
    .tq-member-avatar-fallback {
        width: 76px;
        height: 76px;
    }

    .tq-member-avatar-fallback {
        font-size: 28px;
    }

    .tq-profile-card {
        padding: 21px;
    }

    .tq-profile-focus-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   TAQTIK LIVE COMMUNITY 20260921
   ========================================================= */

.tq-live-community {
    background: #f5f8fa;
    min-height: 100vh;
}

.tq-live-community-hero {
    background: linear-gradient(135deg, #055A8C, #0072BF);
    color: #fff;
    padding: 46px 24px;
}

.tq-live-community-hero-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.tq-live-community-hero h1 {
    color: #fff;
    margin: 6px 0 8px;
    font-size: clamp(34px, 5vw, 54px);
}

.tq-live-community-hero p {
    margin: 0;
    max-width: 650px;
    font-size: 18px;
    opacity: .94;
}

.tq-label-light {
    color: #fff !important;
    opacity: .8;
}

.tq-community-member-hero {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 240px;
    padding: 16px 20px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 18px;
    background: rgba(255,255,255,.1);
}

.tq-community-member-hero img,
.tq-new-member-avatar img,
.tq-community-post-avatar img,
.tq-comment-avatar img,
.tq-composer-avatar img {
    border-radius: 50%;
    object-fit: cover;
}

.tq-community-member-hero small,
.tq-community-member-hero strong,
.tq-community-member-hero a {
    display: block;
}

.tq-community-member-hero a {
    color: #fff;
    margin-top: 4px;
    font-size: 13px;
}

.tq-community-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 16px 0;
}

.tq-community-tabs a {
    white-space: nowrap;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 10px;
    color: #4D4D4D;
    font-weight: 700;
}

.tq-community-tabs a.is-active {
    background: #0072BF;
    color: #fff;
}

.tq-community-health-link {
    margin-left: auto;
}

.tq-live-community-layout {
    width: min(1180px, calc(100% - 32px));
    margin: 8px auto 60px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
    align-items: start;
}

.tq-community-main-column,
.tq-community-sidebar {
    display: grid;
    gap: 18px;
}

.tq-onboarding-card,
.tq-introduction-card,
.tq-community-composer,
.tq-community-post,
.tq-empty-feed,
.tq-sidebar-card {
    background: #fff;
    border: 1px solid #e3eaee;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,.04);
}

.tq-community-section-label {
    display: block;
    color: #0072BF;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .11em;
}

.tq-onboarding-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.tq-onboarding-card h2,
.tq-introduction-card h2,
.tq-feed-heading h2,
.tq-sidebar-card h3 {
    margin: 5px 0 8px;
}

.tq-completion-number {
    color: #0072BF;
    font-size: 28px;
}

.tq-completion-track {
    height: 8px;
    overflow: hidden;
    background: #e8eef2;
    border-radius: 99px;
    margin: 16px 0;
}

.tq-completion-track span {
    display: block;
    height: 100%;
    background: #0072BF;
    border-radius: inherit;
}

.tq-onboarding-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px 18px;
    margin-bottom: 18px;
}

.tq-onboarding-items .is-complete {
    color: #055A8C;
    font-weight: 700;
}

.tq-community-secondary-button,
.tq-introduction-card button,
.tq-community-composer button,
.tq-community-comment-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    background: #0072BF;
    color: #fff;
    font-weight: 800;
    padding: 11px 18px;
    cursor: pointer;
    text-decoration: none;
}

.tq-introduction-card textarea,
.tq-community-composer textarea,
.tq-community-comment-form input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ccd8df;
    border-radius: 12px;
    padding: 13px 15px;
    font: inherit;
    background: #fff;
}

.tq-introduction-card textarea,
.tq-community-composer textarea {
    resize: vertical;
}

.tq-introduction-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 10px 0 16px;
}

.tq-introduction-prompts span {
    padding: 6px 9px;
    border-radius: 99px;
    background: #eef6fb;
    color: #055A8C;
    font-size: 12px;
}

.tq-community-composer {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
}

.tq-composer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}

.tq-composer-bottom small {
    color: #666;
}

.tq-feed-heading {
    margin-top: 8px;
}

.tq-community-post-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tq-community-post-header strong,
.tq-community-post-header span {
    display: block;
}

.tq-community-post-header span {
    color: #777;
    font-size: 13px;
}

.tq-community-post-content {
    margin: 18px 0;
    font-size: 16px;
    line-height: 1.65;
}

.tq-community-reactions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 12px 0;
    border-top: 1px solid #edf1f3;
    border-bottom: 1px solid #edf1f3;
}

.tq-community-reactions form {
    margin: 0;
}

.tq-community-reactions button {
    border: 0;
    background: transparent;
    padding: 7px 9px;
    border-radius: 8px;
    color: #666;
    cursor: pointer;
    font-weight: 700;
}

.tq-community-reactions button:hover,
.tq-community-reactions button.is-selected {
    background: #eaf4fa;
    color: #0072BF;
}

.tq-community-comments {
    display: grid;
    gap: 12px;
    padding-top: 15px;
}

.tq-community-comment {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 10px;
}

/* Deliberately flat. No nested reply indentation. */
.tq-community-comment {
    margin-left: 0 !important;
}

.tq-comment-body {
    background: #f4f7f9;
    border-radius: 12px;
    padding: 10px 13px;
}

.tq-comment-body p {
    margin: 3px 0 0;
}

.tq-community-comment-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-top: 14px;
}

.tq-new-members-list {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.tq-new-member {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 11px;
    align-items: center;
}

.tq-new-member-info strong,
.tq-new-member-info span,
.tq-new-member-info small {
    display: block;
}

.tq-new-member-info span {
    color: #666;
    font-size: 13px;
}

.tq-new-member-info small {
    color: #0072BF;
    font-size: 11px;
    font-weight: 700;
}

.tq-sidebar-completion > div:first-child {
    display: flex;
    justify-content: space-between;
}

.tq-private-health {
    border-top: 4px solid #0072BF;
}

.tq-empty-feed {
    text-align: center;
    padding: 38px 24px;
}

.tq-empty-feed-icon {
    font-size: 32px;
    color: #0072BF;
}

@media (max-width: 850px) {

    .tq-live-community-hero-inner {
        display: block;
    }

    .tq-community-member-hero {
        margin-top: 22px;
    }

    .tq-live-community-layout {
        grid-template-columns: 1fr;
    }

    .tq-community-sidebar {
        order: -1;
    }

    .tq-community-health-link {
        margin-left: 0;
    }
}

@media (max-width: 600px) {

    .tq-live-community-hero {
        padding: 32px 18px;
    }

    .tq-live-community-layout {
        width: min(100% - 20px, 1180px);
    }

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

    .tq-community-composer {
        grid-template-columns: 40px 1fr;
    }

    .tq-composer-avatar img {
        width: 40px !important;
        height: 40px !important;
    }

    .tq-composer-bottom {
        align-items: flex-end;
    }

    .tq-community-comment-form {
        grid-template-columns: 1fr;
    }

    .tq-community-sidebar {
        order: 0;
    }
}

/* =========================================================
   COMMUNITY MEMBER PHOTO + INTRODUCTION POLISH
   2026-09-21
   ========================================================= */

/* New Members */
.tq-new-member {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
}

.tq-new-member-avatar {
    width: 52px;
    height: 52px;
    min-width: 52px;
    overflow: hidden;
    border-radius: 50%;
    background: #eef4f7;
}

.tq-new-member-avatar img,
.tq-new-member-avatar .avatar {
    display: block !important;
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    aspect-ratio: 1 / 1;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 50% !important;
    margin: 0 !important;
}

.tq-new-member-info {
    min-width: 0;
}

.tq-new-member-info strong {
    display: block;
    line-height: 1.25;
    margin-bottom: 3px;
}

.tq-new-member-info span {
    display: block;
    font-size: 13px;
    line-height: 1.35;
    color: #666;
    margin-bottom: 3px;
}

.tq-new-member-info small {
    display: inline-block;
    color: #0072BF;
    font-size: 11px;
    font-weight: 700;
}


/* Introduction */
.tq-introduction-card {
    position: relative;
    border-top: 4px solid #0072BF;
}

.tq-introduction-card h2 {
    font-size: 26px;
    margin-bottom: 8px;
}

.tq-introduction-card > p {
    max-width: 720px;
    color: #4D4D4D;
    line-height: 1.6;
}

.tq-introduction-card textarea {
    min-height: 145px;
    margin-top: 6px;
    padding: 16px;
    line-height: 1.55;
    background: #fff;
}

.tq-introduction-card textarea:focus {
    outline: none;
    border-color: #0072BF;
    box-shadow: 0 0 0 3px rgba(0,114,191,.10);
}

.tq-introduction-prompts {
    margin: 12px 0 18px;
}

.tq-introduction-prompts span {
    background: #eef6fb;
    border: 1px solid #d9ebf5;
    padding: 7px 11px;
}

.tq-introduction-card button {
    min-height: 46px;
    padding: 12px 22px;
    font-size: 15px;
}

@media (max-width: 600px) {

    .tq-new-member {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .tq-new-member-avatar,
    .tq-new-member-avatar img,
    .tq-new-member-avatar .avatar {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
    }
}

/* =========================================================
   TAQTIK COMMUNITY AVATAR HARD FIX
   2026-09-22
   ========================================================= */

/* Composer avatar */
.tq-composer-avatar {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    overflow: hidden !important;
    border-radius: 50% !important;
    align-self: start;
}

.tq-composer-avatar img,
.tq-composer-avatar img.avatar {
    display: block !important;
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    max-width: 52px !important;
    max-height: 52px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 50% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* New member avatar */
.tq-new-member-avatar {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    overflow: hidden !important;
    border-radius: 50% !important;
}

.tq-new-member-avatar img,
.tq-new-member-avatar img.avatar {
    display: block !important;
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    max-width: 52px !important;
    max-height: 52px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 50% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Feed post avatar */
.tq-community-post-avatar {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    overflow: hidden !important;
    border-radius: 50% !important;
}

.tq-community-post-avatar img,
.tq-community-post-avatar img.avatar {
    width: 52px !important;
    height: 52px !important;
    max-width: 52px !important;
    max-height: 52px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 50% !important;
    display: block !important;
}

/* Comment avatar */
.tq-comment-avatar {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    overflow: hidden !important;
    border-radius: 50% !important;
}

.tq-comment-avatar img,
.tq-comment-avatar img.avatar {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 50% !important;
    display: block !important;
}

/* Header/member card avatar */
.tq-community-member-hero > img,
.tq-community-member-hero img.avatar {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 50% !important;
}

/* Prevent theme rules from stretching community images */
.tq-live-community img.avatar {
    vertical-align: middle;
}

@media (max-width: 600px) {

    .tq-composer-avatar,
    .tq-composer-avatar img,
    .tq-composer-avatar img.avatar {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        max-height: 44px !important;
    }

    .tq-community-composer {
        grid-template-columns: 44px minmax(0, 1fr) !important;
    }
}

/* =========================================================
   TAQTIK COMMUNITY SHARING 20260922
   ========================================================= */

.tq-sharing-card {
    max-width: 900px;
    margin: 24px auto 50px;
    padding: 28px;
    background: #fff;
    border: 1px solid #e2e9ed;
    border-radius: 18px;
    box-shadow: 0 8px 26px rgba(0,0,0,.04);
}

.tq-sharing-card h2 {
    margin: 5px 0 8px;
}

.tq-sharing-intro {
    color: #666;
    max-width: 680px;
}

.tq-sharing-options {
    display: grid;
    gap: 10px;
    margin: 22px 0;
}

.tq-sharing-option {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 12px;
    align-items: start;
    padding: 14px 16px;
    border: 1px solid #e2e9ed;
    border-radius: 12px;
    cursor: pointer;
}

.tq-sharing-option:hover {
    border-color: #9dc9e2;
    background: #f8fbfd;
}

.tq-sharing-option input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #0072BF;
}

.tq-sharing-copy strong,
.tq-sharing-copy small {
    display: block;
}

.tq-sharing-copy small {
    color: #666;
    margin-top: 3px;
    line-height: 1.45;
}

.tq-always-private {
    margin: 22px 0;
    padding: 18px;
    border-radius: 12px;
    background: #f3f7f9;
    border-left: 4px solid #055A8C;
}

.tq-always-private strong {
    color: #055A8C;
}

.tq-always-private p {
    margin: 5px 0 0;
    color: #555;
    line-height: 1.55;
}

.tq-sharing-save {
    border: 0;
    border-radius: 10px;
    padding: 12px 20px;
    background: #0072BF;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.tq-sharing-success {
    margin: 16px 0;
    padding: 12px 15px;
    border-radius: 10px;
    background: #edf8f2;
    color: #23683e;
    font-weight: 700;
}

@media (max-width: 600px) {

    .tq-sharing-card {
        margin: 18px 10px 35px;
        padding: 20px;
    }
}

/* =========================================================
   TAQTIK COMMUNITY MY PROGRESS
   2026-09-22
   ========================================================= */

.tq-my-progress {
    background: #fff;
    border: 1px solid #e3e9ee;
    border-radius: 20px;
    padding: 24px;
    margin: 0 0 22px;
    box-shadow: 0 8px 28px rgba(5, 90, 140, 0.07);
}

.tq-my-progress-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.tq-my-progress-head h2 {
    margin: 4px 0 5px;
    font-size: 25px;
    line-height: 1.15;
    color: #1f3441;
}

.tq-my-progress-head p {
    margin: 0;
    color: #667782;
    font-size: 14px;
    line-height: 1.5;
}

.tq-progress-kicker,
.tq-progress-status-label {
    display: block;
    color: #0072BF;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tq-demo-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef7fc;
    color: #055A8C;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.tq-progress-status {
    display: flex;
    align-items: center;
    gap: 11px;
    background: #f5fafc;
    border-radius: 14px;
    padding: 13px 14px;
    margin-bottom: 17px;
}

.tq-progress-status-icon,
.tq-progress-empty-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e7f6ed;
    color: #23824a;
    font-weight: 900;
}

.tq-progress-status strong {
    display: block;
    margin-top: 2px;
    color: #263c49;
    font-size: 14px;
}

.tq-progress-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 20px;
}

.tq-progress-stat {
    min-width: 0;
    padding: 13px 10px;
    background: #f8fafb;
    border-radius: 13px;
    text-align: center;
}

.tq-progress-stat span,
.tq-progress-stat small {
    display: block;
    color: #75858f;
    font-size: 11px;
}

.tq-progress-stat strong {
    display: block;
    margin: 3px 0 1px;
    color: #055A8C;
    font-size: 22px;
    line-height: 1.1;
}

.tq-progress-challenge {
    padding: 17px;
    border: 1px solid #e3e9ee;
    border-radius: 15px;
}

.tq-progress-challenge-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.tq-progress-challenge-top strong {
    display: block;
    margin-top: 3px;
    color: #263c49;
    font-size: 14px;
}

.tq-progress-percent {
    color: #0072BF;
    font-size: 19px;
    font-weight: 800;
}

.tq-progress-bar {
    position: relative;
    overflow: hidden;
    height: 9px;
    margin: 13px 0 8px;
    border-radius: 999px;
    background: #e9eef1;
}

.tq-progress-bar-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #0072BF;
}

.tq-progress-challenge-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #75858f;
    font-size: 11px;
}

.tq-progress-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 17px;
}

.tq-progress-primary,
.tq-progress-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 12px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.tq-progress-primary {
    background: #0072BF;
    color: #fff;
}

.tq-progress-primary:hover {
    background: #055A8C;
    color: #fff;
}

.tq-progress-secondary {
    background: #f3f6f8;
    color: #055A8C;
}

.tq-progress-secondary:hover {
    background: #e7eef2;
    color: #055A8C;
}

.tq-progress-privacy {
    margin: 15px 0 0;
    color: #71808a;
    font-size: 11px;
    line-height: 1.5;
}

.tq-progress-empty {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 14px;
    background: #f7fafb;
}

.tq-progress-empty strong {
    color: #263c49;
}

.tq-progress-empty p {
    margin: 4px 0 0;
    color: #71808a;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 720px) {

    .tq-my-progress {
        padding: 19px;
        border-radius: 16px;
    }

    .tq-my-progress-head {
        flex-direction: column;
    }

    .tq-progress-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tq-progress-stat {
        padding: 11px 5px;
    }

    .tq-progress-stat strong {
        font-size: 18px;
    }

    .tq-progress-actions {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   TAQTIK COMMUNITY CHALLENGES PAGE
   2026-09-22
   ========================================================= */

.tq-challenges-wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0 70px;
}

.tq-challenges-intro {
    max-width: 760px;
    margin-bottom: 38px;
}

.tq-challenges-intro h2 {
    margin: 7px 0 10px;
}

.tq-challenges-intro p {
    margin: 0;
    line-height: 1.7;
}

.tq-challenge-section {
    margin-top: 42px;
}

.tq-challenge-card {
    display: flex;
    flex-direction: column;
}

.tq-challenge-card form {
    margin-top: auto;
    padding-top: 18px;
}

.tq-challenge-goal {
    margin-top: 16px;
    font-size: 14px;
}

.tq-challenge-join,
.tq-challenge-secondary {
    appearance: none;
    border: 0;
    cursor: pointer;
    font: inherit;
}

.tq-challenge-join {
    background: transparent;
    padding: 0;
}

.tq-challenge-secondary {
    border: 1px solid #d8d8d8;
    border-radius: 999px;
    background: #fff;
    padding: 9px 15px;
    font-weight: 700;
}

.tq-challenge-joined-copy {
    display: block;
    margin-top: auto;
    padding-top: 18px;
}

.tq-challenge-active {
    box-shadow: 0 12px 30px rgba(0,0,0,.06);
}

.tq-challenge-notice {
    margin-bottom: 28px;
    padding: 14px 18px;
    border-radius: 10px;
    background: #f3f8f5;
    font-weight: 700;
}

@media (max-width: 700px) {

    .tq-challenges-wrap {
        width: min(100% - 28px, 1180px);
        padding-top: 28px;
    }

    .tq-challenge-section {
        margin-top: 32px;
    }

}

/* =========================================================
   TAQTIK COMMUNITY CHALLENGES - LAYOUT POLISH
   2026-09-22
   ========================================================= */

.tq-challenges-page .tq-challenges-wrap {
    width: calc(100% - 48px) !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 48px 0 80px !important;
    box-sizing: border-box;
}

.tq-challenges-page .tq-challenges-intro {
    max-width: 760px;
    margin: 0 0 42px;
}

.tq-challenges-page .tq-challenges-intro .tq-panel-label,
.tq-challenges-page .tq-dashboard-section-heading .tq-panel-label {
    display: block;
    margin-bottom: 10px;
}

.tq-challenges-page .tq-challenges-intro h2,
.tq-challenges-page .tq-dashboard-section-heading h2 {
    margin-top: 0;
}

.tq-challenges-page .tq-challenge-grid {
    align-items: stretch;
    gap: 22px;
}

.tq-challenges-page .tq-challenge-card {
    min-height: 300px;
    padding: 28px;
    border: 1px solid #dce7ee;
    border-radius: 18px;
    background: #fff;
    box-sizing: border-box;
}

.tq-challenges-page .tq-challenge-card h3 {
    margin-top: 22px;
}

.tq-challenges-page .tq-challenge-card p {
    line-height: 1.6;
}

.tq-challenges-page .tq-challenge-goal {
    margin-top: auto;
    padding-top: 22px;
}

.tq-challenges-page .tq-challenge-card form {
    margin: 0;
    padding-top: 14px;
}

.tq-challenges-page button.tq-challenge-join {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 0;
    border-radius: 999px;
    background: #087bc1;
    color: #fff;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none;
}

.tq-challenges-page button.tq-challenge-join:hover,
.tq-challenges-page button.tq-challenge-join:focus {
    background: #066aa7;
    color: #fff;
}

.tq-challenges-page button.tq-challenge-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid #cbd9e2;
    border-radius: 999px;
    background: #fff;
    color: #17354a;
    font-weight: 700;
    cursor: pointer;
}

.tq-challenges-page .tq-challenge-joined-copy {
    color: #087bc1;
    font-weight: 800;
}

.tq-challenges-page .tq-challenge-notice {
    border: 1px solid #cfe4d7;
}

@media (max-width: 760px) {

    .tq-challenges-page .tq-challenges-wrap {
        width: calc(100% - 28px) !important;
        padding: 30px 0 55px !important;
    }

    .tq-challenges-page .tq-challenge-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tq-challenges-page .tq-challenge-card {
        min-height: 0;
        padding: 22px;
    }

    .tq-challenges-page button.tq-challenge-join,
    .tq-challenges-page button.tq-challenge-secondary {
        width: 100%;
    }

}


/* =========================================================
   TAQTIK COMMUNITY CHALLENGES - LAYOUT POLISH
   2026-09-22
   ========================================================= */

.tq-challenges-page .tq-challenges-wrap {
    width: calc(100% - 48px) !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 48px 0 80px !important;
    box-sizing: border-box;
}

.tq-challenges-page .tq-challenges-intro {
    max-width: 760px;
    margin: 0 0 42px;
}

.tq-challenges-page .tq-challenges-intro .tq-panel-label,
.tq-challenges-page .tq-dashboard-section-heading .tq-panel-label {
    display: block;
    margin-bottom: 10px;
}

.tq-challenges-page .tq-challenges-intro h2,
.tq-challenges-page .tq-dashboard-section-heading h2 {
    margin-top: 0;
}

.tq-challenges-page .tq-challenge-grid {
    align-items: stretch;
    gap: 22px;
}

.tq-challenges-page .tq-challenge-card {
    min-height: 300px;
    padding: 28px;
    border: 1px solid #dce7ee;
    border-radius: 18px;
    background: #fff;
    box-sizing: border-box;
}

.tq-challenges-page .tq-challenge-card h3 {
    margin-top: 22px;
}

.tq-challenges-page .tq-challenge-card p {
    line-height: 1.6;
}

.tq-challenges-page .tq-challenge-goal {
    margin-top: auto;
    padding-top: 22px;
}

.tq-challenges-page .tq-challenge-card form {
    margin: 0;
    padding-top: 14px;
}

.tq-challenges-page button.tq-challenge-join {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 0;
    border-radius: 999px;
    background: #087bc1;
    color: #fff;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none;
}

.tq-challenges-page button.tq-challenge-join:hover,
.tq-challenges-page button.tq-challenge-join:focus {
    background: #066aa7;
    color: #fff;
}

.tq-challenges-page button.tq-challenge-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid #cbd9e2;
    border-radius: 999px;
    background: #fff;
    color: #17354a;
    font-weight: 700;
    cursor: pointer;
}

.tq-challenges-page .tq-challenge-joined-copy {
    color: #087bc1;
    font-weight: 800;
}

.tq-challenges-page .tq-challenge-notice {
    border: 1px solid #cfe4d7;
}

@media (max-width: 760px) {

    .tq-challenges-page .tq-challenges-wrap {
        width: calc(100% - 28px) !important;
        padding: 30px 0 55px !important;
    }

    .tq-challenges-page .tq-challenge-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tq-challenges-page .tq-challenge-card {
        min-height: 0;
        padding: 22px;
    }

    .tq-challenges-page button.tq-challenge-join,
    .tq-challenges-page button.tq-challenge-secondary {
        width: 100%;
    }

}


/* =========================================================
   TAQTIK COMMUNITY CHALLENGES - LAYOUT POLISH
   2026-09-22
   ========================================================= */

.tq-challenges-page .tq-challenges-wrap {
    width: calc(100% - 48px) !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 48px 0 80px !important;
    box-sizing: border-box;
}

.tq-challenges-page .tq-challenges-intro {
    max-width: 760px;
    margin: 0 0 42px;
}

.tq-challenges-page .tq-challenges-intro .tq-panel-label,
.tq-challenges-page .tq-dashboard-section-heading .tq-panel-label {
    display: block;
    margin-bottom: 10px;
}

.tq-challenges-page .tq-challenges-intro h2,
.tq-challenges-page .tq-dashboard-section-heading h2 {
    margin-top: 0;
}

.tq-challenges-page .tq-challenge-grid {
    align-items: stretch;
    gap: 22px;
}

.tq-challenges-page .tq-challenge-card {
    min-height: 300px;
    padding: 28px;
    border: 1px solid #dce7ee;
    border-radius: 18px;
    background: #fff;
    box-sizing: border-box;
}

.tq-challenges-page .tq-challenge-card h3 {
    margin-top: 22px;
}

.tq-challenges-page .tq-challenge-card p {
    line-height: 1.6;
}

.tq-challenges-page .tq-challenge-goal {
    margin-top: auto;
    padding-top: 22px;
}

.tq-challenges-page .tq-challenge-card form {
    margin: 0;
    padding-top: 14px;
}

.tq-challenges-page button.tq-challenge-join {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 0;
    border-radius: 999px;
    background: #087bc1;
    color: #fff;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none;
}

.tq-challenges-page button.tq-challenge-join:hover,
.tq-challenges-page button.tq-challenge-join:focus {
    background: #066aa7;
    color: #fff;
}

.tq-challenges-page button.tq-challenge-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid #cbd9e2;
    border-radius: 999px;
    background: #fff;
    color: #17354a;
    font-weight: 700;
    cursor: pointer;
}

.tq-challenges-page .tq-challenge-joined-copy {
    color: #087bc1;
    font-weight: 800;
}

.tq-challenges-page .tq-challenge-notice {
    border: 1px solid #cfe4d7;
}

@media (max-width: 760px) {

    .tq-challenges-page .tq-challenges-wrap {
        width: calc(100% - 28px) !important;
        padding: 30px 0 55px !important;
    }

    .tq-challenges-page .tq-challenge-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tq-challenges-page .tq-challenge-card {
        min-height: 0;
        padding: 22px;
    }

    .tq-challenges-page button.tq-challenge-join,
    .tq-challenges-page button.tq-challenge-secondary {
        width: 100%;
    }

}


/* =========================================================
   TAQTIK COMMUNITY ACHIEVEMENTS
   2026-09-22
   ========================================================= */

.tq-achievements-wrap {
    width: calc(100% - 48px);
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 0 80px;
    box-sizing: border-box;
}

.tq-achievements-intro {
    max-width: 760px;
    margin-bottom: 34px;
}

.tq-achievements-intro h2 {
    margin: 8px 0 10px;
}

.tq-achievements-intro p {
    line-height: 1.65;
}

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

.tq-achievement-card {
    position: relative;
    min-height: 275px;
    padding: 28px;
    background: #fff;
    border: 1px solid #dce7ee;
    border-radius: 18px;
    box-sizing: border-box;
}

.tq-achievement-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 26px;
    border-radius: 50%;
    background: #087bc1;
    color: #fff;
    font-size: 19px;
    font-weight: 900;
}

.tq-achievement-card-state {
    position: absolute;
    top: 28px;
    right: 24px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #eef4f7;
    font-size: 12px;
    font-weight: 800;
}

.tq-achievement-card.is-earned {
    box-shadow: 0 12px 30px rgba(0,0,0,.07);
}

.tq-achievement-card.is-earned
.tq-achievement-card-state {
    background: #e4f5eb;
}

.tq-achievement-card.is-locked {
    opacity: .68;
}

.tq-achievement-card.is-locked
.tq-achievement-card-icon {
    background: #9ba9b1;
}

.tq-achievement-card h3 {
    margin: 0 0 9px;
}

.tq-achievement-label {
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
}

.tq-achievement-card p {
    margin: 0;
    line-height: 1.6;
}

.tq-achievement-privacy {
    margin-top: 30px;
    padding: 18px 20px;
    background: #f5f9fb;
    border: 1px solid #dce7ee;
    border-radius: 14px;
}

@media (max-width: 950px) {

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

}

@media (max-width: 600px) {

    .tq-achievements-wrap {
        width: calc(100% - 28px);
        padding: 32px 0 55px;
    }

    .tq-achievement-grid {
        grid-template-columns: 1fr;
    }

    .tq-achievement-card {
        min-height: 0;
        padding: 22px;
    }

}

/* =========================================================
   TAQTIK COMMUNITY CHALLENGE PROGRESS
   2026-09-22
   ========================================================= */

.tq-challenges-page .tq-challenge-progress {
    margin: 18px 0 4px;
}

.tq-challenges-page .tq-challenge-progress-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 8px;
    font-size: 14px;
}

.tq-challenges-page .tq-challenge-progress-copy strong {
    color: #183b56;
    font-weight: 700;
}

.tq-challenges-page .tq-challenge-progress-copy span {
    color: #66788a;
    font-weight: 700;
}

.tq-challenges-page .tq-challenge-progress-track {
    width: 100%;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8edf2;
}

.tq-challenges-page .tq-challenge-progress-track > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #dfa82f;
}

.tq-challenges-page .tq-challenge-complete {
    margin-top: 9px;
    font-size: 13px;
    font-weight: 700;
    color: #31704b;
}

.tq-challenges-page .tq-challenge-progress-pending {
    margin: 16px 0 4px;
    padding: 9px 12px;
    border-radius: 8px;
    background: #f5f7f9;
    color: #6b7785;
    font-size: 13px;
}


/* =========================================================
   TAQTIK COMMUNITY PRIVATE MESSAGES
   DEV 2026-09-22
   ========================================================= */

.tq-messages-wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 42px auto 70px;
}

.tq-messages-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.tq-messages-toolbar h2 {
    margin: 5px 0 0;
    font-size: 30px;
}

.tq-message-new-button,
.tq-message-primary-button {
    appearance: none;
    border: 0;
    border-radius: 8px;
    background: #dfa82f;
    color: #17213a;
    padding: 12px 20px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.tq-message-new-button:hover,
.tq-message-primary-button:hover {
    filter: brightness(1.04);
}

.tq-message-primary-button:disabled {
    opacity: .55;
    cursor: wait;
}

.tq-message-notice {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #fff3cd;
    color: #5f4a00;
    font-weight: 700;
}

.tq-message-shell {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    min-height: 620px;
    overflow: hidden;
    border: 1px solid #dfe5ea;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(23, 33, 58, .08);
}

.tq-message-sidebar {
    border-right: 1px solid #e4e9ed;
    background: #f8fafb;
}

.tq-message-conversations {
    max-height: 720px;
    overflow-y: auto;
}

.tq-conversation-item {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 12px;
    padding: 17px 16px;
    border: 0;
    border-bottom: 1px solid #e7ebee;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.tq-conversation-item:hover,
.tq-conversation-item.is-active {
    background: #fff;
}

.tq-conversation-item.is-active {
    box-shadow: inset 4px 0 #dfa82f;
}

.tq-conversation-avatar {
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: #173f58;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.tq-conversation-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 3px;
}

.tq-conversation-copy strong {
    overflow: hidden;
    color: #17213a;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tq-conversation-copy small {
    color: #72808a;
}

.tq-message-unread {
    display: grid;
    min-width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 999px;
    background: #dfa82f;
    color: #17213a;
    font-size: 12px;
}

.tq-message-thread-panel {
    position: relative;
    min-width: 0;
    background: #fff;
}

.tq-message-empty {
    display: flex;
    min-height: 620px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 50px;
    text-align: center;
}

.tq-message-empty-icon {
    display: grid;
    width: 74px;
    height: 74px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 50%;
    background: #f2f6f8;
    color: #173f58;
    font-size: 32px;
}

.tq-message-empty h2 {
    margin: 0 0 8px;
}

.tq-message-empty p {
    max-width: 440px;
    margin: 0 0 22px;
    color: #697781;
}

.tq-message-thread {
    display: flex;
    height: 620px;
    flex-direction: column;
}

.tq-message-thread-header {
    display: flex;
    min-height: 74px;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid #e4e9ed;
}

.tq-message-thread-header small {
    display: block;
    color: #87929a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
}

.tq-message-thread-header h2 {
    margin: 2px 0 0;
    font-size: 21px;
}

.tq-message-back {
    display: none;
    border: 0;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
}

.tq-message-list {
    flex: 1;
    overflow-y: auto;
    padding: 22px;
    background: #f7f9fa;
}

.tq-message-row {
    display: flex;
    margin-bottom: 12px;
}

.tq-message-row.is-me {
    justify-content: flex-end;
}

.tq-message-bubble {
    max-width: min(72%, 560px);
    padding: 11px 14px;
    border-radius: 14px 14px 14px 4px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(23, 33, 58, .06);
}

.tq-message-row.is-me .tq-message-bubble {
    border-radius: 14px 14px 4px 14px;
    background: #173f58;
    color: #fff;
}

.tq-message-bubble strong {
    display: block;
    margin-bottom: 3px;
    font-size: 12px;
}

.tq-message-bubble p {
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.tq-message-bubble small {
    display: block;
    margin-top: 5px;
    opacity: .66;
    font-size: 10px;
}

.tq-message-compose {
    padding: 14px 18px;
    border-top: 1px solid #e4e9ed;
    background: #fff;
}

.tq-message-compose textarea {
    display: block;
    width: 100%;
    min-height: 72px;
    resize: vertical;
    box-sizing: border-box;
    border: 1px solid #ccd5db;
    border-radius: 9px;
    padding: 11px 12px;
    font: inherit;
}

.tq-message-compose textarea:focus {
    outline: 2px solid rgba(223, 168, 47, .3);
    border-color: #dfa82f;
}

.tq-message-compose-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 9px;
}

.tq-message-compose-bottom small {
    color: #7c878e;
}

.tq-message-loading,
.tq-message-sidebar-empty,
.tq-message-thread-empty {
    padding: 28px 20px;
    color: #748089;
    text-align: center;
}

.tq-message-sidebar-empty {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tq-message-modal {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(15, 27, 37, .58);
}

.tq-message-modal[hidden] {
    display: none;
}

.tq-message-modal-card {
    width: min(560px, 100%);
    max-height: min(700px, 85vh);
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .24);
}

.tq-message-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 22px 8px;
}

.tq-message-modal-header h2 {
    margin: 3px 0 0;
}

.tq-message-modal-close {
    border: 0;
    background: transparent;
    color: #67747d;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.tq-message-modal-copy {
    margin: 0;
    padding: 0 22px 17px;
    color: #697781;
}

.tq-message-members {
    max-height: 480px;
    overflow-y: auto;
    border-top: 1px solid #e7ebee;
}

.tq-message-member {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border: 0;
    border-bottom: 1px solid #edf0f2;
    background: #fff;
    text-align: left;
    cursor: pointer;
}

.tq-message-member:hover {
    background: #f7f9fa;
}

.tq-message-member > span:nth-child(2) {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

.tq-message-member small {
    color: #7a868e;
}

.tq-message-member b {
    color: #173f58;
    font-size: 12px;
}

@media (max-width: 760px) {

    .tq-messages-wrap {
        width: 100%;
        margin: 24px 0 45px;
        padding: 0 14px;
        box-sizing: border-box;
    }

    .tq-messages-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .tq-message-new-button {
        width: 100%;
    }

    .tq-message-shell {
        display: block;
        min-height: 560px;
    }

    .tq-message-sidebar {
        border-right: 0;
    }

    .tq-message-thread-panel {
        display: none;
    }

    .tq-messages-wrap.is-thread-open
    .tq-message-sidebar {
        display: none;
    }

    .tq-messages-wrap.is-thread-open
    .tq-message-thread-panel {
        display: block;
    }

    .tq-message-thread,
    .tq-message-empty {
        min-height: 560px;
        height: 560px;
    }

    .tq-message-back {
        display: block;
    }

    .tq-message-bubble {
        max-width: 86%;
    }

    .tq-message-compose-bottom small {
        display: none;
    }
}


/* =========================================================
   COMMUNITY MESSAGE SESSION RECONNECT
   DEV 2026-09-22
   ========================================================= */

.tq-message-reconnect {
    display: flex;
    width: min(470px, 100%);
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.tq-message-reconnect .tq-panel-label {
    margin-bottom: 7px;
}

.tq-message-reconnect h2 {
    margin: 0 0 9px;
    color: #17213a;
}

.tq-message-reconnect p {
    max-width: 440px;
    margin: 0 0 22px;
    color: #697781;
    line-height: 1.6;
}

.tq-message-reconnect-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.tq-message-reconnect-button:hover {
    color: #17213a;
    text-decoration: none;
}


/* =========================================================
   TAQTIK COMMUNITY LEARN
   2026-09-22
   ========================================================= */

.tq-learn-wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 42px auto 70px;
}

.tq-learn-intro {
    max-width: 760px;
    margin-bottom: 32px;
}

.tq-learn-intro h2 {
    margin: 7px 0 10px;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.08;
}

.tq-learn-intro p {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
}

.tq-learn-topic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.tq-learn-topic {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .055);
}

.tq-learn-topic-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef6f4;
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 18px;
}

.tq-learn-topic h3 {
    margin: 0 0 9px;
    font-size: 21px;
}

.tq-learn-topic p {
    margin: 0 0 20px;
    line-height: 1.6;
}

.tq-learn-coming {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    opacity: .58;
}

.tq-learn-note {
    margin-top: 28px;
    padding: 24px 28px;
    border-radius: 16px;
    background: #f4f7f6;
}

.tq-learn-note p {
    margin: 6px 0 0;
}

@media (max-width: 900px) {
    .tq-learn-topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .tq-learn-wrap {
        width: min(100% - 24px, 1180px);
        margin-top: 26px;
    }

    .tq-learn-topic-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .tq-learn-topic {
        padding: 21px;
    }
}


/* =========================================================
   TAQTIK COMMUNITY LEARN
   2026-09-22
   ========================================================= */

.tq-learn-wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 42px auto 70px;
}

.tq-learn-intro {
    max-width: 760px;
    margin-bottom: 32px;
}

.tq-learn-intro h2 {
    margin: 7px 0 10px;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.08;
}

.tq-learn-intro p {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
}

.tq-learn-topic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.tq-learn-topic {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .055);
}

.tq-learn-topic-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef6f4;
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 18px;
}

.tq-learn-topic h3 {
    margin: 0 0 9px;
    font-size: 21px;
}

.tq-learn-topic p {
    margin: 0 0 20px;
    line-height: 1.6;
}

.tq-learn-coming {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    opacity: .58;
}

.tq-learn-note {
    margin-top: 28px;
    padding: 24px 28px;
    border-radius: 16px;
    background: #f4f7f6;
}

.tq-learn-note p {
    margin: 6px 0 0;
}

@media (max-width: 900px) {
    .tq-learn-topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .tq-learn-wrap {
        width: min(100% - 24px, 1180px);
        margin-top: 26px;
    }

    .tq-learn-topic-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .tq-learn-topic {
        padding: 21px;
    }
}


/* =========================================================
   TAQTIK HOMEPAGE POLISH + COMMUNITY
   2026-09-22
   ========================================================= */

/* Tighter overall homepage rhythm */
body.home .tq-section {
    padding-top: 78px;
    padding-bottom: 78px;
}

body.home .tq-section-heading {
    margin-bottom: 38px;
}

/* Hero refinements */
body.home .tq-hero-grid {
    column-gap: 72px;
}

body.home .tq-dashboard-card {
    transform: translateX(-8px);
    box-shadow: 0 24px 55px rgba(16, 57, 78, .10);
}

/* Public example dashboard */
body.home .tq-dashboard-top small {
    font-weight: 800;
    letter-spacing: .07em;
    color: #0075bf;
}

body.home .tq-metric strong {
    color: #0075bf;
}

/* Program cards */
body.home .tq-program-card {
    display: flex;
    flex-direction: column;
    min-height: 330px;
}

body.home .tq-program-card p {
    flex: 1;
}

body.home .tq-program-card a {
    margin-top: 18px;
}

/* Keep featured program subtle */
body.home .tq-program-featured {
    box-shadow: 0 16px 36px rgba(15, 74, 105, .08);
}

/* Healthcare section */
body.home .tq-section-soft {
    background:
        linear-gradient(
            180deg,
            #f4f9fc 0%,
            #eef7fb 100%
        );
}

body.home .tq-section-soft .tq-card {
    box-shadow: 0 12px 32px rgba(20, 66, 91, .055);
}

/* ---------------------------------------------------------
   Homepage Community
   --------------------------------------------------------- */

.tq-home-community {
    background:
        linear-gradient(
            135deg,
            #f7fbfd 0%,
            #e8f5fb 100%
        );
}

.tq-home-community-grid {
    display: grid;
    grid-template-columns:
        minmax(0, .92fr)
        minmax(420px, 1.08fr);
    align-items: center;
    gap: 76px;
}

.tq-home-community-copy {
    max-width: 590px;
}

.tq-home-community-copy h2 {
    max-width: 620px;
    margin: 16px 0 20px;
    font-size: clamp(38px, 4.4vw, 58px);
    line-height: 1.04;
    letter-spacing: -.035em;
}

.tq-home-community-copy .tq-section-lead {
    max-width: 580px;
}

.tq-home-community-copy .tq-actions {
    margin-top: 30px;
}

.tq-home-community-panel {
    position: relative;
    overflow: hidden;
    padding: 34px;
    background: #fff;
    border: 1px solid #d7e6ee;
    border-radius: 28px;
    box-shadow: 0 24px 58px rgba(19, 72, 100, .10);
}

.tq-home-community-panel::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    top: -100px;
    right: -70px;
    border-radius: 50%;
    background: #e7f4fa;
}

.tq-home-community-panel-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 23px;
    border-bottom: 1px solid #dbe7ed;
}

.tq-home-community-panel-head small {
    display: block;
    margin-bottom: 7px;
    color: #0075bf;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.tq-home-community-panel-head h3 {
    margin: 0;
    font-size: 25px;
    line-height: 1.2;
}

.tq-home-community-panel-head > span {
    padding: 8px 13px;
    background: #e9f7ef;
    border-radius: 999px;
    color: #14723b;
    font-size: 12px;
    font-weight: 700;
}

.tq-home-community-features {
    position: relative;
    z-index: 1;
}

.tq-home-community-features > div {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #dbe7ed;
}

.tq-home-community-features > div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.tq-home-community-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #eaf5fb;
    color: #0075bf;
    font-size: 20px;
    font-weight: 800;
}

.tq-home-community-features p {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
}

.tq-home-community-features strong {
    color: #102f43;
    font-size: 16px;
}

.tq-home-community-features small {
    color: #536975;
    font-size: 14px;
    line-height: 1.45;
}

/* Final CTA: less empty space */
body.home .tq-home-login-section {
    padding-top: 62px;
    padding-bottom: 62px;
}

body.home .tq-home-login-section .tq-cta {
    margin: 0;
}

/* ---------------------------------------------------------
   Homepage responsive polish
   --------------------------------------------------------- */

@media (max-width: 960px) {

    .tq-home-community-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .tq-home-community-copy {
        max-width: 700px;
    }

    body.home .tq-dashboard-card {
        transform: none;
    }
}

@media (max-width: 680px) {

    body.home .tq-section {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    body.home .tq-hero-grid {
        column-gap: 0;
    }

    .tq-home-community-grid {
        gap: 30px;
    }

    .tq-home-community-copy h2 {
        font-size: 38px;
    }

    .tq-home-community-panel {
        padding: 23px;
        border-radius: 21px;
    }

    .tq-home-community-panel-head {
        align-items: flex-start;
    }

    .tq-home-community-panel-head h3 {
        font-size: 21px;
    }

    .tq-home-community-features > div {
        grid-template-columns: 42px 1fr;
        gap: 13px;
    }

    .tq-home-community-icon {
        width: 40px;
        height: 40px;
    }

    body.home .tq-home-login-section {
        padding-top: 42px;
        padding-bottom: 42px;
    }
}


/* =========================================================
   TAQTIK HOMEPAGE HUMAN HERO
   2026-09-22
   ========================================================= */

body.home .tq-home-hero-visual {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
}

body.home .tq-home-hero-image {
    position: absolute;
    z-index: 0;
    top: -35px;
    right: -55px;

    width: 120%;
    max-width: 680px;
    height: 555px;

    object-fit: cover;
    object-position: 65% center;

    border-radius: 32px;
}

body.home .tq-home-hero-visual::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: -40px -70px -20px -60px;
    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            #f7fafd 0%,
            rgba(247,250,253,.75) 13%,
            rgba(247,250,253,0) 35%
        ),
        linear-gradient(
            0deg,
            #f7fafd 0%,
            rgba(247,250,253,0) 32%
        );
}

body.home .tq-home-hero-visual .tq-dashboard-card {
    position: relative;
    z-index: 3;

    width: min(430px, 88%);
    margin: 0 0 5px -30px;
    padding: 25px;

    background: rgba(255,255,255,.94);

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

    box-shadow:
        0 24px 55px rgba(25,62,100,.17),
        0 5px 15px rgba(25,62,100,.08);
}


/* TABLET */

@media (max-width: 980px) {

    body.home .tq-home-hero-visual {
        min-height: 460px;
        margin-top: 18px;
    }

    body.home .tq-home-hero-image {
        top: 0;
        right: 0;
        width: 100%;
        max-width: none;
        height: 440px;
        object-position: 67% center;
    }

    body.home .tq-home-hero-visual .tq-dashboard-card {
        width: min(430px, 88%);
        margin: 0 0 -5px 20px;
    }
}


/* MOBILE */

@media (max-width: 640px) {

    body.home .tq-home-hero-visual {
        min-height: 385px;
        margin-top: 10px;
    }

    body.home .tq-home-hero-image {
        top: 0;
        right: 0;

        width: 100%;
        height: 330px;

        border-radius: 24px;
        object-position: 68% center;
    }

    body.home .tq-home-hero-visual::after {
        inset: 0;

        background:
            linear-gradient(
                0deg,
                #f7fafd 0%,
                rgba(247,250,253,.12) 52%,
                rgba(247,250,253,0) 75%
            );
    }

    body.home .tq-home-hero-visual .tq-dashboard-card {
        width: calc(100% - 28px);
        margin: 0 auto -5px;
        padding: 19px;
    }
}


/* =========================================================
   TAQTIK HOMEPAGE HERO FINAL POLISH
   2026-09-22
   ========================================================= */

/*
 * Human image becomes the primary visual.
 * Dashboard becomes a smaller supporting overlay.
 */

body.home .tq-home-hero-visual {
    min-height: 535px;
    transform: translateX(-22px);
}

/* Human / connected-health image */

body.home .tq-home-hero-image {
    top: -38px;
    right: -95px;

    width: 125%;
    max-width: 710px;
    height: 575px;

    object-position: 69% center;
}

/* Softer fade into the page */

body.home .tq-home-hero-visual::after {
    inset: -45px -110px -35px -75px;

    background:
        linear-gradient(
            90deg,
            #f7fafd 0%,
            rgba(247,250,253,.78) 9%,
            rgba(247,250,253,.28) 22%,
            rgba(247,250,253,0) 38%
        ),
        linear-gradient(
            0deg,
            #f7fafd 0%,
            rgba(247,250,253,.88) 7%,
            rgba(247,250,253,.34) 18%,
            rgba(247,250,253,0) 35%
        );
}

/* Smaller dashboard, lower and further left */

body.home .tq-home-hero-visual .tq-dashboard-card {
    width: min(390px, 82%);

    margin:
        0
        0
        -22px
        -48px;

    padding: 22px;

    background: rgba(255,255,255,.95);

    box-shadow:
        0 20px 45px rgba(25,62,100,.15),
        0 4px 12px rgba(25,62,100,.07);
}

/* Tighten dashboard internals slightly */

body.home .tq-home-hero-visual .tq-dashboard-top {
    margin-bottom: 18px;
}

body.home .tq-home-hero-visual .tq-dashboard-top h3 {
    font-size: 18px;
    line-height: 1.25;
}

body.home .tq-home-hero-visual .tq-metrics {
    gap: 9px;
    margin-top: 18px;
}

body.home .tq-home-hero-visual .tq-metric {
    padding: 15px 10px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {

    body.home .tq-home-hero-visual {
        transform: none;
        min-height: 455px;
    }

    body.home .tq-home-hero-image {
        top: 0;
        right: -20px;

        width: 105%;
        max-width: none;
        height: 445px;

        object-position: 70% center;
    }

    body.home .tq-home-hero-visual .tq-dashboard-card {
        width: min(390px, 82%);
        margin: 0 0 -15px 8px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

    body.home .tq-home-hero-visual {
        min-height: 365px;
        margin-top: 14px;
        transform: none;
    }

    body.home .tq-home-hero-image {
        top: 0;
        right: -12px;

        width: 105%;
        height: 305px;

        object-position: 70% center;
        border-radius: 22px;
    }

    body.home .tq-home-hero-visual::after {
        inset: 0 -15px -15px;

        background:
            linear-gradient(
                0deg,
                #f7fafd 0%,
                rgba(247,250,253,.92) 8%,
                rgba(247,250,253,.28) 28%,
                rgba(247,250,253,0) 48%
            );
    }

    body.home .tq-home-hero-visual .tq-dashboard-card {
        width: calc(100% - 32px);
        margin: 0 auto -5px;
        padding: 17px;
    }

    body.home .tq-home-hero-visual .tq-dashboard-top {
        margin-bottom: 13px;
    }

    body.home .tq-home-hero-visual .tq-dashboard-top h3 {
        font-size: 16px;
    }

    body.home .tq-home-hero-visual .tq-metrics {
        margin-top: 13px;
        gap: 7px;
    }

    body.home .tq-home-hero-visual .tq-metric {
        padding: 12px 7px;
    }
}


/* =========================================================
   TAQTIK PREMIUM HOMEPAGE ICON SYSTEM
   2026-09-22
   ========================================================= */

body.home .tq-premium-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background:
        linear-gradient(
            145deg,
            rgba(0,122,194,.13),
            rgba(0,122,194,.045)
        );
    border: 1px solid rgba(0,122,194,.13);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.9),
        0 5px 15px rgba(0,92,153,.06);
    color: #007ac2;
}

body.home .tq-premium-icon svg {
    display: block;
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Hero dashboard icons */

body.home .tq-metric strong .tq-premium-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    margin-bottom: 7px;
}

body.home .tq-metric strong .tq-premium-icon svg {
    width: 20px;
    height: 20px;
}

/* Patient journey icons */

body.home .tq-journey-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.home .tq-journey-icon .tq-premium-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
}

/* Standard homepage cards */

body.home .tq-card > .tq-icon {
    display: inline-flex;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    border: 0;
}

body.home .tq-card > .tq-icon .tq-premium-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
}

body.home .tq-card > .tq-icon .tq-premium-icon svg {
    width: 26px;
    height: 26px;
}

/* Community feature icons */

body.home .tq-home-community-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.home .tq-home-community-icon .tq-premium-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.22);
    color: #fff;
    box-shadow: none;
}

body.home .tq-home-community-icon .tq-premium-icon svg {
    width: 23px;
    height: 23px;
}

/* Mobile */

@media (max-width: 640px) {

    body.home .tq-premium-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    body.home .tq-premium-icon svg {
        width: 21px;
        height: 21px;
    }

    body.home .tq-metric strong .tq-premium-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 4px;
    }

    body.home .tq-card > .tq-icon .tq-premium-icon {
        width: 45px;
        height: 45px;
    }
}


/* =========================================================
   TAQTIK HEADER IMAGE AND ICON CONTRAST
   2026-09-22
   ========================================================= */

/* New official header image */

.tq-brand {
    display: flex;
    align-items: center;
}

.tq-brand-image {
    display: block;
    width: auto;
    height: 46px;
    max-width: 245px;
    object-fit: contain;
}


/* Premium homepage icon tiles */

body.home .tq-premium-icon {
    color: #fff;

    background:
        linear-gradient(
            145deg,
            #169bdc 0%,
            #087fc5 52%,
            #056eb2 100%
        );

    border: 1px solid rgba(0,91,150,.18);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.25),
        0 6px 15px rgba(0,105,170,.17);
}

body.home .tq-premium-icon svg {
    stroke: #fff;
    stroke-width: 1.9;
}


/* Community feature icons need strongest contrast */

body.home .tq-home-community-icon .tq-premium-icon {
    width: 46px;
    height: 46px;

    color: #fff;

    background:
        linear-gradient(
            145deg,
            #159bdb 0%,
            #087fc5 55%,
            #056caf 100%
        );

    border: 1px solid rgba(0,91,150,.18);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.28),
        0 7px 16px rgba(0,105,170,.18);
}

body.home .tq-home-community-icon .tq-premium-icon svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
}


/* Gentle interaction */

body.home .tq-home-community-icon .tq-premium-icon,
body.home .tq-card .tq-premium-icon {
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

body.home .tq-home-community-feature:hover .tq-premium-icon,
body.home .tq-card:hover .tq-premium-icon {
    transform: translateY(-2px);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.28),
        0 10px 22px rgba(0,105,170,.22);
}


/* Mobile header */

@media (max-width: 640px) {

    .tq-brand-image {
        height: 38px;
        max-width: 190px;
    }

    body.home .tq-home-community-icon .tq-premium-icon {
        width: 42px;
        height: 42px;
    }

}



/* =========================================================
   TAQTIK PLANS
   DEV DEMO 2026-09-23
   ========================================================= */

.tq-plans-page {
    background: #f6f8fb;
    min-height: 100vh;
}

.tq-plans-wrap {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.tq-plans-hero {
    padding: 78px 0 68px;
    background:
        linear-gradient(
            135deg,
            #073b4c 0%,
            #07556a 58%,
            #08758a 100%
        );
    color: #fff;
    text-align: center;
}

.tq-plans-kicker {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #20c7b7;
}

.tq-plans-hero h1 {
    margin: 0 auto 18px;
    max-width: 780px;
    color: #fff;
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.05;
    letter-spacing: -1.8px;
}

.tq-plans-hero p {
    max-width: 690px;
    margin: 0 auto;
    font-size: 19px;
    line-height: 1.65;
    color: rgba(255,255,255,.86);
}

.tq-plans-section {
    padding: 64px 0 90px;
}

.tq-plan-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    max-width: 940px;
    margin: 0 auto;
    align-items: stretch;
}

.tq-plan-card {
    position: relative;
    overflow: hidden;
    padding: 38px;
    border: 1px solid #dde5ea;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 15px 45px rgba(18,48,64,.07);
}

.tq-plan-plus {
    border: 2px solid #12aa9b;
    box-shadow: 0 20px 55px rgba(18,170,155,.15);
}

.tq-plan-ribbon {
    position: absolute;
    top: 22px;
    right: -34px;
    width: 140px;
    padding: 7px 0;
    transform: rotate(45deg);
    background: #12aa9b;
    color: #fff;
    text-align: center;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.tq-plan-label {
    color: #0b8d83;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.tq-plan-head h2 {
    margin: 9px 0 6px;
    color: #173847;
    font-size: 34px;
}

.tq-plan-price {
    margin: 6px 0 18px;
    color: #173847;
    font-size: 36px;
    font-weight: 800;
}

.tq-plan-price span {
    font-size: 15px;
    font-weight: 500;
    color: #73838c;
}

.tq-plan-pilot {
    font-size: 23px;
    color: #0b8d83;
}

.tq-plan-head p {
    min-height: 54px;
    color: #657781;
    line-height: 1.6;
}

.tq-plan-features {
    list-style: none;
    padding: 22px 0 10px;
    margin: 22px 0;
    border-top: 1px solid #edf1f3;
}

.tq-plan-features li {
    position: relative;
    padding: 10px 0 10px 30px;
    color: #314e5b;
    line-height: 1.45;
}

.tq-plan-features li strong {
    position: absolute;
    left: 0;
    color: #0ba899;
}

.tq-plan-features small {
    display: block;
    margin-top: 3px;
    color: #839098;
}

.tq-plan-current {
    display: block;
    padding: 14px 20px;
    border-radius: 12px;
    background: #edf2f4;
    color: #687a83;
    text-align: center;
    font-weight: 700;
}

.tq-plan-button {
    display: block;
    padding: 15px 22px;
    border-radius: 12px;
    background: #0b9f92;
    color: #fff !important;
    text-align: center;
    text-decoration: none !important;
    font-weight: 800;
    transition: .2s ease;
}

.tq-plan-button:hover {
    transform: translateY(-2px);
    background: #087f76;
}

.tq-plan-note {
    margin: 14px 0 0;
    color: #829097;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
}

.tq-plan-value {
    margin-top: 78px;
    text-align: center;
}

.tq-plan-value > h2 {
    max-width: 680px;
    margin: 0 auto 36px;
    color: #173847;
    font-size: 34px;
}

.tq-value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tq-value-grid > div {
    padding: 30px 24px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e4eaed;
}

.tq-value-icon {
    display: flex;
    width: 50px;
    height: 50px;
    margin: 0 auto 17px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e6f7f5;
    color: #098d82;
    font-size: 24px;
    font-weight: 800;
}

.tq-value-grid h3 {
    margin: 0 0 9px;
    color: #173847;
    font-size: 19px;
}

.tq-value-grid p {
    margin: 0;
    color: #708089;
    line-height: 1.55;
}

.tq-pilot-card {
    display: flex;
    gap: 35px;
    align-items: center;
    justify-content: space-between;
    margin-top: 60px;
    padding: 38px 42px;
    border-radius: 22px;
    background: #083f50;
    color: #fff;
}

.tq-pilot-card h2 {
    margin: 3px 0 10px;
    color: #fff;
    font-size: 30px;
}

.tq-pilot-card p {
    max-width: 690px;
    margin: 0;
    color: rgba(255,255,255,.78);
    line-height: 1.6;
}

.tq-plan-button-light {
    flex: 0 0 auto;
    min-width: 190px;
    background: #fff;
    color: #07556a !important;
}

.tq-plan-button-light:hover {
    background: #e9f7f6;
}


/* MOBILE */

@media (max-width: 760px) {

    .tq-plans-wrap {
        width: min(100% - 28px, 1160px);
    }

    .tq-plans-hero {
        padding: 52px 0 46px;
    }

    .tq-plans-hero h1 {
        font-size: 38px;
    }

    .tq-plans-hero p {
        font-size: 17px;
    }

    .tq-plans-section {
        padding: 30px 0 60px;
    }

    .tq-plan-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tq-plan-card {
        padding: 28px 24px;
        border-radius: 19px;
    }

    .tq-plan-head p {
        min-height: 0;
    }

    .tq-plan-value {
        margin-top: 52px;
    }

    .tq-plan-value > h2 {
        font-size: 28px;
    }

    .tq-value-grid {
        grid-template-columns: 1fr;
    }

    .tq-pilot-card {
        display: block;
        padding: 30px 25px;
    }

    .tq-pilot-card .tq-plan-button {
        margin-top: 24px;
    }
}


/* =========================================================
   TAQTIK MY JOURNEY
   DEV DEMO 2026-09-23
   ========================================================= */

.tq-journey {
    min-height: 100vh;
    background: #f6f8fa;
}

.tq-journey-wrap {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.tq-journey-hero {
    padding: 62px 0;
    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(28,198,182,.22),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #073b4c 0%,
            #07576a 100%
        );
    color: #fff;
}

.tq-journey-hero-grid {
    display: grid;
    grid-template-columns: 1.5fr .65fr;
    gap: 55px;
    align-items: center;
}

.tq-journey-kicker,
.tq-section-label {
    display: inline-block;
    color: #0aa899;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.tq-journey-hero .tq-journey-kicker {
    color: #46ded0;
}

.tq-journey-hero h1 {
    max-width: 700px;
    margin: 10px 0 17px;
    color: #fff;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.03;
    letter-spacing: -1.8px;
}

.tq-journey-hero h1 span {
    color: #59e1d5;
}

.tq-journey-hero p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 18px;
    line-height: 1.65;
}

.tq-journey-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.tq-journey-button {
    display: inline-flex;
    min-height: 48px;
    padding: 0 22px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #0ba899;
    color: #fff !important;
    font-weight: 800;
    text-decoration: none !important;
    transition: .2s ease;
}

.tq-journey-button:hover {
    background: #078c81;
    transform: translateY(-2px);
}

.tq-journey-button-outline {
    border: 1px solid rgba(255,255,255,.32);
    background: rgba(255,255,255,.08);
}

.tq-journey-button-outline:hover {
    background: rgba(255,255,255,.16);
}

.tq-journey-status-card {
    padding: 25px;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 18px;
    background: rgba(255,255,255,.09);
    backdrop-filter: blur(10px);
}

.tq-status-top {
    display: flex;
    gap: 14px;
    align-items: center;
}

.tq-status-icon {
    display: flex;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1cc6b6;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}

.tq-status-top strong,
.tq-status-top small {
    display: block;
}

.tq-status-top strong {
    color: #fff;
    font-size: 16px;
}

.tq-status-top small {
    margin-top: 4px;
    color: rgba(255,255,255,.68);
}

.tq-demo-pill {
    display: inline-block;
    margin-top: 17px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.13);
    color: #bdf6ef;
    font-size: 11px;
    font-weight: 800;
}

.tq-last-sync {
    margin: 12px 0 0 !important;
    color: rgba(255,255,255,.55) !important;
    font-size: 12px !important;
}

.tq-journey-main {
    padding: 48px 0 80px;
}

.tq-journey-welcome {
    display: flex;
    gap: 30px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
}

.tq-journey-welcome h2,
.tq-next-heading h2 {
    margin: 6px 0 7px;
    color: #183c4b;
    font-size: 29px;
}

.tq-journey-welcome p {
    margin: 0;
    color: #6d7f88;
}

.tq-text-link,
.tq-panel-link {
    color: #078f84 !important;
    font-weight: 800;
    text-decoration: none !important;
}

.tq-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.tq-stat-card {
    padding: 24px;
    border: 1px solid #e1e8eb;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(19,54,70,.045);
}

.tq-stat-card span,
.tq-stat-card strong,
.tq-stat-card small {
    display: block;
}

.tq-stat-card span {
    margin-top: 18px;
    color: #71838c;
    font-size: 13px;
    font-weight: 700;
}

.tq-stat-card strong {
    margin-top: 4px;
    color: #173c4b;
    font-size: 31px;
    line-height: 1.1;
}

.tq-stat-card small {
    margin-top: 4px;
    color: #8a979d;
}

.tq-stat-icon {
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #e9f7f5;
    color: #078f84;
    font-weight: 900;
}

.tq-stat-primary {
    border-color: #bce9e4;
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f0fbf9
        );
}

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

.tq-journey-panel {
    padding: 29px;
    border: 1px solid #e0e7ea;
    border-radius: 19px;
    background: #fff;
}

.tq-panel-heading {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: space-between;
}

.tq-panel-heading h2 {
    margin: 5px 0 0;
    color: #173c4b;
    font-size: 24px;
}

.tq-journey-panel > p {
    margin: 18px 0;
    color: #6d7e87;
    line-height: 1.6;
}

.tq-percent-badge,
.tq-circle-icon {
    display: flex;
    min-width: 48px;
    height: 48px;
    padding: 0 9px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e8f8f6;
    color: #078f84;
    font-size: 13px;
    font-weight: 900;
}

.tq-progress-track {
    height: 11px;
    margin: 23px 0 10px;
    overflow: hidden;
    border-radius: 99px;
    background: #e7edef;
}

.tq-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background:
        linear-gradient(
            90deg,
            #0b9e92,
            #23c7b7
        );
}

.tq-progress-numbers {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.tq-progress-numbers strong {
    color: #173c4b;
}

.tq-progress-numbers span {
    color: #87949a;
    font-size: 13px;
}

.tq-day-row {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    gap: 7px;
    margin: 24px 0;
}

.tq-day-row span {
    display: flex;
    aspect-ratio: 1;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf1f3;
    color: #829098;
    font-size: 11px;
    font-weight: 800;
}

.tq-day-row span.is-active {
    background: #0ba899;
    color: #fff;
}

.tq-next-section {
    margin-top: 48px;
}

.tq-next-heading {
    margin-bottom: 20px;
}

.tq-next-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 16px;
}

.tq-next-card {
    display: grid;
    grid-template-columns: 45px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 20px;
    border: 1px solid #e1e8eb;
    border-radius: 16px;
    background: #fff;
    color: inherit !important;
    text-decoration: none !important;
    transition: .2s ease;
}

.tq-next-card:hover {
    border-color: #a9ddd8;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(17,72,83,.07);
}

.tq-next-icon {
    display: flex;
    width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #e8f8f6;
    color: #078f84;
    font-size: 20px;
}

.tq-next-card strong,
.tq-next-card small {
    display: block;
}

.tq-next-card strong {
    color: #183c4b;
}

.tq-next-card small {
    margin-top: 4px;
    color: #7d8c93;
    line-height: 1.4;
}

.tq-next-card b {
    color: #0a9d90;
    font-size: 19px;
}

.tq-plus-callout {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 23px;
    align-items: center;
    margin-top: 45px;
    padding: 31px;
    border-radius: 19px;
    background:
        linear-gradient(
            135deg,
            #073e4e,
            #075d6c
        );
    color: #fff;
}

.tq-plus-icon {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #17b9aa;
    font-size: 31px;
    font-weight: 300;
}

.tq-plus-callout .tq-section-label {
    color: #52ddd1;
}

.tq-plus-callout h2 {
    margin: 5px 0 5px;
    color: #fff;
    font-size: 23px;
}

.tq-plus-callout p {
    max-width: 670px;
    margin: 0;
    color: rgba(255,255,255,.72);
    line-height: 1.5;
}

.tq-privacy-note {
    display: flex;
    gap: 13px;
    margin-top: 25px;
    padding: 18px 21px;
    border-radius: 13px;
    background: #edf5f5;
    color: #60777f;
}

.tq-privacy-note span {
    color: #0ba899;
}

.tq-privacy-note p {
    margin: 0;
    line-height: 1.5;
}


/* MY JOURNEY MOBILE */

@media (max-width: 800px) {

    .tq-journey-wrap {
        width: min(100% - 28px, 1160px);
    }

    .tq-journey-hero {
        padding: 42px 0;
    }

    .tq-journey-hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .tq-journey-hero h1 {
        font-size: 39px;
    }

    .tq-journey-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .tq-journey-main {
        padding: 32px 0 55px;
    }

    .tq-journey-welcome {
        display: block;
    }

    .tq-journey-welcome .tq-text-link {
        display: inline-block;
        margin-top: 14px;
    }

    .tq-stat-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .tq-stat-card {
        padding: 19px;
    }

    .tq-stat-card strong {
        font-size: 25px;
    }

    .tq-journey-grid {
        grid-template-columns: 1fr;
    }

    .tq-next-grid {
        grid-template-columns: 1fr;
    }

    .tq-plus-callout {
        grid-template-columns: 1fr;
    }

    .tq-plus-callout .tq-journey-button {
        width: 100%;
    }

}

@media (max-width: 430px) {

    .tq-stat-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .tq-stat-card {
        padding: 16px;
    }

    .tq-stat-card span {
        margin-top: 12px;
    }

}


/* =========================================================
   TAQTIK CHALLENGES - PRESENTATION POLISH
   2026-09-23
   Existing challenge PHP / join / progress logic preserved
   ========================================================= */

.tq-challenges-page {
    background: #f5f8fa;
    min-height: 100vh;
}


/* HERO */

.tq-challenges-page .tq-live-community-hero {
    position: relative;
    overflow: hidden;
    padding: 58px 0 54px;
    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(35,199,183,.25),
            transparent 28%
        ),
        radial-gradient(
            circle at 95% 80%,
            rgba(88,225,213,.10),
            transparent 26%
        ),
        linear-gradient(
            135deg,
            #073b4c 0%,
            #07566a 58%,
            #087487 100%
        );
}

.tq-challenges-page .tq-live-community-hero-inner {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.tq-challenges-page .tq-live-community-hero h1 {
    margin: 8px 0 12px;
    color: #fff;
    font-size: clamp(38px, 5vw, 54px);
    line-height: 1.05;
    letter-spacing: -1.4px;
}

.tq-challenges-page .tq-live-community-hero p {
    max-width: 660px;
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 18px;
    line-height: 1.6;
}

.tq-challenges-page .tq-label-light {
    color: #52ddd1;
}


/* NAVIGATION */

.tq-challenges-page .tq-community-tabs {
    position: relative;
    z-index: 5;
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0 max(20px, calc((100% - 1160px) / 2));
    overflow-x: auto;
    border-bottom: 1px solid #dfe7ea;
    background: #fff;
    box-shadow: 0 3px 14px rgba(16,49,62,.04);
    scrollbar-width: none;
}

.tq-challenges-page .tq-community-tabs::-webkit-scrollbar {
    display: none;
}

.tq-challenges-page .tq-community-tabs a {
    position: relative;
    flex: 0 0 auto;
    padding: 18px 15px 16px;
    color: #617680;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.tq-challenges-page .tq-community-tabs a:hover {
    color: #078f84;
}

.tq-challenges-page .tq-community-tabs a.is-active {
    color: #087f76;
}

.tq-challenges-page .tq-community-tabs a.is-active:after {
    position: absolute;
    right: 13px;
    bottom: 0;
    left: 13px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: #0ba899;
    content: "";
}

.tq-challenges-page .tq-community-health-link {
    margin-left: auto;
    color: #087f76 !important;
}


/* CONTENT WRAPPER */

.tq-challenges-wrap {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0 78px;
}


/* NOTICES */

.tq-challenge-notice {
    margin: 0 0 24px;
    padding: 15px 18px;
    border: 1px solid #bde7e2;
    border-radius: 12px;
    background: #eaf9f7;
    color: #17665f;
    font-weight: 700;
}


/* INTRO */

.tq-challenges-intro {
    position: relative;
    margin-bottom: 35px;
    padding: 28px 30px;
    overflow: hidden;
    border: 1px solid #dfe8eb;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 9px 32px rgba(20,54,68,.045);
}

.tq-challenges-intro:after {
    position: absolute;
    top: -50px;
    right: -40px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(11,168,153,.07);
    content: "";
}

.tq-challenges-intro h2 {
    position: relative;
    z-index: 2;
    margin: 5px 0 8px;
    color: #173c4b;
    font-size: 27px;
}

.tq-challenges-intro p {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0;
    color: #6c7e87;
    line-height: 1.6;
}


/* SECTIONS */

.tq-challenge-section {
    margin-top: 42px;
}

.tq-challenge-section:first-of-type {
    margin-top: 0;
}

.tq-challenge-section > h2,
.tq-challenge-section header h2 {
    margin: 0;
    color: #173c4b;
    font-size: 28px;
    letter-spacing: -.5px;
}

.tq-challenge-section > p,
.tq-challenge-section header p {
    color: #72838b;
}


/* GRID */

.tq-challenge-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 21px;
}


/* CARDS */

.tq-challenge-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 310px;
    padding: 25px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dfe7ea;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(18,53,68,.045);
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.tq-challenge-card:hover {
    transform: translateY(-3px);
    border-color: #b9dfdb;
    box-shadow: 0 15px 38px rgba(18,73,81,.09);
}

.tq-challenge-active {
    border-color: #9edbd5;
    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f2fbfa 100%
        );
}

.tq-challenge-active:before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background:
        linear-gradient(
            90deg,
            #07978b,
            #26c9ba
        );
    content: "";
}


/* CARD HEADER */

.tq-challenge-top {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 19px;
}

.tq-challenge-icon {
    display: flex;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #e6f7f5;
    color: #087f76;
    font-size: 15px;
    font-weight: 900;
}

.tq-challenge-active .tq-challenge-icon {
    background: #0ba899;
    color: #fff;
}

.tq-challenge-tag {
    display: inline-flex;
    min-height: 27px;
    padding: 0 10px;
    align-items: center;
    border-radius: 999px;
    background: #eef3f4;
    color: #667b84;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.tq-challenge-active .tq-challenge-tag {
    background: #dff5f2;
    color: #087f76;
}


/* CARD COPY */

.tq-challenge-card h3 {
    margin: 0 0 10px;
    color: #173c4b;
    font-size: 20px;
    line-height: 1.25;
}

.tq-challenge-card > p {
    margin: 0 0 18px;
    color: #6d7f88;
    font-size: 14px;
    line-height: 1.58;
}


/* GOAL */

.tq-challenge-goal {
    margin-top: auto;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f2f6f7;
    color: #74858d;
    font-size: 12px;
}

.tq-challenge-goal strong {
    color: #294b59;
}


/* PROGRESS */

.tq-challenge-progress {
    margin-top: auto;
    padding-top: 16px;
}

.tq-challenge-progress-copy {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #637780;
    font-size: 12px;
}

.tq-challenge-progress-copy strong {
    color: #173c4b;
}

.tq-challenge-progress-track {
    width: 100%;
    height: 10px;
    overflow: hidden;
    border-radius: 99px;
    background: #dfe9ea;
}

.tq-challenge-progress-track > *,
.tq-challenge-progress-track span,
.tq-challenge-progress-track div {
    height: 100%;
    border-radius: inherit;
    background:
        linear-gradient(
            90deg,
            #07998d,
            #25c8b9
        );
}

.tq-challenge-progress-pending {
    margin-top: auto;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f3f6f7;
    color: #7c8a90;
    font-size: 12px;
}

.tq-challenge-complete {
    margin-top: 11px;
    padding: 8px 11px;
    border-radius: 9px;
    background: #e2f7f3;
    color: #087f76;
    font-size: 12px;
    font-weight: 900;
}


/* ACTIONS */

.tq-challenge-card form {
    margin-top: 17px;
}

.tq-card-link.tq-challenge-join,
.tq-challenge-secondary {
    display: flex;
    width: 100%;
    min-height: 44px;
    padding: 0 16px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    background: #0a9d91;
    color: #fff !important;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none !important;
    transition: .18s ease;
}

.tq-card-link.tq-challenge-join:hover {
    background: #07877e;
    transform: translateY(-1px);
}

.tq-challenge-secondary {
    border: 1px solid #d8e2e5;
    background: #fff;
    color: #667b84 !important;
}

.tq-challenge-secondary:hover {
    border-color: #b5cbc9;
    background: #f7fafb;
}

.tq-challenge-joined-copy {
    display: block;
    margin-top: 17px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #e8f8f6;
    color: #087f76;
    text-align: center;
    font-size: 13px;
}


/* VISUAL GUIDE BETWEEN SECTIONS */

.tq-challenge-section + .tq-challenge-section {
    padding-top: 39px;
    border-top: 1px solid #e1e8ea;
}


/* TABLET */

@media (max-width: 960px) {

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

}


/* MOBILE */

@media (max-width: 650px) {

    .tq-challenges-page .tq-live-community-hero {
        padding: 42px 0 39px;
    }

    .tq-challenges-page .tq-live-community-hero-inner,
    .tq-challenges-wrap {
        width: min(100% - 28px, 1160px);
    }

    .tq-challenges-page .tq-live-community-hero h1 {
        font-size: 38px;
    }

    .tq-challenges-page .tq-live-community-hero p {
        font-size: 16px;
    }

    .tq-challenges-page .tq-community-tabs {
        padding: 0 7px;
    }

    .tq-challenges-page .tq-community-tabs a {
        padding: 15px 11px 13px;
        font-size: 12px;
    }

    .tq-challenges-page .tq-community-health-link {
        margin-left: 0;
    }

    .tq-challenges-wrap {
        padding: 26px 0 55px;
    }

    .tq-challenges-intro {
        padding: 22px;
        border-radius: 16px;
    }

    .tq-challenges-intro h2 {
        font-size: 23px;
    }

    .tq-challenge-section {
        margin-top: 34px;
    }

    .tq-challenge-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .tq-challenge-card {
        min-height: 0;
        padding: 21px;
        border-radius: 16px;
    }

    .tq-challenge-card h3 {
        font-size: 19px;
    }

}


/* VERY SMALL MOBILE */

@media (max-width: 390px) {

    .tq-challenge-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .tq-challenge-card {
        padding: 18px;
    }

}


/* =========================================================
   TAQTIK ACHIEVEMENTS - PRESENTATION POLISH
   2026-09-23
   ========================================================= */

.tq-achievements-page {
    min-height: 100vh;
    background: #f5f8fa;
}

.tq-achievements-page .tq-live-community-hero {
    position: relative;
    overflow: hidden;
    padding: 58px 0 54px;
    background:
        radial-gradient(
            circle at 84% 18%,
            rgba(223,168,47,.22),
            transparent 28%
        ),
        radial-gradient(
            circle at 94% 82%,
            rgba(35,199,183,.14),
            transparent 27%
        ),
        linear-gradient(
            135deg,
            #073b4c 0%,
            #07566a 58%,
            #087487 100%
        );
}

.tq-achievements-page .tq-live-community-hero-inner {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.tq-achievements-page .tq-live-community-hero h1 {
    margin: 8px 0 12px;
    color: #fff;
    font-size: clamp(38px,5vw,54px);
    line-height: 1.05;
    letter-spacing: -1.4px;
}

.tq-achievements-page .tq-live-community-hero p {
    max-width: 660px;
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 18px;
    line-height: 1.6;
}

.tq-achievements-page .tq-label-light {
    color: #52ddd1;
}


/* COMMUNITY NAV */

.tq-achievements-page .tq-community-tabs {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0 max(20px, calc((100% - 1160px) / 2));
    overflow-x: auto;
    border-bottom: 1px solid #dfe7ea;
    background: #fff;
    box-shadow: 0 3px 14px rgba(16,49,62,.04);
    scrollbar-width: none;
}

.tq-achievements-page .tq-community-tabs::-webkit-scrollbar {
    display: none;
}

.tq-achievements-page .tq-community-tabs a {
    position: relative;
    flex: 0 0 auto;
    padding: 18px 15px 16px;
    color: #617680;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.tq-achievements-page .tq-community-tabs a:hover {
    color: #078f84;
}

.tq-achievements-page .tq-community-tabs a.is-active {
    color: #087f76;
}

.tq-achievements-page .tq-community-tabs a.is-active:after {
    position: absolute;
    right: 13px;
    bottom: 0;
    left: 13px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: #0ba899;
    content: "";
}

.tq-achievements-page .tq-community-health-link {
    margin-left: auto;
    color: #087f76 !important;
}


/* WRAPPER */

.tq-achievements-wrap,
.tq-achievement-wrap {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0 78px;
}


/* INTRO */

.tq-achievements-intro,
.tq-achievement-intro {
    position: relative;
    margin-bottom: 30px;
    padding: 29px 31px;
    overflow: hidden;
    border: 1px solid #dfe8eb;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 9px 32px rgba(20,54,68,.045);
}

.tq-achievements-intro:after,
.tq-achievement-intro:after {
    position: absolute;
    top: -55px;
    right: -35px;
    width: 175px;
    height: 175px;
    border-radius: 50%;
    background: rgba(223,168,47,.09);
    content: "";
}

.tq-achievements-intro h2,
.tq-achievement-intro h2 {
    position: relative;
    z-index: 2;
    margin: 5px 0 8px;
    color: #173c4b;
    font-size: 28px;
}

.tq-achievements-intro p,
.tq-achievement-intro p {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0;
    color: #6c7e87;
    line-height: 1.6;
}


/* ACHIEVEMENT GRID - SUPPORT EXISTING CLASS VARIATIONS */

.tq-achievement-grid,
.tq-achievements-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px;
    margin-top: 22px;
}


/* CARDS */

.tq-achievement-card {
    position: relative;
    min-width: 0;
    min-height: 255px;
    padding: 27px 25px;
    overflow: hidden;
    border: 1px solid #dfe7ea;
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(18,53,68,.045);
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.tq-achievement-card:hover {
    transform: translateY(-3px);
    border-color: #d7c27c;
    box-shadow: 0 15px 38px rgba(18,73,81,.09);
}


/* EARNED VARIATIONS */

.tq-achievement-card.is-earned,
.tq-achievement-card.tq-earned,
.tq-achievement-earned {
    border-color: #e3c76d;
    background:
        linear-gradient(
            145deg,
            #fffef9 0%,
            #fff9e9 100%
        );
}

.tq-achievement-card.is-earned:before,
.tq-achievement-card.tq-earned:before,
.tq-achievement-earned:before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background:
        linear-gradient(
            90deg,
            #d9a323,
            #efc958
        );
    content: "";
}


/* ICONS */

.tq-achievement-icon {
    display: flex;
    width: 62px;
    height: 62px;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    background:
        linear-gradient(
            145deg,
            #fff4cf,
            #f8e3a0
        );
    color: #9d7210;
    font-size: 27px;
    font-weight: 900;
    box-shadow: inset 0 0 0 1px rgba(190,143,24,.12);
}

.tq-achievement-card:not(.is-earned):not(.tq-earned)
.tq-achievement-icon {
    background: #eef3f4;
    color: #74878f;
}


/* COPY */

.tq-achievement-card h2,
.tq-achievement-card h3 {
    margin: 0 0 9px;
    color: #173c4b;
    font-size: 21px;
    line-height: 1.25;
}

.tq-achievement-card p {
    margin: 0;
    color: #6e7f87;
    font-size: 14px;
    line-height: 1.58;
}


/* LABELS */

.tq-achievement-label,
.tq-achievement-status {
    display: inline-flex;
    min-height: 27px;
    margin-top: 18px;
    padding: 0 10px;
    align-items: center;
    border-radius: 999px;
    background: #eef3f4;
    color: #697d85;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.is-earned .tq-achievement-label,
.tq-earned .tq-achievement-label,
.tq-achievement-earned .tq-achievement-label,
.is-earned .tq-achievement-status,
.tq-earned .tq-achievement-status {
    background: #fff0bc;
    color: #8b650d;
}


/* GENERIC SECTIONS */

.tq-achievement-section {
    margin-top: 42px;
}

.tq-achievement-section > h2 {
    margin: 0 0 6px;
    color: #173c4b;
    font-size: 28px;
}

.tq-achievement-section > p {
    margin: 0;
    color: #72838b;
}


/* MAKE ANY EXISTING SUMMARY PANEL PRESENTATION READY */

.tq-achievement-summary,
.tq-achievements-summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: center;
    margin-bottom: 30px;
    padding: 25px 28px;
    border-radius: 18px;
    background:
        linear-gradient(
            135deg,
            #073f50,
            #086779
        );
    color: #fff;
}

.tq-achievement-summary strong,
.tq-achievements-summary strong {
    color: #fff;
}

.tq-achievement-summary p,
.tq-achievements-summary p {
    margin: 4px 0 0;
    color: rgba(255,255,255,.72);
}


/* MOBILE */

@media (max-width: 900px) {

    .tq-achievement-grid,
    .tq-achievements-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

}

@media (max-width: 650px) {

    .tq-achievements-page .tq-live-community-hero {
        padding: 42px 0 39px;
    }

    .tq-achievements-page .tq-live-community-hero-inner,
    .tq-achievements-wrap,
    .tq-achievement-wrap {
        width: min(100% - 28px,1160px);
    }

    .tq-achievements-page .tq-live-community-hero h1 {
        font-size: 38px;
    }

    .tq-achievements-page .tq-live-community-hero p {
        font-size: 16px;
    }

    .tq-achievements-page .tq-community-tabs {
        padding: 0 7px;
    }

    .tq-achievements-page .tq-community-tabs a {
        padding: 15px 11px 13px;
        font-size: 12px;
    }

    .tq-achievements-page .tq-community-health-link {
        margin-left: 0;
    }

    .tq-achievements-wrap,
    .tq-achievement-wrap {
        padding: 27px 0 55px;
    }

    .tq-achievements-intro,
    .tq-achievement-intro {
        padding: 22px;
        border-radius: 16px;
    }

    .tq-achievement-grid,
    .tq-achievements-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .tq-achievement-card {
        min-height: 0;
        padding: 22px;
        border-radius: 16px;
    }

}


/* =========================================================
   TAQTIK LEARN - LIVE EDUCATION LIBRARY
   2026-09-23
   ========================================================= */

.tq-learn-page {
    min-height: 100vh;
    background: #f5f8fa;
}

.tq-learn-page .tq-live-community-hero {
    padding: 58px 0 54px;
    background:
        radial-gradient(
            circle at 84% 18%,
            rgba(35,199,183,.24),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #073b4c,
            #07566a 58%,
            #087487
        );
}

.tq-learn-page .tq-live-community-hero-inner {
    width: min(1160px,calc(100% - 40px));
    margin: 0 auto;
}

.tq-learn-page .tq-live-community-hero h1 {
    margin: 8px 0 12px;
    color: #fff;
    font-size: clamp(38px,5vw,54px);
    line-height: 1.05;
    letter-spacing: -1.4px;
}

.tq-learn-page .tq-live-community-hero p {
    max-width: 690px;
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 18px;
    line-height: 1.6;
}

.tq-learn-page .tq-label-light {
    color: #52ddd1;
}


/* NAV */

.tq-learn-page .tq-community-tabs {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0 max(20px,calc((100% - 1160px) / 2));
    overflow-x: auto;
    border-bottom: 1px solid #dfe7ea;
    background: #fff;
    scrollbar-width: none;
}

.tq-learn-page .tq-community-tabs::-webkit-scrollbar {
    display: none;
}

.tq-learn-page .tq-community-tabs a {
    position: relative;
    flex: 0 0 auto;
    padding: 18px 15px 16px;
    color: #617680;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.tq-learn-page .tq-community-tabs a.is-active {
    color: #087f76;
}

.tq-learn-page .tq-community-tabs a.is-active:after {
    position: absolute;
    right: 13px;
    bottom: 0;
    left: 13px;
    height: 3px;
    background: #0ba899;
    content: "";
}

.tq-learn-page .tq-community-health-link {
    margin-left: auto;
}


/* WRAPPER */

.tq-learn-wrap {
    width: min(1160px,calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0 80px;
}

.tq-learn-kicker {
    color: #0a9489;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.2px;
}


/* INTRO */

.tq-learn-intro {
    margin-bottom: 25px;
}

.tq-learn-intro h2 {
    margin: 7px 0 7px;
    color: #173c4b;
    font-size: 30px;
}

.tq-learn-intro p {
    max-width: 680px;
    margin: 0;
    color: #71828a;
    line-height: 1.6;
}


/* TOPICS */

.tq-learn-topic-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 15px;
}

.tq-learn-topic {
    position: relative;
    display: grid;
    min-height: 180px;
    padding: 22px;
    grid-template-columns: 48px 1fr;
    gap: 15px;
    border: 1px solid #dfe7ea;
    border-radius: 17px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 7px 24px rgba(18,53,68,.04);
    transition: .18s ease;
}

.tq-learn-topic:hover {
    transform: translateY(-3px);
    border-color: #addbd6;
    box-shadow: 0 13px 30px rgba(18,73,81,.08);
}

.tq-learn-topic-icon {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #e4f7f4;
    color: #07877d;
    font-size: 20px;
    font-weight: 900;
}

.tq-learn-topic h3 {
    margin: 2px 0 6px;
    color: #173c4b;
    font-size: 18px;
}

.tq-learn-topic p {
    margin: 0;
    color: #71828a;
    font-size: 13px;
    line-height: 1.5;
}

.tq-learn-topic-count {
    position: absolute;
    right: 21px;
    bottom: 18px;
    color: #0a8c82;
    font-size: 11px;
    font-weight: 850;
}


/* LIBRARY */

.tq-learn-library {
    margin-top: 54px;
    padding-top: 42px;
    border-top: 1px solid #dde6e8;
}

.tq-learn-section-head {
    display: flex;
    gap: 25px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 22px;
}

.tq-learn-section-head h2 {
    margin: 6px 0 5px;
    color: #173c4b;
    font-size: 30px;
}

.tq-learn-section-head p {
    margin: 0;
    color: #71828a;
}

.tq-learn-journey-link {
    flex: 0 0 auto;
    color: #07877d;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.tq-learn-article-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 17px;
}

.tq-learn-article {
    display: flex;
    min-height: 260px;
    padding: 24px;
    flex-direction: column;
    border: 1px solid #dfe7ea;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(18,53,68,.045);
}

.tq-learn-article-top {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 17px;
}

.tq-learn-article-category {
    padding: 6px 9px;
    border-radius: 999px;
    background: #e6f7f5;
    color: #087f76;
    font-size: 10px;
    font-weight: 900;
}

.tq-learn-read-time {
    color: #91a0a6;
    font-size: 10px;
    font-weight: 700;
}

.tq-learn-article h3 {
    margin: 0 0 10px;
    color: #173c4b;
    font-size: 20px;
    line-height: 1.3;
}

.tq-learn-article p {
    margin: 0 0 20px;
    color: #6f8088;
    font-size: 13px;
    line-height: 1.6;
}

.tq-learn-read-link {
    margin-top: auto;
    color: #07877d;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}


/* TOPIC SECTIONS */

.tq-learn-topic-section {
    margin-top: 48px;
    scroll-margin-top: 30px;
}

.tq-learn-topic-section-head {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 15px;
}

.tq-learn-topic-section-head h2 {
    margin: 0 0 4px;
    color: #173c4b;
    font-size: 23px;
}

.tq-learn-topic-section-head p {
    margin: 0;
    color: #72838b;
    font-size: 13px;
}

.tq-learn-topic-links {
    overflow: hidden;
    border: 1px solid #dfe7ea;
    border-radius: 15px;
    background: #fff;
}

.tq-learn-topic-links a {
    display: flex;
    padding: 17px 19px;
    gap: 15px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e7edef;
    color: #294b59;
    text-decoration: none;
}

.tq-learn-topic-links a:last-child {
    border-bottom: 0;
}

.tq-learn-topic-links a:hover {
    background: #f4faf9;
}

.tq-learn-topic-links strong {
    color: #07877d;
    font-size: 12px;
}

.tq-learn-topic-empty {
    padding: 18px 20px;
    border: 1px dashed #cfdadd;
    border-radius: 13px;
    background: #f9fbfb;
    color: #829097;
    font-size: 13px;
}


/* NOTE */

.tq-learn-note {
    display: grid;
    margin-top: 55px;
    padding: 25px 27px;
    grid-template-columns: 50px 1fr auto;
    gap: 17px;
    align-items: center;
    border-radius: 18px;
    background:
        linear-gradient(
            135deg,
            #073f50,
            #086779
        );
    color: #fff;
}

.tq-learn-note-icon {
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255,255,255,.12);
    font-size: 24px;
    font-weight: 900;
}

.tq-learn-note strong {
    font-size: 17px;
}

.tq-learn-note p {
    margin: 4px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 13px;
}

.tq-learn-note a {
    padding: 11px 15px;
    border-radius: 9px;
    background: #fff;
    color: #087f76;
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
}


/* TABLET */

@media (max-width: 900px) {

    .tq-learn-topic-grid,
    .tq-learn-article-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

}


/* MOBILE */

@media (max-width: 650px) {

    .tq-learn-page .tq-live-community-hero {
        padding: 42px 0 39px;
    }

    .tq-learn-page .tq-live-community-hero-inner,
    .tq-learn-wrap {
        width: min(100% - 28px,1160px);
    }

    .tq-learn-page .tq-live-community-hero h1 {
        font-size: 37px;
    }

    .tq-learn-page .tq-community-tabs {
        padding: 0 7px;
    }

    .tq-learn-page .tq-community-tabs a {
        padding: 15px 11px 13px;
        font-size: 12px;
    }

    .tq-learn-page .tq-community-health-link {
        margin-left: 0;
    }

    .tq-learn-wrap {
        padding: 28px 0 55px;
    }

    .tq-learn-topic-grid,
    .tq-learn-article-grid {
        grid-template-columns: 1fr;
    }

    .tq-learn-topic {
        min-height: 160px;
    }

    .tq-learn-section-head {
        display: block;
    }

    .tq-learn-journey-link {
        display: inline-block;
        margin-top: 14px;
    }

    .tq-learn-note {
        grid-template-columns: 46px 1fr;
    }

    .tq-learn-note a {
        grid-column: 1 / -1;
        text-align: center;
    }

}


/* =========================================================
   TAQTIK EDUCATION - SOURCES & FURTHER READING
   2026-09-23
   ========================================================= */

.tq-education-sources {
    margin-top: 44px;
    padding: 26px 28px;
    border: 1px solid #dce7e9;
    border-radius: 16px;
    background: #f7fafb;
}

.tq-education-sources h2 {
    margin: 0 0 8px;
    color: #173c4b;
    font-size: 21px;
}

.tq-education-source-intro {
    margin: 0 0 17px;
    color: #687d86;
    font-size: 14px;
    line-height: 1.6;
}

.tq-education-sources ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tq-education-sources li {
    position: relative;
    margin: 0;
    padding: 11px 0 11px 22px;
    border-top: 1px solid #e2eaec;
}

.tq-education-sources li:before {
    position: absolute;
    top: 12px;
    left: 0;
    color: #0a978b;
    font-weight: 900;
    content: "↗";
}

.tq-education-sources a {
    color: #087f76;
    font-weight: 750;
    text-decoration: none;
}

.tq-education-sources a:hover {
    text-decoration: underline;
}

.tq-education-disclaimer {
    margin-top: 18px;
    padding: 15px 17px;
    border-left: 3px solid #dfa82f;
    border-radius: 6px;
    background: #fff;
    color: #667a83;
    font-size: 12px;
    line-height: 1.6;
}

.tq-education-disclaimer strong {
    color: #294b59;
}

@media (max-width: 650px) {

    .tq-education-sources {
        margin-top: 32px;
        padding: 21px 19px;
    }

}


/* =========================================================
   TAQTIK GUIDE
   2026-09-23
   ========================================================= */

.tq-guide {
    position: fixed;
    right: 24px;
    bottom: 22px;
    z-index: 9995;
    width: min(390px,calc(100vw - 32px));
    font-family: inherit;
}

.tq-guide-toggle {
    display: grid;
    width: 100%;
    min-height: 68px;
    padding: 10px 14px;
    grid-template-columns: 42px 1fr auto auto;
    gap: 10px;
    align-items: center;
    border: 0;
    border-radius: 18px;
    background:
        linear-gradient(
            135deg,
            #073f50,
            #087485
        );
    color: #fff;
    text-align: left;
    cursor: pointer;
    box-shadow:
        0 16px 42px
        rgba(12,54,68,.24);
}

.tq-guide-toggle-icon {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(255,255,255,.13);
    color: #52ddd1;
    font-size: 20px;
}

.tq-guide-toggle-copy {
    min-width: 0;
}

.tq-guide-toggle-copy strong,
.tq-guide-toggle-copy small {
    display: block;
}

.tq-guide-toggle-copy strong {
    margin-bottom: 2px;
    font-size: 14px;
}

.tq-guide-toggle-copy small {
    overflow: hidden;
    color: rgba(255,255,255,.72);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tq-guide-alert-count {
    display: flex;
    width: 23px;
    height: 23px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dfa82f;
    color: #173c4b;
    font-size: 10px;
    font-weight: 900;
}

.tq-guide-chevron {
    color: rgba(255,255,255,.65);
}

.tq-guide-panel {
    display: none;
    max-height: min(670px,calc(100vh - 120px));
    margin-bottom: 9px;
    padding: 23px;
    overflow-y: auto;
    border: 1px solid #dbe5e8;
    border-radius: 20px;
    background: #fff;
    box-shadow:
        0 20px 55px
        rgba(14,48,62,.19);
}

.tq-guide.is-new .tq-guide-panel,
.tq-guide.is-open .tq-guide-panel {
    display: block;
}

.tq-guide.is-new .tq-guide-toggle {
    display: none;
}

.tq-guide-head {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    justify-content: space-between;
}

.tq-guide-kicker {
    color: #0a9489;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.1px;
}

.tq-guide-head h2 {
    margin: 5px 0 0;
    color: #173c4b;
    font-size: 24px;
}

.tq-guide-progress-label {
    padding: 6px 9px;
    border-radius: 999px;
    background: #e6f7f5;
    color: #087f76;
    font-size: 10px;
    font-weight: 900;
}

.tq-guide-progress {
    height: 7px;
    margin: 17px 0;
    overflow: hidden;
    border-radius: 999px;
    background: #e8eff1;
}

.tq-guide-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background:
        linear-gradient(
            90deg,
            #0ba899,
            #37cabb
        );
}

.tq-guide-welcome {
    margin: 0 0 18px;
    color: #687d86;
    font-size: 13px;
    line-height: 1.55;
}

.tq-guide-steps {
    display: grid;
    gap: 8px;
}

.tq-guide-step {
    display: grid;
    padding: 11px;
    grid-template-columns: 35px 1fr;
    gap: 10px;
    align-items: center;
    border: 1px solid #e1e8ea;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
}

.tq-guide-step:hover {
    border-color: #a9dcd7;
    background: #f7fbfb;
}

.tq-guide-step-icon {
    display: flex;
    width: 35px;
    height: 35px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #e8f7f5;
    color: #07877d;
    font-weight: 900;
}

.tq-guide-step.is-complete {
    opacity: .62;
}

.tq-guide-step.is-complete
.tq-guide-step-icon {
    background: #eaf5e8;
    color: #4d8b46;
}

.tq-guide-step strong,
.tq-guide-step small {
    display: block;
}

.tq-guide-step strong {
    color: #244653;
    font-size: 12px;
}

.tq-guide-step small {
    margin-top: 2px;
    color: #788990;
    font-size: 10px;
    line-height: 1.4;
}

.tq-guide-finish-tour {
    width: 100%;
    margin-top: 17px;
    padding: 12px 15px;
    border: 0;
    border-radius: 10px;
    background: #078f84;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.tq-guide-reminders {
    display: grid;
    gap: 11px;
}

.tq-guide-reminder,
.tq-guide-next {
    display: grid;
    padding: 14px;
    grid-template-columns: 13px 1fr;
    gap: 10px;
    border: 1px solid #e1e8ea;
    border-radius: 13px;
    background: #f8fbfb;
}

.tq-guide-reminder-dot {
    width: 9px;
    height: 9px;
    margin-top: 5px;
    border-radius: 50%;
    background: #dfa82f;
}

.tq-guide-reminder strong,
.tq-guide-next strong {
    color: #244653;
    font-size: 13px;
}

.tq-guide-reminder p,
.tq-guide-next p {
    margin: 4px 0 6px;
    color: #71838b;
    font-size: 11px;
    line-height: 1.5;
}

.tq-guide-reminder a,
.tq-guide-next a {
    color: #07877d;
    font-size: 11px;
    font-weight: 850;
    text-decoration: none;
}

.tq-guide-next {
    grid-template-columns: 40px 1fr;
}

.tq-guide-next-icon {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #e5f7f4;
    color: #07877d;
    font-weight: 900;
}

.tq-guide-footer {
    display: flex;
    margin-top: 18px;
    padding-top: 13px;
    gap: 11px;
    flex-wrap: wrap;
    border-top: 1px solid #e3eaec;
}

.tq-guide-footer a,
.tq-guide-footer button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #73858d;
    font-family: inherit;
    font-size: 10px;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}

.tq-guide-footer button {
    margin-left: auto;
    color: #07877d;
}


/* HELP MODAL */

.tq-guide-help-modal {
    position: fixed;
    z-index: 10020;
    display: none;
    inset: 0;
    padding: 20px;
    align-items: center;
    justify-content: center;
    background: rgba(8,37,48,.56);
}

.tq-guide-help-modal.is-open {
    display: flex;
}

.tq-guide-help-card {
    position: relative;
    width: min(460px,100%);
    padding: 30px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0,0,0,.24);
}

.tq-guide-help-card h2 {
    margin: 6px 0 9px;
    color: #173c4b;
    font-size: 27px;
}

.tq-guide-help-card p {
    color: #6d8088;
    line-height: 1.6;
}

.tq-guide-help-close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: 0;
    background: transparent;
    color: #7b8a90;
    font-size: 25px;
    cursor: pointer;
}

.tq-guide-help-actions {
    display: flex;
    margin: 20px 0;
    gap: 10px;
}

.tq-guide-help-actions a {
    padding: 11px 15px;
    border-radius: 9px;
    background: #078f84;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.tq-guide-help-actions a + a {
    background: #edf5f5;
    color: #087f76;
}

.tq-guide-help-card small {
    display: block;
    padding-top: 15px;
    border-top: 1px solid #e4eaec;
    color: #87959a;
    font-size: 10px;
    line-height: 1.5;
}


/* MOBILE */

@media (max-width: 650px) {

    .tq-guide {
        right: 12px;
        bottom: 12px;
        width: calc(100vw - 24px);
    }

    .tq-guide-panel {
        max-height: calc(100vh - 95px);
        padding: 19px;
        border-radius: 17px;
    }

    .tq-guide-toggle {
        min-height: 62px;
        border-radius: 16px;
    }

    .tq-guide-step {
        padding: 10px;
    }

    .tq-guide-footer {
        gap: 13px;
    }

}


/* =========================================================
   TAQTIK LEARN PAGE - FINAL POLISH
   2026-09-23
   Uses actual page classes.
   ========================================================= */

.tq-learn-page {
    background: #f5f8fa;
}


/* =========================================================
   HERO
   ========================================================= */

.tq-learn-page .tq-live-community-hero {
    min-height: 0 !important;
    padding: 42px 0 44px !important;
}

.tq-learn-page .tq-live-community-hero-inner {
    max-width: 1395px !important;
    margin: 0 auto !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
}

.tq-learn-page .tq-live-community-hero h1 {
    max-width: 850px !important;
    margin: 7px 0 10px !important;
    font-size: clamp(40px, 4vw, 54px) !important;
    line-height: 1.03 !important;
    letter-spacing: -0.035em !important;
}

.tq-learn-page .tq-live-community-hero p {
    max-width: 720px !important;
    margin: 0 !important;
    font-size: 17px !important;
    line-height: 1.55 !important;
}


/* =========================================================
   COMMUNITY NAV
   ========================================================= */

.tq-learn-page .tq-community-tabs {
    min-height: 54px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.tq-learn-page .tq-community-tabs a {
    min-height: 54px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.tq-learn-page .tq-community-tabs a.is-active {
    border-radius: 9px 9px 0 0 !important;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.tq-learn-wrap {
    max-width: 1395px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 38px 32px 64px !important;
}


/* =========================================================
   INTRO
   ========================================================= */

.tq-learn-intro {
    margin-bottom: 24px !important;
}

.tq-learn-kicker {
    margin-bottom: 7px !important;
}

.tq-learn-intro h2 {
    margin: 0 0 7px !important;
    font-size: 31px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.025em !important;
}

.tq-learn-intro p {
    max-width: 720px !important;
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
}


/* =========================================================
   TOPIC GRID
   ========================================================= */

.tq-learn-topic-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
    margin-bottom: 44px !important;
}


/* =========================================================
   TOPIC CARDS
   ========================================================= */

.tq-learn-topic {
    min-height: 138px !important;
    padding: 20px !important;
    border: 1px solid #d9e4e8 !important;
    border-radius: 16px !important;
    background: #fff !important;

    display: grid !important;
    grid-template-columns: 48px minmax(0, 1fr) !important;
    grid-template-rows: auto 1fr !important;
    column-gap: 15px !important;
    row-gap: 0 !important;

    box-shadow: 0 6px 20px rgba(18, 54, 72, .045) !important;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease !important;
}

.tq-learn-topic:hover {
    transform: translateY(-2px) !important;
    border-color: #b9d8da !important;
    box-shadow: 0 12px 28px rgba(18, 54, 72, .09) !important;
}


/* icon */

.tq-learn-topic-icon {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;

    width: 48px !important;
    height: 48px !important;

    margin: 0 !important;
    border-radius: 13px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 20px !important;
}


/* text area */

.tq-learn-topic-copy {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
}

.tq-learn-topic h3 {
    margin: 5px 0 5px !important;
    font-size: 17px !important;
    line-height: 1.2 !important;
    letter-spacing: -.015em !important;
}

.tq-learn-topic p {
    margin: 0 !important;
    font-size: 13.5px !important;
    line-height: 1.45 !important;
}


/* resource count */

.tq-learn-topic-count {
    grid-column: 2 !important;
    grid-row: 2 !important;

    align-self: end !important;
    justify-self: end !important;

    margin: 8px 0 0 !important;
    padding: 0 !important;

    font-size: 11px !important;
    font-weight: 800 !important;
}


/* =========================================================
   FEATURED EDUCATION
   ========================================================= */

.tq-learn-library {
    margin-top: 4px !important;
    padding-top: 0 !important;
}

.tq-learn-section-head {
    margin-bottom: 20px !important;
}

.tq-learn-section-head h2 {
    margin: 4px 0 6px !important;
    font-size: 29px !important;
    line-height: 1.15 !important;
    letter-spacing: -.02em !important;
}

.tq-learn-section-head p {
    margin: 0 !important;
    max-width: 680px !important;
    line-height: 1.5 !important;
}


/* =========================================================
   ARTICLE GRID
   ========================================================= */

.tq-learn-article-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
}

.tq-learn-article {
    padding: 20px !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 20px rgba(18, 54, 72, .045) !important;
}

.tq-learn-article h3 {
    margin-top: 10px !important;
    margin-bottom: 7px !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
}

.tq-learn-article p {
    font-size: 14px !important;
    line-height: 1.5 !important;
}


/* =========================================================
   INDIVIDUAL TOPIC SECTIONS
   ========================================================= */

.tq-learn-topic-section {
    margin-top: 30px !important;
    padding: 24px !important;
    border-radius: 16px !important;
}

.tq-learn-topic-section-head {
    margin-bottom: 18px !important;
}

.tq-learn-topic-section-head h2 {
    margin-bottom: 5px !important;
    font-size: 25px !important;
}


/* =========================================================
   BOTTOM NOTE
   ========================================================= */

.tq-learn-note {
    margin-top: 32px !important;
    padding: 20px 22px !important;
    border-radius: 16px !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .tq-learn-topic-grid,
    .tq-learn-article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .tq-learn-page .tq-live-community-hero {
        padding: 30px 0 32px !important;
    }

    .tq-learn-page .tq-live-community-hero-inner {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .tq-learn-page .tq-live-community-hero h1 {
        font-size: 36px !important;
        line-height: 1.05 !important;
    }

    .tq-learn-page .tq-live-community-hero p {
        font-size: 15px !important;
    }

    .tq-learn-wrap {
        padding: 28px 18px 48px !important;
    }

    .tq-learn-intro {
        margin-bottom: 20px !important;
    }

    .tq-learn-intro h2 {
        font-size: 27px !important;
    }

    .tq-learn-topic-grid,
    .tq-learn-article-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .tq-learn-topic {
        min-height: 0 !important;
        padding: 17px !important;
        grid-template-columns: 44px minmax(0, 1fr) !important;
        column-gap: 13px !important;
    }

    .tq-learn-topic-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 18px !important;
    }

    .tq-learn-topic h3 {
        margin-top: 3px !important;
    }

    .tq-learn-topic-grid {
        margin-bottom: 34px !important;
    }

    .tq-learn-section-head {
        display: block !important;
    }

    .tq-learn-journey-link {
        display: inline-flex !important;
        margin-top: 12px !important;
    }

    .tq-learn-topic-section {
        margin-top: 20px !important;
        padding: 18px !important;
    }

}


/* =========================================================
   END TAQTIK LEARN PAGE FINAL POLISH
   ========================================================= */

/* =========================================================
   COMMUNITY NAV ACTIVE TAB POLISH
   2026-09-23
   ========================================================= */

.tq-learn-page .tq-community-tabs a.is-active {
    position: relative !important;

    min-height: 54px !important;

    padding-left: 16px !important;
    padding-right: 16px !important;

    background: transparent !important;
    color: #007f86 !important;

    border-radius: 0 !important;
    box-shadow: none !important;

    font-weight: 700 !important;
}

/* Clean teal indicator instead of large blue block */
.tq-learn-page .tq-community-tabs a.is-active::after {
    content: "" !important;

    position: absolute !important;
    left: 16px !important;
    right: 16px !important;
    bottom: 0 !important;

    width: auto !important;
    height: 3px !important;

    background: #00999a !important;
    border-radius: 3px 3px 0 0 !important;
}

/* Prevent inherited button effects */
.tq-learn-page .tq-community-tabs a.is-active:hover,
.tq-learn-page .tq-community-tabs a.is-active:focus {
    background: transparent !important;
    color: #006f76 !important;
    transform: none !important;
}


/* Mobile */
@media (max-width: 700px) {

    .tq-learn-page .tq-community-tabs a.is-active {
        padding-left: 13px !important;
        padding-right: 13px !important;
    }

    .tq-learn-page .tq-community-tabs a.is-active::after {
        left: 13px !important;
        right: 13px !important;
    }

}

/* =========================================================
   END COMMUNITY NAV ACTIVE TAB POLISH
   ========================================================= */

/* =========================================================
   COMMUNITY NAV ACTIVE TAB POLISH
   2026-09-23
   ========================================================= */

.tq-learn-page .tq-community-tabs a.is-active {
    position: relative !important;

    min-height: 54px !important;

    padding-left: 16px !important;
    padding-right: 16px !important;

    background: transparent !important;
    color: #007f86 !important;

    border-radius: 0 !important;
    box-shadow: none !important;

    font-weight: 700 !important;
}

/* Clean teal indicator instead of large blue block */
.tq-learn-page .tq-community-tabs a.is-active::after {
    content: "" !important;

    position: absolute !important;
    left: 16px !important;
    right: 16px !important;
    bottom: 0 !important;

    width: auto !important;
    height: 3px !important;

    background: #00999a !important;
    border-radius: 3px 3px 0 0 !important;
}

/* Prevent inherited button effects */
.tq-learn-page .tq-community-tabs a.is-active:hover,
.tq-learn-page .tq-community-tabs a.is-active:focus {
    background: transparent !important;
    color: #006f76 !important;
    transform: none !important;
}


/* Mobile */
@media (max-width: 700px) {

    .tq-learn-page .tq-community-tabs a.is-active {
        padding-left: 13px !important;
        padding-right: 13px !important;
    }

    .tq-learn-page .tq-community-tabs a.is-active::after {
        left: 13px !important;
        right: 13px !important;
    }

}

/* =========================================================
   END COMMUNITY NAV ACTIVE TAB POLISH
   ========================================================= */


/* =========================================================
   TAQTIK CREATE ACCOUNT
   2026-09-23
   ========================================================= */

.tq-register-page {
    background: #f4f8f9;
}

.tq-register-hero {
    padding: 64px 28px 78px;
    background:
        linear-gradient(
            135deg,
            #006f76 0%,
            #008b8d 58%,
            #00a19c 100%
        );
}

.tq-register-hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 480px);
    gap: 72px;
    align-items: center;
}

.tq-register-intro {
    color: #fff;
}

.tq-register-kicker,
.tq-register-card-kicker {
    display: block;
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .15em;
}

.tq-register-kicker {
    color: #b9eeea;
}

.tq-register-intro h1 {
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(42px, 5vw, 62px);
    line-height: 1.02;
    letter-spacing: -.035em;
}

.tq-register-intro > p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.9);
    font-size: 18px;
    line-height: 1.65;
}

.tq-register-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 22px 28px;
    margin-top: 38px;
}

.tq-register-benefit {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 11px;
}

.tq-register-benefit > span {
    display: flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
    color: #fff;
    font-weight: 800;
}

.tq-register-benefit strong {
    display: block;
    margin: 2px 0 4px;
    color: #fff;
    font-size: 15px;
}

.tq-register-benefit p {
    margin: 0;
    color: rgba(255,255,255,.76);
    font-size: 13px;
    line-height: 1.5;
}

.tq-register-card {
    padding: 34px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0,45,50,.22);
}

.tq-register-card-kicker {
    color: #00898b;
}

.tq-register-card h2 {
    margin: 0;
    color: #17333a;
    font-size: 31px;
    line-height: 1.15;
}

.tq-register-card-intro {
    margin: 8px 0 25px;
    color: #63777c;
}

.tq-register-form > label,
.tq-register-row label {
    display: block;
    margin-bottom: 17px;
}

.tq-register-form label > span {
    display: block;
    margin-bottom: 7px;
    color: #29434a;
    font-size: 13px;
    font-weight: 700;
}

.tq-register-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.tq-register-form input[type="text"],
.tq-register-form input[type="email"],
.tq-register-form input[type="password"] {
    width: 100%;
    height: 48px;
    padding: 0 13px;
    border: 1px solid #cad7da;
    border-radius: 9px;
    background: #fff;
    color: #17333a;
    font-size: 15px;
    box-sizing: border-box;
}

.tq-register-form input:focus {
    outline: none;
    border-color: #008e91;
    box-shadow: 0 0 0 3px rgba(0,142,145,.11);
}

.tq-password-wrap {
    position: relative;
}

.tq-password-wrap input {
    padding-right: 65px !important;
}

.tq-password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #007d82;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.tq-register-form small {
    display: block;
    margin-top: 5px;
    color: #7a8b8f;
    font-size: 11px;
}

.tq-register-consent {
    display: grid !important;
    grid-template-columns: 18px 1fr;
    gap: 9px;
    align-items: start;
    margin: 4px 0 20px !important;
}

.tq-register-consent input {
    margin-top: 3px;
}

.tq-register-consent span {
    margin: 0 !important;
    color: #65777c !important;
    font-weight: 500 !important;
    line-height: 1.5;
}

.tq-register-submit,
.tq-register-login-button {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9px;
    background: #008d8f;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.tq-register-submit:hover,
.tq-register-login-button:hover {
    background: #007a7d;
    color: #fff;
}

.tq-register-submit:disabled {
    opacity: .65;
    cursor: wait;
}

.tq-register-message {
    display: none;
    margin-bottom: 15px;
    padding: 11px 13px;
    border-radius: 8px;
    font-size: 13px;
}

.tq-register-message.is-error {
    display: block;
    background: #fff0f0;
    color: #a52b2b;
}

.tq-register-login {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e5ebed;
    color: #718287;
    text-align: center;
    font-size: 13px;
}

.tq-register-login a {
    color: #007f84;
    font-weight: 800;
}

.tq-register-success {
    padding: 18px 2px 5px;
    text-align: center;
}

.tq-register-success-icon {
    display: flex;
    width: 64px;
    height: 64px;
    margin: 0 auto 22px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e3f7f4;
    color: #008d8f;
    font-size: 30px;
    font-weight: 800;
}

.tq-register-success p {
    color: #62777c;
    line-height: 1.6;
}

.tq-register-email-box {
    margin: 22px 0;
    padding: 13px;
    border-radius: 9px;
    background: #f2f7f8;
    color: #17333a;
}

.tq-register-help {
    margin-bottom: 24px;
    font-size: 13px;
}

@media (max-width: 900px) {

    .tq-register-hero {
        padding: 45px 22px 60px;
    }

    .tq-register-hero-inner {
        grid-template-columns: 1fr;
        gap: 38px;
        max-width: 650px;
    }

}

@media (max-width: 600px) {

    .tq-register-hero {
        padding: 34px 16px 44px;
    }

    .tq-register-intro h1 {
        font-size: 39px;
    }

    .tq-register-intro > p {
        font-size: 16px;
    }

    .tq-register-benefits {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 28px;
    }

    .tq-register-card {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .tq-register-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

}


/* =========================================================
   END TAQTIK CREATE ACCOUNT
   ========================================================= */


/* =========================================================
   TAQTIK HEADER CREATE ACCOUNT 20260923
   ========================================================= */

.tq-header-register {
    display: inline-flex;
    min-height: 40px;
    padding: 0 17px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #dfa82f;
    color: #17333a !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.tq-header-register:hover,
.tq-header-register:focus {
    background: #e6b23c;
    color: #17333a !important;
}

.tq-mobile-register {
    display: flex;
    width: 100%;
    min-height: 46px;
    margin: 8px 0;
    padding: 0 16px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 8px;
    background: #dfa82f;
    color: #17333a !important;
    font-weight: 800;
    text-decoration: none;
}


/* =========================================================
   END HEADER CREATE ACCOUNT
   ========================================================= */


/* =========================================================
   TAQTIK DESKTOP LOGOUT 20260923
   ========================================================= */

.tq-header-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(23, 51, 58, 0.18);
    border-radius: 8px;
    color: #17333a !important;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.tq-header-logout:hover,
.tq-header-logout:focus {
    background: rgba(23, 51, 58, 0.06);
    color: #17333a !important;
}

@media (max-width: 900px) {
    .tq-header-logout {
        display: none;
    }
}

/* END TAQTIK DESKTOP LOGOUT */

/* =========================================================
   TAQTIK PATIENT SUPPORT PLAN
   2026-09-23
   ========================================================= */

.tq-plans-page .tq-plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.tq-plan-support {
    position: relative;
}

.tq-plan-support .tq-plan-ribbon {
    background: #edf5f3;
    color: #184f46;
}

.tq-support-upgrade {
    margin-bottom: 28px;
}

@media (max-width: 980px) {
    .tq-plans-page .tq-plan-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   TAQTIK EMAIL VERIFICATION
   ========================================================= */

.tq-verify-page {
    min-height: 68vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 20px;
    background:
        radial-gradient(circle at top right,
            rgba(27, 151, 142, .10),
            transparent 38%),
        #f7faf9;
}

.tq-verify-card {
    width: 100%;
    max-width: 620px;
    padding: 52px 46px;
    background: #fff;
    border: 1px solid rgba(20, 74, 70, .10);
    border-radius: 24px;
    box-shadow: 0 22px 60px rgba(19, 67, 64, .10);
    text-align: center;
}

.tq-verify-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf7f5;
    color: #167d75;
    font-size: 30px;
    font-weight: 800;
}

.tq-verify-icon.is-success {
    background: #e7f7f1;
    color: #13765f;
}

.tq-verify-icon.is-error {
    background: #fff0ed;
    color: #b74c38;
}

.tq-verify-kicker {
    margin: 0 0 10px;
    color: #17877e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
}

.tq-verify-card h1 {
    margin: 0 0 14px;
    color: #173c3a;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.12;
}

.tq-verify-message {
    max-width: 470px;
    margin: 0 auto;
    color: #607371;
    font-size: 17px;
    line-height: 1.65;
}

.tq-verify-spinner {
    width: 34px;
    height: 34px;
    margin: 30px auto 0;
    border: 4px solid #e4efed;
    border-top-color: #17877e;
    border-radius: 50%;
    animation: tqVerifySpin .8s linear infinite;
}

@keyframes tqVerifySpin {
    to { transform: rotate(360deg); }
}

.tq-verify-actions {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.tq-verify-actions .tq-button {
    min-width: 220px;
}

.tq-verify-home {
    color: #54706d;
    font-weight: 600;
    text-decoration: none;
}

.tq-verify-home:hover {
    color: #17877e;
}

@media (max-width: 600px) {

    .tq-verify-page {
        min-height: 62vh;
        padding: 36px 16px;
    }

    .tq-verify-card {
        padding: 38px 22px;
        border-radius: 18px;
    }

}


/* =========================================================
   TAQTIK BRAND / PLANS / HEADER POLISH
   2026-09-23
   Primary brand blue: #0072bf
   ========================================================= */

:root {
    --tq-brand-blue: #0072bf;
    --tq-brand-blue-dark: #005f9f;
    --tq-brand-blue-soft: #eaf5fc;
    --tq-border: #d7e1e8;
    --tq-text: #123047;
    --tq-muted: #667985;
}

/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.site-header,
.tq-site-header {
    background: #fff;
    border-bottom: 1px solid #e2e8ed;
    box-shadow: 0 2px 12px rgba(18, 48, 71, 0.06);
}

.site-header .wrap,
.site-header .container,
.tq-site-header .wrap,
.tq-site-header .container {
    min-height: 76px;
}

.site-header nav a,
.tq-site-header nav a,
.site-header .menu a,
.tq-site-header .menu a {
    color: #334a5b;
    font-weight: 600;
    text-decoration: none;
}

.site-header nav a:hover,
.tq-site-header nav a:hover,
.site-header .menu a:hover,
.tq-site-header .menu a:hover {
    color: var(--tq-brand-blue);
}

/* Plans nav link */
.site-header a[href*="/plans/"],
.tq-site-header a[href*="/plans/"] {
    color: var(--tq-brand-blue);
}

/* Primary Community action */
.site-header a[href*="/community/"],
.tq-site-header a[href*="/community/"] {
    background: var(--tq-brand-blue);
    border-color: var(--tq-brand-blue);
    color: #fff;
}

.site-header a[href*="/community/"]:hover,
.tq-site-header a[href*="/community/"]:hover {
    background: var(--tq-brand-blue-dark);
    border-color: var(--tq-brand-blue-dark);
    color: #fff;
}

/* Create Account is deliberately secondary, not yellow */
.site-header a[href*="/create-account/"],
.tq-site-header a[href*="/create-account/"] {
    background: #f1f4f6 !important;
    border: 1px solid #d3dce2 !important;
    color: #334a5b !important;
    box-shadow: none !important;
}

.site-header a[href*="/create-account/"]:hover,
.tq-site-header a[href*="/create-account/"]:hover {
    background: #e6ecef !important;
    border-color: #c5d0d7 !important;
    color: #18384f !important;
}

/* Login / logout secondary action */
.site-header a[href*="logout"],
.site-header a[href*="/login"],
.tq-site-header a[href*="logout"],
.tq-site-header a[href*="/login"] {
    background: #fff;
    border: 1px solid #ccd7de;
    color: #29475b;
}

/* ---------------------------------------------------------
   PLANS
   --------------------------------------------------------- */

/* Force three equal columns on desktop */
.tq-plan-grid,
.tq-plans-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px !important;
    align-items: stretch;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.tq-plan-card {
    width: 100% !important;
    max-width: none !important;
    border: 1px solid var(--tq-border) !important;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(18, 48, 71, 0.07);
}

/* Paid / highlighted cards use Taqtik blue */
.tq-plan-card.is-featured,
.tq-plan-card.featured,
.tq-plan-card.is-plus,
.tq-plan-card.is-support {
    border: 2px solid var(--tq-brand-blue) !important;
}

/* Replace teal/green plan text */
.tq-plan-card .tq-plan-kicker,
.tq-plan-card .plan-kicker,
.tq-plan-card .eyebrow,
.tq-plan-card .tq-plan-price,
.tq-plan-card .pilot-pricing {
    color: var(--tq-brand-blue) !important;
}

/* Checks */
.tq-plan-card li::before,
.tq-plan-card .check,
.tq-plan-card .tq-check {
    color: var(--tq-brand-blue) !important;
}

/* Buttons */
.tq-plan-card .button,
.tq-plan-card .btn,
.tq-plan-card a.tq-button,
.tq-plan-card a[class*="button"] {
    background: var(--tq-brand-blue) !important;
    border-color: var(--tq-brand-blue) !important;
    color: #fff !important;
}

.tq-plan-card .button:hover,
.tq-plan-card .btn:hover,
.tq-plan-card a.tq-button:hover,
.tq-plan-card a[class*="button"]:hover {
    background: var(--tq-brand-blue-dark) !important;
    border-color: var(--tq-brand-blue-dark) !important;
}

/* Current free plan remains neutral */
.tq-plan-card .is-current,
.tq-plan-card .current-plan,
.tq-plan-card [aria-disabled="true"] {
    background: #edf2f5 !important;
    border-color: #edf2f5 !important;
    color: #607480 !important;
}

/* Plus/support corner ribbon */
.tq-plan-ribbon,
.tq-plan-card .ribbon,
.tq-plan-card::before {
    border-color: var(--tq-brand-blue);
}

/* Specific ribbon backgrounds where existing markup uses them */
.tq-plan-card .tq-plan-ribbon,
.tq-plan-card .plan-ribbon {
    background: var(--tq-brand-blue) !important;
    color: #fff !important;
}

/* Upgrade / pilot sections */
#support-upgrade,
.tq-plus-pilot,
.tq-support-upgrade {
    border-color: #cfe4f3;
}

#support-upgrade .button,
.tq-plus-pilot .button,
.tq-support-upgrade .button {
    background: var(--tq-brand-blue) !important;
    border-color: var(--tq-brand-blue) !important;
    color: #fff !important;
}

/* Tablet */
@media (max-width: 1100px) {
    .tq-plan-grid,
    .tq-plans-grid {
        gap: 18px !important;
    }
}

/* Mobile */
@media (max-width: 820px) {
    .tq-plan-grid,
    .tq-plans-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .tq-plan-card {
        max-width: 600px !important;
        margin-left: auto;
        margin-right: auto;
    }
}


/* =========================================================
   TAQTIK EXACT BRAND OVERRIDES
   2026-09-23
   ========================================================= */

/* ---------- HEADER ---------- */

.tq-header {
    background: #ffffff !important;
    border-bottom: 1px solid #e1e8ed !important;
    box-shadow: 0 2px 12px rgba(18, 48, 71, 0.06) !important;
}

.tq-header-inner {
    min-height: 68px;
}

.tq-desktop-nav a,
.tq-nav-dropdown-toggle {
    color: #334a5b !important;
}

.tq-desktop-nav a:hover,
.tq-nav-dropdown-toggle:hover,
.tq-nav-plans:hover {
    color: #0072bf !important;
}

.tq-nav-plans {
    color: #0072bf !important;
}

/* Create Account = neutral secondary action */

.tq-header-register,
.tq-mobile-register {
    background: #eef2f5 !important;
    border: 1px solid #d4dde3 !important;
    color: #29475b !important;
    box-shadow: none !important;
}

.tq-header-register:hover,
.tq-mobile-register:hover {
    background: #e2e8ec !important;
    border-color: #c7d2d9 !important;
    color: #18384f !important;
}

/* Login / Community = primary Taqtik blue */

.tq-header-login {
    background: #0072bf !important;
    border-color: #0072bf !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(0, 114, 191, 0.16) !important;
}

.tq-header-login:hover {
    background: #005f9f !important;
    border-color: #005f9f !important;
    color: #ffffff !important;
}

/* Logout stays secondary */

.tq-header-logout {
    background: #ffffff !important;
    border: 1px solid #ccd7de !important;
    color: #334a5b !important;
}

/* ---------- CREATE ACCOUNT ---------- */

/* Replace teal hero with Taqtik blue */

.tq-register-hero {
    background: linear-gradient(
        135deg,
        #005f9f 0%,
        #0072bf 58%,
        #1685ca 100%
    ) !important;
}

/* Left-side kicker */

.tq-register-kicker {
    color: #ffffff !important;
}

/* Benefit circles */

.tq-register-benefit > span {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
}

/* Form kicker */

.tq-register-card-kicker {
    color: #0072bf !important;
}

/* Input focus */

.tq-register-form input:focus {
    border-color: #0072bf !important;
    box-shadow: 0 0 0 3px rgba(0, 114, 191, 0.10) !important;
}

/* Password Show */

.tq-password-toggle {
    color: #0072bf !important;
}

/* Main Create My Account button */

.tq-register-submit,
.tq-register-login-button {
    background: #0072bf !important;
    border-color: #0072bf !important;
    color: #ffffff !important;
}

.tq-register-submit:hover,
.tq-register-login-button:hover {
    background: #005f9f !important;
    border-color: #005f9f !important;
    color: #ffffff !important;
}

/* Login text link */

.tq-register-login a {
    color: #0072bf !important;
}

/* Success icon */

.tq-register-success-icon {
    background: #eaf5fc !important;
    color: #0072bf !important;
}

/* ---------- PLANS ---------- */

.tq-plan-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch !important;
}

.tq-plan-card {
    width: 100% !important;
    max-width: none !important;
}

/* Actual Plus + Support classes */

.tq-plan-plus,
.tq-plan-support {
    border: 2px solid #0072bf !important;
}

.tq-plan-plus .tq-plan-ribbon,
.tq-plan-support .tq-plan-ribbon {
    background: #0072bf !important;
    color: #ffffff !important;
}

.tq-plan-label,
.tq-plan-price,
.tq-plan-pilot,
.tq-plans-kicker {
    color: #0072bf !important;
}

.tq-plan-button {
    background: #0072bf !important;
    border-color: #0072bf !important;
    color: #ffffff !important;
}

.tq-plan-button:hover {
    background: #005f9f !important;
    border-color: #005f9f !important;
    color: #ffffff !important;
}

.tq-plan-current {
    background: #eef2f5 !important;
    border-color: #d8e1e6 !important;
    color: #526a78 !important;
}

/* Pilot / upgrade cards */

.tq-pilot-card {
    background: #0072bf !important;
    border-color: #0072bf !important;
}

.tq-pilot-card .tq-plans-kicker,
.tq-pilot-card h2,
.tq-pilot-card p {
    color: #ffffff !important;
}

.tq-pilot-card .tq-plan-button-light {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #0072bf !important;
}

/* ---------- MOBILE ---------- */

@media (max-width: 820px) {

    .tq-plan-grid {
        grid-template-columns: 1fr !important;
    }

    .tq-register-hero {
        background: linear-gradient(
            160deg,
            #005f9f 0%,
            #0072bf 100%
        ) !important;
    }
}


/* =========================================================
   TAQTIK GUIDE - BLUE BRAND + X
   2026-09-23
   Official primary blue: #0072BF
   ========================================================= */

.tq-guide .tq-guide-toggle,
.tq-guide .tq-guide-finish-tour {
    background: #0072BF !important;
    color: #fff !important;
}

.tq-guide .tq-guide-kicker,
.tq-guide .tq-guide-reminder a,
.tq-guide .tq-guide-next a,
.tq-guide .tq-guide-footer button {
    color: #0072BF !important;
}

.tq-guide .tq-guide-next-icon,
.tq-guide .tq-guide-step-icon {
    background: #EAF4FB !important;
    color: #0072BF !important;
}

.tq-guide .tq-guide-step.is-complete .tq-guide-step-icon {
    background: #EAF4FB !important;
    color: #055A8C !important;
}

.tq-guide .tq-guide-panel {
    border-top: 4px solid #0072BF !important;
}

/* X button */
.tq-guide .tq-guide-head {
    position: relative;
    padding-right: 46px;
}

.tq-guide .tq-guide-close {
    position: absolute;
    top: -5px;
    right: 0;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #EAF4FB;
    color: #0072BF;

    font-family: Arial, sans-serif;
    font-size: 27px;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;
}

.tq-guide .tq-guide-close:hover,
.tq-guide .tq-guide-close:focus {
    background: #0072BF;
    color: #fff;
    outline: none;
}

/* Help window */
.tq-guide-help-actions a {
    background: #0072BF !important;
    color: #fff !important;
}

.tq-guide-help-actions a + a {
    background: #EAF4FB !important;
    color: #055A8C !important;
}

@media (max-width: 650px) {

    .tq-guide .tq-guide-head {
        padding-right: 44px;
    }

    .tq-guide .tq-guide-close {
        top: -3px;
        width: 38px;
        height: 38px;
    }
}


/* =========================================================
   TAQTIK GUIDE - FINAL BLUE OVERRIDE
   2026-09-23
   Remove remaining green / teal from Guide only
   ========================================================= */

/* Main progress bar */
.tq-guide .tq-guide-progress-track,
.tq-guide .tq-guide-progress {
    background: #E6EEF3 !important;
}

.tq-guide .tq-guide-progress-track > span,
.tq-guide .tq-guide-progress > span,
.tq-guide .tq-guide-progress-bar,
.tq-guide .tq-guide-progress-fill {
    background: #0072BF !important;
}

/* Progress count */
.tq-guide .tq-guide-progress-label {
    background: #EAF4FB !important;
    color: #0072BF !important;
}

/* Header / labels */
.tq-guide .tq-guide-kicker,
.tq-guide .tq-guide-head .tq-guide-kicker {
    color: #0072BF !important;
}

/* Guide launcher */
.tq-guide .tq-guide-toggle {
    background: #0072BF !important;
    border-color: #0072BF !important;
    color: #fff !important;
}

.tq-guide .tq-guide-toggle-icon,
.tq-guide .tq-guide-chevron {
    color: #fff !important;
}

/* Alert count */
.tq-guide .tq-guide-alert-count {
    background: #fff !important;
    color: #0072BF !important;
}

/* Step icons */
.tq-guide .tq-guide-step-icon {
    background: #EAF4FB !important;
    color: #0072BF !important;
}

.tq-guide .tq-guide-step.is-complete .tq-guide-step-icon {
    background: #EAF4FB !important;
    color: #055A8C !important;
}

/* Links / actions */
.tq-guide .tq-guide-step a,
.tq-guide .tq-guide-reminder a,
.tq-guide .tq-guide-next a,
.tq-guide .tq-guide-footer button {
    color: #0072BF !important;
}

.tq-guide .tq-guide-finish-tour {
    background: #0072BF !important;
    color: #fff !important;
}

/* Next-step icon */
.tq-guide .tq-guide-next-icon {
    background: #EAF4FB !important;
    color: #0072BF !important;
}

/* X */
.tq-guide .tq-guide-close {
    background: #EAF4FB !important;
    color: #0072BF !important;
}

.tq-guide .tq-guide-close:hover,
.tq-guide .tq-guide-close:focus {
    background: #0072BF !important;
    color: #fff !important;
}

/* Guide panel blue accent */
.tq-guide .tq-guide-panel {
    border-top-color: #0072BF !important;
}

/* Help modal */
.tq-guide-help-actions a {
    background: #0072BF !important;
    color: #fff !important;
}

.tq-guide-help-actions a + a {
    background: #EAF4FB !important;
    color: #055A8C !important;
}


/* =========================================================
   TAQTIK COMMUNITY - OFFICIAL BRAND PALETTE
   2026-09-23

   Primary Blue  #0072BF
   Dark Blue     #055A8C
   Light Blue    #298FCA
   Primary Gray  #666666
   Dark Gray     #4D4D4D
   Light Gray    #8C8C8C
   ========================================================= */


/* =========================================================
   HEADER - PLANS
   ========================================================= */

.tq-header-actions .tq-nav-plans {
    display: inline-flex;
    min-height: 40px;
    padding: 0 17px;
    align-items: center;
    justify-content: center;

    border: 1px solid #B9D7EA;
    border-radius: 999px;

    background: #F4F9FC;
    color: #055A8C !important;

    font-weight: 700;
    text-decoration: none;

    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease,
        transform .18s ease;
}

.tq-header-actions .tq-nav-plans:hover,
.tq-header-actions .tq-nav-plans:focus {
    border-color: #0072BF;
    background: #EAF4FB;
    color: #0072BF !important;
    transform: translateY(-1px);
}


/* =========================================================
   COMMUNITY HEROES
   Replace teal hero gradients
   ========================================================= */

.tq-community-page .tq-live-community-hero,
.tq-challenges-page .tq-live-community-hero,
.tq-achievements-page .tq-live-community-hero,
.tq-learn-page .tq-live-community-hero {
    background:
        radial-gradient(
            circle at 84% 18%,
            rgba(41,143,202,.30),
            transparent 29%
        ),
        linear-gradient(
            135deg,
            #055A8C 0%,
            #0072BF 58%,
            #298FCA 100%
        ) !important;
}


/* Hero eyebrow / label */

.tq-community-page .tq-label-light,
.tq-challenges-page .tq-label-light,
.tq-achievements-page .tq-label-light,
.tq-learn-page .tq-label-light {
    color: #D8ECF8 !important;
}


/* =========================================================
   COMMUNITY NAVIGATION
   ========================================================= */

.tq-community-tabs a {
    color: #666666 !important;
}

.tq-community-tabs a:hover {
    color: #0072BF !important;
}

.tq-community-tabs a.is-active {
    background: transparent !important;
    color: #055A8C !important;
}

.tq-community-tabs a.is-active::after {
    background: #0072BF !important;
}

.tq-community-health-link {
    color: #055A8C !important;
}


/* =========================================================
   CHALLENGES
   ========================================================= */

/* Card top accent */

.tq-challenges-page [class*="challenge-card"] {
    border-top-color: #298FCA !important;
}


/* Challenge number / icon blocks */

.tq-challenges-page [class*="challenge"] [class*="number"],
.tq-challenges-page [class*="challenge"] [class*="icon"] {
    background-color: #0072BF !important;
    color: #fff !important;
}


/* Joined / status pills */

.tq-challenges-page [class*="joined"],
.tq-challenges-page [class*="status"] {
    background: #EAF4FB !important;
    color: #055A8C !important;
}


/* Challenge links and accent copy */

.tq-challenges-page a:not(.tq-community-tabs a) {
    color: #055A8C;
}


/* Decorative pale circles / accents */

.tq-challenges-page [class*="accent"],
.tq-challenges-page [class*="decoration"] {
    background-color: #EAF4FB !important;
}


/* =========================================================
   ACHIEVEMENTS
   ========================================================= */

.tq-achievements-page .tq-community-tabs a.is-active {
    color: #055A8C !important;
}

.tq-achievements-page .tq-community-tabs a.is-active::after {
    background: #0072BF !important;
}

.tq-achievements-page .tq-community-health-link {
    color: #055A8C !important;
}


/* =========================================================
   LEARN
   ========================================================= */

.tq-learn-page .tq-community-tabs a.is-active {
    color: #055A8C !important;
}

.tq-learn-page .tq-community-tabs a.is-active::after {
    background: #0072BF !important;
}

.tq-learn-page .tq-community-tabs a.is-active:hover,
.tq-learn-page .tq-community-tabs a.is-active:focus {
    color: #0072BF !important;
}


/* =========================================================
   GENERAL COMMUNITY ACCENTS
   ========================================================= */

.tq-community-page progress,
.tq-challenges-page progress,
.tq-achievements-page progress,
.tq-learn-page progress {
    accent-color: #0072BF !important;
}


/* =========================================================
   MOBILE PLANS
   Keep normal mobile navigation layout
   ========================================================= */

@media (max-width: 900px) {

    .tq-mobile-menu .tq-nav-plans {
        color: #055A8C !important;
        font-weight: 700;
    }

}


/* =========================================================
   TAQTIK COMMUNITY - OFFICIAL BRAND PALETTE
   2026-09-23

   Primary Blue  #0072BF
   Dark Blue     #055A8C
   Light Blue    #298FCA
   Primary Gray  #666666
   Dark Gray     #4D4D4D
   Light Gray    #8C8C8C
   ========================================================= */


/* =========================================================
   HEADER - PLANS
   ========================================================= */

.tq-header-actions .tq-nav-plans {
    display: inline-flex;
    min-height: 40px;
    padding: 0 17px;
    align-items: center;
    justify-content: center;

    border: 1px solid #B9D7EA;
    border-radius: 999px;

    background: #F4F9FC;
    color: #055A8C !important;

    font-weight: 700;
    text-decoration: none;

    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease,
        transform .18s ease;
}

.tq-header-actions .tq-nav-plans:hover,
.tq-header-actions .tq-nav-plans:focus {
    border-color: #0072BF;
    background: #EAF4FB;
    color: #0072BF !important;
    transform: translateY(-1px);
}


/* =========================================================
   COMMUNITY HEROES
   Replace teal hero gradients
   ========================================================= */

.tq-community-page .tq-live-community-hero,
.tq-challenges-page .tq-live-community-hero,
.tq-achievements-page .tq-live-community-hero,
.tq-learn-page .tq-live-community-hero {
    background:
        radial-gradient(
            circle at 84% 18%,
            rgba(41,143,202,.30),
            transparent 29%
        ),
        linear-gradient(
            135deg,
            #055A8C 0%,
            #0072BF 58%,
            #298FCA 100%
        ) !important;
}


/* Hero eyebrow / label */

.tq-community-page .tq-label-light,
.tq-challenges-page .tq-label-light,
.tq-achievements-page .tq-label-light,
.tq-learn-page .tq-label-light {
    color: #D8ECF8 !important;
}


/* =========================================================
   COMMUNITY NAVIGATION
   ========================================================= */

.tq-community-tabs a {
    color: #666666 !important;
}

.tq-community-tabs a:hover {
    color: #0072BF !important;
}

.tq-community-tabs a.is-active {
    background: transparent !important;
    color: #055A8C !important;
}

.tq-community-tabs a.is-active::after {
    background: #0072BF !important;
}

.tq-community-health-link {
    color: #055A8C !important;
}


/* =========================================================
   CHALLENGES
   ========================================================= */

/* Card top accent */

.tq-challenges-page [class*="challenge-card"] {
    border-top-color: #298FCA !important;
}


/* Challenge number / icon blocks */

.tq-challenges-page [class*="challenge"] [class*="number"],
.tq-challenges-page [class*="challenge"] [class*="icon"] {
    background-color: #0072BF !important;
    color: #fff !important;
}


/* Joined / status pills */

.tq-challenges-page [class*="joined"],
.tq-challenges-page [class*="status"] {
    background: #EAF4FB !important;
    color: #055A8C !important;
}


/* Challenge links and accent copy */

.tq-challenges-page a:not(.tq-community-tabs a) {
    color: #055A8C;
}


/* Decorative pale circles / accents */

.tq-challenges-page [class*="accent"],
.tq-challenges-page [class*="decoration"] {
    background-color: #EAF4FB !important;
}


/* =========================================================
   ACHIEVEMENTS
   ========================================================= */

.tq-achievements-page .tq-community-tabs a.is-active {
    color: #055A8C !important;
}

.tq-achievements-page .tq-community-tabs a.is-active::after {
    background: #0072BF !important;
}

.tq-achievements-page .tq-community-health-link {
    color: #055A8C !important;
}


/* =========================================================
   LEARN
   ========================================================= */

.tq-learn-page .tq-community-tabs a.is-active {
    color: #055A8C !important;
}

.tq-learn-page .tq-community-tabs a.is-active::after {
    background: #0072BF !important;
}

.tq-learn-page .tq-community-tabs a.is-active:hover,
.tq-learn-page .tq-community-tabs a.is-active:focus {
    color: #0072BF !important;
}


/* =========================================================
   GENERAL COMMUNITY ACCENTS
   ========================================================= */

.tq-community-page progress,
.tq-challenges-page progress,
.tq-achievements-page progress,
.tq-learn-page progress {
    accent-color: #0072BF !important;
}


/* =========================================================
   MOBILE PLANS
   Keep normal mobile navigation layout
   ========================================================= */

@media (max-width: 900px) {

    .tq-mobile-menu .tq-nav-plans {
        color: #055A8C !important;
        font-weight: 700;
    }

}


/* =========================================================
   TAQTIK COMMUNITY - LIGHT CLINICAL HERO
   2026-09-23
   ========================================================= */

.tq-community-page .tq-live-community-hero,
.tq-challenges-page .tq-live-community-hero,
.tq-achievements-page .tq-live-community-hero,
.tq-learn-page .tq-live-community-hero {
    position: relative;

    background:
        radial-gradient(
            circle at 84% 12%,
            rgba(41,143,202,.14),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #F8FBFD 0%,
            #EEF6FB 55%,
            #E6F2F9 100%
        ) !important;

    border-bottom: 1px solid #D6E6F0;
}

/* Small brand accent */
.tq-community-page .tq-live-community-hero::before,
.tq-challenges-page .tq-live-community-hero::before,
.tq-achievements-page .tq-live-community-hero::before,
.tq-learn-page .tq-live-community-hero::before {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: linear-gradient(
        90deg,
        #055A8C,
        #0072BF,
        #298FCA
    );

    content: "";
}

/* Main headings */
.tq-community-page .tq-live-community-hero h1,
.tq-challenges-page .tq-live-community-hero h1,
.tq-achievements-page .tq-live-community-hero h1,
.tq-learn-page .tq-live-community-hero h1 {
    color: #17384D !important;
}

/* Supporting text */
.tq-community-page .tq-live-community-hero p,
.tq-challenges-page .tq-live-community-hero p,
.tq-achievements-page .tq-live-community-hero p,
.tq-learn-page .tq-live-community-hero p {
    color: #566C7A !important;
}

/* Eyebrow */
.tq-community-page .tq-label-light,
.tq-challenges-page .tq-label-light,
.tq-achievements-page .tq-label-light,
.tq-learn-page .tq-label-light {
    color: #0072BF !important;
}

/* Slightly more compact */
.tq-community-page .tq-live-community-hero,
.tq-challenges-page .tq-live-community-hero,
.tq-achievements-page .tq-live-community-hero,
.tq-learn-page .tq-live-community-hero {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
}

@media (max-width: 700px) {

    .tq-community-page .tq-live-community-hero,
    .tq-challenges-page .tq-live-community-hero,
    .tq-achievements-page .tq-live-community-hero,
    .tq-learn-page .tq-live-community-hero {
        padding-top: 30px !important;
        padding-bottom: 32px !important;
    }
}


/* =========================================================
   TAQTIK - FOR PATIENTS PREMIUM RESTYLE
   2026-09-23
   ========================================================= */

/* Page background */
body.page-id-8 {
    background: #F7FAFC;
}

/* Remove redundant WP page heading above custom hero */
body.page-id-8 main > h1,
body.page-id-8 .entry-header,
body.page-id-8 .page-header {
    display: none !important;
}


/* =========================================================
   HERO
   ========================================================= */

body.page-id-8 .tq-interior-hero {
    position: relative;
    overflow: hidden;

    width: min(1280px, calc(100% - 48px));
    min-height: 510px;

    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    align-items: center;
    gap: 70px;

    margin: 48px auto 0;
    padding: 68px 72px;

    border: 1px solid #D7E6F0;
    border-radius: 30px;

    background:
        radial-gradient(
            circle at 88% 15%,
            rgba(41,143,202,.18),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #FFFFFF 0%,
            #F3F8FB 55%,
            #EAF4FA 100%
        );

    box-shadow:
        0 24px 70px rgba(18,72,105,.08);
}

/* Blue brand accent */
body.page-id-8 .tq-interior-hero::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background: linear-gradient(
        90deg,
        #055A8C,
        #0072BF,
        #298FCA
    );
}


/* Patient experience panel */
body.page-id-8 .tq-interior-hero::after {
    content:
        "YOUR TAQTIK EXPERIENCE\A\A"
        "✓  Stay connected between visits\A\A"
        "✓  Track manually or with a wearable\A\A"
        "✓  Follow your progress\A\A"
        "✓  Learn at your own pace\A\A"
        "✓  Join challenges and Community";

    white-space: pre-wrap;

    display: block;

    padding: 38px 38px;

    border: 1px solid #D4E5F0;
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.97),
            rgba(238,247,252,.97)
        );

    box-shadow:
        0 18px 50px rgba(18,72,105,.09);

    color: #29495C;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;

    letter-spacing: 0;
}


/* Hero copy */
body.page-id-8 .tq-interior-hero-copy {
    position: relative;
    z-index: 2;

    max-width: 680px;
}

body.page-id-8 .tq-interior-hero .tq-kicker {
    display: inline-flex;
    align-items: center;

    margin-bottom: 23px;
    padding: 8px 13px;

    border-radius: 999px;

    background: #EAF4FB;
    color: #0072BF;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

body.page-id-8 .tq-interior-hero h1 {
    max-width: 650px;

    margin: 0 0 22px;

    color: #17384D;

    font-size: clamp(46px, 5vw, 68px);
    line-height: .99;
    letter-spacing: -.045em;
}

body.page-id-8 .tq-interior-hero p {
    max-width: 590px;

    margin: 0;

    color: #566C7A;

    font-size: 18px;
    line-height: 1.65;
}


/* Hero buttons */
body.page-id-8 .tq-interior-hero .tq-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 30px;
}

body.page-id-8 .tq-interior-hero .tq-button {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 25px;

    border: 1px solid #0072BF;
    border-radius: 999px;

    background: #0072BF;
    color: #fff !important;

    font-weight: 800;
    text-decoration: none;

    box-shadow:
        0 10px 24px rgba(0,114,191,.16);
}

body.page-id-8 .tq-interior-hero .tq-button:hover {
    background: #055A8C;
    border-color: #055A8C;
}

body.page-id-8 .tq-interior-hero .tq-button-secondary {
    background: #fff;
    border-color: #C7DAE7;
    color: #055A8C !important;

    box-shadow: none;
}

body.page-id-8 .tq-interior-hero .tq-button-secondary:hover {
    background: #EAF4FB;
    border-color: #298FCA;
}


/* =========================================================
   TRACKING SECTION
   ========================================================= */

body.page-id-8 .tq-patient-tracking {
    width: min(1180px, calc(100% - 48px));

    margin: 90px auto;
}

body.page-id-8 .tq-patient-tracking-copy {
    max-width: 760px;

    margin: 0 auto 42px;

    text-align: center;
}

body.page-id-8 .tq-patient-tracking-copy .tq-kicker {
    color: #0072BF;
}

body.page-id-8 .tq-patient-tracking h2 {
    margin-top: 10px;

    color: #17384D;

    font-size: clamp(36px, 4vw, 50px);
}

body.page-id-8 .tq-patient-tracking-copy p {
    max-width: 680px;

    margin-left: auto;
    margin-right: auto;

    color: #666666;
}


/* Option cards */
body.page-id-8 .tq-patient-tracking-grid {
    gap: 24px;
}

body.page-id-8 .tq-patient-tracking-grid article {
    position: relative;
    overflow: hidden;

    min-height: 310px;

    padding: 38px;

    border: 1px solid #D8E4EC;
    border-radius: 25px;

    background: #fff;

    box-shadow:
        0 14px 40px rgba(18,72,105,.06);
}

body.page-id-8 .tq-patient-tracking-grid article::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: linear-gradient(
        90deg,
        #0072BF,
        #298FCA
    );
}

body.page-id-8 .tq-option-label {
    display: inline-flex;

    padding: 7px 11px;

    border-radius: 999px;

    background: #EAF4FB;
    color: #0072BF;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
}

body.page-id-8 .tq-patient-tracking-grid h3 {
    margin: 20px 0 12px;

    color: #17384D;

    font-size: 28px;
}

body.page-id-8 .tq-patient-tracking-grid p {
    color: #666666;
    font-size: 16px;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

body.page-id-8 .tq-patient-simple-cta {
    width: min(1180px, calc(100% - 48px));

    margin: 0 auto 80px;
    padding: 64px 40px;

    border: 1px solid #D6E6F0;
    border-radius: 28px;

    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(41,143,202,.13),
            transparent 30%
        ),
        #EEF6FB;

    text-align: center;
}

body.page-id-8 .tq-patient-simple-cta .tq-kicker {
    color: #0072BF;
}

body.page-id-8 .tq-patient-simple-cta h2 {
    max-width: 760px;

    margin-left: auto;
    margin-right: auto;

    color: #17384D;
}

body.page-id-8 .tq-patient-simple-cta p {
    color: #666666;
}

body.page-id-8 .tq-patient-simple-cta .tq-text-link {
    color: #0072BF;
    font-weight: 800;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 850px) {

    body.page-id-8 .tq-interior-hero {
        width: min(100% - 32px, 1280px);
        min-height: 0;

        grid-template-columns: 1fr;
        gap: 36px;

        margin-top: 28px;
        padding: 45px 34px;
    }

    body.page-id-8 .tq-interior-hero::after {
        padding: 28px;
    }

    body.page-id-8 .tq-interior-hero h1 {
        font-size: clamp(40px, 10vw, 56px);
    }

}


@media (max-width: 560px) {

    body.page-id-8 .tq-interior-hero {
        width: calc(100% - 24px);

        margin-top: 18px;
        padding: 34px 22px;

        border-radius: 22px;
    }

    body.page-id-8 .tq-interior-hero h1 {
        font-size: 42px;
    }

    body.page-id-8 .tq-interior-hero p {
        font-size: 16px;
    }

    body.page-id-8 .tq-interior-hero .tq-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    body.page-id-8 .tq-interior-hero .tq-button {
        width: 100%;
    }

    body.page-id-8 .tq-interior-hero::after {
        padding: 24px;

        font-size: 14px;
    }

    body.page-id-8 .tq-patient-tracking {
        width: calc(100% - 28px);
        margin: 60px auto;
    }

    body.page-id-8 .tq-patient-tracking-copy {
        text-align: left;
    }

    body.page-id-8 .tq-patient-tracking-grid article {
        min-height: 0;
        padding: 26px;
    }

    body.page-id-8 .tq-patient-simple-cta {
        width: calc(100% - 28px);

        margin-bottom: 50px;
        padding: 42px 24px;

        border-radius: 22px;
    }

}


/* =========================================================
   TAQTIK FOR PATIENTS - FINAL POLISH
   BLUE / GRAY ONLY
   2026-09-23
   ========================================================= */


/* ---------------------------------------------------------
   REMOVE DUPLICATE PAGE TITLE AREA
   The custom hero already identifies this as For Patients
   --------------------------------------------------------- */

body.page-id-8 .tq-page-header,
body.page-id-8 .tq-page-title,
body.page-id-8 .entry-title {
    display: none !important;
}


/* If title is generated by generic page wrapper */
body.page-id-8 main > .tq-container:first-child:has(> h1),
body.page-id-8 main > .container:first-child:has(> h1) {
    display: none !important;
}


/* ---------------------------------------------------------
   PAGE RHYTHM
   --------------------------------------------------------- */

body.page-id-8 {
    color: #17384D;
}

body.page-id-8 .tq-interior-hero {
    margin-top: 34px !important;
    margin-bottom: 0 !important;
}


/* ---------------------------------------------------------
   HERO POLISH
   --------------------------------------------------------- */

body.page-id-8 .tq-interior-hero {
    background:
        radial-gradient(
            circle at 84% 20%,
            rgba(41,143,202,.16),
            transparent 31%
        ),
        linear-gradient(
            135deg,
            #FFFFFF 0%,
            #F5F9FC 52%,
            #EAF4FB 100%
        ) !important;
}

body.page-id-8 .tq-interior-hero-copy {
    padding-right: 10px;
}

body.page-id-8 .tq-interior-hero h1 {
    text-wrap: balance;
}

body.page-id-8 .tq-interior-hero p {
    color: #5F6E78 !important;
}


/* Patient experience panel */

body.page-id-8 .tq-interior-hero::after {
    border: 1px solid #D2E2EC !important;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.98),
            rgba(245,250,253,.98)
        ) !important;

    box-shadow:
        0 18px 45px rgba(5,90,140,.09) !important;

    color: #29495C !important;
}


/* ---------------------------------------------------------
   BUTTONS
   --------------------------------------------------------- */

body.page-id-8 .tq-button {
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease,
        border-color .18s ease;
}

body.page-id-8 .tq-button:hover {
    transform: translateY(-2px);
}

body.page-id-8 .tq-interior-hero .tq-button:not(.tq-button-secondary) {
    box-shadow:
        0 10px 24px rgba(0,114,191,.20) !important;
}

body.page-id-8 .tq-interior-hero .tq-button-secondary {
    border-color: #BCD5E5 !important;
    background: rgba(255,255,255,.82) !important;
    color: #055A8C !important;
}


/* ---------------------------------------------------------
   RPM INTRO
   --------------------------------------------------------- */

body.page-id-8 .tq-patient-tracking {
    margin-top: 78px !important;
    margin-bottom: 78px !important;
}

body.page-id-8 .tq-patient-tracking-copy {
    margin-bottom: 38px !important;
}

body.page-id-8 .tq-patient-tracking-copy .tq-kicker {
    display: inline-flex;
    padding: 8px 14px;

    border-radius: 999px;

    background: #EAF4FB;
    color: #0072BF !important;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

body.page-id-8 .tq-patient-tracking h2 {
    color: #17384D !important;
}

body.page-id-8 .tq-patient-tracking-copy p {
    color: #666666 !important;
}


/* ---------------------------------------------------------
   RPM CARDS
   --------------------------------------------------------- */

body.page-id-8 .tq-patient-tracking-grid article {
    display: flex;
    flex-direction: column;

    min-height: 335px;

    border-color: #D5E2EA !important;

    box-shadow:
        0 14px 36px rgba(5,90,140,.07) !important;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

body.page-id-8 .tq-patient-tracking-grid article:hover {
    transform: translateY(-4px);

    border-color: #B7D4E6 !important;

    box-shadow:
        0 20px 46px rgba(5,90,140,.11) !important;
}

body.page-id-8 .tq-patient-tracking-grid article::before {
    height: 4px !important;

    background:
        linear-gradient(
            90deg,
            #055A8C,
            #0072BF,
            #298FCA
        ) !important;
}

body.page-id-8 .tq-option-label {
    width: max-content;

    background: #EAF4FB !important;
    color: #0072BF !important;
}

body.page-id-8 .tq-patient-tracking-grid h3 {
    color: #17384D !important;
}

body.page-id-8 .tq-patient-tracking-grid p {
    color: #666666 !important;
}


/* Keep actions aligned toward card bottom */

body.page-id-8 .tq-patient-tracking-grid article > .tq-button,
body.page-id-8 .tq-patient-tracking-grid article > .tq-store-buttons {
    margin-top: auto;
}


/* ---------------------------------------------------------
   APP STORE BUTTONS
   Clean up the awkward spacing
   --------------------------------------------------------- */

body.page-id-8 .tq-store-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;

    gap: 12px;

    padding-top: 22px;
}

body.page-id-8 .tq-store-button {
    min-width: 165px;
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 10px 18px;

    border: 1px solid #26343D;
    border-radius: 12px;

    background: #182127 !important;
    color: #FFFFFF !important;

    text-decoration: none;

    transition:
        transform .18s ease,
        background .18s ease;
}

body.page-id-8 .tq-store-button:hover {
    transform: translateY(-2px);
    background: #26343D !important;
}

body.page-id-8 .tq-store-button small,
body.page-id-8 .tq-store-button strong {
    color: #FFFFFF !important;
}


/* ---------------------------------------------------------
   ALL PATIENT PAGE LINKS
   REMOVE LEGACY GREEN / TEAL
   --------------------------------------------------------- */

body.page-id-8 a:not(.tq-store-button) {
    color: #0072BF;
}

body.page-id-8 .tq-text-link {
    color: #0072BF !important;
}

body.page-id-8 .tq-text-link:hover {
    color: #055A8C !important;
}


/* ---------------------------------------------------------
   FINAL CTA
   --------------------------------------------------------- */

body.page-id-8 .tq-patient-simple-cta {
    position: relative;
    overflow: hidden;

    margin-top: 0 !important;
    margin-bottom: 70px !important;

    padding-top: 62px !important;
    padding-bottom: 62px !important;

    border-color: #CFE1EC !important;

    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(41,143,202,.13),
            transparent 31%
        ),
        linear-gradient(
            135deg,
            #F7FBFD,
            #EAF4FB
        ) !important;

    box-shadow:
        0 16px 42px rgba(5,90,140,.05);
}

body.page-id-8 .tq-patient-simple-cta::before {
    content: "";

    position: absolute;
    top: 0;
    left: 50%;

    width: 90px;
    height: 4px;

    border-radius: 0 0 5px 5px;

    background: #0072BF;

    transform: translateX(-50%);
}

body.page-id-8 .tq-patient-simple-cta .tq-kicker {
    display: inline-flex;

    padding: 7px 12px;

    border-radius: 999px;

    background: #E1F0F9;
    color: #0072BF !important;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

body.page-id-8 .tq-patient-simple-cta h2 {
    color: #17384D !important;
}

body.page-id-8 .tq-patient-simple-cta p {
    color: #666666 !important;
}

body.page-id-8 .tq-patient-simple-cta .tq-text-link {
    display: inline-flex;
    align-items: center;

    margin-top: 20px;
    padding: 12px 18px;

    border: 1px solid #BBD5E5;
    border-radius: 999px;

    background: #FFFFFF;

    color: #0072BF !important;

    font-weight: 800;
    text-decoration: none;

    transition:
        background .18s ease,
        border-color .18s ease,
        transform .18s ease;
}

body.page-id-8 .tq-patient-simple-cta .tq-text-link:hover {
    border-color: #298FCA;
    background: #EAF4FB;

    color: #055A8C !important;

    transform: translateY(-2px);
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 560px) {

    body.page-id-8 .tq-interior-hero {
        margin-top: 18px !important;
    }

    body.page-id-8 .tq-patient-tracking {
        margin-top: 54px !important;
        margin-bottom: 54px !important;
    }

    body.page-id-8 .tq-patient-tracking-grid article {
        min-height: 0;
    }

    body.page-id-8 .tq-store-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    body.page-id-8 .tq-store-button {
        width: 100%;
    }

    body.page-id-8 .tq-patient-simple-cta {
        margin-bottom: 36px !important;
        padding: 42px 22px !important;
    }

}


/* =========================================================
   TAQTIK FOR PATIENTS - VISUAL UPGRADE
   2026-09-23
   Official blue / gray palette only
   ========================================================= */


/* ---------------------------------------------------------
   HERO
   More compact, visual, less empty
   --------------------------------------------------------- */

body.page-id-8 .tq-interior-hero {
    min-height: 470px !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr) !important;
    gap: 48px !important;

    padding: 58px 62px !important;

    background:
        radial-gradient(
            circle at 80% 22%,
            rgba(41,143,202,.20),
            transparent 28%
        ),
        radial-gradient(
            circle at 92% 80%,
            rgba(0,114,191,.08),
            transparent 26%
        ),
        linear-gradient(
            135deg,
            #FFFFFF 0%,
            #F6FAFD 48%,
            #EAF4FB 100%
        ) !important;
}

body.page-id-8 .tq-interior-hero h1 {
    font-size: clamp(44px, 4.4vw, 64px) !important;
}


/* Experience card gets visual icon markers */

body.page-id-8 .tq-interior-hero::after {
    content:
        "YOUR TAQTIK EXPERIENCE\A\A"
        "✓  Stay connected between visits\A"
        "     Support beyond the appointment\A\A"
        "✓  Track your health your way\A"
        "     Manual entry or connected wearable\A\A"
        "✓  See your progress\A"
        "     Keep your health journey visible\A\A"
        "✓  Learn and stay engaged\A"
        "     Education, challenges and Community";

    padding: 32px 34px !important;

    border-radius: 22px !important;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.98),
            rgba(239,247,252,.98)
        ) !important;

    color: #17384D !important;

    font-size: 14px !important;
    line-height: 1.35 !important;
}


/* ---------------------------------------------------------
   RPM SECTION
   --------------------------------------------------------- */

body.page-id-8 .tq-patient-tracking {
    position: relative;
}

body.page-id-8 .tq-patient-tracking-copy {
    margin-bottom: 34px !important;
}


/* ---------------------------------------------------------
   RPM CARDS
   Give each card a visual device area
   --------------------------------------------------------- */

body.page-id-8 .tq-patient-tracking-grid {
    align-items: stretch;
}

body.page-id-8 .tq-patient-tracking-grid article {
    position: relative;

    min-height: 360px !important;

    padding: 36px 40% 34px 34px !important;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #FFFFFF 0%,
            #FFFFFF 60%,
            #F1F7FB 100%
        ) !important;
}


/* MOBILE CARD DEVICE VISUAL */

body.page-id-8 .tq-patient-tracking-grid article:first-child::after {
    content: "♥\A\A 72\A bpm";

    white-space: pre;

    position: absolute;
    right: 35px;
    top: 75px;

    width: 130px;
    height: 225px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding-top: 15px;

    border: 7px solid #17384D;
    border-radius: 25px;

    background:
        linear-gradient(
            180deg,
            #FFFFFF,
            #EAF4FB
        );

    box-shadow:
        18px 20px 0 -5px #DCECF6,
        0 18px 30px rgba(5,90,140,.12);

    color: #0072BF;

    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;

    text-align: center;
}


/* Phone speaker */

body.page-id-8 .tq-patient-tracking-grid article:first-child {
    background:
        radial-gradient(
            circle at 88% 25%,
            rgba(41,143,202,.10),
            transparent 25%
        ),
        #FFFFFF !important;
}


/* WEB CARD LAPTOP / DASHBOARD VISUAL */

body.page-id-8 .tq-patient-tracking-grid article:nth-child(2)::after {
    content:
        "YOUR PROGRESS\A\A"
        "●  Activity      8,426\A\A"
        "●  Sleep         7h 24m\A\A"
        "●  Check-in      Complete";

    white-space: pre;

    position: absolute;
    right: 27px;
    top: 78px;

    width: 185px;
    min-height: 190px;

    padding: 25px 20px;

    border: 7px solid #17384D;
    border-bottom-width: 15px;
    border-radius: 13px 13px 8px 8px;

    background:
        linear-gradient(
            180deg,
            #FFFFFF,
            #F1F7FB
        );

    box-shadow:
        0 18px 30px rgba(5,90,140,.12);

    color: #29495C;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}


/* ---------------------------------------------------------
   STORE BUTTON REPAIR
   Remove malformed pseudo/icon blocks
   --------------------------------------------------------- */

body.page-id-8 .tq-store-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;

    margin-top: 24px !important;
    padding: 0 !important;
}

body.page-id-8 .tq-store-button {
    position: relative;

    width: auto !important;
    min-width: 145px !important;
    min-height: 54px !important;
    height: 54px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 8px 17px !important;

    border: 0 !important;
    border-radius: 10px !important;

    background: #17232B !important;
    color: #FFFFFF !important;

    box-shadow: none !important;
}

body.page-id-8 .tq-store-button::before,
body.page-id-8 .tq-store-button::after {
    display: none !important;
    content: none !important;
}

body.page-id-8 .tq-store-button span {
    display: block !important;
    color: #FFFFFF !important;
}

body.page-id-8 .tq-store-button small {
    display: block !important;

    margin-bottom: 1px;

    color: #DCE5EA !important;

    font-size: 8px !important;
    line-height: 1 !important;
}

body.page-id-8 .tq-store-button strong {
    display: block !important;

    color: #FFFFFF !important;

    font-size: 14px !important;
    line-height: 1.15 !important;
}


/* ---------------------------------------------------------
   CARD ACTION BUTTON
   --------------------------------------------------------- */

body.page-id-8 .tq-patient-tracking-grid .tq-button {
    width: max-content;

    margin-top: 25px !important;

    padding: 13px 22px;

    border-radius: 999px;

    background: #0072BF !important;
    color: #FFFFFF !important;

    font-weight: 800;
}


/* ---------------------------------------------------------
   FINAL CTA
   Make it feel visual instead of empty
   --------------------------------------------------------- */

body.page-id-8 .tq-patient-simple-cta {
    min-height: 310px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at 84% 35%,
            rgba(41,143,202,.22),
            transparent 18%
        ),
        radial-gradient(
            circle at 76% 62%,
            rgba(0,114,191,.10),
            transparent 22%
        ),
        linear-gradient(
            135deg,
            #F8FBFD 0%,
            #EEF6FB 58%,
            #E4F1F8 100%
        ) !important;
}

body.page-id-8 .tq-patient-simple-cta h2 {
    max-width: 700px;
}


/* No green / teal */

body.page-id-8 .tq-patient-simple-cta a,
body.page-id-8 .tq-patient-simple-cta .tq-text-link {
    color: #0072BF !important;
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 950px) {

    body.page-id-8 .tq-patient-tracking-grid article {
        padding-right: 34px !important;
        padding-bottom: 300px !important;
    }

    body.page-id-8 .tq-patient-tracking-grid article:first-child::after,
    body.page-id-8 .tq-patient-tracking-grid article:nth-child(2)::after {
        top: auto;
        right: auto;
        left: 34px;
        bottom: 35px;
    }

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 560px) {

    body.page-id-8 .tq-interior-hero {
        padding: 34px 22px !important;
    }

    body.page-id-8 .tq-interior-hero::after {
        padding: 24px !important;
    }

    body.page-id-8 .tq-patient-tracking-grid article {
        padding: 26px 24px 280px !important;
    }

    body.page-id-8 .tq-patient-tracking-grid article:first-child::after {
        left: 50%;
        bottom: 30px;

        transform: translateX(-50%);
    }

    body.page-id-8 .tq-patient-tracking-grid article:nth-child(2)::after {
        left: 50%;
        bottom: 35px;

        transform: translateX(-50%);
    }

    body.page-id-8 .tq-store-buttons {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
    }

    body.page-id-8 .tq-store-button {
        min-width: 0 !important;
        width: 100% !important;
    }

    body.page-id-8 .tq-patient-simple-cta {
        min-height: 260px;
    }

}


/* =========================================================
   TAQTIK FOR PATIENTS - REAL TEMPLATE
   2026-09-23
   ========================================================= */

.tq-patients-new {
    background: #f7fafc;
    color: #17384d;
    padding: 34px 24px 80px;
}

.tq-patients-new * {
    box-sizing: border-box;
}

.tq-patients-hero,
.tq-patients-options,
.tq-patients-journey,
.tq-patients-final {
    width: min(1280px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.tq-patients-kicker,
.tq-patients-option-label {
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 999px;
    background: #eaf4fb;
    color: #0072bf;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .08em;
}


/* HERO */

.tq-patients-hero {
    min-height: 540px;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    gap: 54px;
    overflow: hidden;
    padding: 62px;
    border: 1px solid #d7e6f0;
    border-radius: 30px;
    background:
        radial-gradient(
            circle at 90% 12%,
            rgba(41,143,202,.16),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #fff 0%,
            #f4f9fc 56%,
            #e8f3fa 100%
        );
    box-shadow: 0 22px 60px rgba(5,90,140,.08);
}

.tq-patients-hero-copy h1 {
    max-width: 650px;
    margin: 22px 0;
    color: #17384d;
    font-size: clamp(48px,5vw,70px);
    line-height: .98;
    letter-spacing: -.045em;
}

.tq-patients-hero-copy h1 span {
    color: #0072bf;
}

.tq-patients-lead {
    max-width: 610px;
    color: #667681;
    font-size: 18px;
    line-height: 1.65;
}

.tq-patients-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.tq-patients-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 23px;
    border: 1px solid #0072bf;
    border-radius: 999px;
    background: #0072bf;
    color: #fff !important;
    font-weight: 800;
    text-decoration: none;
    transition: .18s ease;
}

.tq-patients-button:hover {
    transform: translateY(-2px);
    border-color: #055a8c;
    background: #055a8c;
}

.tq-patients-button-light {
    border-color: #bdd6e6;
    background: #fff;
    color: #055a8c !important;
}

.tq-patients-button-light:hover {
    border-color: #298fca;
    background: #eaf4fb;
    color: #055a8c !important;
}

.tq-patients-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 26px;
    color: #666;
    font-size: 13px;
    font-weight: 700;
}

.tq-patients-trust span::first-letter {
    color: #0072bf;
}

.tq-patients-hero-visual {
    position: relative;
    min-height: 420px;
}

.tq-patients-photo {
    position: absolute;
    inset: 0 0 30px 20px;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 24px 50px rgba(5,90,140,.16);
}

.tq-patients-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.tq-patients-floating-card {
    position: absolute;
    left: -18px;
    bottom: 0;
    width: min(340px,80%);
    padding: 20px 22px;
    border: 1px solid #d4e5ef;
    border-radius: 18px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 16px 35px rgba(5,90,140,.13);
}

.tq-patients-floating-card strong,
.tq-patients-floating-card span {
    display: block;
}

.tq-patients-floating-card strong {
    margin-bottom: 5px;
    color: #055a8c;
    font-size: 17px;
}

.tq-patients-floating-card span {
    color: #666;
    font-size: 13px;
}


/* INTRO */

.tq-patients-intro {
    max-width: 800px;
    margin: 86px auto 38px;
    text-align: center;
}

.tq-patients-intro h2,
.tq-patients-journey h2,
.tq-patients-final h2 {
    margin: 16px 0;
    color: #17384d;
    font-size: clamp(36px,4vw,50px);
    line-height: 1.08;
    letter-spacing: -.025em;
}

.tq-patients-intro p,
.tq-patients-journey p,
.tq-patients-final p {
    color: #666;
    font-size: 17px;
    line-height: 1.65;
}


/* OPTIONS */

.tq-patients-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.tq-patients-option {
    min-height: 390px;
    display: grid;
    grid-template-columns: 1fr .72fr;
    align-items: center;
    gap: 20px;
    overflow: hidden;
    padding: 38px;
    border: 1px solid #d7e4ec;
    border-radius: 26px;
    background:
        linear-gradient(
            135deg,
            #fff 0%,
            #fff 55%,
            #eef6fb 100%
        );
    box-shadow: 0 15px 40px rgba(5,90,140,.06);
}

.tq-patients-option h3 {
    margin: 18px 0 12px;
    color: #17384d;
    font-size: 28px;
}

.tq-patients-option p {
    color: #666;
    line-height: 1.55;
}

.tq-patients-store-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 25px;
}

.tq-patients-store {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    border-radius: 10px;
    background: #17232b;
    color: #fff !important;
    text-decoration: none;
}

.tq-patients-store span:last-child,
.tq-patients-store small,
.tq-patients-store strong {
    display: block;
}

.tq-patients-store small {
    font-size: 8px;
    line-height: 1;
}

.tq-patients-store strong {
    font-size: 14px;
    line-height: 1.2;
}

.tq-store-symbol {
    color: #fff;
    font-size: 20px;
}


/* PHONE */

.tq-patients-phone {
    width: 150px;
    height: 280px;
    justify-self: center;
    padding: 9px;
    border: 7px solid #17384d;
    border-radius: 28px;
    background: #17384d;
    box-shadow:
        16px 18px 0 #dcecf6,
        0 20px 35px rgba(5,90,140,.15);
}

.tq-phone-screen {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background:
        linear-gradient(
            180deg,
            #fff,
            #eaf4fb
        );
    color: #055a8c;
}

.tq-phone-brand {
    position: absolute;
    margin-top: -210px;
    color: #0072bf;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
}

.tq-phone-heart {
    color: #0072bf;
    font-size: 32px;
}

.tq-phone-screen strong {
    margin-top: 7px;
    color: #17384d;
    font-size: 35px;
}

.tq-phone-screen small {
    color: #8c8c8c;
}

.tq-phone-line {
    width: 65%;
    height: 3px;
    margin: 22px 0 10px;
    border-radius: 999px;
    background: #298fca;
}

.tq-phone-screen > span:last-child {
    color: #666;
    font-size: 10px;
}


/* DASHBOARD */

.tq-patients-dashboard {
    min-height: 230px;
    padding: 18px;
    border: 7px solid #17384d;
    border-bottom-width: 14px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 20px 35px rgba(5,90,140,.15);
}

.tq-dashboard-top {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
}

.tq-dashboard-top span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8c8c8c;
}

.tq-patients-dashboard > strong {
    color: #055a8c;
    font-size: 13px;
}

.tq-dashboard-stat {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    color: #666;
    font-size: 10px;
}

.tq-dashboard-stat b {
    color: #0072bf;
}

.tq-dashboard-bars {
    height: 62px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    margin: 10px 0 18px;
}

.tq-dashboard-bars i {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: #298fca;
}

.tq-dashboard-bars i:nth-child(1) { height: 35%; }
.tq-dashboard-bars i:nth-child(2) { height: 55%; }
.tq-dashboard-bars i:nth-child(3) { height: 45%; }
.tq-dashboard-bars i:nth-child(4) { height: 72%; }
.tq-dashboard-bars i:nth-child(5) { height: 64%; }
.tq-dashboard-bars i:nth-child(6) { height: 90%; }

.tq-dashboard-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.tq-dashboard-row span {
    padding: 8px;
    border-radius: 7px;
    background: #eaf4fb;
    color: #666;
    font-size: 8px;
}

.tq-dashboard-row strong {
    display: block;
    margin-top: 2px;
    color: #055a8c;
    font-size: 9px;
}


/* JOURNEY */

.tq-patients-journey {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 65px;
    margin-top: 90px;
    padding: 52px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 15px 45px rgba(5,90,140,.06);
}

.tq-patients-journey-visual {
    height: 360px;
    overflow: hidden;
    border-radius: 23px;
}

.tq-patients-journey-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tq-patients-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 25px 0;
}

.tq-patients-feature-list span {
    padding: 8px 13px;
    border-radius: 999px;
    background: #eaf4fb;
    color: #055a8c;
    font-size: 12px;
    font-weight: 800;
}

.tq-patients-text-link {
    color: #0072bf !important;
    font-weight: 800;
    text-decoration: none;
}


/* FINAL */

.tq-patients-final {
    margin-top: 70px;
    padding: 65px 30px;
    border: 1px solid #cfe1ec;
    border-radius: 28px;
    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(41,143,202,.15),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #f8fbfd,
            #eaf4fb
        );
    text-align: center;
}

.tq-patients-final p {
    margin-bottom: 25px;
}


/* MOBILE */

@media (max-width: 900px) {

    .tq-patients-hero,
    .tq-patients-options,
    .tq-patients-journey {
        grid-template-columns: 1fr;
    }

    .tq-patients-hero {
        padding: 42px;
    }

    .tq-patients-hero-visual {
        min-height: 420px;
    }

    .tq-patients-options {
        max-width: 700px;
    }

    .tq-patients-journey {
        gap: 35px;
    }

}

@media (max-width: 560px) {

    .tq-patients-new {
        padding: 18px 12px 50px;
    }

    .tq-patients-hero {
        padding: 30px 22px;
        border-radius: 22px;
    }

    .tq-patients-hero-copy h1 {
        font-size: 43px;
    }

    .tq-patients-actions {
        display: grid;
    }

    .tq-patients-button {
        width: 100%;
    }

    .tq-patients-hero-visual {
        min-height: 340px;
    }

    .tq-patients-photo {
        inset: 0 0 25px;
    }

    .tq-patients-floating-card {
        left: 12px;
    }

    .tq-patients-intro {
        margin-top: 60px;
    }

    .tq-patients-option {
        grid-template-columns: 1fr;
        padding: 28px 22px;
    }

    .tq-patients-phone,
    .tq-patients-dashboard {
        margin-top: 25px;
    }

    .tq-patients-store-buttons {
        display: grid;
    }

    .tq-patients-store {
        justify-content: center;
    }

    .tq-patients-journey {
        margin-top: 60px;
        padding: 25px;
    }

    .tq-patients-journey-visual {
        height: 260px;
    }

    .tq-patients-final {
        margin-top: 45px;
        padding: 45px 22px;
    }

}


/* =========================================================
   TAQTIK FOR CLINICS
   2026-09-23
   ========================================================= */

.tq-clinics-new {
    padding: 34px 24px 80px;
    background: #f7fafc;
    color: #17384d;
}

.tq-clinics-new * {
    box-sizing: border-box;
}

.tq-clinics-hero,
.tq-clinics-features,
.tq-clinics-dashboard,
.tq-clinics-patient,
.tq-clinics-final {
    width: min(1280px,100%);
    margin-left: auto;
    margin-right: auto;
}

.tq-clinics-kicker,
.tq-clinics-features article > span {
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 999px;
    background: #eaf4fb;
    color: #0072bf;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}


/* HERO */

.tq-clinics-hero {
    min-height: 540px;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 55px;
    overflow: hidden;
    padding: 62px;
    border: 1px solid #d7e6f0;
    border-radius: 30px;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(41,143,202,.16),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #fff 0%,
            #f4f9fc 55%,
            #e8f3fa 100%
        );
    box-shadow: 0 22px 60px rgba(5,90,140,.08);
}

.tq-clinics-hero-copy h1 {
    max-width: 650px;
    margin: 22px 0;
    color: #17384d;
    font-size: clamp(48px,5vw,70px);
    line-height: .98;
    letter-spacing: -.045em;
}

.tq-clinics-hero-copy h1 span {
    display: block;
    color: #0072bf;
}

.tq-clinics-lead {
    max-width: 610px;
    color: #666;
    font-size: 18px;
    line-height: 1.65;
}

.tq-clinics-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.tq-clinics-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 23px;
    border: 1px solid #0072bf;
    border-radius: 999px;
    background: #0072bf;
    color: #fff !important;
    font-weight: 800;
    text-decoration: none;
    transition: .18s ease;
}

.tq-clinics-button:hover {
    transform: translateY(-2px);
    border-color: #055a8c;
    background: #055a8c;
}

.tq-clinics-button-light {
    border-color: #bdd6e6;
    background: #fff;
    color: #055a8c !important;
}

.tq-clinics-button-light:hover {
    border-color: #298fca;
    background: #eaf4fb;
    color: #055a8c !important;
}

.tq-clinics-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 26px;
    color: #666;
    font-size: 13px;
    font-weight: 700;
}

.tq-clinics-hero-visual {
    position: relative;
    min-height: 420px;
}

.tq-clinics-photo {
    position: absolute;
    inset: 0 0 30px 10px;
    overflow: hidden;
    border-radius: 27px;
    box-shadow: 0 24px 50px rgba(5,90,140,.16);
}

.tq-clinics-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.tq-clinics-floating-card {
    position: absolute;
    left: -18px;
    bottom: 0;
    width: min(365px,85%);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 19px 21px;
    border: 1px solid #d4e5ef;
    border-radius: 18px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 16px 35px rgba(5,90,140,.13);
}

.tq-clinics-floating-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eaf4fb;
    color: #0072bf;
    font-size: 24px;
    font-weight: 900;
}

.tq-clinics-floating-card strong,
.tq-clinics-floating-card div > span {
    display: block;
}

.tq-clinics-floating-card strong {
    color: #055a8c;
}

.tq-clinics-floating-card div > span {
    margin-top: 3px;
    color: #666;
    font-size: 12px;
    line-height: 1.4;
}


/* INTRO */

.tq-clinics-intro {
    max-width: 850px;
    margin: 88px auto 40px;
    text-align: center;
}

.tq-clinics-intro h2,
.tq-clinics-dashboard h2,
.tq-clinics-patient h2,
.tq-clinics-final h2 {
    margin: 16px 0;
    color: #17384d;
    font-size: clamp(36px,4vw,50px);
    line-height: 1.08;
    letter-spacing: -.025em;
}

.tq-clinics-intro p,
.tq-clinics-dashboard p,
.tq-clinics-patient p,
.tq-clinics-final p {
    color: #666;
    font-size: 17px;
    line-height: 1.65;
}


/* FEATURE CARDS */

.tq-clinics-features {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
}

.tq-clinics-features article {
    padding: 28px;
    border: 1px solid #d7e4ec;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(5,90,140,.05);
}

.tq-clinic-feature-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 15px;
    background: #0072bf;
    color: #fff;
    font-size: 21px;
    font-weight: 900;
}

.tq-clinics-features article h3 {
    margin: 17px 0 10px;
    color: #17384d;
    font-size: 21px;
    line-height: 1.2;
}

.tq-clinics-features article p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.55;
}


/* DASHBOARD SECTION */

.tq-clinics-dashboard {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    align-items: center;
    gap: 65px;
    margin-top: 85px;
    padding: 55px;
    border-radius: 28px;
    background:
        linear-gradient(
            135deg,
            #eef6fb,
            #fff
        );
}

.tq-clinics-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 25px;
}

.tq-clinics-checks span {
    color: #055a8c;
    font-size: 13px;
    font-weight: 800;
}


/* MOCK CLINIC DASHBOARD */

.tq-clinic-screen {
    padding: 20px;
    border: 8px solid #17384d;
    border-bottom-width: 16px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 25px 45px rgba(5,90,140,.17);
}

.tq-clinic-screen-top {
    display: flex;
    align-items: center;
    gap: 5px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2ebf0;
}

.tq-clinic-screen-top span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8c8c8c;
}

.tq-clinic-screen-top strong {
    margin-left: auto;
    color: #0072bf;
    font-size: 10px;
    letter-spacing: .08em;
}

.tq-clinic-screen-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 22px 0;
}

.tq-clinic-screen-title small,
.tq-clinic-screen-title strong {
    display: block;
}

.tq-clinic-screen-title small {
    color: #8c8c8c;
    font-size: 8px;
    letter-spacing: .08em;
}

.tq-clinic-screen-title strong {
    margin-top: 4px;
    color: #17384d;
    font-size: 17px;
}

.tq-clinic-screen-title > span {
    padding: 6px 9px;
    border-radius: 7px;
    background: #eaf4fb;
    color: #055a8c;
    font-size: 9px;
    font-weight: 800;
}

.tq-clinic-metrics {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 9px;
}

.tq-clinic-metrics > div {
    padding: 13px;
    border: 1px solid #e2ebf0;
    border-radius: 10px;
}

.tq-clinic-metrics small,
.tq-clinic-metrics strong,
.tq-clinic-metrics span {
    display: block;
}

.tq-clinic-metrics small {
    color: #8c8c8c;
    font-size: 7px;
}

.tq-clinic-metrics strong {
    margin: 4px 0;
    color: #0072bf;
    font-size: 22px;
}

.tq-clinic-metrics span {
    color: #666;
    font-size: 8px;
}

.tq-clinic-chart {
    margin-top: 12px;
    padding: 14px;
    border-radius: 11px;
    background: #f7fafc;
}

.tq-clinic-chart-label {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 9px;
}

.tq-clinic-chart-label strong {
    color: #17384d;
}

.tq-clinic-bars {
    height: 90px;
    display: flex;
    align-items: flex-end;
    gap: 7px;
    margin-top: 13px;
}

.tq-clinic-bars i {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: #298fca;
}

.tq-clinic-bars i:nth-child(1) { height: 28%; }
.tq-clinic-bars i:nth-child(2) { height: 44%; }
.tq-clinic-bars i:nth-child(3) { height: 38%; }
.tq-clinic-bars i:nth-child(4) { height: 58%; }
.tq-clinic-bars i:nth-child(5) { height: 51%; }
.tq-clinic-bars i:nth-child(6) { height: 69%; }
.tq-clinic-bars i:nth-child(7) { height: 77%; }
.tq-clinic-bars i:nth-child(8) { height: 92%; }

.tq-clinic-lower {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 8px;
    margin-top: 11px;
}

.tq-clinic-lower div {
    padding: 10px;
    border-radius: 8px;
    background: #eaf4fb;
}

.tq-clinic-lower small,
.tq-clinic-lower strong {
    display: block;
}

.tq-clinic-lower small {
    color: #666;
    font-size: 7px;
}

.tq-clinic-lower strong {
    margin-top: 3px;
    color: #055a8c;
    font-size: 10px;
}


/* PATIENT EXPERIENCE */

.tq-clinics-patient {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    align-items: center;
    gap: 65px;
    margin-top: 85px;
    padding: 50px;
    border: 1px solid #dce8ef;
    border-radius: 28px;
    background: #fff;
}

.tq-clinics-patient-image {
    height: 350px;
    overflow: hidden;
    border-radius: 23px;
}

.tq-clinics-patient-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.tq-clinics-text-link {
    display: inline-flex;
    margin-top: 12px;
    color: #0072bf !important;
    font-weight: 800;
    text-decoration: none;
}


/* FINAL CTA */

.tq-clinics-final {
    margin-top: 70px;
    padding: 65px 30px;
    border: 1px solid #cfe1ec;
    border-radius: 28px;
    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(41,143,202,.15),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #f8fbfd,
            #eaf4fb
        );
    text-align: center;
}

.tq-clinics-final p {
    max-width: 650px;
    margin: 0 auto 25px;
}


/* MOBILE */

@media (max-width: 1000px) {

    .tq-clinics-features {
        grid-template-columns: 1fr 1fr;
    }

    .tq-clinics-hero,
    .tq-clinics-dashboard,
    .tq-clinics-patient {
        grid-template-columns: 1fr;
    }

    .tq-clinics-hero {
        padding: 45px;
    }

    .tq-clinics-hero-visual {
        min-height: 430px;
    }

}

@media (max-width: 560px) {

    .tq-clinics-new {
        padding: 18px 12px 50px;
    }

    .tq-clinics-hero {
        padding: 30px 22px;
        border-radius: 22px;
    }

    .tq-clinics-hero-copy h1 {
        font-size: 43px;
    }

    .tq-clinics-actions {
        display: grid;
    }

    .tq-clinics-button {
        width: 100%;
    }

    .tq-clinics-hero-visual {
        min-height: 330px;
    }

    .tq-clinics-photo {
        inset: 0 0 25px;
    }

    .tq-clinics-floating-card {
        left: 10px;
    }

    .tq-clinics-intro {
        margin-top: 60px;
    }

    .tq-clinics-features {
        grid-template-columns: 1fr;
    }

    .tq-clinics-dashboard,
    .tq-clinics-patient {
        margin-top: 60px;
        padding: 26px 20px;
    }

    .tq-clinics-checks {
        grid-template-columns: 1fr;
    }

    .tq-clinic-metrics {
        grid-template-columns: 1fr;
    }

    .tq-clinic-lower {
        grid-template-columns: 1fr;
    }

    .tq-clinics-patient-image {
        height: 260px;
    }

    .tq-clinics-final {
        margin-top: 45px;
        padding: 45px 22px;
    }

}


/* =========================================================
   TAQTIK SHARED PROGRAM TEMPLATE
   2026-09-23
   ========================================================= */

.tq-program-new {
    padding: 34px 24px 80px;
    background: #f7fafc;
    color: #17384d;
}

.tq-program-new * {
    box-sizing: border-box;
}

.tq-program-hero,
.tq-program-benefits,
.tq-program-content,
.tq-program-connection,
.tq-program-final {
    width: min(1280px,100%);
    margin-left: auto;
    margin-right: auto;
}

.tq-program-kicker {
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 999px;
    background: #eaf4fb;
    color: #0072bf;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .08em;
}


/* HERO */

.tq-program-hero {
    min-height: 530px;
    display: grid;
    grid-template-columns: 1fr 1.03fr;
    align-items: center;
    gap: 55px;
    overflow: hidden;
    padding: 62px;
    border: 1px solid #d7e6f0;
    border-radius: 30px;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(41,143,202,.16),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #fff,
            #f4f9fc 55%,
            #e8f3fa
        );
    box-shadow: 0 22px 60px rgba(5,90,140,.08);
}

.tq-program-hero h1 {
    max-width: 650px;
    margin: 22px 0;
    color: #17384d;
    font-size: clamp(46px,5vw,68px);
    line-height: 1;
    letter-spacing: -.04em;
}

.tq-program-lead {
    max-width: 610px;
    color: #666;
    font-size: 18px;
    line-height: 1.65;
}

.tq-program-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.tq-program-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 23px;
    border: 1px solid #0072bf;
    border-radius: 999px;
    background: #0072bf;
    color: #fff !important;
    font-weight: 800;
    text-decoration: none;
    transition: .18s ease;
}

.tq-program-button:hover {
    transform: translateY(-2px);
    border-color: #055a8c;
    background: #055a8c;
}

.tq-program-button-light {
    border-color: #bdd6e6;
    background: #fff;
    color: #055a8c !important;
}

.tq-program-button-light:hover {
    border-color: #298fca;
    background: #eaf4fb;
    color: #055a8c !important;
}

.tq-program-hero-visual {
    position: relative;
    min-height: 410px;
}

.tq-program-photo {
    position: absolute;
    inset: 0 0 30px 10px;
    overflow: hidden;
    border-radius: 27px;
    box-shadow: 0 24px 50px rgba(5,90,140,.16);
}

.tq-program-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.tq-program-floating {
    position: absolute;
    left: -18px;
    bottom: 0;
    width: min(350px,85%);
    padding: 19px 22px;
    border: 1px solid #d4e5ef;
    border-radius: 18px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 16px 35px rgba(5,90,140,.13);
}

.tq-program-floating small,
.tq-program-floating strong,
.tq-program-floating span {
    display: block;
}

.tq-program-floating small {
    margin-bottom: 7px;
    color: #0072bf;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
}

.tq-program-floating strong {
    color: #055a8c;
    font-size: 17px;
}

.tq-program-floating span {
    margin-top: 4px;
    color: #666;
    font-size: 12px;
}


/* BENEFIT STRIP */

.tq-program-benefits {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
    margin-top: 22px;
}

.tq-program-benefits > div {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 17px 18px;
    border: 1px solid #dce8ef;
    border-radius: 15px;
    background: #fff;
}

.tq-program-benefits span {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eaf4fb;
    color: #0072bf;
    font-weight: 900;
}

.tq-program-benefits strong {
    color: #4d4d4d;
    font-size: 12px;
}


/* EXISTING PROGRAM CONTENT */

.tq-program-content {
    margin-top: 75px;
}

.tq-program-content-heading {
    max-width: 800px;
    margin: 0 auto 35px;
    text-align: center;
}

.tq-program-content-heading h2,
.tq-program-connection h2,
.tq-program-final h2 {
    margin: 16px 0;
    color: #17384d;
    font-size: clamp(34px,4vw,48px);
    line-height: 1.08;
    letter-spacing: -.025em;
}

.tq-program-existing-content {
    overflow: hidden;
}


/*
 * Existing RPM content already has its own sections.
 * We preserve it but normalize it inside the premium shell.
 */

.tq-program-existing-content > section {
    width: 100% !important;
    max-width: none !important;
    margin: 24px 0 !important;
    border-radius: 24px;
}

.tq-program-existing-content > h2,
.tq-program-existing-content > h3,
.tq-program-existing-content > p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tq-program-existing-content > h2 {
    margin-top: 36px;
    margin-bottom: 12px;
    color: #17384d;
    font-size: 34px;
}

.tq-program-existing-content > h3 {
    margin-top: 28px;
    margin-bottom: 9px;
    color: #055a8c;
    font-size: 23px;
}

.tq-program-existing-content > p {
    color: #666;
    font-size: 16px;
    line-height: 1.65;
}


/*
 * RPM content already includes its own hero.
 * Hide that duplicate because the shared template supplies it.
 */

.tq-program-6 .tq-program-existing-content
.tq-interior-hero.tq-rpm-hero {
    display: none !important;
}


/* CONNECTION SECTION */

.tq-program-connection {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 60px;
    align-items: center;
    margin-top: 80px;
    padding: 52px;
    border-radius: 28px;
    background:
        linear-gradient(
            135deg,
            #eef6fb,
            #fff
        );
}

.tq-program-connection > div:first-child p {
    color: #666;
    font-size: 16px;
    line-height: 1.65;
}

.tq-program-connection-cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 13px;
}

.tq-program-connection-cards article {
    min-height: 190px;
    padding: 23px;
    border: 1px solid #d7e4ec;
    border-radius: 18px;
    background: #fff;
}

.tq-program-connection-cards article > span {
    display: block;
    margin-bottom: 20px;
    color: #298fca;
    font-size: 12px;
    font-weight: 900;
}

.tq-program-connection-cards strong {
    color: #17384d;
    font-size: 20px;
}

.tq-program-connection-cards p {
    margin-bottom: 0;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}


/* FINAL CTA */

.tq-program-final {
    margin-top: 70px;
    padding: 62px 30px;
    border: 1px solid #cfe1ec;
    border-radius: 28px;
    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(41,143,202,.15),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #f8fbfd,
            #eaf4fb
        );
    text-align: center;
}

.tq-program-final > p {
    max-width: 650px;
    margin: 0 auto;
    color: #666;
    font-size: 16px;
    line-height: 1.65;
}

.tq-program-final-actions {
    justify-content: center;
}


/* BARIATRIC + METABOLIC LIGHT CONTENT */

.tq-program-7 .tq-program-existing-content,
.tq-program-17 .tq-program-existing-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 38px 42px;
    border: 1px solid #dce8ef;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(5,90,140,.05);
}


/* MOBILE */

@media (max-width: 950px) {

    .tq-program-hero,
    .tq-program-connection {
        grid-template-columns: 1fr;
    }

    .tq-program-benefits {
        grid-template-columns: 1fr 1fr;
    }

    .tq-program-hero {
        padding: 45px;
    }

    .tq-program-hero-visual {
        min-height: 420px;
    }

}

@media (max-width: 650px) {

    .tq-program-new {
        padding: 18px 12px 50px;
    }

    .tq-program-hero {
        padding: 30px 22px;
        border-radius: 22px;
    }

    .tq-program-hero h1 {
        font-size: 42px;
    }

    .tq-program-actions {
        display: grid;
    }

    .tq-program-button {
        width: 100%;
    }

    .tq-program-hero-visual {
        min-height: 330px;
    }

    .tq-program-photo {
        inset: 0 0 25px;
    }

    .tq-program-floating {
        left: 10px;
    }

    .tq-program-benefits {
        grid-template-columns: 1fr;
    }

    .tq-program-content {
        margin-top: 55px;
    }

    .tq-program-7 .tq-program-existing-content,
    .tq-program-17 .tq-program-existing-content {
        padding: 26px 21px;
    }

    .tq-program-connection {
        margin-top: 55px;
        padding: 28px 21px;
    }

    .tq-program-connection-cards {
        grid-template-columns: 1fr;
    }

    .tq-program-final {
        margin-top: 45px;
        padding: 45px 22px;
    }

}


/* =========================================================
   TAQTIK PROGRAMS - COMPLETE INTERNAL STYLING
   2026-09-23
   ========================================================= */


/* ---------------------------------------------------------
   COMMON PROGRAM CONTENT
   --------------------------------------------------------- */

.tq-program-existing-content {
    color: #4d4d4d;
}

.tq-program-existing-content h2 {
    color: #17384d !important;
    font-size: clamp(30px,3.3vw,43px) !important;
    line-height: 1.1 !important;
    letter-spacing: -.025em;
}

.tq-program-existing-content h3 {
    color: #055a8c !important;
    font-size: 22px !important;
    line-height: 1.25 !important;
}

.tq-program-existing-content p {
    color: #666 !important;
    line-height: 1.65 !important;
}

.tq-program-existing-content .tq-kicker,
.tq-program-existing-content .tq-option-label {
    display: inline-flex !important;
    width: auto !important;
    padding: 7px 12px !important;
    border-radius: 999px !important;
    background: #eaf4fb !important;
    color: #0072bf !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: .08em !important;
}


/* =========================================================
   RPM
   ========================================================= */


/* duplicate old hero */

.tq-program-6 .tq-rpm-hero {
    display: none !important;
}


/* RPM OPTIONS */

.tq-program-6 .tq-rpm-options {
    padding: 48px !important;
    border: 1px solid #dce8ef !important;
    border-radius: 28px !important;
    background: #fff !important;
    box-shadow: 0 15px 45px rgba(5,90,140,.06);
}

.tq-program-6 .tq-rpm-options-intro {
    max-width: 760px !important;
    margin: 0 auto 38px !important;
    text-align: center !important;
}

.tq-program-6 .tq-rpm-options-intro h2 {
    margin: 16px 0 13px !important;
}

.tq-program-6 .tq-rpm-option-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
}

.tq-program-6 .tq-rpm-option-card {
    position: relative;
    min-height: 390px;
    padding: 34px !important;
    overflow: hidden;
    border: 1px solid #d8e5ed !important;
    border-radius: 22px !important;
    background:
        linear-gradient(
            145deg,
            #fff 0%,
            #fff 62%,
            #edf6fb 100%
        ) !important;
    box-shadow: none !important;
}

.tq-program-6 .tq-rpm-option-icon {
    width: 55px !important;
    height: 55px !important;
    display: grid !important;
    place-items: center !important;
    margin-bottom: 20px !important;
    border-radius: 16px !important;
    background: #0072bf !important;
}

.tq-program-6 .tq-rpm-option-icon svg {
    width: 27px !important;
    height: 27px !important;
    fill: none !important;
    stroke: #fff !important;
    stroke-width: 1.8 !important;
}

.tq-program-6 .tq-rpm-option-card h3 {
    margin: 18px 0 11px !important;
    color: #17384d !important;
    font-size: 25px !important;
}

.tq-program-6 .tq-rpm-option-card p {
    max-width: 500px;
}


/* APP STORE BUTTONS */

.tq-program-6 .tq-store-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 24px !important;
}

.tq-program-6 .tq-store-button {
    min-height: 56px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 16px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #17232b !important;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.tq-program-6 .tq-store-button svg {
    width: 24px !important;
    height: 24px !important;
    fill: #fff !important;
}

.tq-program-6 .tq-store-button span,
.tq-program-6 .tq-store-button small,
.tq-program-6 .tq-store-button strong {
    display: block !important;
    color: #fff !important;
}

.tq-program-6 .tq-store-button small {
    font-size: 8px !important;
}

.tq-program-6 .tq-store-button strong {
    font-size: 14px !important;
}


/* RPM BUTTONS */

.tq-program-6 .tq-rpm-option-card .tq-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 22px;
    padding: 0 21px !important;
    border-radius: 999px !important;
    background: #0072bf !important;
    color: #fff !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}


/* MANUAL TRACKING */

.tq-program-6 .tq-tracking-section {
    padding: 50px !important;
    background:
        linear-gradient(
            135deg,
            #eef6fb,
            #f8fbfd
        ) !important;
}

.tq-program-6 .tq-tracking-heading {
    max-width: 760px !important;
    margin: 0 auto 35px !important;
    text-align: center !important;
}

.tq-program-6 .tq-tracking-grid {
    display: grid !important;
    grid-template-columns: repeat(3,1fr) !important;
    gap: 16px !important;
}

.tq-program-6 .tq-tracking-grid article {
    padding: 30px 25px !important;
    border: 1px solid #d7e4ec !important;
    border-radius: 19px !important;
    background: #fff !important;
    text-align: center !important;
}

.tq-program-6 .tq-tracking-icon {
    width: 54px !important;
    height: 54px !important;
    display: grid !important;
    place-items: center !important;
    margin: 0 auto 18px !important;
    border-radius: 50% !important;
    background: #eaf4fb !important;
    color: #0072bf !important;
    font-size: 24px !important;
}

.tq-program-6 .tq-tracking-grid h3 {
    color: #17384d !important;
}


/* WEARABLE SECTION */

.tq-program-6 .tq-wearable-choice {
    display: grid !important;
    grid-template-columns: 1fr .8fr !important;
    align-items: center !important;
    gap: 55px !important;
    padding: 50px !important;
    border: 1px solid #dce8ef !important;
    background: #fff !important;
}

.tq-program-6 .tq-wearable-note {
    display: inline-block;
    margin-top: 12px !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    background: #eaf4fb !important;
    color: #055a8c !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}


/* DEVICE VISUAL */

.tq-program-6 .tq-wearable-visual {
    min-height: 260px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    padding: 25px;
    border-radius: 22px;
    background:
        radial-gradient(
            circle,
            #fff,
            #eaf4fb
        );
}

.tq-program-6 .tq-device {
    border-color: #17384d !important;
    background: #fff !important;
    color: #0072bf !important;
}

.tq-program-6 .tq-device-phone {
    width: 115px !important;
    height: 210px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 6px solid #17384d !important;
    border-radius: 22px !important;
    box-shadow: 10px 12px 0 #dbeaf3;
}

.tq-program-6 .tq-device-phone strong {
    color: #0072bf !important;
}

.tq-program-6 .tq-device-phone small {
    color: #666 !important;
}

.tq-program-6 .tq-device-watch {
    width: 90px !important;
    height: 110px !important;
    display: grid !important;
    place-items: center !important;
}

.tq-program-6 .tq-watch-face {
    width: 72px !important;
    height: 72px !important;
    display: grid !important;
    place-items: center !important;
    border: 6px solid #17384d !important;
    border-radius: 20px !important;
    background: #fff !important;
    color: #0072bf !important;
    font-size: 27px !important;
    font-weight: 900 !important;
}

.tq-program-6 .tq-device-link span {
    background: #298fca !important;
}


/* GET STARTED */

.tq-program-6 .tq-rpm-how {
    padding: 50px !important;
    background: #fff !important;
}

.tq-program-6 .tq-rpm-how-heading {
    margin-bottom: 35px !important;
    text-align: center !important;
}

.tq-program-6 .tq-rpm-how-grid {
    display: grid !important;
    grid-template-columns: repeat(3,1fr) !important;
    gap: 16px !important;
}

.tq-program-6 .tq-rpm-how-grid article {
    position: relative;
    padding: 30px !important;
    border: 1px solid #dce8ef !important;
    border-radius: 20px !important;
    background: #f8fbfd !important;
}

.tq-program-6 .tq-rpm-how-grid article > span {
    width: 39px !important;
    height: 39px !important;
    display: grid !important;
    place-items: center !important;
    margin-bottom: 22px !important;
    border-radius: 50% !important;
    background: #0072bf !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 900 !important;
}

.tq-program-6 .tq-rpm-how-grid h3 {
    color: #17384d !important;
}


/* =========================================================
   BARIATRIC SURGERY SUPPORT
   ========================================================= */

.tq-program-7 .tq-program-existing-content {
    position: relative;
    max-width: 1100px !important;
    padding: 52px !important;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(41,143,202,.13),
            transparent 25%
        ),
        #fff !important;
}

.tq-program-7 .tq-program-existing-content::after {
    content: "PREPARE  •  RECOVER  •  CONTINUE";
    display: block;
    margin-top: 32px;
    padding: 17px;
    border-radius: 13px;
    background: #eaf4fb;
    color: #055a8c;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-align: center;
}

.tq-program-7 .tq-program-existing-content h2 {
    max-width: 720px;
    margin-top: 0 !important;
}

.tq-program-7 .tq-program-existing-content p {
    max-width: 760px;
    margin-left: 0 !important;
}


/* =========================================================
   WEIGHT + METABOLIC HEALTH
   ========================================================= */

.tq-program-17 .tq-program-existing-content {
    max-width: 1100px !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 45px;
    padding: 52px !important;
}

.tq-program-17 .tq-program-existing-content > h2:first-child,
.tq-program-17 .tq-program-existing-content > h2:first-child + p {
    grid-column: 1 / -1;
}

.tq-program-17 .tq-program-existing-content > h2:first-child {
    margin-top: 0 !important;
}

.tq-program-17 .tq-program-existing-content > h2:nth-of-type(2) {
    grid-column: 1 / -1;
    margin-top: 35px !important;
    padding-top: 34px;
    border-top: 1px solid #dce8ef;
}

.tq-program-17 .tq-program-existing-content h3 {
    margin-top: 30px !important;
    padding: 23px 24px 0;
    border: 1px solid #dce8ef;
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    background: #f8fbfd;
}

.tq-program-17 .tq-program-existing-content h3 + p {
    margin-top: 0 !important;
    padding: 10px 24px 24px;
    border: 1px solid #dce8ef;
    border-top: 0;
    border-radius: 0 0 18px 18px;
    background: #f8fbfd;
}


/* ---------------------------------------------------------
   PAGE 17 CLINIC EMPHASIS
   --------------------------------------------------------- */

.tq-program-17 .tq-program-benefits > div {
    border-top: 3px solid #298fca;
}


/* ---------------------------------------------------------
   NO TEAL / GREEN
   --------------------------------------------------------- */

.tq-program-new a:not(.tq-store-button),
.tq-program-new .tq-text-link {
    --tq-link-color: #0072bf;
}

.tq-program-new .tq-wearable-note,
.tq-program-new .tq-option-label,
.tq-program-new .tq-kicker {
    border-color: #d2e5f1 !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 850px) {

    .tq-program-6 .tq-rpm-option-grid,
    .tq-program-6 .tq-wearable-choice {
        grid-template-columns: 1fr !important;
    }

    .tq-program-6 .tq-tracking-grid,
    .tq-program-6 .tq-rpm-how-grid {
        grid-template-columns: 1fr !important;
    }

    .tq-program-17 .tq-program-existing-content {
        grid-template-columns: 1fr;
    }

    .tq-program-17 .tq-program-existing-content > * {
        grid-column: 1 !important;
    }

}

@media (max-width: 560px) {

    .tq-program-6 .tq-rpm-options,
    .tq-program-6 .tq-tracking-section,
    .tq-program-6 .tq-wearable-choice,
    .tq-program-6 .tq-rpm-how,
    .tq-program-7 .tq-program-existing-content,
    .tq-program-17 .tq-program-existing-content {
        padding: 27px 21px !important;
    }

    .tq-program-6 .tq-rpm-option-card {
        min-height: 0;
        padding: 26px 22px !important;
    }

    .tq-program-6 .tq-store-buttons {
        display: grid !important;
    }

    .tq-program-6 .tq-store-button {
        width: 100% !important;
        justify-content: center !important;
    }

    .tq-program-6 .tq-wearable-visual {
        min-height: 220px;
        transform: scale(.9);
    }

}


/* =========================================================
   TAQTIK DAILY PATIENT PROGRESS
   2026-09-25
   ========================================================= */

.tq-daily-progress-card {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 18px;
    padding: 22px;
    border: 1px solid rgba(0, 114, 191, .14);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.tq-daily-progress-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.tq-daily-progress-title {
    display: flex;
    align-items: center;
    gap: 13px;
}

.tq-daily-progress-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 50%;
    background: rgba(0, 114, 191, .09);
    font-size: 23px;
}

.tq-daily-progress-label {
    display: block;
    margin-bottom: 2px;
    color: #666666;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

.tq-daily-progress-card h2 {
    margin: 0;
    color: #4D4D4D;
    font-size: 21px;
    line-height: 1.25;
}

.tq-progress-status {
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(0, 114, 191, .08);
    color: #055A8C;
    font-size: 12px;
    font-weight: 700;
}

.tq-daily-progress-items {
    display: grid;
    gap: 9px;
    margin-bottom: 18px;
}

.tq-daily-progress-items > div {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #666666;
    font-size: 14px;
    line-height: 1.4;
}

.tq-daily-progress-items > div > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    border-radius: 50%;
    background: #f1f1f1;
    color: #8C8C8C;
    font-size: 12px;
    font-weight: 800;
}

.tq-daily-progress-items > div.is-complete > span {
    background: rgba(0, 114, 191, .10);
    color: #0072BF;
}

.tq-daily-progress-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 15px;
    border-top: 1px solid #ededed;
}

.tq-daily-progress-footer > span {
    color: #666666;
    font-size: 13px;
}

.tq-daily-progress-footer a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    color: #0072BF;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.tq-daily-progress-footer a:hover {
    color: #055A8C;
}

@media (max-width: 700px) {

    .tq-daily-progress-card {
        padding: 17px;
        border-radius: 15px;
    }

    .tq-daily-progress-heading,
    .tq-daily-progress-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .tq-progress-status {
        margin-left: 59px;
        margin-top: -10px;
    }
}


/* =========================================================
   TAQTIK CONTEXTUAL NEXT STEP
   ========================================================= */

.tq-next-step-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    margin: 0 0 20px;
    border-radius: 16px;
    background: #4D4D4D;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
}

.tq-next-step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 25px;
}

.tq-next-step-content {
    flex: 1 1 auto;
    min-width: 0;
}

.tq-next-step-eyebrow {
    display: block;
    margin-bottom: 3px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.tq-next-step-card h2 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 22px;
    line-height: 1.2;
}

.tq-next-step-card p {
    margin: 0;
    color: rgba(255,255,255,.86);
    font-size: 14px;
    line-height: 1.5;
}

.tq-next-step-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 10px;
    background: #0072BF;
    color: #fff !important;
    font-weight: 800;
    text-decoration: none !important;
    white-space: nowrap;
}

.tq-next-step-button:hover,
.tq-next-step-button:focus {
    background: #0084d8;
    color: #fff !important;
}

@media (max-width: 700px) {
    .tq-next-step-card {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 14px;
        padding: 18px;
    }

    .tq-next-step-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }

    .tq-next-step-content {
        flex: 1 1 calc(100% - 60px);
    }

    .tq-next-step-button {
        width: 100%;
    }
}


/* =========================================================
   TQ PATIENT PRIORITY 20260925
   My Journey + Community first
   ========================================================= */

.tq-patient-priority {
    padding: 64px 24px;
    background: #f5f8fa;
}

.tq-patient-priority-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.tq-patient-priority-intro {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.tq-patient-priority-kicker {
    display: block;
    margin-bottom: 10px;
    color: #0072BF;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
}

.tq-patient-priority-intro h2 {
    margin: 0 0 14px;
}

.tq-patient-priority-intro p {
    margin: 0;
    font-size: 17px;
    line-height: 1.65;
}

.tq-patient-priority-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.tq-patient-priority-card {
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0,0,0,.07);
}

.tq-patient-priority-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #0072BF;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.tq-patient-priority-card h3 {
    margin: 0 0 10px;
}

.tq-patient-priority-card p {
    margin: 0 0 22px;
    line-height: 1.6;
}

.tq-patient-priority-button {
    display: inline-block;
    padding: 11px 18px;
    border-radius: 7px;
    background: #0072BF;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
}

.tq-patient-priority-health {
    margin: 28px auto 0;
    text-align: center;
    color: #4D4D4D;
}

@media (max-width: 700px) {
    .tq-patient-priority {
        padding: 42px 18px;
    }

    .tq-patient-priority-grid {
        grid-template-columns: 1fr;
    }

    .tq-patient-priority-card {
        padding: 24px;
    }
}


/* =========================================================
   TQ MY JOURNEY WEIGHT 20260925
   ========================================================= */

.tq-journey-weight {
    margin: 28px 0;
    padding: 26px;
    background: #fff;
    border: 1px solid #e3e8ec;
    border-radius: 14px;
}

.tq-journey-weight-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.tq-journey-weight-kicker {
    display: block;
    margin-bottom: 5px;
    color: #0072BF;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.tq-journey-weight-heading h2 {
    margin: 0;
}

.tq-journey-weight-heading a {
    color: #0072BF;
    font-weight: 700;
    text-decoration: none;
}

.tq-journey-weight-body {
    display: flex;
    align-items: center;
    gap: 28px;
}

.tq-journey-weight-value {
    min-width: 150px;
    padding: 20px;
    text-align: center;
    background: #f5f8fa;
    border-radius: 12px;
}

.tq-journey-weight-value strong {
    display: block;
    color: #4D4D4D;
    font-size: 36px;
    line-height: 1;
}

.tq-journey-weight-value span {
    display: block;
    margin-top: 6px;
    font-weight: 700;
}

.tq-journey-weight-detail strong,
.tq-journey-weight-detail span,
.tq-journey-weight-detail small {
    display: block;
}

.tq-journey-weight-detail strong {
    margin-bottom: 4px;
    font-size: 18px;
}

.tq-journey-weight-detail small {
    margin-top: 8px;
    color: #6b7379;
}

@media (max-width: 650px) {

    .tq-journey-weight-heading,
    .tq-journey-weight-body {
        display: block;
    }

    .tq-journey-weight-heading a {
        display: inline-block;
        margin-top: 10px;
    }

    .tq-journey-weight-value {
        margin-bottom: 18px;
    }
}


/* TQ WEIGHT DISPLAY 20260925 */

.tq-journey-weight {
    margin: 28px 0;
    padding: 26px;
    background: #fff;
    border: 1px solid #e2e7eb;
    border-radius: 14px;
}

.tq-journey-weight-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.tq-journey-weight-head span {
    color: #0072BF;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.tq-journey-weight-head h2 {
    margin: 4px 0 0;
}

.tq-journey-weight-head a {
    color: #0072BF;
    font-weight: 700;
    text-decoration: none;
}

.tq-journey-weight-content {
    display: flex;
    align-items: center;
    gap: 26px;
}

.tq-journey-weight-number {
    min-width: 150px;
    padding: 20px;
    border-radius: 12px;
    background: #f5f8fa;
    color: #4D4D4D;
    font-size: 36px;
    font-weight: 800;
    text-align: center;
}

.tq-journey-weight-number small {
    display: block;
    margin-top: 4px;
    font-size: 14px;
}

.tq-journey-weight-copy strong {
    font-size: 18px;
}

.tq-journey-weight-copy p {
    margin: 5px 0 8px;
}

.tq-journey-weight-copy small {
    color: #68727a;
}

@media (max-width: 650px) {
    .tq-journey-weight-head,
    .tq-journey-weight-content {
        display: block;
    }

    .tq-journey-weight-head a {
        display: inline-block;
        margin-top: 10px;
    }

    .tq-journey-weight-number {
        margin-bottom: 16px;
    }
}


/* =========================================================
   TQ AI COUNSELOR COMING SOON 20260925
   ========================================================= */

.tq-ai-counselor {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    margin: 28px 0;
    padding: 26px 28px;
    background: #4D4D4D;
    border-radius: 14px;
    color: #fff;
}

.tq-ai-counselor-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #0072BF;
    color: #fff;
    font-size: 26px;
}

.tq-ai-counselor-label {
    margin-bottom: 5px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    opacity: .8;
}

.tq-ai-counselor h2 {
    margin: 0 0 7px;
    color: #fff;
}

.tq-ai-counselor p {
    max-width: 680px;
    margin: 0;
    color: #fff;
    line-height: 1.55;
}

.tq-ai-counselor .tq-ai-counselor-note {
    margin-top: 8px;
    font-size: 13px;
    opacity: .75;
}

.tq-ai-counselor-status {
    padding: 8px 13px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 700px) {

    .tq-ai-counselor {
        grid-template-columns: auto 1fr;
        padding: 22px;
    }

    .tq-ai-counselor-status {
        grid-column: 1 / -1;
        width: fit-content;
    }
}


/* TQ MINI JOURNEY CTA 20260925 */

.tq-mini-journey-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.tq-mini-journey-heading h2 {
    margin: 3px 0 0;
}

.tq-mini-journey-label {
    color: #0072BF;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
}

.tq-mini-journey-heading > a {
    color: #0072BF;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .tq-mini-journey-heading {
        display: block;
    }

    .tq-mini-journey-heading > a {
        display: inline-block;
        margin-top: 8px;
    }
}



/* =========================================================
   TAQTIK HEALTH FOOTER
   ========================================================= */

.tq-site-footer {
    margin-top: 70px;
    background: #4D4D4D;
    color: #ffffff;
}

.tq-footer-main {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 48px 0 38px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 50px;
}

.tq-footer-brand {
    max-width: 480px;
}

.tq-footer-name {
    display: inline-block;
    margin-bottom: 12px;
    color: #ffffff !important;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 800;
    text-decoration: none;
}

.tq-footer-brand p {
    max-width: 460px;
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 14px;
    line-height: 1.65;
}

.tq-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 26px;
    padding-top: 6px;
}

.tq-footer-links a {
    color: rgba(255,255,255,.88) !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition:
        color .18s ease,
        opacity .18s ease;
}

.tq-footer-links a:hover,
.tq-footer-links a:focus {
    color: #ffffff !important;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.tq-footer-bottom {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 18px 0 22px;
    border-top: 1px solid rgba(255,255,255,.15);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.tq-footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,.65);
    font-size: 12px;
    line-height: 1.5;
}

.tq-footer-powered {
    white-space: nowrap;
}

.tq-footer-powered a {
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none;
}

.tq-footer-powered a:hover,
.tq-footer-powered a:focus {
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* MOBILE */

@media (max-width: 768px) {

    .tq-site-footer {
        margin-top: 48px;
    }

    .tq-footer-main {
        width: min(100% - 32px, 1180px);
        padding: 34px 0 28px;
        display: block;
    }

    .tq-footer-brand {
        max-width: none;
    }

    .tq-footer-name {
        font-size: 21px;
    }

    .tq-footer-brand p {
        max-width: 520px;
    }

    .tq-footer-links {
        margin-top: 25px;
        padding-top: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-content: initial;
        gap: 13px 20px;
    }

    .tq-footer-bottom {
        width: min(100% - 32px, 1180px);
        padding: 18px 0 22px;
        display: block;
    }

    .tq-footer-powered {
        margin-top: 6px !important;
    }

}


@media (max-width: 420px) {

    .tq-footer-links {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   TAQTIK HEADER + NAVIGATION POLISH
   2026-09-28
   ========================================================= */

/* Keep navigation typography consistent with site */
.tq-header,
.tq-header *,
.tq-desktop-nav,
.tq-mobile-nav,
.tq-member-nav {
    font-family: Arial, Helvetica, sans-serif;
}


/* ---------------------------------------------------------
   MAIN HEADER
   --------------------------------------------------------- */

.tq-header {
    background: #ffffff;
    border-bottom: 1px solid #e8edf1;
    box-shadow: 0 2px 14px rgba(20, 48, 66, .055);
}

.tq-header-inner {
    min-height: 76px;
}


/* ---------------------------------------------------------
   DESKTOP NAVIGATION
   --------------------------------------------------------- */

.tq-desktop-nav {
    display: flex;
    align-items: center;
    gap: 3px;
}

.tq-desktop-nav > a,
.tq-nav-dropdown-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 13px;

    border: 0;
    border-radius: 9px;
    background: transparent;

    color: #4D4D4D !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .01em;

    text-decoration: none !important;
    cursor: pointer;

    transition:
        color .16s ease,
        background .16s ease;
}

.tq-desktop-nav > a:hover,
.tq-desktop-nav > a:focus,
.tq-nav-dropdown-toggle:hover,
.tq-nav-dropdown-toggle:focus,
.tq-nav-dropdown.is-open .tq-nav-dropdown-toggle {
    color: #0072BF !important;
    background: #f4f8fb;
}


/* Small blue active/hover indicator */

.tq-desktop-nav > a::after,
.tq-nav-dropdown-toggle::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 3px;

    height: 2px;
    border-radius: 999px;

    background: #0072BF;

    opacity: 0;
    transform: scaleX(.45);

    transition:
        opacity .16s ease,
        transform .16s ease;
}

.tq-desktop-nav > a:hover::after,
.tq-desktop-nav > a:focus::after,
.tq-nav-dropdown-toggle:hover::after,
.tq-nav-dropdown-toggle:focus::after,
.tq-nav-dropdown.is-open .tq-nav-dropdown-toggle::after {
    opacity: 1;
    transform: scaleX(1);
}


/* ---------------------------------------------------------
   DROPDOWN ARROW
   --------------------------------------------------------- */

.tq-nav-dropdown-toggle span {
    margin-left: 7px;
    opacity: .55;
    font-size: 11px;
    transition: transform .18s ease;
}

.tq-nav-dropdown.is-open .tq-nav-dropdown-toggle span,
.tq-nav-dropdown:hover .tq-nav-dropdown-toggle span {
    transform: rotate(180deg);
}


/* ---------------------------------------------------------
   DROPDOWN MENU
   --------------------------------------------------------- */

.tq-nav-dropdown-menu {
    margin-top: 8px !important;
    padding: 9px !important;

    border: 1px solid #e6ebef !important;
    border-radius: 14px !important;

    background: #ffffff !important;

    box-shadow:
        0 18px 45px rgba(20, 48, 66, .13),
        0 3px 10px rgba(20, 48, 66, .05) !important;

    overflow: hidden;
}

.tq-nav-dropdown-menu a {
    display: flex !important;
    align-items: center;
    gap: 11px;

    padding: 11px 12px !important;
    border-radius: 9px;

    color: #4D4D4D !important;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none !important;

    transition:
        background .15s ease,
        color .15s ease,
        transform .15s ease;
}

.tq-nav-dropdown-menu a:hover,
.tq-nav-dropdown-menu a:focus {
    background: #f3f8fb !important;
    color: #0072BF !important;
    transform: translateX(2px);
}

.tq-nav-dropdown-menu strong {
    color: inherit;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
}

.tq-nav-dropdown-menu small {
    display: block;
    margin-top: 3px;

    color: #7b8790;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 400;
}


/* Dropdown icons */

.tq-menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;
    flex: 0 0 34px;

    border-radius: 9px;
    background: #eef6fb;

    color: #0072BF;
}


/* ---------------------------------------------------------
   HEADER ACTIONS
   --------------------------------------------------------- */

.tq-header-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}


/* Plans remains navigation, not a competing CTA */

.tq-header-actions .tq-nav-plans {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;
    padding: 0 13px;

    border: 0 !important;
    border-radius: 9px !important;
    background: transparent !important;

    color: #4D4D4D !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
}

.tq-header-actions .tq-nav-plans:hover,
.tq-header-actions .tq-nav-plans:focus {
    background: #f4f8fb !important;
    color: #0072BF !important;
}


/* Create Account */

.tq-header-register {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    min-height: 40px;
    padding: 0 17px !important;

    border: 1px solid #d5dadd !important;
    border-radius: 9px !important;

    background: #f7f7f7 !important;
    color: #4D4D4D !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;

    box-shadow: none !important;
}

.tq-header-register:hover,
.tq-header-register:focus {
    border-color: #bfc6ca !important;
    background: #eeeeee !important;
    color: #333333 !important;
}


/* My Health */

.tq-header-login {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    min-height: 40px;
    padding: 0 18px !important;

    border: 1px solid #0072BF !important;
    border-radius: 9px !important;

    background: #0072BF !important;
    color: #ffffff !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;

    box-shadow: 0 4px 11px rgba(0,114,191,.16);
}

.tq-header-login:hover,
.tq-header-login:focus {
    border-color: #055A8C !important;
    background: #055A8C !important;
    color: #ffffff !important;
}


/* Logout */

.tq-header-logout {
    border-radius: 9px !important;
    font-family: Arial, Helvetica, sans-serif !important;
}


/* ---------------------------------------------------------
   MEMBER NAV
   --------------------------------------------------------- */

.tq-member-nav {
    background: #4D4D4D;
    border: 0;
}

.tq-member-nav-inner {
    gap: 3px;
}

.tq-member-nav a {
    position: relative;

    padding: 13px 15px !important;

    border: 0 !important;
    border-radius: 0;

    color: rgba(255,255,255,.82) !important;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px !important;
    font-weight: 600 !important;

    transition:
        color .15s ease,
        background .15s ease;
}

.tq-member-nav a::after {
    content: "";
    position: absolute;

    left: 15px;
    right: 15px;
    bottom: 0;

    height: 3px;
    border-radius: 3px 3px 0 0;

    background: #298FCA;

    opacity: 0;
}

.tq-member-nav a:hover,
.tq-member-nav a:focus {
    background: rgba(255,255,255,.07) !important;
    color: #ffffff !important;
}

.tq-member-nav a:hover::after,
.tq-member-nav a:focus::after {
    opacity: 1;
}

.tq-member-nav a.tq-member-primary {
    background: rgba(0,114,191,.9) !important;
    color: #ffffff !important;
}

.tq-member-nav a.tq-member-primary::after {
    opacity: 1;
}


/* ---------------------------------------------------------
   MOBILE MENU BUTTON
   --------------------------------------------------------- */

.tq-menu-toggle {
    width: 42px;
    height: 42px;

    padding: 10px !important;

    border: 1px solid #e1e6e9 !important;
    border-radius: 10px !important;

    background: #ffffff !important;
}

.tq-menu-toggle:hover,
.tq-menu-toggle:focus {
    background: #f4f8fb !important;
    border-color: #d5e4ed !important;
}


/* ---------------------------------------------------------
   MOBILE NAVIGATION
   --------------------------------------------------------- */

@media (max-width: 900px) {

    .tq-header-inner {
        min-height: 68px;
    }

    .tq-mobile-nav {
        background: #ffffff;
        border-top: 1px solid #e9edef;
        box-shadow: 0 16px 30px rgba(20,48,66,.09);
    }

    .tq-mobile-nav-inner {
        padding: 14px 16px 22px !important;
    }

    .tq-mobile-label {
        margin: 14px 4px 7px;

        color: #8C8C8C !important;

        font-family: Arial, Helvetica, sans-serif;
        font-size: 10px !important;
        line-height: 1.2;
        font-weight: 800 !important;
        letter-spacing: .11em;
        text-transform: uppercase;
    }

    .tq-mobile-nav a {
        display: flex;
        align-items: center;

        min-height: 46px;
        padding: 10px 12px !important;

        border-radius: 9px;

        color: #4D4D4D !important;

        font-family: Arial, Helvetica, sans-serif;
        font-size: 14px !important;
        line-height: 1.35;
        font-weight: 600 !important;

        text-decoration: none !important;
    }

    .tq-mobile-nav a:hover,
    .tq-mobile-nav a:focus {
        background: #f3f8fb !important;
        color: #0072BF !important;
    }

    .tq-mobile-nav a span {
        color: inherit;
    }

    .tq-mobile-register {
        margin-top: 10px !important;

        border: 1px solid #d7dcdf !important;
        background: #f7f7f7 !important;

        color: #4D4D4D !important;

        justify-content: center;
        font-weight: 700 !important;
    }

    .tq-mobile-nav .tq-mobile-login {
        margin-top: 8px;

        justify-content: center;

        border: 1px solid #0072BF !important;
        background: #0072BF !important;
        color: #ffffff !important;

        font-weight: 700 !important;
    }

    .tq-mobile-nav .tq-mobile-login:hover,
    .tq-mobile-nav .tq-mobile-login:focus {
        background: #055A8C !important;
        color: #ffffff !important;
    }

}


/* ---------------------------------------------------------
   SMALL MOBILE MEMBER NAV
   --------------------------------------------------------- */

@media (max-width: 700px) {

    .tq-member-nav-inner {
        padding: 0 8px !important;
    }

    .tq-member-nav a {
        padding: 12px 11px !important;
        font-size: 12px !important;
    }

}


/* ---------------------------------------------------------
   ACCESSIBILITY
   --------------------------------------------------------- */

.tq-header a:focus-visible,
.tq-header button:focus-visible,
.tq-member-nav a:focus-visible {
    outline: 2px solid #0072BF;
    outline-offset: 2px;
}


/* =========================================================
   TAQTIK COMMUNITY AI COUNSELOR
   2026-09-28
   ========================================================= */

.tq-community-ai-wrap {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto 48px;
}

.tq-community-ai-wrap .tq-ai-counselor {
    margin-top: 0;
}

@media (max-width: 700px) {
    .tq-community-ai-wrap {
        width: calc(100% - 28px);
        margin-bottom: 30px;
    }
}



/* =========================================================
   TAQTIK AI COUNSELOR - LEFT MEDICAL ASSISTANT
   2026-09-28
   ========================================================= */

/*
 * Remove the bottom-page layout.
 * Counselor becomes a fixed left-side assistant.
 */
.tq-community-ai-wrap {
    position: fixed !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: auto !important;
    margin: 0 !important;
    z-index: 9990 !important;
}


/* Main counselor panel */
.tq-community-ai-wrap .tq-ai-counselor {
    position: relative !important;
    width: 390px !important;
    max-width: calc(100vw - 40px) !important;
    height: auto !important;
    max-height: 72vh !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    overflow: hidden !important;

    background: #ffffff !important;
    border: 1px solid #dce5eb !important;
    border-radius: 18px !important;
    box-shadow: 0 16px 48px rgba(0,0,0,.16) !important;
}


/* Header */
.tq-community-ai-wrap .tq-ai-head {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;

    width: 100% !important;
    min-width: 0 !important;

    padding: 17px 18px !important;
    margin: 0 !important;

    background: #4D4D4D !important;
    border: 0 !important;
}


/* Medical icon */
.tq-community-ai-wrap .tq-ai-avatar {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    flex: 0 0 46px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 14px !important;
    background: #0072BF !important;
    color: #ffffff !important;
}


/* Header copy */
.tq-community-ai-wrap .tq-ai-head-copy {
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
}

.tq-community-ai-wrap .tq-ai-eyebrow {
    display: block !important;
    margin: 0 0 3px !important;

    color: #ffffff !important;
    opacity: .78 !important;

    font-size: 9px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: 1.2px !important;
}

.tq-community-ai-wrap .tq-ai-head h2 {
    display: block !important;
    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #ffffff !important;

    font-size: 19px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;

    white-space: normal !important;
}

.tq-community-ai-wrap .tq-ai-head p {
    display: block !important;
    width: auto !important;

    margin: 3px 0 0 !important;
    padding: 0 !important;

    color: rgba(255,255,255,.78) !important;

    font-size: 11px !important;
    line-height: 1.35 !important;
}


/* Available status */
.tq-community-ai-wrap .tq-ai-status {
    display: flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;

    color: #ffffff !important;

    font-size: 10px !important;
    line-height: 1 !important;

    white-space: nowrap !important;
}

.tq-community-ai-wrap .tq-ai-status span {
    width: 7px !important;
    height: 7px !important;
    margin-right: 5px !important;

    background: #ffffff !important;
    border-radius: 50% !important;
}


/* Chat body */
.tq-community-ai-wrap .tq-ai-chat {
    display: block !important;

    width: 100% !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 170px !important;
    max-height: 280px !important;

    padding: 17px !important;
    margin: 0 !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;

    background: #f7f9fa !important;
}


/* Messages */
.tq-community-ai-wrap .tq-ai-message {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;

    width: 100% !important;

    gap: 8px !important;
    margin: 0 0 13px !important;
}

.tq-community-ai-wrap .tq-ai-message-user {
    justify-content: flex-end !important;
}

.tq-community-ai-wrap .tq-ai-message-icon {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;

    background: #e5f2fa !important;
    color: #0072BF !important;

    font-size: 9px !important;
}


/* Critical fix for narrow vertical bubble */
.tq-community-ai-wrap .tq-ai-bubble {
    display: block !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: 82% !important;

    padding: 11px 13px !important;
    margin: 0 !important;

    background: #ffffff !important;
    color: #4D4D4D !important;

    border: 1px solid #e1e6e9 !important;
    border-radius: 14px 14px 14px 4px !important;

    font-size: 13px !important;
    line-height: 1.45 !important;

    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    writing-mode: horizontal-tb !important;
}

.tq-community-ai-wrap .tq-ai-bubble strong {
    display: block !important;
    margin-bottom: 4px !important;
}

.tq-community-ai-wrap .tq-ai-bubble p {
    display: block !important;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    color: inherit !important;

    font-size: inherit !important;
    line-height: inherit !important;

    white-space: normal !important;
    word-break: normal !important;
    writing-mode: horizontal-tb !important;
}

.tq-community-ai-wrap
.tq-ai-message-user
.tq-ai-bubble {
    background: #0072BF !important;
    border-color: #0072BF !important;
    color: #ffffff !important;
    border-radius: 14px 14px 4px 14px !important;
}


/* Starter prompts */
.tq-community-ai-wrap .tq-ai-starters {
    display: flex !important;
    flex-direction: column !important;

    width: 100% !important;

    gap: 7px !important;
    padding: 13px 17px 4px !important;
    margin: 0 !important;

    background: #ffffff !important;
}

.tq-community-ai-wrap .tq-ai-starters button {
    display: block !important;

    width: 100% !important;
    min-height: 36px !important;

    margin: 0 !important;
    padding: 8px 11px !important;

    text-align: left !important;

    background: #ffffff !important;
    color: #4D4D4D !important;

    border: 1px solid #dce5eb !important;
    border-radius: 10px !important;

    font-size: 11px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;

    white-space: normal !important;
}


/* Input */
.tq-community-ai-wrap .tq-ai-form {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;

    width: 100% !important;

    gap: 8px !important;
    padding: 12px 17px !important;
    margin: 0 !important;

    background: #ffffff !important;
}

.tq-community-ai-wrap .tq-ai-form textarea {
    display: block !important;

    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px !important;

    margin: 0 !important;
    padding: 10px 12px !important;

    white-space: normal !important;
    writing-mode: horizontal-tb !important;
}

.tq-community-ai-wrap .tq-ai-send {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    flex: 0 0 42px !important;

    margin: 0 !important;
}


/* Disclaimer */
.tq-community-ai-wrap .tq-ai-disclaimer {
    display: block !important;

    width: 100% !important;

    padding: 0 17px 14px !important;
    margin: 0 !important;

    color: #777 !important;

    font-size: 9px !important;
    line-height: 1.35 !important;

    text-align: left !important;

    white-space: normal !important;
    writing-mode: horizontal-tb !important;
}


/* Keep clear of mobile screen */
@media (max-width: 760px) {

    .tq-community-ai-wrap {
        left: 12px !important;
        right: 12px !important;
        top: auto !important;
        bottom: 14px !important;

        width: auto !important;

        transform: none !important;

        z-index: 9990 !important;
    }

    .tq-community-ai-wrap .tq-ai-counselor {
        width: 100% !important;
        max-width: none !important;
        max-height: 72vh !important;
    }

    .tq-community-ai-wrap .tq-ai-chat {
        max-height: 220px !important;
    }

    .tq-community-ai-wrap .tq-ai-status {
        display: none !important;
    }
}


/* =========================================================
   TAQTIK AI COUNSELOR - COLLAPSIBLE LEFT BAR
   2026-09-28
   ========================================================= */

.tq-community-ai-wrap .tq-ai-close {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    flex: 0 0 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 0 0 4px !important;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,.28) !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.10) !important;
    color: #fff !important;
    font-size: 22px !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

.tq-community-ai-wrap .tq-ai-close:hover {
    background: rgba(255,255,255,.22) !important;
}

.tq-community-ai-wrap .tq-ai-launcher {
    display: none !important;
}

/* Closed state */
.tq-community-ai-wrap .tq-ai-counselor.is-collapsed {
    width: 190px !important;
    min-height: 0 !important;
    height: auto !important;
    border-radius: 14px !important;
}

.tq-community-ai-wrap
.tq-ai-counselor.is-collapsed
> :not(.tq-ai-launcher) {
    display: none !important;
}

.tq-community-ai-wrap
.tq-ai-counselor.is-collapsed
> .tq-ai-launcher {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 64px !important;
    gap: 10px !important;
    padding: 10px 11px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 13px !important;
    background: #4D4D4D !important;
    color: #fff !important;
    cursor: pointer !important;
    text-align: left !important;
}

.tq-ai-launcher-medical {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 11px !important;
    background: #0072BF !important;
    color: #fff !important;
}

.tq-ai-launcher-text {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.tq-ai-launcher-text strong {
    color: #fff !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
}

.tq-ai-launcher-text small {
    margin-top: 2px !important;
    color: rgba(255,255,255,.72) !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
}

.tq-ai-launcher-plus {
    color: #fff !important;
    font-size: 21px !important;
    line-height: 1 !important;
}

/* Mobile */
@media (max-width: 760px) {

    .tq-community-ai-wrap:has(
        .tq-ai-counselor.is-collapsed
    ) {
        left: auto !important;
        right: 12px !important;
        width: 190px !important;
    }

    .tq-community-ai-wrap
    .tq-ai-counselor.is-collapsed {
        width: 190px !important;
    }
}


/* =========================================================
   TAQTIK BRAND POLISH
   Official Identity Palette
   2026-09-29

   Primary Blue: #0072BF
   Dark Blue:    #055A8C
   Light Blue:   #298FCA
   Primary Gray: #666666
   Dark Gray:    #4D4D4D
   Light Gray:   #8C8C8C
   ========================================================= */

/*
 * Remove legacy green from patient-facing engagement UI.
 * Light Blue is the approved secondary accent.
 */
.tq-ai-counselor,
.tq-ai-support,
.tq-community-guide,
.tq-community-progress,
.tq-member-nudge,
.tq-journey-card {
    --tq-primary: #0072BF;
    --tq-dark-blue: #055A8C;
    --tq-light-blue: #298FCA;
    --tq-gray: #666666;
    --tq-dark-gray: #4D4D4D;
    --tq-light-gray: #8C8C8C;
}

/* AI / support icons and accent elements */
.tq-ai-counselor [class*="icon"],
.tq-ai-support [class*="icon"],
.tq-ai-counselor .icon,
.tq-ai-support .icon {
    color: #FFFFFF !important;
}

/* Available/status badge */
.tq-ai-counselor [class*="status"],
.tq-ai-support [class*="status"],
.tq-ai-counselor [class*="badge"],
.tq-ai-support [class*="badge"] {
    border-color: #298FCA !important;
    color: #FFFFFF !important;
}

/* Approved blue CTA treatment */
.tq-ai-counselor button,
.tq-ai-counselor .button,
.tq-ai-support button,
.tq-ai-support .button {
    background-color: #0072BF;
    border-color: #0072BF;
}

/*
 * Account-access message treatment.
 * Used for the explanatory message around Taqtik login surfaces.
 */
.tq-account-access-message {
    max-width: 420px;
    margin: 18px auto 22px;
    padding: 12px 16px;
    background: rgba(41, 143, 202, 0.08);
    border: 1px solid rgba(41, 143, 202, 0.22);
    border-left: 4px solid #298FCA;
    border-radius: 8px;
    color: #055A8C;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}

/* Dark engagement surfaces remain official Taqtik Dark Gray */
.tq-ai-support,
.tq-ai-counselor-header,
.tq-member-nudge {
    border-color: #4D4D4D;
}


/* =========================================================
   MY JOURNEY - TAQTIK AI COUNSELOR
   ========================================================= */

.tq-journey-ai-entry {
    margin: 32px 0;
}

.tq-journey-ai-entry__heading {
    position: relative;
    margin-bottom: 16px;
    padding: 24px 120px 24px 26px;
    background: #4D4D4D;
    border-radius: 12px;
    color: #FFFFFF;
}

.tq-journey-ai-entry__eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #298FCA;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.tq-journey-ai-entry__heading h2 {
    margin: 0 0 8px;
    color: #FFFFFF;
}

.tq-journey-ai-entry__heading p {
    margin: 0 0 8px;
    max-width: 760px;
    color: #FFFFFF;
    line-height: 1.55;
}

.tq-journey-ai-entry__heading small {
    color: #FFFFFF;
    opacity: .78;
}

.tq-journey-ai-entry__status {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 7px 14px;
    border: 1px solid #298FCA;
    border-radius: 999px;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 700px) {
    .tq-journey-ai-entry__heading {
        padding: 20px;
        padding-top: 58px;
    }

    .tq-journey-ai-entry__status {
        top: 18px;
        right: 18px;
    }
}


/* =========================================================
   MY JOURNEY - OFFICIAL TAQTIK IDENTITY
   2026-09-29
   Primary Blue #0072BF
   Dark Blue    #055A8C
   Light Blue   #298FCA
   Gray         #666666
   Dark Gray    #4D4D4D
   Light Gray   #8C8C8C
   ========================================================= */

/* Replace legacy teal/green variables inside My Journey */
body.page-template-page-patient-dashboard {
    --tq-green: #0072BF !important;
    --tq-teal: #0072BF !important;
    --tq-aqua: #298FCA !important;
    --tq-accent: #298FCA !important;
}

/* Hero */
body.page-template-page-patient-dashboard .tq-journey-hero,
body.page-template-page-patient-dashboard [class*="journey-hero"] {
    background: linear-gradient(
        135deg,
        #055A8C 0%,
        #0072BF 100%
    ) !important;
}

/* Teal text becomes official Light Blue */
body.page-template-page-patient-dashboard .tq-journey-hero strong,
body.page-template-page-patient-dashboard [class*="eyebrow"],
body.page-template-page-patient-dashboard [class*="kicker"] {
    color: #298FCA !important;
}

/* Primary buttons */
body.page-template-page-patient-dashboard .button,
body.page-template-page-patient-dashboard .btn,
body.page-template-page-patient-dashboard a[class*="button"] {
    background-color: #0072BF !important;
    border-color: #0072BF !important;
    color: #FFFFFF !important;
}

/* Links */
body.page-template-page-patient-dashboard main a:not(.button):not(.btn) {
    color: #055A8C;
}

/* Small icon backgrounds */
body.page-template-page-patient-dashboard [class*="icon"] {
    border-color: rgba(41,143,202,.22);
}

/* ---------------------------------------------------------
   AI COUNSELOR
   --------------------------------------------------------- */

.tq-journey-ai {
    width: min(1160px, calc(100% - 40px));
    margin: 36px auto;
}

.tq-journey-ai-head {
    position: relative;
    padding: 26px 150px 26px 28px;
    background: #4D4D4D;
    border-radius: 12px;
    color: #FFFFFF;
}

.tq-journey-ai-kicker {
    display: block;
    margin-bottom: 7px;
    color: #298FCA !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.tq-journey-ai-head h2 {
    margin: 0 0 8px;
    color: #FFFFFF;
    font-size: 26px;
}

.tq-journey-ai-head p {
    max-width: 760px;
    margin: 0 0 8px;
    color: #FFFFFF;
    line-height: 1.55;
}

.tq-journey-ai-head small {
    color: #FFFFFF;
    opacity: .78;
}

.tq-journey-ai-status {
    position: absolute;
    top: 28px;
    right: 28px;
    padding: 8px 16px;
    border: 1px solid #298FCA;
    border-radius: 999px;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
}

/* Counselor's blue accent */
.tq-journey-ai .tq-ai-counselor [class*="icon"],
.tq-journey-ai .tq-ai-counselor [class*="accent"] {
    background-color: #298FCA !important;
}

/* Remove green/teal from common Journey accents */
body.page-template-page-patient-dashboard .tq-journey-card,
body.page-template-page-patient-dashboard [class*="stat-card"],
body.page-template-page-patient-dashboard [class*="progress-card"] {
    border-color: rgba(41,143,202,.22) !important;
}

@media (max-width: 700px) {

    .tq-journey-ai {
        width: calc(100% - 28px);
        margin: 24px auto;
    }

    .tq-journey-ai-head {
        padding: 62px 20px 20px;
    }

    .tq-journey-ai-status {
        top: 18px;
        right: 18px;
    }
}


/* =========================================================
   TAQTIK MY JOURNEY - OFFICIAL BRAND PALETTE
   2026-09-29
   ========================================================= */

.tq-journey {
    --tq-primary: #0072BF;
    --tq-dark-blue: #055A8C;
    --tq-light-blue: #298FCA;
    --tq-gray: #666666;
    --tq-dark-gray: #4D4D4D;
    --tq-light-gray: #8C8C8C;
}

/* HERO */
.tq-journey .tq-journey-hero {
    background: linear-gradient(
        135deg,
        #055A8C 0%,
        #0072BF 100%
    ) !important;
}

/* LIGHT BLUE ACCENTS */
.tq-journey .tq-journey-kicker,
.tq-journey .tq-section-label {
    color: #298FCA !important;
}

/* Hero highlighted words */
.tq-journey .tq-journey-hero h1 span,
.tq-journey .tq-journey-hero h1 strong {
    color: #FFFFFF !important;
}

/* BUTTONS */
.tq-journey .tq-journey-button {
    background: #0072BF !important;
    border-color: #0072BF !important;
    color: #FFFFFF !important;
}

.tq-journey .tq-journey-button:hover {
    background: #055A8C !important;
    border-color: #055A8C !important;
}

.tq-journey .tq-journey-button-outline {
    background: transparent !important;
    border-color: rgba(255,255,255,.55) !important;
    color: #FFFFFF !important;
}

/* LINKS */
.tq-journey .tq-text-link,
.tq-journey .tq-panel-link {
    color: #0072BF !important;
}

/* STATUS CARD */
.tq-journey .tq-journey-status-card {
    border-color: rgba(41,143,202,.45) !important;
}

.tq-journey .tq-status-icon {
    background: #298FCA !important;
    color: #FFFFFF !important;
}

/* STAT CARDS */
.tq-journey .tq-stat-card {
    border-color: rgba(41,143,202,.22) !important;
}

.tq-journey .tq-stat-primary {
    background: rgba(41,143,202,.06) !important;
    border-color: rgba(41,143,202,.35) !important;
}

.tq-journey .tq-stat-icon,
.tq-journey .tq-circle-icon,
.tq-journey .tq-next-icon {
    background: rgba(41,143,202,.10) !important;
    color: #0072BF !important;
}

/* PROGRESS */
.tq-journey .tq-progress-track {
    background: rgba(41,143,202,.12) !important;
}

.tq-journey .tq-progress-track > * {
    background: #0072BF !important;
}

.tq-journey .tq-percent-badge {
    background: rgba(41,143,202,.10) !important;
    color: #055A8C !important;
}

/* AI COUNSELOR */
.tq-journey-ai {
    width: 100%;
    margin-top: 40px;
    margin-bottom: 10px;
}

.tq-journey-ai-intro {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 26px 150px 26px 26px;
    background: #4D4D4D;
    border-radius: 14px;
    color: #FFFFFF;
}

.tq-journey-ai-icon {
    display: flex;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #298FCA;
    color: #FFFFFF;
    font-size: 25px;
}

.tq-journey-ai-copy {
    flex: 1;
}

.tq-journey-ai-copy h2 {
    margin: 4px 0 7px;
    color: #FFFFFF;
}

.tq-journey-ai-copy p {
    max-width: 720px;
    margin: 0 0 6px;
    color: #FFFFFF;
    line-height: 1.5;
}

.tq-journey-ai-copy small {
    color: rgba(255,255,255,.76);
}

.tq-journey-ai-status {
    position: absolute;
    top: 26px;
    right: 26px;
    padding: 7px 14px;
    border: 1px solid #298FCA;
    border-radius: 999px;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
}

.tq-journey-ai-chat {
    margin-top: 16px;
}

@media (max-width: 700px) {

    .tq-journey-ai-intro {
        align-items: flex-start;
        padding: 62px 20px 20px;
    }

    .tq-journey-ai-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }

    .tq-journey-ai-status {
        top: 18px;
        right: 18px;
    }
}


/* =========================================================
   MY JOURNEY - BALANCED TAQTIK BRAND
   2026-09-29

   Primary Blue #0072BF
   Dark Blue    #055A8C
   Light Blue   #298FCA
   Primary Gray #666666
   Dark Gray    #4D4D4D
   Light Gray   #8C8C8C
   ========================================================= */

/* HERO: dark neutral instead of giant blue field */
.tq-journey .tq-journey-hero {
    background: #4D4D4D !important;
}

/* Hero content gets subtle depth */
.tq-journey .tq-journey-hero-grid {
    background: linear-gradient(
        110deg,
        #4D4D4D 0%,
        #4D4D4D 60%,
        #055A8C 100%
    ) !important;
}

/* Eyebrows */
.tq-journey .tq-journey-kicker,
.tq-journey .tq-section-label,
.tq-journey-ai-card-label {
    color: #298FCA !important;
}

/* Hero heading */
.tq-journey .tq-journey-hero h1,
.tq-journey .tq-journey-hero h1 span,
.tq-journey .tq-journey-hero h1 strong {
    color: #FFFFFF !important;
}

/* Hero status */
.tq-journey .tq-journey-status-card {
    background: rgba(255,255,255,.09) !important;
    border-color: rgba(255,255,255,.18) !important;
}

.tq-journey .tq-status-icon {
    background: #298FCA !important;
    color: #FFFFFF !important;
}

/* Main CTA */
.tq-journey .tq-journey-button {
    background: #0072BF !important;
    border-color: #0072BF !important;
    color: #FFFFFF !important;
}

.tq-journey .tq-journey-button:hover {
    background: #055A8C !important;
    border-color: #055A8C !important;
}

/* Secondary hero CTA */
.tq-journey .tq-journey-button-outline {
    background: transparent !important;
    border-color: rgba(255,255,255,.5) !important;
    color: #FFFFFF !important;
}

/* Normal page links - kill remaining teal */
.tq-journey .tq-text-link,
.tq-journey .tq-panel-link,
.tq-journey .tq-next-card,
.tq-journey a {
    --tq-green: #0072BF;
    --tq-teal: #0072BF;
}

.tq-journey .tq-text-link,
.tq-journey .tq-panel-link {
    color: #0072BF !important;
}

/* Stats */
.tq-journey .tq-stat-card {
    background: #FFFFFF !important;
    border-color: rgba(41,143,202,.20) !important;
}

.tq-journey .tq-stat-primary {
    background: rgba(41,143,202,.055) !important;
    border-color: rgba(41,143,202,.28) !important;
}

.tq-journey .tq-stat-icon,
.tq-journey .tq-circle-icon,
.tq-journey .tq-next-icon {
    background: rgba(41,143,202,.11) !important;
    color: #0072BF !important;
}

/* Next-action arrows */
.tq-journey .tq-next-card {
    color: #073B57 !important;
}

.tq-journey .tq-next-card:hover {
    border-color: #298FCA !important;
}

.tq-journey .tq-next-card > span:last-child,
.tq-journey .tq-next-card::after {
    color: #0072BF !important;
}

/* Plus callout: Dark Blue instead of teal */
.tq-journey .tq-plus-callout {
    background: #055A8C !important;
}

.tq-journey .tq-plus-icon {
    background: #298FCA !important;
    color: #FFFFFF !important;
}

/* Privacy note: pale blue, no green */
.tq-journey .tq-privacy-note {
    background: rgba(41,143,202,.07) !important;
    border-color: rgba(41,143,202,.15) !important;
    color: #666666 !important;
}

.tq-journey .tq-privacy-note::before {
    color: #298FCA !important;
}

/* Progress */
.tq-journey .tq-progress-track {
    background: rgba(41,143,202,.12) !important;
}

.tq-journey .tq-progress-track > * {
    background: #0072BF !important;
}

.tq-journey .tq-percent-badge {
    background: rgba(41,143,202,.10) !important;
    color: #055A8C !important;
}


/* =========================================================
   AI COUNSELOR CARD
   ========================================================= */

.tq-journey-ai-card {
    display: flex;
    align-items: center;
    gap: 20px;

    margin: 30px 0 34px;
    padding: 24px 26px;

    background: rgba(41,143,202,.07);
    border: 1px solid rgba(41,143,202,.24);
    border-left: 5px solid #298FCA;
    border-radius: 14px;
}

.tq-journey-ai-card-icon {
    display: flex;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #298FCA;
    color: #FFFFFF;

    font-size: 25px;
}

.tq-journey-ai-card-copy {
    flex: 1;
}

.tq-journey-ai-card-label {
    display: block;

    margin-bottom: 4px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.1px;
}

.tq-journey-ai-card h2 {
    margin: 0 0 5px;

    color: #055A8C;

    font-size: 23px;
}

.tq-journey-ai-card p {
    margin: 0 0 5px;

    color: #4D4D4D;

    line-height: 1.5;
}

.tq-journey-ai-card small {
    color: #666666;
}

.tq-journey-ai-card-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.tq-journey-ai-available {
    color: #055A8C;

    font-size: 12px;
    font-weight: 700;
}

.tq-journey-ai-open {
    appearance: none;

    padding: 11px 18px;

    border: 0;
    border-radius: 8px;

    background: #0072BF;
    color: #FFFFFF;

    cursor: pointer;

    font: inherit;
    font-weight: 700;
}

.tq-journey-ai-open:hover {
    background: #055A8C;
}

.tq-journey-ai-live {
    margin: -12px 0 34px;
}


/* Mobile */
@media (max-width: 700px) {

    .tq-journey-ai-card {
        align-items: flex-start;
        flex-wrap: wrap;

        padding: 20px;
    }

    .tq-journey-ai-card-action {
        width: 100%;
        align-items: stretch;
    }

    .tq-journey-ai-open {
        width: 100%;
    }
}


/* =========================================================
   TAQTIK MY JOURNEY - COMMUNITY-STYLE AI + STATUS CONTRAST
   2026-09-29
   ========================================================= */

/*
 * Hero activity status:
 * increase contrast without adding another dark-blue surface.
 */
body.page-template-page-patient-dashboard
.tq-journey-status-card {
    background: rgba(255,255,255,.14) !important;
    border-color: rgba(255,255,255,.32) !important;
}

body.page-template-page-patient-dashboard
.tq-journey-status-card,
body.page-template-page-patient-dashboard
.tq-journey-status-card * {
    color: #ffffff !important;
}

body.page-template-page-patient-dashboard
.tq-journey-status-card strong {
    color: #ffffff !important;
    opacity: 1 !important;
    font-weight: 600 !important;
}

body.page-template-page-patient-dashboard
.tq-journey-status-card small,
body.page-template-page-patient-dashboard
.tq-journey-status-card p,
body.page-template-page-patient-dashboard
.tq-journey-status-card span {
    color: rgba(255,255,255,.92) !important;
    opacity: 1 !important;
}

/*
 * My Journey uses the exact same AI Counselor component as Community.
 * Remove any Journey wrapper/card positioning inherited from earlier
 * experiments and allow the counselor's deployed fixed-left rules
 * to control the component.
 */
body.page-template-page-patient-dashboard
#tq-ai-counselor.tq-ai-counselor {
    position: fixed !important;
    left: 12px !important;
    right: auto !important;
    z-index: 9990 !important;
}

/* Collapsed state: compact left-side helper like Community. */
body.page-template-page-patient-dashboard
#tq-ai-counselor.tq-ai-counselor.is-collapsed {
    width: 190px !important;
    max-width: calc(100vw - 24px) !important;
}

/*
 * Do not show any obsolete full-width Journey AI cards if old
 * markup survives cache/template fragments.
 */
body.page-template-page-patient-dashboard
.tq-journey-ai,
body.page-template-page-patient-dashboard
.tq-journey-ai-entry {
    display: none !important;
}

/* But never hide the actual shared counselor itself. */
body.page-template-page-patient-dashboard
#tq-ai-counselor {
    display: block !important;
}


/* =========================================================
   MY JOURNEY STRUCTURE / AI FINAL OVERRIDE
   2026-09-29
   ========================================================= */

/* Keep normal centered Journey page width. */
body.page-template-page-patient-dashboard .tq-journey-wrap {
    width: min(1160px, calc(100% - 40px)) !important;
    max-width: 1160px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Improve hero activity-card readability. */
body.page-template-page-patient-dashboard .tq-journey-status-card {
    background: rgba(255,255,255,.14) !important;
    border-color: rgba(255,255,255,.32) !important;
}

body.page-template-page-patient-dashboard .tq-journey-status-card,
body.page-template-page-patient-dashboard .tq-journey-status-card * {
    color: #ffffff !important;
    opacity: 1 !important;
}

body.page-template-page-patient-dashboard .tq-journey-status-card strong {
    font-weight: 600 !important;
}

/*
 * Hide only the Journey promotional shells.
 * Do NOT hide the real counselor contained inside them.
 */
body.page-template-page-patient-dashboard .tq-journey-ai > :not(.tq-journey-ai-chat),
body.page-template-page-patient-dashboard .tq-journey-ai-entry__heading {
    display: none !important;
}

body.page-template-page-patient-dashboard .tq-journey-ai,
body.page-template-page-patient-dashboard .tq-journey-ai-chat,
body.page-template-page-patient-dashboard .tq-journey-ai-entry {
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    min-height: 0 !important;
}

/* Shared counselor: same fixed-left assistant behaviour as Community. */
body.page-template-page-patient-dashboard #tq-ai-counselor.tq-ai-counselor {
    position: fixed !important;
    left: 12px !important;
    right: auto !important;
    z-index: 9990 !important;
}

/* Compact collapsed launcher. */
body.page-template-page-patient-dashboard
#tq-ai-counselor.tq-ai-counselor.is-collapsed {
    width: 190px !important;
    max-width: calc(100vw - 24px) !important;
}

/* Don't let the counselor reserve page-layout width. */
body.page-template-page-patient-dashboard
.tq-journey-ai-chat:has(#tq-ai-counselor),
body.page-template-page-patient-dashboard
.tq-journey-ai-entry:has(#tq-ai-counselor) {
    height: 0 !important;
    overflow: visible !important;
}

/* Mobile retains usable margins. */
@media (max-width: 768px) {
    body.page-template-page-patient-dashboard .tq-journey-wrap {
        width: min(100% - 24px, 1160px) !important;
    }

    body.page-template-page-patient-dashboard
    #tq-ai-counselor.tq-ai-counselor {
        left: 8px !important;
    }
}


/* =========================================================
   TAQTIK AI COUNSELOR - SHARED COMMUNITY + MY JOURNEY POLISH
   2026-09-29
   ========================================================= */

@media (min-width: 769px) {

    /* Expanded panel */
    #tq-ai-counselor.tq-ai-counselor:not(.is-collapsed) {
        width: 390px !important;
        max-width: calc(100vw - 24px) !important;
        border-radius: 18px !important;
        overflow: hidden !important;
    }

    /* Header becomes a clean grid instead of competing columns */
    #tq-ai-counselor .tq-ai-head {
        position: relative !important;
        display: grid !important;
        grid-template-columns: 46px minmax(0, 1fr) auto !important;
        grid-template-areas:
            "avatar copy close"
            "avatar actions actions" !important;
        column-gap: 12px !important;
        row-gap: 10px !important;
        align-items: start !important;

        padding: 18px 18px 16px !important;
        min-height: 0 !important;
    }

    /* Icon */
    #tq-ai-counselor .tq-ai-avatar {
        grid-area: avatar !important;
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        margin: 2px 0 0 !important;
    }

    /* Heading */
    #tq-ai-counselor .tq-ai-head-copy {
        grid-area: copy !important;
        min-width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    #tq-ai-counselor .tq-ai-eyebrow {
        display: block !important;
        margin: 0 0 2px !important;
        font-size: 10px !important;
        line-height: 1.1 !important;
        letter-spacing: 1.3px !important;
    }

    #tq-ai-counselor .tq-ai-head-copy h2 {
        margin: 0 !important;
        font-size: 22px !important;
        line-height: 1.05 !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
    }

    #tq-ai-counselor .tq-ai-head-copy p {
        margin: 5px 0 0 !important;
        max-width: 220px !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    /* Available becomes a small inline status */
    #tq-ai-counselor .tq-ai-status {
        position: absolute !important;
        top: 19px !important;
        right: 54px !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        min-width: 0 !important;
        font-size: 10px !important;
        line-height: 1 !important;
    }

    #tq-ai-counselor .tq-ai-status > span {
        margin-right: 4px !important;
    }

    /* Close stays alone in upper-right */
    #tq-ai-counselor .tq-ai-close {
        grid-area: close !important;
        position: static !important;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /*
     * Action row underneath heading.
     * Email and Clear Chat now sit together instead of over title.
     */
    #tq-ai-counselor .tq-ai-email-row {
        grid-area: actions !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
    }

    #tq-ai-counselor .tq-ai-email-chat,
    #tq-ai-counselor .tq-ai-clear-chat {
        position: static !important;
        width: auto !important;
        min-width: 0 !important;
        height: 32px !important;
        padding: 0 11px !important;
        margin: 0 !important;
        border-radius: 8px !important;
        font-size: 11px !important;
        line-height: 30px !important;
        white-space: nowrap !important;
    }

    /* Chat body gets breathing room */
    #tq-ai-counselor .tq-ai-chat {
        padding: 18px !important;
    }

    #tq-ai-counselor .tq-ai-message,
    #tq-ai-counselor [class*="message"] {
        max-width: 100% !important;
    }
}


/* ---------------------------------------------------------
   COLLAPSED LAUNCHER
   Keep compact treatment identical on Community + My Journey.
   --------------------------------------------------------- */

#tq-ai-counselor.tq-ai-counselor.is-collapsed {
    width: 190px !important;
    min-width: 190px !important;
    max-width: 190px !important;
    border-radius: 14px !important;
}

#tq-ai-counselor.is-collapsed .tq-ai-launcher {
    min-height: 64px !important;
    padding: 10px 12px !important;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 768px) {

    #tq-ai-counselor.tq-ai-counselor:not(.is-collapsed) {
        width: calc(100vw - 20px) !important;
        max-width: 390px !important;
        left: 10px !important;
        right: auto !important;
        top: 80px !important;
        bottom: 10px !important;
        border-radius: 16px !important;
    }

    #tq-ai-counselor .tq-ai-head {
        padding: 14px !important;
    }

    #tq-ai-counselor .tq-ai-head-copy h2 {
        font-size: 20px !important;
    }
}


/* =========================================================
   TAQTIK AI COUNSELOR - AUTHORITATIVE OPEN/CLOSED STATES
   Community + My Journey
   2026-09-29
   ========================================================= */

/*
 * CLOSED:
 * show only compact launcher.
 */
#tq-ai-counselor.tq-ai-counselor.is-collapsed .tq-ai-launcher {
    display: flex !important;
}

#tq-ai-counselor.tq-ai-counselor.is-collapsed .tq-ai-head,
#tq-ai-counselor.tq-ai-counselor.is-collapsed .tq-ai-chat,
#tq-ai-counselor.tq-ai-counselor.is-collapsed .tq-ai-starters,
#tq-ai-counselor.tq-ai-counselor.is-collapsed .tq-ai-form,
#tq-ai-counselor.tq-ai-counselor.is-collapsed .tq-ai-email-row {
    display: none !important;
}


/*
 * OPEN:
 * hide launcher completely and show counselor.
 */
#tq-ai-counselor.tq-ai-counselor:not(.is-collapsed) .tq-ai-launcher {
    display: none !important;
}

#tq-ai-counselor.tq-ai-counselor:not(.is-collapsed) .tq-ai-head {
    display: grid !important;
}

#tq-ai-counselor.tq-ai-counselor:not(.is-collapsed) .tq-ai-chat {
    display: block !important;
}

#tq-ai-counselor.tq-ai-counselor:not(.is-collapsed) .tq-ai-starters {
    display: grid !important;
}

#tq-ai-counselor.tq-ai-counselor:not(.is-collapsed) .tq-ai-form {
    display: flex !important;
}

#tq-ai-counselor.tq-ai-counselor:not(.is-collapsed) .tq-ai-email-row {
    display: flex !important;
}


/*
 * Ensure collapsed shell itself doesn't inherit the expanded
 * panel dimensions from earlier overrides.
 */
#tq-ai-counselor.tq-ai-counselor.is-collapsed {
    width: 190px !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
}


/*
 * Expanded shell.
 */
#tq-ai-counselor.tq-ai-counselor:not(.is-collapsed) {
    width: 390px !important;
    height: auto !important;
    overflow: hidden !important;
}

