/*
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;
    }

}
