/* Journey-aware UI — hide gated sections, highlight next step */
.journey-hidden {
    display: none !important;
}

.journey-banner {
    max-width: 900px;
    margin: 1.5rem auto 2rem;
    padding: 1.75rem 1.75rem;
    background: var(--gradient-spiritual, linear-gradient(135deg, #2C3C34 0%, #98A869 100%));
    border-radius: 14px;
    border-left: 4px solid var(--karma-gold, #D4A017);
    text-align: center;
    color: var(--hero-text-on-green, #ffffff);
    box-shadow: 0 8px 28px rgba(44, 60, 52, 0.16);
}

.journey-banner-step {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.journey-banner-headline {
    margin: 0 0 0.75rem;
    font-size: 1.5rem;
    color: var(--hero-text-on-green, #ffffff);
}

.journey-banner-message {
    margin: 0 auto 1.25rem;
    max-width: 560px;
    color: var(--hero-text-muted-on-green, rgba(255, 255, 255, 0.92));
    line-height: 1.65;
    font-size: 1.05rem;
}

.journey-banner-message strong {
    color: var(--hero-text-on-green, #ffffff);
}

.journey-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.journey-banner .btn-primary {
    background: var(--hero-text-on-green, #ffffff);
    color: var(--sage-dark, #2C3C34);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.journey-banner .btn-primary:hover {
    background: var(--neutral-bg, #FAFAF7);
    color: var(--sage-dark, #2C3C34);
}

.journey-banner .btn-outline {
    color: var(--hero-text-on-green, #ffffff);
    border-color: rgba(255, 255, 255, 0.92);
    background: transparent;
}

.journey-banner .btn-outline:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--hero-text-on-green, #ffffff);
    border-color: var(--hero-text-on-green, #ffffff);
}

.journey-dashboard-priority {
    border-left-color: #667eea !important;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.06) 0%, #fff 100%);
}

.journey-compact-note {
    font-size: 0.9rem;
    color: #666;
    margin: 0.5rem 0 0;
}

.journey-dashboard-banner .journey-banner-message strong {
    color: var(--hero-text-on-green, #ffffff);
}

.therapist-care-intro {
    border-left-color: #6c5ce7 !important;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.06) 0%, #fff 100%);
}

.therapist-care-intro h3 {
    margin: 0 0 0.5rem;
}

#action-items-section.journey-dashboard-priority,
#personal-protocol-section.journey-dashboard-priority {
    border-left-color: #6c5ce7 !important;
}

body.journey-has-therapist #prevention-protocol-card {
    order: 4;
}

body.journey-has-therapist #dashboard-content {
    display: flex;
    flex-direction: column;
}

body.journey-has-therapist #therapist-care-intro {
    order: 1;
}

body.journey-has-therapist #journey-banner {
    order: 0;
}

body.journey-has-therapist #action-items-section {
    order: 2;
}

body.journey-has-therapist #personal-protocol-section {
    order: 3;
}

/* —— Wellness lanes (home + lane pages) —— */
.wellness-lanes {
    max-width: 960px;
    margin: 0 auto 2.5rem;
    padding: 0 1rem;
}

.wellness-lanes-title {
    text-align: center;
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    color: #2c5530;
}

.wellness-lanes-sub {
    text-align: center;
    margin: 0 auto 1.5rem;
    max-width: 520px;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.wellness-lanes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.wellness-lane-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 14px;
    border: 1px solid #e6e4de;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.15s;
}

.wellness-lane-card:hover {
    box-shadow: 0 8px 24px rgba(44, 60, 52, 0.1);
    transform: translateY(-2px);
}

.wellness-lane-card-physical {
    border-top: 4px solid #7fb069;
}

.wellness-lane-card-emotional {
    border-top: 4px solid #667eea;
}

.wellness-lane-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    color: #2c5530;
}

.wellness-lane-card p {
    margin: 0 0 1rem;
    flex: 1;
    color: #555;
    line-height: 1.55;
    font-size: 0.98rem;
}

.wellness-lane-cta {
    font-weight: 600;
    color: #667eea;
    font-size: 0.95rem;
}

/* —— Longevity + happiness dimensions (home) —— */
.longevity-dimensions {
    max-width: 1040px;
    margin: 0 auto 2.5rem;
    padding: 0 1rem;
}

.longevity-dimensions-title {
    text-align: center;
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    color: #2c5530;
}

.longevity-dimensions-sub {
    text-align: center;
    margin: 0 auto 1.25rem;
    max-width: 640px;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.longevity-access-note {
    max-width: 640px;
    margin: 0 auto 1.75rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.06) 0%, rgba(127, 176, 105, 0.08) 100%);
    border-radius: 12px;
    border-left: 4px solid #667eea;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}

.longevity-access-note strong {
    color: #2c5530;
}

.longevity-dimensions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.dimension-card {
    display: flex;
    flex-direction: column;
    padding: 1.15rem 1.25rem;
    border-radius: 12px;
    border: 1px solid #e6e4de;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.15s;
    min-height: 100%;
}

.dimension-card:hover {
    box-shadow: 0 6px 20px rgba(44, 60, 52, 0.08);
    transform: translateY(-2px);
}

.dimension-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    color: #2c5530;
}

.dimension-card p {
    margin: 0 0 0.75rem;
    flex: 1;
    color: #555;
    line-height: 1.5;
    font-size: 0.88rem;
}

.dimension-card-cta {
    font-weight: 600;
    font-size: 0.85rem;
    color: #667eea;
}

.dimension-card-physical { border-top: 3px solid #7fb069; }
.dimension-card-emotional { border-top: 3px solid #667eea; }
.dimension-card-cognitive { border-top: 3px solid #5b8def; }
.dimension-card-social { border-top: 3px solid #e07a5f; }
.dimension-card-purpose { border-top: 3px solid #f4a261; }
.dimension-card-financial { border-top: 3px solid #2a9d8f; }
.dimension-card-spiritual { border-top: 3px solid #9b59b6; }
.dimension-card-environmental { border-top: 3px solid #52b788; }

/* —— Eight-dimension wheel (dashboard) —— */
.dimension-wheel-section {
    margin-bottom: 1.5rem;
}

.dimension-wheel-section h3 {
    margin: 0 0 0.35rem;
    color: #2C3C34;
}

.dimension-wheel-section .section-lead {
    margin: 0 0 1.25rem;
    color: #666;
    font-size: 0.92rem;
    line-height: 1.5;
}

.dimension-wheel-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.dimension-wheel-ring {
    position: relative;
    width: 300px;
    height: 300px;
    flex-shrink: 0;
}

.dimension-wheel-hub {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.35);
    z-index: 2;
    padding: 0.5rem;
}

.dimension-wheel-hub-icon {
    font-size: 1.25rem;
    line-height: 1;
    opacity: 0.9;
}

.dimension-wheel-hub-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0.15rem;
}

.dimension-wheel-hub-stat {
    font-size: 0.68rem;
    opacity: 0.92;
    margin-top: 0.1rem;
}

.dimension-wheel-spoke {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 76px;
    height: 76px;
    margin: -38px 0 0 -38px;
    padding: 0.35rem;
    border: 2px solid var(--spoke-color, #98A869);
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    transform: rotate(var(--spoke-angle)) translateY(-118px) rotate(calc(-1 * var(--spoke-angle)));
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 1;
}

.dimension-wheel-spoke--active:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
    transform: rotate(var(--spoke-angle)) translateY(-122px) rotate(calc(-1 * var(--spoke-angle))) scale(1.04);
}

.dimension-wheel-spoke--locked-assessments,
.dimension-wheel-spoke--locked-premium {
    opacity: 0.55;
    background: #f4f4f4;
    border-color: #ccc;
    cursor: not-allowed;
}

.dimension-wheel-spoke-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.dimension-wheel-spoke-label {
    font-size: 0.62rem;
    font-weight: 700;
    color: #2C3C34;
    line-height: 1.1;
}

.dimension-wheel-spoke-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    font-size: 0.75rem;
}

.dimension-wheel-meta {
    flex: 1;
    min-width: 220px;
    max-width: 340px;
}

.dimension-wheel-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
    font-size: 0.88rem;
    color: #555;
}

.dimension-wheel-checklist li {
    padding: 0.35rem 0;
}

.dimension-wheel-checklist li.done {
    color: #2C3C34;
    font-weight: 600;
}

.dimension-wheel-hint {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.55;
}

.dimension-wheel-quicklink {
    margin: 0.75rem 0 0;
}

.dimension-wheel-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(44, 60, 52, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
}

.dimension-wheel-modal-hidden {
    display: none !important;
}

.dimension-wheel-modal {
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem;
    max-width: 420px;
    width: 100%;
    position: relative;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.dimension-wheel-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    border: none;
    background: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #888;
}

.dimension-wheel-modal h4 {
    margin: 0 2rem 0.75rem 0;
    color: #2C3C34;
}

.dimension-wheel-modal p {
    margin: 0 0 1rem;
    color: #555;
    line-height: 1.55;
    font-size: 0.92rem;
}

.dimension-wheel-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

@media (max-width: 640px) {
    .dimension-wheel-ring {
        width: 260px;
        height: 260px;
    }
    .dimension-wheel-spoke {
        width: 64px;
        height: 64px;
        margin: -32px 0 0 -32px;
        transform: rotate(var(--spoke-angle)) translateY(-100px) rotate(calc(-1 * var(--spoke-angle)));
    }
    .dimension-wheel-spoke--active:hover {
        transform: rotate(var(--spoke-angle)) translateY(-102px) rotate(calc(-1 * var(--spoke-angle))) scale(1.03);
    }
    .dimension-wheel-hub {
        width: 92px;
        height: 92px;
    }
}

.lane-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
}

.lane-hero {
    text-align: center;
    padding: 2rem 1rem 1.5rem;
    border-radius: 14px;
    margin-bottom: 1.5rem;
}

.lane-hero-physical {
    background: linear-gradient(135deg, rgba(127, 176, 105, 0.12) 0%, rgba(248, 246, 240, 1) 100%);
}

.lane-hero-emotional {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(248, 246, 240, 1) 100%);
}

.lane-eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #667eea;
}

.lane-hero h1 {
    margin: 0 0 0.75rem;
    font-size: 2rem;
    color: #2c5530;
}

.lane-lead {
    margin: 0 auto;
    max-width: 560px;
    color: #555;
    line-height: 1.65;
    font-size: 1.05rem;
}

.lane-actions {
    display: grid;
    gap: 1rem;
}

.lane-action-card {
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: 1px solid #e6e4de;
    border-radius: 12px;
    border-left: 4px solid #98a869;
}

.lane-action-card h2 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: #2c5530;
}

.lane-action-card p {
    margin: 0 0 1rem;
    color: #555;
    line-height: 1.55;
}

.lane-action-card .btn {
    margin-right: 0.5rem;
}

.lane-action-card-muted {
    border-left-color: #c5c9e0 !important;
    background: #fafaf8;
}

/* —— Explore dropdown (desktop nav) —— */
.nav-explore-group {
    position: relative;
}

.nav-explore-toggle {
    background: transparent;
    border: 1px solid rgba(44, 60, 52, 0.2);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.9rem;
    cursor: pointer;
    color: #2c5530;
}

.nav-explore-toggle:hover {
    background: rgba(152, 168, 105, 0.15);
}

.nav-explore-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 240px;
    max-height: 70vh;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e6e4de;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    z-index: 200;
    padding: 0.35rem 0;
}

.nav-explore-group.open .nav-explore-menu {
    display: block;
}

.nav-explore-item {
    display: block;
    padding: 0.5rem 1rem;
    color: #2c5530;
    text-decoration: none;
    font-size: 0.9rem;
}

.nav-explore-item:hover {
    background: #f8f6f0;
}

.nav-lane-physical.active {
    border-bottom: 2px solid #7fb069;
}

.nav-lane-emotional.active {
    border-bottom: 2px solid #667eea;
}

/* —— 247jeeves concierge —— */
.concierge-247-fab {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #667eea 0%, #6c5ce7 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.45);
}

.concierge-247-fab:hover {
    filter: brightness(1.05);
}

.concierge-247-fab-icon {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.concierge-247-panel {
    display: none;
    position: fixed;
    bottom: 4.5rem;
    right: 1.25rem;
    z-index: 901;
    width: min(340px, calc(100vw - 2rem));
    background: #fff;
    border: 1px solid #e6e4de;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    padding: 1rem 1.15rem 1.15rem;
}

.concierge-247-panel.open {
    display: block;
}

.concierge-247-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.concierge-247-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6c5ce7;
}

.concierge-247-close {
    background: none;
    border: none;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    color: #888;
    padding: 0 0.25rem;
}

.concierge-247-sub {
    margin: 0 0 0.5rem;
    font-size: 0.8rem;
    color: #888;
    text-transform: capitalize;
}

.concierge-247-headline {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
    color: #2c5530;
}

.concierge-247-tips {
    margin: 0 0 0.75rem;
    padding-left: 1.15rem;
    color: #555;
    line-height: 1.55;
    font-size: 0.92rem;
}

.concierge-247-tips a {
    color: #667eea;
    text-decoration: none;
}

.concierge-247-tips a:hover {
    text-decoration: underline;
}

.concierge-247-foot {
    margin: 0.75rem 0 0;
    font-size: 0.78rem;
    color: #999;
    line-height: 1.4;
}

.concierge-247-therapist-note {
    margin: 0 0 0.5rem;
    padding: 0.5rem 0.65rem;
    font-size: 0.82rem;
    color: #555;
    background: rgba(108, 92, 231, 0.08);
    border-radius: 8px;
    line-height: 1.45;
}

.concierge-247-ask {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eceae4;
}

.concierge-247-ask-label {
    display: block;
    margin: 0 0 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c5530;
}

.concierge-247-input {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0.5rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
    min-height: 4.5rem;
}

.concierge-247-input:focus {
    outline: 2px solid rgba(102, 126, 234, 0.35);
    border-color: #667eea;
}

.concierge-247-submit {
    width: 100%;
}

.concierge-247-answer {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: #f8f6f0;
    border-radius: 10px;
    border-left: 3px solid #667eea;
    max-height: 220px;
    overflow-y: auto;
}

.concierge-247-answer-label {
    margin: 0 0 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c5ce7;
}

.concierge-247-answer-text {
    margin: 0;
    font-size: 0.88rem;
    color: #333;
    line-height: 1.55;
}

.concierge-247-answer-p {
    margin: 0.5rem 0 0;
}

.concierge-247-sources-label {
    margin: 0.65rem 0 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
}

.concierge-247-sources {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.78rem;
    color: #666;
    line-height: 1.4;
}

.concierge-247-loading {
    margin: 0;
    font-size: 0.88rem;
    color: #667eea;
}

.concierge-247-answer-error {
    margin: 0;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.5;
}

.concierge-247-mode-toggle {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    align-items: center;
    margin: 0.75rem 0;
}

.concierge-247-mode-note {
    font-size: 0.75rem;
    color: #777;
}

.concierge-voice-panel {
    margin: 0.75rem 0 1rem;
    padding: 0.75rem;
    border: 1px solid #E6E4DE;
    border-radius: 12px;
    background: #F8F6F0;
}

.concierge-voice-assessment-link {
    margin: 0 0 0.75rem;
    font-size: 0.88rem;
}

.concierge-voice-assessment-link a {
    color: #2C3C34;
    font-weight: 600;
}

.concierge-voice-status {
    font-size: 0.88rem;
    color: #2C3C34;
    margin-bottom: 0.75rem;
}

.concierge-voice-transcript {
    max-height: 160px;
    overflow-y: auto;
    margin-bottom: 0.75rem;
}

.concierge-voice-msg {
    max-width: 92%;
    padding: 0.55rem 0.8rem;
    border-radius: 10px;
    margin-bottom: 0.45rem;
    font-size: 0.86rem;
    line-height: 1.4;
}

.concierge-voice-msg-assistant {
    background: #fff;
    border: 1px solid #E6E4DE;
}

.concierge-voice-msg-user {
    background: #2C3C34;
    color: #fff;
    margin-left: auto;
}

.concierge-voice-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.concierge-voice-mic-btn.listening {
    box-shadow: 0 0 0 3px rgba(152, 168, 105, 0.35);
}

@media (max-width: 768px) {
    .nav-desktop-only {
        display: none !important;
    }

    .concierge-247-fab-label {
        display: none;
    }

    .concierge-247-fab {
        padding: 0.75rem;
        border-radius: 50%;
        width: 52px;
        height: 52px;
        justify-content: center;
    }
}

.assessment-proxy-banner {
    background: linear-gradient(135deg, #e8f4fd 0%, #eef2e4 100%);
    border: 2px solid #667eea;
    border-radius: 12px;
    margin: 0 1rem 1rem;
    padding: 0.85rem 1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.assessment-proxy-banner-error {
    background: #fff5f5;
    border-color: #e74c3c;
}

.assessment-proxy-banner-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.assessment-proxy-banner-text {
    flex: 1 1 220px;
    color: #2c3c34;
    font-size: 0.95rem;
    line-height: 1.45;
}

.assessment-proxy-banner-icon {
    font-size: 1.35rem;
}
