/* ============================================
   CLARITY APP - Premium Design System
   Notion × Calm × Oura aesthetic
   Generous whitespace, warm but professional
   ============================================ */

:root {
    /* Brand Colors */
    --brand-primary: #418F6F;           /* Sage green - CTAs, active states */
    --brand-soft: #E8F2ED;              /* Soft backgrounds, icon containers */
    --brand-deep-forest: hsl(156 40% 18%);  /* Deep forest for premium buttons */

    /* Backgrounds */
    --background: #F7FAF8;              /* Page background (cream) */
    --card-bg: #FFFFFF;                 /* Card backgrounds */
    --card-border: #DEE3E0;             /* Card borders */

    /* Text Colors */
    --text-primary: #222A26;            /* Primary text, headings */
    --text-secondary: #656D69;          /* Secondary text, descriptions */
    --text-muted: #9CA3AF;              /* Muted text */

    /* Tag Colors */
    --tag-bg: #E5F0EA;                  /* Tag background */
    --tag-text: #406B57;                /* Tag text */
    --tag-border: #406B57;              /* Tag border (for outlined) */

    /* Legacy compatibility */
    --sage-green: #418F6F;
    --sage-50: #F0F4F2;
    --sage-100: #E1E9E5;
    --sage-200: #C7D6CE;
    --sage-300: #9DB3A8;
    --sage-600: #406B57;
    --sage-700: #1A2B22;
    --cream: #F7FAF8;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --coral: #E07A5F;
    --coral-50: #FEF5F3;

    /* Typography Families */
    --font-display: 'Plus Jakarta Sans', sans-serif;  /* Headlines, page titles, app name */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;  /* Body, labels, buttons */
    --font-serif: 'Plus Jakarta Sans', sans-serif;  /* Legacy compatibility - mapped to display */
    --font-heading: 'Plus Jakarta Sans', sans-serif;  /* Legacy compatibility - mapped to display */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;  /* Legacy compatibility */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;  /* Legacy compatibility */

    /* Font Sizes - Premium Scale */
    --text-caption: 0.75rem;     /* 12px - Caption */
    --text-label: 0.875rem;      /* 14px - Label */
    --text-body: 1rem;           /* 16px - Body */
    --text-subtitle: 1.25rem;    /* 20px - Subtitle */
    --text-h2: 1.375rem;         /* 22px - H2 */
    --text-h1: 2rem;             /* 32px - H1 */

    /* Legacy font sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.75rem;
    --text-3xl: 2rem;

    /* Spacing - Generous Scale */
    --spacing-xs: 0.5rem;        /* 8px */
    --spacing-sm: 0.75rem;       /* 12px */
    --spacing-md: 1rem;          /* 16px */
    --spacing-lg: 1.5rem;        /* 24px */
    --spacing-xl: 2rem;          /* 32px */
    --spacing-2xl: 3rem;         /* 48px */
    --spacing-card: 1.5rem;      /* 24px - Card padding */

    /* Border Radius - Calm Polish */
    --radius-card: 20px;         /* Cards */
    --radius-btn: 14px;          /* Buttons */
    --radius-input: 12px;        /* Inputs */
    --radius-modal: 24px;        /* Modals */
    --radius-icon: 12px;         /* Icon containers */
    --radius-tag: 14px;          /* Tags/pills */
    --radius-glass: 24px;        /* Glass cards */

    /* Legacy radius */
    --radius-button: 14px;       /* Legacy - mapped to btn */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 100px;

    /* Shadows - Calm, Subtle */
    --shadow-card: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.05);
    --shadow-card-active: 0 1px 2px rgba(0,0,0,0.04), 0 6px 16px rgba(0,0,0,0.08);
    --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-button: 0 10px 15px -3px hsla(156, 40%, 18%, 0.25);
    --shadow-glass: 0 4px 24px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02);

    /* Legacy shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.06), 0 12px 32px rgba(0, 0, 0, 0.07);

    /* Spacing - Calm Generous */
    --pad-page: 28px;
    --gap-section: 44px;

    /* Transitions - Calm Motion */
    --transition-fast: 150ms ease-out;
    --transition-normal: 200ms ease-out;
    --transition-base: 200ms ease-out;
}

/* ============================================
   BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    min-height: 100vh;
}

body {
    font-family: var(--font-body);
    background: var(--background);
    color: var(--text-secondary);
    font-size: var(--text-body);
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Calm Motion - Page Transitions */
.page {
    animation: fadeIn var(--transition-normal);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

#app {
    display: block !important;
    min-height: 100vh !important;
    width: 100% !important;
}

/* Typography Scale - Premium */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 {
    font-size: var(--text-h1);
    font-weight: 700;
}

h2 {
    font-size: var(--text-h2);
    font-weight: 600;
}

h3 {
    font-size: var(--text-subtitle);
    font-weight: 600;
}

h4 {
    font-size: var(--text-body);
    font-weight: 600;
}

p, li {
    line-height: 1.55;
}

/* Text utility classes */
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-md { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }

.text-muted { color: var(--gray-500); }
.text-center { text-align: center; }

/* Clarified Icon */
.clarity-icon {
    display: inline-block;
    flex-shrink: 0;
}

.clarity-icon-large {
    width: 32px;
    height: 32px;
    margin-bottom: var(--spacing-md);
}

.clarity-icon-nav {
    width: 20px;
    height: 20px;
}

.clarity-icon-sm {
    width: 16px;
    height: 16px;
}

/* ============================================
   PREMIUM COMPONENT SYSTEM
   ============================================ */

/* CARD COMPONENTS */

/* Card - Default variant */
.card-premium {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-card);
    padding: var(--spacing-card);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
}

/* Card - Interactive variant */
.card-premium-interactive {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-card);
    padding: var(--spacing-card);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    cursor: pointer;
}

.card-premium-interactive:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-primary);
}

/* Card - Glass variant */
.card-premium-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(222, 227, 224, 0.5);
    border-radius: var(--radius-glass);
    padding: var(--spacing-card);
    box-shadow: var(--shadow-glass);
    transition: all var(--transition-base);
}

/* BUTTON COMPONENTS */

/* Button - Primary variant */
.btn-premium {
    height: 52px;
    padding: 0 1.5rem;
    background: var(--brand-deep-forest);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: var(--text-label);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-button);
    box-shadow: var(--shadow-button);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -3px hsla(156, 40%, 18%, 0.35);
}

.btn-premium:active {
    transform: translateY(0);
}

/* Button - Secondary variant (glass) */
.btn-premium-secondary {
    height: 52px;
    padding: 0 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: var(--text-label);
    font-weight: 600;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-button);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-premium-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-primary);
}

/* Button - Ghost variant */
.btn-premium-ghost {
    height: 36px;
    padding: 0 0.75rem;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: var(--text-label);
    font-weight: 500;
    border: none;
    border-radius: var(--radius-button);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-premium-ghost:hover {
    background: var(--brand-soft);
    color: var(--brand-primary);
}

/* Button - Outline variant */
.btn-premium-outline {
    height: 52px;
    padding: 0 1.5rem;
    background: var(--card-bg);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: var(--text-label);
    font-weight: 600;
    border: 1px solid #E3E8E5;
    border-radius: var(--radius-button);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-premium-outline:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-hover);
}

/* BADGE/TAG COMPONENTS */

/* Badge - Outlined variant */
.badge-premium-outlined {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--tag-border);
    color: var(--tag-text);
    background: transparent;
    border-radius: var(--radius-tag);
    font-size: var(--text-label);
    font-weight: 500;
    white-space: nowrap;
}

/* Badge - Filled variant */
.badge-premium-filled {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.875rem;
    background: var(--tag-bg);
    color: var(--tag-text);
    border-radius: var(--radius-tag);
    font-size: var(--text-label);
    font-weight: 500;
    white-space: nowrap;
}

/* ICON CONTAINER COMPONENT */
.icon-container-premium {
    width: 40px;
    height: 40px;
    background: var(--brand-soft);
    border-radius: var(--radius-icon);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-container-premium svg {
    width: 20px;
    height: 20px;
    color: var(--brand-primary);
}

.icon-container-premium-lg {
    width: 48px;
    height: 48px;
    background: var(--brand-soft);
    border-radius: var(--radius-icon);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-container-premium-lg svg {
    width: 24px;
    height: 24px;
    color: var(--brand-primary);
}

/* INPUT COMPONENTS */

/* Input - Default variant */
.input-premium {
    height: 40px;
    width: 100%;
    padding: 0 0.75rem;
    background: var(--background);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-input);
    font-family: var(--font-body);
    font-size: var(--text-body);
    color: var(--text-primary);
    transition: all var(--transition-base);
}

.input-premium:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(65, 143, 111, 0.15);
}

/* Input - Premium variant (glass effect) */
.input-premium-glass {
    height: 40px;
    width: 100%;
    padding: 0 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-input);
    font-family: var(--font-body);
    font-size: var(--text-body);
    color: var(--text-primary);
    transition: all var(--transition-base);
}

.input-premium-glass:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(65, 143, 111, 0.15), var(--shadow-hover);
}

/* Textarea variant */
.textarea-premium {
    width: 100%;
    padding: 0.75rem;
    background: var(--background);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-input);
    font-family: var(--font-body);
    font-size: var(--text-body);
    color: var(--text-primary);
    line-height: 1.6;
    resize: vertical;
    min-height: 100px;
    transition: all var(--transition-base);
}

.textarea-premium:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(65, 143, 111, 0.15);
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
    background: var(--cream);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 60px;
    padding-top: 1rem;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

@media (min-width: 768px) {
    .nav-container {
        padding: 0 var(--spacing-2xl);
    }
}

.nav-logo,
.nav-logo:hover,
.nav-logo:visited,
.nav-logo:active {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

.logo-dot {
    flex-shrink: 0;
}

.logo-wordmark {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--sage-green);
    letter-spacing: -0.01em;
    line-height: 1;
}

.nav-links {
    display: flex;
    gap: var(--spacing-xl);
    align-items: center;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    text-decoration: none;
    color: var(--gray-500);
    font-weight: 500;
    font-size: var(--text-sm);
    transition: color 200ms ease;
    position: relative;
}

.nav-link svg {
    stroke: var(--text-secondary);
    flex-shrink: 0;
    transition: stroke var(--transition-base);
}

.nav-link:hover {
    color: var(--gray-900);
}

.nav-link:hover svg {
    stroke: var(--brand-primary);
}

.nav-link.active {
    color: var(--sage-green);
    font-weight: 600;
}

.nav-link.active svg {
    stroke: var(--brand-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--sage-green);
    border-radius: 2px;
}

/* Icon-only nav link (Account) */
.nav-link.nav-icon {
    padding: 8px;
    border-radius: 50%;
    border: none;
    outline: none;
    background: none;
    transition: background-color 200ms ease;
}

.nav-link.nav-icon:hover {
    background-color: var(--sage-50);
}

.nav-link.nav-icon.active::after {
    display: none;
}

.nav-link.nav-icon svg {
    width: 24px;
    height: 24px;
}

/* Decision Type Selection Page Navigation */
.decision-nav {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: var(--spacing-md) 0;
}

.decision-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 768px) {
    .decision-nav-container {
        padding: 0 var(--spacing-2xl);
    }
}

.decision-nav-logo {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--sage-green);
    letter-spacing: -0.01em;
}

.decision-nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.decision-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--gray-500);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 200ms ease;
}

.decision-nav-link:hover {
    background: var(--gray-50);
    color: var(--gray-900);
}

.decision-nav-link svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   PAGE CONTAINER
   ============================================ */

.page {
    display: none;
}

.page.active {
    display: block !important;
    min-height: 100vh !important;
    width: 100% !important;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--spacing-lg);
}

@media (min-width: 768px) {
    .container {
        padding: var(--spacing-2xl);
    }
}

.container-wide {
    max-width: 900px;
}

.page-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-md);
    text-align: center;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .page-title {
        font-size: 1.75rem;
    }
}

/* ============================================
   LOGIN PAGE
   ============================================ */

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.login-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-2xl);
    max-width: 400px;
    width: 100%;
}

@media (min-width: 768px) {
    .login-box {
        max-width: 420px;
        padding: var(--spacing-2xl) var(--spacing-xl);
    }
}

.logo-large {
    font-size: var(--text-3xl);
    font-weight: 600;
    color: var(--sage-green);
    text-align: center;
    margin-top: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.logo-dot-large {
    display: block;
    margin: 0 auto;
}

.tagline {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
    font-size: 0.95rem;
}

.login-form {
    margin-bottom: var(--spacing-lg);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: var(--spacing-xs);
    font-size: 0.9rem;
}

.input {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    color: var(--gray-800);
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.input::placeholder {
    color: var(--gray-400);
}

.input:focus {
    outline: none;
    border-color: var(--sage-green);
    box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.08);
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.link {
    color: var(--sage-green);
    text-decoration: none;
    font-weight: 500;
}

.link:hover {
    text-decoration: underline;
}

.link-muted {
    color: #6B7280;
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: 500;
}

.link-muted:hover {
    color: #4B5563;
    text-decoration: underline;
}

.divider {
    position: relative;
    text-align: center;
    margin: var(--spacing-lg) 0;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: var(--gray-300);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.divider span {
    background: var(--white);
    padding: 0 var(--spacing-sm);
    color: var(--gray-400);
    font-size: 0.85rem;
}

.login-footer {
    text-align: center;
    margin-top: var(--spacing-xl);
    color: var(--gray-400);
    font-size: var(--text-sm);
}

/* ============================================
   PREMIUM TOP NAVIGATION
   ============================================ */

.top-nav-premium {
    background: var(--card-bg);
    border-bottom: 1px solid var(--card-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-nav-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: var(--text-subtitle);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.top-nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.top-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: var(--text-label);
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-button);
    transition: all var(--transition-base);
}

.top-nav-link svg {
    stroke: var(--text-secondary);
    flex-shrink: 0;
    transition: stroke var(--transition-base);
}

.top-nav-link span {
    display: none;
}

@media (min-width: 640px) {
    .top-nav-link span {
        display: inline;
    }
}

.top-nav-link:hover {
    background: var(--brand-soft);
    color: var(--brand-primary);
}

.top-nav-link:hover svg {
    stroke: var(--brand-primary);
}

.top-nav-link.active {
    background: var(--brand-soft);
    color: var(--brand-primary);
}

.top-nav-link.active svg {
    stroke: var(--brand-primary);
}

/* ============================================
   PREMIUM CONTAINERS & PAGE HEADERS
   ============================================ */

.container-premium {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem var(--spacing-lg) 4rem var(--spacing-lg);
}

@media (min-width: 768px) {
    .container-premium {
        padding: 3rem var(--spacing-2xl) 6rem var(--spacing-2xl);
    }
}

.page-header-premium {
    margin-bottom: 2rem;
}

.page-header-premium h1 {
    font-family: var(--font-heading);
    font-size: var(--text-h1);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-header-premium p {
    font-family: var(--font-body);
    font-size: var(--text-body);
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============================================
   DECISION TYPE SELECTION - PREMIUM
   ============================================ */

.decision-type-grid-premium {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.decision-type-card-premium {
    cursor: pointer;
    position: relative;
}

/* Standard card - simple, accessible */
.decision-card-standard {
    /* Uses default card-premium-interactive styles */
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.decision-card-standard:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Featured card - Deep Clarity - PRIMARY OPTION */
.decision-card-featured {
    background: #F7FAF8; /* Subtle sage tint - more visible than before */
    border-left: 4px solid var(--brand-primary);
    box-shadow: 0 4px 16px rgba(65, 143, 111, 0.12); /* Stronger shadow */
    padding: 1.75rem; /* Slightly more padding than standard */
    transform: scale(1.02); /* Subtle scale to make it stand out */
}

.decision-card-featured:hover {
    box-shadow: 0 8px 28px rgba(65, 143, 111, 0.18); /* Even stronger on hover */
    border-left-color: var(--brand-deep-forest);
    transform: scale(1.02); /* Maintain scale on hover */
}

/* Micro label for featured card */
.decision-card-micro-label {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-primary);
    margin-bottom: 0.75rem;
}

.decision-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.decision-card-header h2 {
    flex: 1;
    font-family: var(--font-heading);
    font-size: var(--text-subtitle);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.chevron-icon {
    color: var(--text-secondary);
    flex-shrink: 0;
    transition: transform var(--transition-base), color var(--transition-base);
}

.decision-type-card-premium:hover .chevron-icon {
    transform: translateX(4px);
    color: var(--brand-primary);
}

.decision-card-tagline {
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: 500;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.decision-card-description {
    font-family: var(--font-body);
    font-size: var(--text-body);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.decision-card-divider {
    height: 1px;
    background: var(--card-border);
    margin-bottom: 1rem;
}

.decision-card-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.decision-card-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: var(--text-label);
    color: var(--text-secondary);
}

.decision-card-features li svg {
    flex-shrink: 0;
    color: var(--brand-primary);
    margin-top: 0.125rem;
}

.decision-card-features li.feature-pricing {
    color: var(--text-secondary);
    font-style: italic;
}

/* ============================================
   DECISION TYPE SELECTION - SIMPLE
   ============================================ */

.decision-type-grid-simple {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.decision-type-card-simple {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
}

.decision-type-card-simple:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--brand-primary);
}

/* Life card - featured/prominent styling */
.decision-card-life {
    background: linear-gradient(to bottom, rgba(232, 242, 237, 0.3), white);
    border-left: 4px solid var(--brand-primary);
    box-shadow: 0 2px 8px rgba(65, 143, 111, 0.12);
}

.decision-card-life:hover {
    box-shadow: 0 6px 16px rgba(65, 143, 111, 0.18);
}

.decision-card-icon-simple {
    width: 40px;
    height: 40px;
    background: var(--brand-soft);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.decision-card-icon-simple svg {
    color: var(--brand-primary);
}

.decision-card-title-simple {
    font-family: var(--font-heading);
    font-size: var(--text-subtitle);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.decision-card-description-simple {
    font-family: var(--font-body);
    font-size: var(--text-body);
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.decision-card-duration {
    font-family: var(--font-body);
    font-size: var(--text-label);
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.duration-icon {
    flex-shrink: 0;
    opacity: 0.6;
}

/* "Most popular" badge */
.decision-card-badge-popular {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--brand-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.decision-card-locked {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-200);
}

/* Mobile: Stack cards vertically */
@media (max-width: 768px) {
    .decision-type-grid-simple {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   LOCK ICONS & LOCKED STATES
   ============================================ */

.lock-icon {
    color: var(--text-tertiary);
    flex-shrink: 0;
}

.locked-text {
    font-family: var(--font-body);
    font-size: var(--text-label);
    color: var(--text-secondary);
}

.locked-link {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-base);
}

.locked-link:hover {
    color: var(--brand-deep-forest);
    text-decoration: underline;
}

.locked-banner {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.locked-banner-icon {
    color: var(--text-tertiary);
    flex-shrink: 0;
}

.locked-banner-content {
    flex: 1;
}

.locked-banner-title {
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.locked-banner-description {
    font-family: var(--font-body);
    font-size: var(--text-label);
    color: var(--text-secondary);
    margin: 0;
}

.locked-banner-action {
    flex-shrink: 0;
}

.outcome-locked {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    margin-top: 0.75rem;
}

/* ============================================
   PRO BANNER - PREMIUM
   ============================================ */

.pro-banner-premium {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-left: 4px solid var(--brand-primary);
    border-radius: var(--radius-card);
    padding: var(--spacing-card);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-card);
}

.pro-banner-icon {
    width: 40px;
    height: 40px;
    background: var(--brand-soft);
    border-radius: var(--radius-icon);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pro-banner-icon svg {
    color: var(--brand-primary);
}

.pro-banner-content {
    flex: 1;
}

.pro-banner-title {
    font-family: var(--font-heading);
    font-size: var(--text-body);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.pro-banner-description {
    font-family: var(--font-body);
    font-size: var(--text-label);
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.pro-banner-link {
    font-family: var(--font-body);
    font-size: var(--text-label);
    font-weight: 600;
    color: var(--brand-primary);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--transition-base);
}

.pro-banner-link:hover {
    color: var(--brand-deep-forest);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: var(--spacing-md) var(--spacing-lg);
    min-height: 48px;
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 200ms ease;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--sage-green);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--sage-600);
    box-shadow: var(--shadow-md);
}

.btn-primary:active {
    background: var(--sage-700);
}

.btn-secondary {
    background: var(--white);
    color: var(--sage-green);
    border: 2px solid var(--sage-green);
}

.btn-secondary:hover {
    background: var(--sage-50);
}

.btn-outline {
    background: var(--white);
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}

.btn-outline:hover {
    border-color: var(--sage-green);
    color: var(--sage-green);
    background: var(--sage-50);
}

.btn-text {
    background: transparent;
    color: var(--sage-green);
    padding: var(--spacing-sm) var(--spacing-md);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.btn-text:hover {
    color: var(--sage-700);
    text-decoration: underline;
}

.btn-full {
    width: 100%;
}

.btn-lg {
    min-height: 56px;
    font-size: var(--text-lg);
}

/* ============================================
   DECISION TYPE SELECTION
   ============================================ */

.page-subtitle {
    text-align: center;
    color: var(--gray-600);
    font-size: 1rem;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

.decision-type-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    max-width: 600px;
    margin: 0 auto;
}

.decision-type-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    position: relative;
    cursor: pointer;
    transition: all 200ms ease;
    border: 2px solid var(--gray-200);
}

.decision-type-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border-color: var(--sage-green);
}

/* Card Row 1: Icon + Title + Badge + Chevron */
.card-row-1 {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.decision-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quick-icon {
    background: #E8F5E9;
    color: #2D4A3E;
}

.deep-icon {
    background: #E8F5E9;
    color: #2D4A3E;
}

.card-title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
    flex-grow: 1;
}

/* Outlined badge style */
.card-badge-outlined {
    border: 1px solid var(--sage-600);
    color: var(--sage-700);
    background: transparent;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    white-space: nowrap;
}

.card-chevron {
    color: var(--gray-400);
    flex-shrink: 0;
    margin-left: auto;
}

/* Card subtitle (sage green) */
.card-subtitle {
    color: var(--sage-600);
    font-size: var(--text-base);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
}

/* Card description (gray) */
.card-description {
    color: var(--gray-500);
    font-size: var(--text-sm);
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

/* Card divider */
.card-divider {
    height: 1px;
    background: var(--gray-200);
    margin-bottom: var(--spacing-md);
}

/* Old badge styles - keep for backward compatibility */
.card-badge {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.free-badge {
    background: #E8F5E9;
    color: #2D4A3E;
}

.limited-badge {
    background: #FEF3E7;
    color: #F39C12;
}

.badge-pro {
    background: linear-gradient(135deg, var(--sage-green), var(--sage-light));
}

.card-features {
    list-style: none;
    margin: 0;
}

.card-features li {
    padding: var(--spacing-xs) 0;
    color: var(--gray-700);
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--sage-green);
    font-weight: 700;
    font-size: 1rem;
}

.card-pro {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.pro-upsell-card {
    background: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.pro-upsell-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    justify-content: space-between;
}

.pro-icon-square {
    width: 40px;
    height: 40px;
    background: var(--sage-600);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

/* Legacy pro-icon style for backward compatibility */
.pro-icon {
    width: 40px;
    height: 40px;
    background: var(--sage-600);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.pro-text {
    flex: 1;
}

.pro-title {
    font-size: 1rem;
    color: var(--gray-900);
    margin: 0;
}

.pro-description {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0.25rem 0 0 0;
}

@media (max-width: 768px) {
    .pro-upsell-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   DASHBOARD
   ============================================ */

.container-wide {
    max-width: 1200px;
}

.dashboard-header {
    margin-bottom: var(--spacing-xl);
    text-align: left;
}

.dashboard-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
    line-height: 1.2;
}

.dashboard-subtitle {
    color: var(--gray-500);
    font-size: 0.95rem;
    font-weight: 400;
}

/* Section Labels */
.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-md);
}

/* Alert Cards */
.alert-card {
    background: #FEF8F3;
    border-radius: var(--radius-md);
    padding: var(--spacing-2xl);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.alert-needs-attention {
    background: #FEF3F0;
    border: none;
}

.alert-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alert-icon svg {
    stroke: #E07A5F;
}

.alert-content {
    flex: 1;
}

.alert-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-xs);
}

.alert-text {
    color: var(--gray-800);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: var(--spacing-sm);
}

.alert-link {
    color: var(--sage-green);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.alert-link:hover {
    text-decoration: underline;
}

.alert-urgent {
    border-left: 4px solid var(--coral);
    background: var(--coral-50);
}

.alert-warning {
    border-left: 4px solid var(--sage-green);
}

.btn-sm {
    padding: 0.5rem var(--spacing-md);
    font-size: 0.9rem;
}

.btn-lg {
    padding: 1rem var(--spacing-lg);
    font-size: 1.125rem;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    border: none;
    transition: box-shadow 200ms ease, transform 200ms ease;
}

.card:hover {
    box-shadow: var(--shadow-hover);
}

.card-heading {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--gray-900);
    letter-spacing: -0.01em;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.link-small {
    color: var(--sage-green);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.link-small:hover {
    text-decoration: underline;
}

.insight-card {
    background: #F0F4F2;
    padding: var(--spacing-2xl);
    border: none;
}

.insight-icon {
    width: 20px;
    height: 20px;
    margin-bottom: var(--spacing-sm);
}

.insight-icon svg {
    stroke: var(--sage-green);
}

.insight-heading {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-md);
}

.insight-text {
    color: var(--gray-800);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

@media (min-width: 768px) {
    .metrics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.metric-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-100);
    transition: all 200ms ease;
}

.metric-card:hover {
    border-color: var(--gray-200);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.metric-icon {
    width: 16px;
    height: 16px;
    margin-bottom: var(--spacing-xs);
}

.metric-icon svg {
    stroke: var(--gray-400);
}

.metric-label {
    font-size: 0.7rem;
    color: var(--gray-500);
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.metric-value {
    font-size: 2rem;
    font-weight: 600;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-xs);
    line-height: 1;
}

.metric-denominator {
    font-size: 1rem;
    color: var(--gray-500);
    font-weight: 500;
}

.metric-trend {
    font-size: 1rem;
    color: var(--sage-green);
    margin-left: 4px;
}

.metric-subtext {
    font-size: 0.8rem;
    color: var(--gray-500);
    line-height: 1.4;
    margin-top: var(--spacing-xs);
}

.metric-value-text {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--gray-700);
    line-height: 1.4;
    margin-top: var(--spacing-xs);
}

.progress-bar-mini {
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    margin-top: var(--spacing-sm);
    overflow: hidden;
}

.progress-fill-mini {
    height: 100%;
    background: var(--sage-green);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Streak Card Enhancements */
.streak-card {
    position: relative;
    overflow: hidden;
}

.streak-flame {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
    animation: flamePulse 2s ease-in-out infinite;
}

@keyframes flamePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

.streak-number {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: var(--spacing-xs);
}

.streak-value {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
}

.streak-days {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-600);
}

/* Dynamic streak colors based on data-streak attribute */
.streak-card[data-streak="1"],
.streak-card[data-streak="2"] {
    background: linear-gradient(135deg, #fff5f0 0%, #ffffff 100%);
    border-color: #ffddcc;
}

.streak-card[data-streak="1"] .streak-value,
.streak-card[data-streak="2"] .streak-value {
    color: #ff6b35;
}

.streak-card[data-streak="3"],
.streak-card[data-streak="4"],
.streak-card[data-streak="5"],
.streak-card[data-streak="6"] {
    background: linear-gradient(135deg, #fff0e6 0%, #ffffff 100%);
    border-color: #ffbb99;
}

.streak-card[data-streak="3"] .streak-value,
.streak-card[data-streak="4"] .streak-value,
.streak-card[data-streak="5"] .streak-value,
.streak-card[data-streak="6"] .streak-value {
    color: #ff4500;
}

.streak-card[data-streak="7"],
.streak-card[data-streak="8"],
.streak-card[data-streak="9"],
.streak-card[data-streak="10"],
.streak-card[data-streak="11"],
.streak-card[data-streak="12"],
.streak-card[data-streak="13"],
.streak-card[data-streak="14"],
.streak-card[data-streak="15"],
.streak-card[data-streak="16"],
.streak-card[data-streak="17"],
.streak-card[data-streak="18"],
.streak-card[data-streak="19"],
.streak-card[data-streak="20"],
.streak-card[data-streak="21"],
.streak-card[data-streak="22"],
.streak-card[data-streak="23"],
.streak-card[data-streak="24"],
.streak-card[data-streak="25"],
.streak-card[data-streak="26"],
.streak-card[data-streak="27"],
.streak-card[data-streak="28"],
.streak-card[data-streak="29"] {
    background: linear-gradient(135deg, #ffe6e6 0%, #ffffff 100%);
    border-color: #ff9999;
}

.streak-card[data-streak="7"] .streak-value,
.streak-card[data-streak="8"] .streak-value,
.streak-card[data-streak="9"] .streak-value,
.streak-card[data-streak="10"] .streak-value,
.streak-card[data-streak="11"] .streak-value,
.streak-card[data-streak="12"] .streak-value,
.streak-card[data-streak="13"] .streak-value,
.streak-card[data-streak="14"] .streak-value,
.streak-card[data-streak="15"] .streak-value,
.streak-card[data-streak="16"] .streak-value,
.streak-card[data-streak="17"] .streak-value,
.streak-card[data-streak="18"] .streak-value,
.streak-card[data-streak="19"] .streak-value,
.streak-card[data-streak="20"] .streak-value,
.streak-card[data-streak="21"] .streak-value,
.streak-card[data-streak="22"] .streak-value,
.streak-card[data-streak="23"] .streak-value,
.streak-card[data-streak="24"] .streak-value,
.streak-card[data-streak="25"] .streak-value,
.streak-card[data-streak="26"] .streak-value,
.streak-card[data-streak="27"] .streak-value,
.streak-card[data-streak="28"] .streak-value,
.streak-card[data-streak="29"] .streak-value {
    color: #cc0000;
}

/* Legendary 30+ day streaks */
.streak-card[data-streak^="3"],
.streak-card[data-streak^="4"],
.streak-card[data-streak^="5"],
.streak-card[data-streak^="6"],
.streak-card[data-streak^="7"],
.streak-card[data-streak^="8"],
.streak-card[data-streak^="9"] {
    background: linear-gradient(135deg, #f3e6ff 0%, #ffffff 100%);
    border-color: #d9b3ff;
}

.streak-card[data-streak^="3"] .streak-value,
.streak-card[data-streak^="4"] .streak-value,
.streak-card[data-streak^="5"] .streak-value,
.streak-card[data-streak^="6"] .streak-value,
.streak-card[data-streak^="7"] .streak-value,
.streak-card[data-streak^="8"] .streak-value,
.streak-card[data-streak^="9"] .streak-value {
    color: #6a0dad;
}

.streak-card[data-streak^="3"] .streak-flame,
.streak-card[data-streak^="4"] .streak-flame,
.streak-card[data-streak^="5"] .streak-flame,
.streak-card[data-streak^="6"] .streak-flame,
.streak-card[data-streak^="7"] .streak-flame,
.streak-card[data-streak^="8"] .streak-flame,
.streak-card[data-streak^="9"] .streak-flame {
    animation: flamePulseLegendary 1.5s ease-in-out infinite;
}

@keyframes flamePulseLegendary {
    0%, 100% {
        transform: scale(1) rotate(-5deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.15) rotate(5deg);
        opacity: 0.85;
    }
}

/* Dashboard Empty State */
.dashboard-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: var(--spacing-2xl) 0;
    gap: var(--spacing-lg);
}

.empty-state {
    text-align: center;
    padding: 120px 24px;
    max-width: 400px;
    margin: 0 auto;
}

.empty-icon {
    width: 48px;
    height: 48px;
    border: 2px solid #E5E7EB;
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #9CA3AF;
    line-height: 1;
}

.empty-state h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.empty-state p {
    font-size: 15px;
    color: #6B7280;
    margin-bottom: 24px;
    line-height: 1.5;
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.05rem;
    font-weight: 500;
}

/* Locked Feature Cards */
.locked-feature-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--spacing-xl);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px dashed var(--gray-300);
    text-align: center;
    opacity: 0.6;
    transition: all 200ms ease;
}

.locked-feature-card:hover {
    opacity: 0.8;
    border-color: var(--gray-400);
}

.locked-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.5;
}

.locked-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--spacing-sm);
}

.locked-description {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* Decision Examples */
.decision-examples {
    margin-top: var(--spacing-md);
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.5;
}

.examples-label {
    color: var(--text-muted);
    margin-right: var(--spacing-xs);
}

.example-link {
    color: var(--brand-primary);
    text-decoration: none;
    transition: all var(--transition-base);
}

.example-link:hover {
    text-decoration: underline;
    color: var(--brand-deep-forest);
}

/* Quick Clarity Result Card */
.quick-result-card {
    text-align: center;
    padding: var(--spacing-lg);
}

.quick-result-header {
    margin-bottom: var(--spacing-md);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.decision-number {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-500);
    font-weight: 600;
}

.result-streak-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #FEF3C7;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #92400E;
}

.quick-result-recommendation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
}

.recommendation-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--sage-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--sage-600);
    font-weight: bold;
    transition: all 0.3s ease;
}

.recommendation-icon.celebrate {
    animation: none;
}

.recommendation-icon.celebrate.animate {
    animation: celebrateCheckmark 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes celebrateCheckmark {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.recommendation-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
}

.recommendation-reason {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--gray-700);
    margin: var(--spacing-md) 0;
}

.recommendation-caveat {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--gray-600);
    font-style: italic;
    margin-top: var(--spacing-sm);
}

.next-steps-section {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary);
}

.next-steps-header {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--spacing-sm);
}

.next-steps-list {
    margin: 0;
    padding-left: var(--spacing-lg);
    list-style-type: disc;
}

.next-steps-list li {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: var(--spacing-xs);
}

.next-steps-list li:last-child {
    margin-bottom: 0;
}

.quick-result-streak {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--gray-200);
}

.streak-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: var(--spacing-sm) var(--spacing-md);
    background: linear-gradient(135deg, #fff5f0 0%, #ffffff 100%);
    border: 1px solid #ffddcc;
    border-radius: var(--radius-lg);
}

.streak-flame-small {
    font-size: 1.5rem;
    line-height: 1;
    animation: flamePulseSmall 2s ease-in-out infinite;
}

@keyframes flamePulseSmall {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.92;
    }
}

.streak-count {
    font-size: 1rem;
    font-weight: 600;
    color: #ff6b35;
}

.examples-separator {
    color: var(--text-muted);
    margin: 0 var(--spacing-xs);
}

/* Significance Assessment - Vertical Stack with Color Coding */
.significance-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.significance-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: white;
    border: 2px solid var(--card-border);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 200ms ease;
    position: relative;
    width: 100%;
    max-width: 480px;
    padding: var(--spacing-lg);
}

/* Hover States */
.significance-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Selected State */
.significance-card.selected {
    border: 2px solid var(--brand-primary);
    background: var(--brand-soft);
    box-shadow: 0 4px 16px rgba(65, 143, 111, 0.15);
}

/* Checkmark (hidden by default) */
.significance-checkmark {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: var(--brand-primary);
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 200ms ease;
}

.significance-card.selected .significance-checkmark {
    display: flex;
    opacity: 1;
    transform: scale(1);
}

.significance-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-icon);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--gray-50);
    color: var(--text-secondary);
    transition: all 200ms ease;
}

.significance-card.selected .significance-icon {
    background: var(--brand-soft);
    color: var(--brand-primary);
}

.significance-content {
    flex: 1;
}

.significance-content h3 {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.significance-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* Custom Value Input */
.chip-add-custom {
    border: 2px dashed var(--card-border);
    color: var(--text-muted);
    background: transparent;
    font-weight: 500;
}

.chip-add-custom:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: var(--brand-soft);
}

.chip-custom-input {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 2px solid var(--brand-primary);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    outline: none;
    min-width: 120px;
    max-width: 200px;
}

.chip-custom-input::placeholder {
    color: var(--text-muted);
}

/* Microphone Button */
.btn-mic {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--brand-soft);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    -webkit-tap-highlight-color: transparent;
}

.btn-mic svg {
    stroke: var(--brand-primary);
    transition: stroke var(--transition-base);
}

.btn-mic:hover {
    background: var(--brand-primary);
    transform: scale(1.05);
}

.btn-mic:hover svg {
    stroke: white;
}

.btn-mic:active {
    transform: scale(0.95);
}

.btn-mic.recording {
    background: #E07A5F;
    animation: pulse 1.5s ease-in-out infinite;
}

.btn-mic.recording svg {
    stroke: white;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(224, 122, 95, 0.4);
    }
    50% {
        opacity: 0.9;
        box-shadow: 0 0 0 8px rgba(224, 122, 95, 0);
    }
}

/* Decision Flow Progress Indicator */
.decision-flow-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-2xl);
    padding: 0 var(--spacing-md);
}

.flow-back-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
    border-radius: var(--radius-md);
}

.flow-back-btn:hover {
    color: var(--brand-primary);
    background: var(--brand-soft);
}

.flow-back-btn svg {
    stroke: currentColor;
    flex-shrink: 0;
}

.flow-progress-text {
    font-size: 14px;
    color: #9CA3AF;
    font-weight: 500;
}

/* Top-aligned back button */
.flow-back-btn-top {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-xl);
}

.flow-back-btn-top:hover {
    color: var(--brand-primary);
    background: var(--brand-soft);
}

.flow-back-btn-top svg {
    stroke: currentColor;
    flex-shrink: 0;
}

/* Centered progress dots */
.flow-progress-indicator-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-2xl);
}

.flow-progress-dot {
    width: 8px;
    height: 8px;
    background: var(--gray-300);
    border-radius: 50%;
    transition: all var(--transition-base);
}

.flow-progress-dot.active {
    background: var(--brand-primary);
    transform: scale(1.25);
}

.flow-progress-dot.completed {
    background: var(--brand-primary);
}

/* External mic button */
.btn-mic-external {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
    margin-top: var(--spacing-md);
    width: 100%;
}

.btn-mic-external:hover {
    background: var(--gray-100);
    border-color: var(--gray-300);
    color: var(--text-primary);
}

.btn-mic-external svg {
    flex-shrink: 0;
}

.chip-mini-group {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
    margin-top: var(--spacing-xs);
}

.chip-mini {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: var(--white);
    color: var(--sage-700);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

/* Graph Card */
.graph-card {
    background: var(--white);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-2xl);
}

.card-header-icon {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.card-header-icon svg {
    stroke: var(--gray-600);
    flex-shrink: 0;
}

.card-header-icon .card-heading {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.graph-container {
    height: 200px;
    position: relative;
    margin-bottom: var(--spacing-md);
}

#decisions-graph {
    width: 100%;
    height: 100%;
}

.graph-note {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin: 0;
    text-align: center;
}

/* Recent Decisions Card */
.recent-decisions-card {
    background: var(--white);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-2xl);
}

.view-all-link {
    display: block;
    text-align: left;
    color: var(--sage-green);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-100);
}

.view-all-link:hover {
    text-decoration: underline;
}

/* Decisions List */
.decisions-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.decision-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--gray-150);
    transition: all 0.2s;
    cursor: pointer;
}

.decision-item:last-child {
    border-bottom: none;
}

.decision-item:hover {
    background: var(--gray-50);
    margin-left: calc(var(--spacing-md) * -1);
    margin-right: calc(var(--spacing-md) * -1);
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.decision-chevron {
    flex-shrink: 0;
    stroke: var(--gray-400);
    margin-left: var(--spacing-xs);
}

.decision-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.decision-icon svg {
    stroke: var(--gray-400);
}

.decision-main {
    flex: 1;
}

.decision-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}

.decision-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.8rem;
    color: var(--gray-500);
}

.meta-item {
    color: var(--gray-500);
}

.meta-divider {
    color: var(--gray-400);
}

/* Status Chips */
.chip-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.chip-status svg {
    flex-shrink: 0;
}

.status-ready {
    background: #F0F9F6;
    color: #418F6F;
    border: none;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.status-progress {
    background: #FEF8F3;
    color: #CC8A00;
}

.status-checkin {
    background: var(--coral-50);
    color: var(--coral);
}

.status-recorded {
    background: var(--gray-100);
    color: var(--gray-600);
}

/* CTA Button */
.cta-make-decision {
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-sm);
}

.cta-subtext {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin: 0;
}

/* ============================================
   HOME PAGE - ACTIVITY FOCUSED
   ============================================ */

/* Streak Card - New Design */
.streak-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.streak-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.streak-content {
    flex: 1;
}

.streak-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: var(--text-primary);
}

.streak-content p {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
}

/* Categories Card */
.categories-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
}

.categories-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 20px 0;
}

.pie-chart-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.category-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #6B7280;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.dot.career { background: #418F6F; }
.dot.relationships { background: #6BB094; }
.dot.lifestyle { background: #A8D5C2; }
.dot.finance { background: #8EBCA5; }
.dot.health { background: #5FA587; }
.dot.education { background: #71AC91; }
.dot.relocation { background: #9DC8B5; }
.dot.other { background: #B8D5C8; }

/* Attention Card */
.attention-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.attention-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.attention-content {
    flex: 1;
}

.label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6B7280;
    display: block;
    margin-bottom: 8px;
}

.attention-card .label {
    color: #D97706;
}

.attention-content p {
    font-size: 14px;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.link {
    color: #418F6F;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

/* Social Card */
.social-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.social-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.social-content {
    flex: 1;
}

.social-card .comment {
    font-style: italic;
    color: #6B7280;
    margin: 8px 0;
    font-size: 14px;
}

.social-content p {
    font-size: 14px;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.social-content p strong {
    font-weight: 600;
}

/* Decision Profile Card - Base */
.decision-profile-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
}

/* Decision Profile - Locked State */
.decision-profile-card.locked {
    text-align: center;
}

.lock-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.decision-profile-card.locked h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.decision-profile-card.locked p {
    font-size: 14px;
    color: #6B7280;
    margin: 0 0 16px 0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #E5E7EB;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: #418F6F;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-label {
    font-size: 12px;
    color: #6B7280;
    display: block;
    margin-bottom: 16px;
}

.profile-teaser {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.5;
    max-width: 320px;
    margin: 16px auto 0;
    text-align: center;
}

/* Decision Profile - Unlocked State */
.decision-profile-card.unlocked {
    padding: 32px;
}

.decision-profile-card.unlocked h3 {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.values-chart {
    margin: 24px 0;
    text-align: center;
}

.top-values,
.decision-style,
.blind-spots {
    margin-bottom: 24px;
}

.value-pills {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.pill {
    background: #F0F9F6;
    color: #418F6F;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

.decision-style p {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
    margin-top: 8px;
}

.insight {
    display: flex;
    gap: 12px;
    background: #F9FAFB;
    border-radius: 8px;
    padding: 16px;
    margin-top: 12px;
}

.insight-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.insight p {
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
    margin: 0;
}

/* Decision Profile - Locked Section (Pro Upsell) */
.locked-section {
    position: relative;
}

.blurred {
    filter: blur(4px);
    user-select: none;
    pointer-events: none;
}

.upsell-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    border-radius: 8px;
}

.upsell-overlay .lock-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.upsell-overlay p {
    font-size: 14px;
    color: #374151;
    margin-bottom: 12px;
}

/* Home CTA */
.home-cta {
    margin-top: 24px;
    text-align: center;
}

.home-cta .btn-primary {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* ============================================
   DECISIONS PAGE
   ============================================ */

.page-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.page-header-text {
    flex: 1;
}

.page-title-left {
    font-size: 2rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 4px 0;
}

.page-header-text .page-subtitle {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin: 0;
    font-style: normal;
    line-height: 1.5;
    text-align: left;
}

/* Search */
.search-container {
    margin-bottom: var(--spacing-lg);
}

.search-input {
    width: 100%;
    padding: 0.75rem var(--spacing-md);
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--sage-green);
}

/* Tabs */
.tabs {
    display: flex;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--gray-200);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab {
    padding: var(--spacing-md) 0;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--gray-500);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 200ms ease;
}

.tab:hover {
    color: var(--gray-900);
}

.tab.active {
    color: var(--sage-green);
    font-weight: 600;
    border-bottom-color: var(--sage-green);
}

/* Insights Bar */
.insights-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
    .insights-bar {
        grid-template-columns: repeat(4, 1fr);
    }
}

.insight-metric {
    text-align: center;
}

.insight-value {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--sage-green);
    margin-bottom: var(--spacing-xs);
}

.insight-value-with-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: var(--spacing-xs);
}

.insight-value-with-visual .insight-value {
    margin-bottom: 0;
}

.satisfaction-ring {
    flex-shrink: 0;
}

.insight-label {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.alert-warning {
    border-left: 4px solid var(--gold);
}

.alert-checkin-ready {
    border-left: 4px solid var(--coral);
}

/* Decision Cards */
.decisions-section {
    margin-bottom: var(--spacing-2xl);
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-lg);
}

/* ============================================
   DECISIONS PAGE - REDESIGNED
   ============================================ */

/* Header Section */
.decisions-header {
    padding: var(--pad-page);
    padding-bottom: 24px;
}

.decisions-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.greeting h1 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 24px;
    font-weight: 500;
    color: #111827;
    margin: 0;
}

/* Friendly greeting for home screen */
.greeting-subtle {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--gray-800);
    margin: 0;
}

.streak-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #FEF3C7;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.streak-icon {
    font-size: 16px;
}

.streak-text {
    color: #92400E;
}

.btn-cta {
    width: auto;
    max-width: 300px;
    margin: 0 auto;
    display: block;
    padding: 16px 32px;
    font-size: 16px;
    border: none;
    outline: none;
}

/* CTA wrapper with subtitle */
.cta-wrapper {
    text-align: center;
}

.cta-subtitle {
    margin: 0.5rem 0 0 0;
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* Quick prompt examples */
.quick-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.quick-prompt-chip {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-prompt-chip:hover {
    background: var(--gray-200);
    color: var(--gray-800);
    border-color: var(--gray-300);
}

/* Stats Row */
.decisions-stats {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 16px var(--pad-page);
    border-bottom: 1px solid #F3F4F6;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 10px 14px;
}

.stat-icon {
    width: 32px;
    height: 32px;
    background: #F3F4F6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
}

.stat-icon-green {
    background: #D1FAE5;
    color: #065F46;
}

.stat-icon-amber {
    background: #FEF3C7;
    color: #92400E;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: #6B7280;
}

/* Decision Cards */
.decisions-list {
    padding: 16px 0;
}

.decision-card {
    background: white;
    border-radius: var(--radius-card);
    padding: 20px;
    margin: 0 var(--pad-page) 16px;
    box-shadow: var(--shadow-card);
    border-left: 4px solid transparent;
}

/* Pending */
.decision-card.pending {
    border-left-color: #F59E0B;
}

/* Feeling good */
.decision-card.feeling-good {
    border-left-color: #418F6F;
    background: #F9FDFB;
}

/* Time will tell */
.decision-card.feeling-mixed {
    border-left-color: #9CA3AF;
}

/* Would do differently */
.decision-card.feeling-regret {
    border-left-color: #F59E0B;
    background: #FFFBEB;
}

.decision-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.decision-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.decision-date {
    font-size: 13px;
    color: #9CA3AF;
}

.delete-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #D1D5DB;
    border-radius: 4px;
}

.delete-btn:hover {
    color: #EF4444;
    background: #FEF2F2;
}

/* Badges */
.decision-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.badge-pending {
    background: #FEF3C7;
    color: #92400E;
}

.badge-good {
    background: #D1FAE5;
    color: #065F46;
}

.badge-mixed {
    background: #F3F4F6;
    color: #6B7280;
}

.badge-regret {
    background: #FEF3C7;
    color: #92400E;
}

.decision-title {
    font-size: 17px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
    line-height: 1.4;
}

.decision-category {
    display: inline-block;
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 8px;
}

.decision-outcome {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
}

.decision-action {
    display: inline-block;
    font-size: 14px;
    color: #418F6F;
    text-decoration: none;
    font-weight: 500;
    margin-top: 8px;
}

.decision-action:hover {
    text-decoration: underline;
}

/* Decision Detail Modal */
.decision-detail-content {
    max-width: 400px;
    padding: 24px;
    border-top: 4px solid #418F6F;
}

.decision-detail-content h2 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 22px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 8px;
    padding-right: 30px;
}

.detail-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #6B7280;
}

.detail-section {
    margin-bottom: 24px;
}

.detail-section h4 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #418F6F;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.detail-section p {
    font-size: 15px;
    color: #374151;
    line-height: 1.5;
}

#detail-recommendation {
    background: #F0F9F6;
    border-left: 3px solid #418F6F;
    padding: 12px 16px;
    border-radius: 0 8px 8px 0;
    font-size: 15px;
    color: #111827;
}

.feeling-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.feeling-btn {
    padding: 10px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.feeling-btn:hover {
    border-color: #418F6F;
    background: #F0F9F6;
}

.feeling-btn.active {
    border-color: #418F6F;
    background: #D1FAE5;
    color: #065F46;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px var(--pad-page);
}

.empty-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.empty-state h3 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 22px;
    color: #374151;
    margin-bottom: 8px;
}

.empty-state p {
    color: #6B7280;
    font-size: 15px;
    margin-bottom: 24px;
}

.empty-state .btn-primary {
    display: inline-block;
}

/* Decision Profile Card */
.decision-profile-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
}

.decision-profile-card.locked {
    text-align: center;
}

.decision-profile-card .lock-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.decision-profile-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.decision-profile-card .progress-bar {
    height: 8px;
    background: #E5E7EB;
    border-radius: 4px;
    margin: 16px auto 8px;
    max-width: 300px;
    overflow: hidden;
}

.decision-profile-card .progress-fill {
    height: 100%;
    background: #418F6F;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.decision-profile-card .progress-label {
    font-size: 14px;
    color: #418F6F;
}

.decision-profile-card .profile-teaser {
    font-size: 14px;
    color: #6B7280;
    margin-top: 16px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    text-align: center !important;
    line-height: 1.5;
}

/* Ensure locked state is fully centered */
.decision-profile-card.locked {
    text-align: center !important;
}

.decision-profile-card.locked p,
.decision-profile-card.locked h3,
.decision-profile-card.locked .progress-label,
.decision-profile-card.locked .profile-teaser {
    text-align: center !important;
}

/* FORCE CENTER ALIGNMENT - Decision Profile Teaser Text */
.decision-profile-teaser p,
.decision-profile-card p,
.profile-teaser-text,
.profile-teaser,
#decision-profile-teaser p,
.decision-profile-card .profile-teaser,
.decision-profile-card.locked .profile-teaser {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 300px;
}

/* Decision Profile - Labels */
.decision-profile-card .label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6B7280;
    display: block;
    margin-bottom: 8px;
}

/* Decision Profile - Value Pills */
.decision-profile-card .value-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.decision-profile-card .pill {
    background: #F0F9F6;
    color: #418F6F;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

/* Decision Profile - Sections */
.decision-profile-card .top-values,
.decision-profile-card .decision-style,
.decision-profile-card .blind-spots {
    margin-bottom: 24px;
}

.decision-profile-card .decision-style p {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
    margin: 0;
}

/* Decision Profile - Insights */
.decision-profile-card .insight {
    display: flex;
    gap: 12px;
    background: #F9FAFB;
    border-radius: 8px;
    padding: 16px;
    margin-top: 12px;
}

.decision-profile-card .insight-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.decision-profile-card .insight p {
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
    margin: 0;
}

/* Decision Profile - Locked Section (Free Users) */
.decision-profile-card .locked-section {
    position: relative;
}

.decision-profile-card .blurred {
    filter: blur(4px);
    user-select: none;
    pointer-events: none;
}

.decision-profile-card .upsell-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    border-radius: 8px;
}

.decision-profile-card .upsell-overlay span:first-child {
    font-size: 24px;
}

.decision-profile-card .upsell-overlay p {
    font-size: 14px;
    color: #374151;
    margin: 8px 0 12px;
}

/* ============================================
   PREMIUM DECISION PROFILE - "WOW" REVEAL
   ============================================ */

/* Profile Intro */
.profile-intro {
    text-align: center;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.profile-intro.revealed {
    opacity: 1;
    transform: translateY(0);
}

.profile-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #E8F5F0 0%, #D1E8DF 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.profile-icon-large svg {
    color: #418F6F;
}

.profile-intro h1 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 28px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.intro-subtext {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #6B7280;
    font-size: 14px;
}

/* Profile Sections - Base */
.profile-section {
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.profile-section.revealed {
    opacity: 1;
    transform: translateY(0);
}

.profile-section h3 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #6B7280;
    margin-bottom: 16px;
}

.profile-section p,
.profile-section span {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Values Section */
.values-section {
    background: white;
    border-radius: var(--radius-card);
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.values-chart {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.value-row {
    display: grid;
    grid-template-columns: 100px 1fr 50px;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.5s ease-out;
}

.value-row:not(:last-child) {
    border-bottom: 1px solid #F3F4F6;
}

.value-row.revealed {
    opacity: 1;
    transform: translateX(0);
}

.value-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.value-bar-track {
    height: 12px;
    background: #E5E7EB;
    border-radius: 6px;
    overflow: hidden;
}

.value-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #418F6F 0%, #68B89B 100%);
    border-radius: 6px;
    width: 0 !important;
    transition: width 0.8s ease-out 0.3s;
}

.value-row.revealed .value-bar-fill {
    width: var(--target-width) !important;
}

.value-score {
    font-size: 14px;
    font-weight: 600;
    color: #418F6F;
    text-align: right;
}

/* Decision Style Card - The Hero Moment */
.style-card {
    background: linear-gradient(135deg, #418F6F 0%, #2D6A4F 100%);
    border-radius: var(--radius-card);
    padding: 40px 32px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 32px rgba(65, 143, 111, 0.3);
}

.style-badge {
    font-size: 11px;
    letter-spacing: 0.15em;
    opacity: 0.8;
    margin-bottom: 12px;
}

.style-type {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.2;
}

.style-divider {
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    margin: 0 auto 20px;
}

.style-description {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 320px;
    margin: 0 auto;
}

.style-description strong {
    color: #A7F3D0;
    font-weight: 600;
}

/* Decision Balance Section */
.balance-chart-container {
    background: white;
    border-radius: var(--radius-card);
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 32px;
}

.balance-chart {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.balance-chart circle {
    transition: stroke-dasharray 0.8s ease-out 0.3s;
}

.balance-arc-1,
.balance-arc-2 {
    stroke-dasharray: 0 251.2 !important;
}

.balance-arc-1.revealed {
    stroke-dasharray: var(--heart-dash) 251.2 !important;
}

.balance-arc-2.revealed {
    stroke-dasharray: var(--head-dash) 251.2 !important;
}

.balance-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Patterns Section */
.patterns-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pattern-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: white;
    border-radius: var(--radius-card);
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.pattern-icon {
    width: 40px;
    height: 40px;
    background: #F0F9F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pattern-icon svg {
    color: #418F6F;
}

.pattern-text strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.pattern-text span {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.5;
}

.patterns-more {
    text-align: center;
    font-size: 13px;
    color: #9CA3AF;
    margin-top: 20px;
}

/* Decisions Empty State */
.decisions-empty-state {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    text-align: center;
}

.decisions-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.decision-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #E5E7EB;
    cursor: pointer;
    margin-bottom: 16px;
    transition: border-color 0.2s;
}

.decision-card:hover {
    border-color: #D1D5DB;
}

.decision-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.decision-card .date {
    font-size: 13px;
    color: #6B7280;
}

.decision-card .card-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.delete-decision-btn {
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: #D1D5DB;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    opacity: 1; /* Always visible for mobile */
}

.delete-decision-btn:hover {
    color: #EF4444;
    background: #FEF2F2;
}

.delete-decision-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.spinner-xs {
    width: 14px;
    height: 14px;
    border: 2px solid #E5E7EB;
    border-top-color: #6B7280;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.decision-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.decision-card .category {
    font-size: 13px;
    color: #6B7280;
}

/* Decision Card Status Badges */
.status-badge {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 12px;
}

.status-badge.pending {
    background: #FEF3C7;
    color: #92400E;
}

.status-badge.decided {
    background: #D1FAE5;
    color: #065F46;
}

.status-badge.check-in {
    background: #F0F9F6;
    color: #418F6F;
}

.status-badge.completed {
    background: #D1FAE5;
    color: #065F46;
}

.status-badge.needs-decision {
    background: #FEF3C7;
    color: #92400E;
}

/* Decision Card Outcome Summary */
.decision-card .outcome-summary {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #E5E7EB;
    font-size: 14px;
    color: #374151;
}

.decision-card .check-in-due {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: #6B7280;
}

.decision-card .reflection-badge {
    display: inline-block;
    margin-left: 8px;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
}

.decision-card .reflection-badge.right {
    background: #F0F9F6;
    color: #418F6F;
}

.decision-card .reflection-badge.mixed {
    background: #FEF3C7;
    color: #D97706;
}

.decision-card .reflection-badge.wrong {
    background: #FEE2E2;
    color: #DC2626;
}

/* Legacy support for old card structure */
.decision-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.decision-date {
    font-size: 13px;
    color: #6B7280;
}

.decision-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.decision-card-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 13px;
    color: #6B7280;
}

.decision-recommended {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

.decision-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

/* Outcome Box - Results Page */
.outcome-box {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 32px;
    margin-top: 32px;
    text-align: center;
}

.outcome-box h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.outcome-box > p {
    color: #6B7280;
    margin-bottom: 24px;
}

.outcome-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.outcome-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.outcome-option:hover {
    border-color: #418F6F;
}

.outcome-option input[type="radio"] {
    accent-color: #418F6F;
    width: 18px;
    height: 18px;
}

.outcome-option input:checked + span {
    color: #418F6F;
    font-weight: 500;
}

.outcome-option span {
    font-size: 14px;
    color: #374151;
}

/* Check-in Box */
.check-in-box {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 32px;
    max-width: 500px;
    margin: 0 auto;
}

.check-in-box h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.check-in-box > p {
    color: #374151;
    margin-bottom: 24px;
}

.check-in-question {
    margin-bottom: 24px;
}

.check-in-question .label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    display: block;
    margin-bottom: 12px;
}

.sentiment-options {
    display: flex;
    gap: 12px;
}

.sentiment-btn {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    transition: all 0.2s;
}

.sentiment-btn:hover {
    border-color: #418F6F;
}

.sentiment-btn.selected {
    background: #418F6F;
    color: white;
    border-color: #418F6F;
}

.check-in-question textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    margin-top: 8px;
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
}

.check-in-question textarea:focus {
    outline: none;
    border-color: #418F6F;
}

/* Card Action Link (for pending cards) */
.card-action-link {
    display: block;
    margin-top: 12px;
    color: #418F6F;
    font-size: 14px;
    font-weight: 500;
}

/* ============================================
   INLINE OUTCOME TRACKING (Expanded Cards)
   ============================================ */

.decision-card.expanded {
    border-color: #418F6F;
}

/* Hide action link when card is expanded */
.decision-card.expanded .card-action-link {
    display: none;
}

.outcome-inline {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #E5E7EB;
}

.outcome-prompt {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 16px;
}

.outcome-question {
    font-weight: 500;
    margin-bottom: 16px;
    color: #374151;
}

.outcome-inline .outcome-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.outcome-inline .outcome-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    cursor: pointer;
}

.outcome-inline .outcome-option:hover {
    border-color: #418F6F;
}

.outcome-inline .outcome-option input {
    accent-color: #418F6F;
}

.outcome-inline .outcome-option input:checked + span {
    color: #418F6F;
    font-weight: 500;
}

.outcome-summary-expanded {
    margin-bottom: 20px;
}

.outcome-summary-expanded .label {
    font-size: 12px;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

.chosen-option {
    font-size: 16px;
    font-weight: 500;
    margin: 8px 0;
    color: #111827;
}

.check-in-note {
    font-size: 13px;
    color: #6B7280;
}

.view-recommendation {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #E5E7EB;
}

.recommendation-locked {
    text-align: center;
    padding: 16px;
    background: #F9FAFB;
    border-radius: 8px;
}

.recommendation-locked span {
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.recommendation-locked p {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 12px;
}

.recommendation-link {
    display: block;
    text-align: center;
    color: #418F6F;
    font-weight: 500;
    text-decoration: none;
}

.recommendation-link:hover {
    text-decoration: underline;
}

/* Check-in form in expanded cards */
.check-in-form {
    margin-top: 20px;
}

.check-in-form > p {
    font-weight: 500;
    margin-bottom: 12px;
    color: #374151;
}

.check-in-form .sentiment-options {
    display: flex;
    gap: 12px;
    margin: 12px 0 20px;
}

.check-in-form .sentiment-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.check-in-form .sentiment-btn:hover {
    border-color: #418F6F;
}

.check-in-form .sentiment-btn.selected {
    background: #418F6F;
    color: white;
    border-color: #418F6F;
}

.reflection-input {
    margin-bottom: 20px;
}

.reflection-input .label {
    font-size: 12px;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}

.reflection-input textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
}

.reflection-input textarea:focus {
    outline: none;
    border-color: #418F6F;
}

.reflection-display {
    background: #F9FAFB;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.reflection-display .label {
    font-size: 12px;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}

.reflection-display p {
    font-style: italic;
    color: #374151;
    margin-top: 8px;
}

.status-checkin {
    background: rgba(255, 184, 77, 0.2);
    color: #CC8A00;
}

.status-recorded {
    background: rgba(74, 144, 226, 0.1);
    color: #4A90E2;
}

/* New Card Layout - CTAs on Right */
.decision-card-new {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-lg);
}

.decision-card-left {
    flex: 1;
    min-width: 0; /* Allow text truncation */
}

.decision-card-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding-top: 2px; /* Align with title baseline */
}

.decision-recommended-small {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: var(--spacing-xs) 0 0;
}

.btn-compact {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.875rem;
    white-space: nowrap;
}

/* Outcome Section - Flat, no background box */
.decision-outcome-section {
    margin-top: var(--spacing-md);
    padding: 0;
    background: transparent;
    border: none;
}

.outcome-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.outcome-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.outcome-empty {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.outcome-empty-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.outcome-filled {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.outcome-item {
    font-size: 0.875rem;
    color: var(--text-primary);
}

.outcome-item strong {
    color: var(--text-muted);
    font-weight: 600;
}

.outcome-reflection {
    font-style: italic;
    color: #6B7280;
    padding-left: 12px;
    border-left: 2px solid #E5E7EB;
}

.outcome-last-updated {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: var(--spacing-xs);
}

/* Empty outcome state */
.outcome-empty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.outcome-empty-prompt {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.outcome-record-btn {
    width: auto;
    padding: 10px 20px;
    align-self: flex-start;
}

.outcome-header .btn-text {
    color: #418F6F;
    font-weight: 500;
}

.outcome-header .btn-text:hover {
    color: #2F6B54;
}

@media (max-width: 640px) {
    .outcome-empty {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

    .outcome-empty .btn {
        width: 100%;
    }
}
    .decision-card-new {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .decision-card-right {
        width: 100%;
    }

    .btn-compact {
        width: 100%;
    }
}

.btn-text {
    background: none;
    color: var(--sage-green);
    border: none;
    padding: 0.5rem var(--spacing-md);
}

.btn-text:hover {
    background: rgba(45, 74, 62, 0.05);
}

/* ============================================
   MODAL
   ============================================ */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gray-600);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.modal-close:hover {
    background: var(--gray-200);
}

.modal-body {
    padding: var(--spacing-lg);
}

.modal-subtitle {
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
    font-size: 1rem;
}

.form-label {
    display: block;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: var(--spacing-sm);
}

.option-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

.option-btn {
    flex: 1;
    padding: var(--spacing-md);
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.option-btn:hover {
    border-color: var(--sage-green);
}

.option-btn.selected {
    background: var(--sage-green);
    color: var(--white);
    border-color: var(--sage-green);
}

/* Outcome modal styles */
.outcome-label-with-icon {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.outcome-label-with-icon svg {
    color: var(--brand-primary);
}

.outcome-option-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
}

.outcome-option-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: white;
    border: 2px solid var(--card-border);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
    transition: all 200ms ease;
}

.outcome-option-btn:hover {
    background: var(--brand-soft);
    border-color: var(--brand-primary);
}

.outcome-option-btn.selected {
    background: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
}

.outcome-option-btn.selected svg {
    color: white;
}

.outcome-option-other,
.outcome-option-undecided {
    color: var(--text-secondary);
}

.outcome-option-other svg,
.outcome-option-undecided svg {
    color: var(--text-muted);
}

.slider-container {
    margin: var(--spacing-sm) 0;
}

.slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--gray-200);
    outline: none;
    -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--sage-green);
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--sage-green);
    cursor: pointer;
    border: none;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: var(--spacing-sm);
    font-size: 0.85rem;
    color: var(--gray-600);
}

#confidence-value {
    font-weight: 600;
    color: var(--sage-green);
}

.textarea {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    color: var(--gray-800);
    line-height: 1.5;
    resize: vertical;
    min-height: 100px;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.textarea::placeholder {
    color: var(--gray-400);
}

.textarea:focus {
    outline: none;
    border-color: var(--sage-green);
    box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.08);
}

.modal-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-footer-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.modal-content-sm {
    max-width: 480px;
}

/* Expandable Section */
.expandable-section {
    margin-top: var(--spacing-lg);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.expandable-header {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--gray-50);
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--gray-700);
    transition: background 200ms ease;
}

.expandable-header:hover {
    background: var(--gray-100);
}

.expand-arrow {
    transition: transform 200ms ease;
    color: var(--gray-600);
}

.expandable-header.expanded .expand-arrow {
    transform: rotate(180deg);
}

.expandable-content {
    padding: var(--spacing-lg);
    background: var(--white);
}

.option-btn-secondary {
    background: var(--gray-50);
    border-color: var(--gray-200);
    color: var(--gray-600);
    margin-top: var(--spacing-sm);
}

.option-btn-secondary:hover {
    background: var(--gray-100);
    border-color: var(--gray-300);
}

/* Quick Check-in Buttons */
.checkin-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.checkin-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: 500;
    cursor: pointer;
    transition: all 200ms ease;
}

.checkin-btn:hover {
    border-color: var(--sage-green);
    background: rgba(45, 74, 62, 0.02);
}

.checkin-btn svg {
    color: var(--gray-600);
    transition: color 200ms ease;
}

.checkin-btn-yes:hover {
    border-color: #16a34a;
    background: rgba(22, 163, 74, 0.05);
}

.checkin-btn-yes:hover svg {
    color: #16a34a;
}

.checkin-btn-no:hover {
    border-color: var(--coral);
    background: var(--coral-50);
}

.checkin-btn-no:hover svg {
    color: var(--coral);
}

.checkin-btn-unsure:hover {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}

.checkin-btn-unsure:hover svg {
    color: #f59e0b;
}

/* Check-in Modal - Redesigned */
.checkin-modal-warm {
    border-radius: 20px;
}

.checkin-title-warm {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
}

.checkin-context {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--gray-100);
}

.checkin-decision-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--spacing-xs) 0;
}

.checkin-decision-meta {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
}

.checkin-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.checkin-option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
    background: var(--brand-soft);
    border: 2px solid transparent;
    border-radius: 16px;
    cursor: pointer;
    transition: all 200ms ease;
    text-align: center;
}

.checkin-option-card:hover {
    border-color: var(--brand-primary);
    background: #E0EDE7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(65, 143, 111, 0.1);
}

.checkin-option-card.selected {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    box-shadow: 0 4px 16px rgba(65, 143, 111, 0.2);
}

.checkin-option-card.selected .checkin-option-emoji,
.checkin-option-card.selected .checkin-option-primary,
.checkin-option-card.selected .checkin-option-secondary {
    color: white;
}

.checkin-option-card.selected::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background: white;
    color: var(--brand-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.checkin-option-emoji {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 4px;
}

.checkin-option-primary {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}

.checkin-option-secondary {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    color: var(--gray-600);
    line-height: 1.3;
}

.checkin-followup {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--gray-100);
}

.checkin-followup-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.checkin-followup-input {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-primary);
    resize: vertical;
    transition: border-color 200ms ease;
}

.checkin-followup-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--brand-soft);
}

.checkin-thanks {
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.checkin-thanks-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--spacing-md);
    background: var(--brand-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.checkin-thanks-text {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 640px) {
    .checkin-options-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   LOADING STATES
   ============================================ */

/* Full Page Loader */
.loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-content {
    text-align: center;
    max-width: 400px;
}

.loading-dot {
    width: 48px;
    height: 48px;
    margin-bottom: var(--spacing-xl);
    animation: loadingDotPulse 2s ease-in-out infinite;
}

@keyframes loadingDotPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

.loading-title {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.loading-subtext {
    font-size: var(--text-base);
    color: var(--gray-600);
    animation: fadeInOut 3s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Inline Loader (Quick Clarity) */
.inline-loader {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    color: var(--gray-600);
    font-size: var(--text-sm);
}

.inline-loader-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sage-green);
    animation: dotPulse 1.4s ease-in-out infinite;
}

.inline-loader-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.inline-loader-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {
    0%, 80%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    40% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Skeleton Card Loader */
.skeleton-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.skeleton-line {
    height: 16px;
    background: linear-gradient(
        90deg,
        var(--gray-200) 0%,
        var(--gray-100) 50%,
        var(--gray-200) 100%
    );
    background-size: 200% 100%;
    border-radius: var(--radius-sm);
    animation: shimmer 2s ease-in-out infinite;
    margin-bottom: var(--spacing-sm);
}

.skeleton-line.short {
    width: 60%;
}

.skeleton-line.medium {
    width: 80%;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ============================================
   UTILITIES
   ============================================ */

.mt-xs { margin-top: var(--spacing-xs); }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.mb-xs { margin-bottom: var(--spacing-xs); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

/* ============================================
   ACCOUNT PAGE
   ============================================ */

/* Plan Header */
.plan-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.plan-icon {
    width: 48px;
    height: 48px;
    background: var(--sage-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.plan-icon svg {
    stroke: var(--sage-green);
}

.plan-details {
    flex: 1;
}

.plan-name {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
    line-height: 1;
}

.plan-subtitle {
    font-size: var(--text-sm);
    color: var(--gray-500);
    margin: 0;
}

/* Plan Usage */
.plan-usage {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.usage-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.usage-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.usage-label {
    font-size: var(--text-sm);
    color: var(--gray-600);
}

.usage-value {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-900);
}

.progress-bar-usage {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill-usage {
    height: 100%;
    background: var(--sage-green);
    border-radius: 4px;
    transition: width 300ms ease;
}

/* Subscription Management */
.subscription-management {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #E5E7EB;
    font-size: 14px;
    color: #6B7280;
}

.btn-text-danger {
    background: none;
    border: none;
    color: #DC2626;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    margin-top: 8px;
}

.btn-text-danger:hover {
    text-decoration: underline;
}

/* Upgrade Card */
.upgrade-card {
    background: var(--white);
}

.card-description {
    font-size: var(--text-sm);
    color: var(--gray-600);
    margin: var(--spacing-xs) 0 var(--spacing-xl);
}

/* Pricing Cards */
.pricing-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

@media (max-width: 600px) {
    .pricing-cards {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all 200ms ease;
    position: relative;
}

.pricing-card:hover {
    border-color: var(--sage-300);
    box-shadow: var(--shadow-sm);
}

.pricing-card-recommended {
    border: 1px solid #E5E7EB;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    background: var(--white);
}

.recommended-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--sage-green);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card-header {
    margin-bottom: var(--spacing-lg);
}

.pricing-card-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.pricing-card-price {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-xs);
}

.pricing-card-price .price-amount {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
}

.pricing-card-price .price-period {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.pricing-card-savings {
    font-size: var(--text-sm);
    color: var(--sage-green);
    font-weight: 500;
    margin: var(--spacing-xs) 0 0;
}

/* Pro Benefits Grid */
.pro-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

@media (max-width: 600px) {
    .pro-benefits-grid {
        grid-template-columns: 1fr;
    }
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--text-sm);
    color: var(--gray-700);
}

.benefit-item svg {
    flex-shrink: 0;
    stroke: var(--sage-green);
}

/* Guarantee Text */
.guarantee-text {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--gray-500);
    margin: var(--spacing-md) 0 0;
}

/* Profile */
.profile-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--gray-100);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-size: var(--text-sm);
    color: var(--gray-600);
}

.info-value {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--gray-900);
}

.info-value-group {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.link-edit {
    font-size: var(--text-sm);
    color: var(--sage-green);
    text-decoration: none;
    font-weight: 500;
}

.link-edit:hover {
    text-decoration: underline;
}

/* Preferences */
.preferences {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.preference-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--gray-100);
    gap: var(--spacing-md);
}

.preference-item:last-child {
    border-bottom: none;
}

.preference-info {
    flex: 1;
}

.preference-label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
}

.preference-description {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-200);
    transition: background-color 200ms ease;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: var(--white);
    transition: transform 200ms ease;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--sage-green);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

/* Expandable Section - How Clarified Works */
.expandable {
    border: none;
}

.expandable-header {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin-bottom: var(--spacing-lg);
}

.expandable-header::-webkit-details-marker {
    display: none;
}

.expandable-title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.expandable-icon {
    flex-shrink: 0;
    stroke: var(--gray-400);
    transition: transform 200ms ease;
}

.expandable[open] .expandable-icon {
    transform: rotate(180deg);
}

.expandable-content {
    padding: 0;
}

.how-it-works {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.how-step {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--sage-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: var(--text-sm);
    flex-shrink: 0;
}

.step-content h4 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 var(--spacing-xs) 0;
}

.step-content p {
    font-size: var(--text-sm);
    color: var(--gray-600);
    margin: 0;
}

.link-block {
    display: inline-block;
    color: var(--sage-green);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: 500;
}

.link-block:hover {
    text-decoration: underline;
}

/* Privacy Section */
.privacy-section {
    padding: var(--spacing-md) 0;
}

.privacy-description {
    font-size: var(--text-sm);
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.link-danger {
    color: var(--coral);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: 500;
}

.link-danger:hover {
    text-decoration: underline;
}

.steps-list {
    list-style: none;
    counter-reset: step-counter;
}

.steps-list li {
    counter-increment: step-counter;
    padding: var(--spacing-md) 0;
    padding-left: 2.5rem;
    position: relative;
    color: var(--gray-600);
}

.steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: var(--spacing-md);
    width: 1.75rem;
    height: 1.75rem;
    background: var(--sage-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
}

.steps-list li strong {
    color: var(--gray-900);
    display: block;
    margin-bottom: var(--spacing-xs);
}

/* Sign Out Link */
.sign-out-link {
    display: block;
    text-align: center;
    color: var(--coral);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-md);
    transition: opacity 0.2s;
}

.sign-out-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ============================================
   QUICK CLARITY FLOW
   ============================================ */

/* Chip Grid */
.chip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 768px) {
    .chip-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .chip-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.chip {
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-btn);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chip:hover {
    border-color: #418F6F;
}

.chip.selected {
    border-color: #418F6F;
    background: #F0F9F6;
    color: var(--gray-700);
}

/* Loading State */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-2xl) var(--spacing-md);
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--sage-green);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: var(--spacing-md);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-state p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Recommendation Content */
.recommendation-content {
    line-height: 1.8;
    color: var(--gray-800);
}

.recommendation-content h3 {
    color: var(--sage-green);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
}

.recommendation-content p {
    margin-bottom: var(--spacing-md);
}

/* Button Group */
.button-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

@media (min-width: 768px) {
    .button-group {
        flex-direction: row;
    }
}

/* Horizontal Button Group (always horizontal) */
.button-group-horizontal {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    justify-content: center;
    flex-wrap: wrap;
}

.button-group-horizontal .btn {
    flex: 0 1 auto;
    min-width: 180px;
}

@media (max-width: 768px) {
    .button-group-horizontal {
        flex-direction: column;
    }

    .button-group-horizontal .btn {
        width: 100%;
    }
}

/* Page Subtitle */
.page-subtitle {
    text-align: center;
    color: var(--gray-600);
    font-size: var(--text-base);
    font-weight: 400;
    margin-bottom: var(--spacing-xl);
    margin-top: calc(var(--spacing-md) * -1);
}

/* ============================================
   DEEP CLARITY FLOW
   ============================================ */

/* Reminder Card */
.reminder-card {
    background: var(--sage-50);
    border: 2px solid var(--sage-green);
}

.reminder-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.reminder-icon {
    flex-shrink: 0;
    stroke: var(--sage-green);
}

.reminder-text {
    flex: 1;
}

.reminder-title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
}

.reminder-subtitle {
    font-size: var(--text-sm);
    font-weight: 400;
    color: var(--gray-600);
}

/* Reframe Options */
.reframe-option {
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 200ms ease;
    text-align: left;
    width: 100%;
    font-family: var(--font-primary);
    font-size: var(--text-base);
    color: var(--gray-800);
}

.reframe-option:hover {
    border-color: var(--sage-green);
    background: var(--sage-50);
    box-shadow: var(--shadow-sm);
}

.reframe-option.selected {
    border-color: var(--sage-green);
    border-width: 2px;
    background: var(--sage-50);
    box-shadow: 0 0 0 4px rgba(45, 74, 62, 0.08);
}

/* Comparison Table */
.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--spacing-md);
}

.comparison-table th,
.comparison-table td {
    padding: var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.comparison-table th {
    font-weight: 600;
    color: var(--sage-green);
    background: var(--gray-100);
}

.comparison-table td {
    color: var(--gray-800);
}

/* Improved Comparison Table */
.comparison-table-improved {
    width: 100%;
    min-width: 600px;  /* Ensure table doesn't get too narrow */
    border-collapse: separate;
    border-spacing: 0;
    margin-top: var(--spacing-md);
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.comparison-table-improved thead {
    background: var(--gray-50);
}

.comparison-table-improved th {
    padding: var(--spacing-lg);
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
    border-bottom: 2px solid var(--card-border);
    position: relative;
}

.comparison-table-improved th.value-column {
    color: var(--brand-primary);
    width: 35%;
    min-width: 180px;  /* Prevent truncation of value names */
}

.comparison-table-improved th.option-column {
    text-align: center;
    min-width: 140px;  /* Prevent truncation of option names */
    white-space: normal;  /* Allow wrapping for long option names */
}

.comparison-table-improved th.recommended-column {
    background: linear-gradient(135deg, var(--brand-soft) 0%, var(--gray-50) 100%);
}

.comparison-table-improved tbody tr {
    border-bottom: 1px solid var(--gray-100);
    transition: background var(--transition-base);
}

.comparison-table-improved tbody tr:hover {
    background: var(--gray-50);
}

.comparison-table-improved tbody tr.overall-row {
    background: var(--gray-50);
    font-weight: 600;
}

.comparison-table-improved tbody tr.overall-row:hover {
    background: var(--gray-100);
}

.comparison-table-improved td {
    padding: var(--spacing-md) var(--spacing-lg);
    vertical-align: middle;
}

.comparison-table-improved td.value-cell {
    color: var(--text-primary);
    font-size: 0.9375rem;
    white-space: normal;  /* Allow wrapping for long value names */
    min-width: 180px;
}

.comparison-table-improved td.score-cell {
    text-align: center;
}

.comparison-table-improved td.winner-cell {
    background: linear-gradient(135deg, #E8F2ED 0%, #F0F7F3 100%);
    position: relative;
}

.comparison-table-improved td.winner-cell::before {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    color: var(--brand-primary);
    font-weight: bold;
    font-size: 0.875rem;
}

/* Score Bar */
.score-bar-container {
    width: 100%;
    max-width: 120px;
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto var(--spacing-xs);
}

.score-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-deep-forest) 100%);
    border-radius: 4px;
    transition: width var(--transition-base);
}

.score-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Overall Score */
.overall-score {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-primary);
}

/* Comparison Context */
.comparison-context {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--brand-soft);
    border-left: 4px solid var(--brand-primary);
    border-radius: var(--radius-md);
}

.comparison-context p {
    margin: 0;
    color: var(--text-primary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.comparison-context strong {
    color: var(--brand-primary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .comparison-table-improved {
        font-size: 0.875rem;
    }

    .comparison-table-improved th,
    .comparison-table-improved td {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .score-bar-container {
        max-width: 80px;
    }

    .overall-score {
        font-size: 1rem;
    }
}

/* Tradeoff List */
.tradeoff-item {
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    background: var(--gray-100);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--sage-green);
}

.tradeoff-item strong {
    color: var(--sage-green);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.tradeoff-item p {
    color: var(--gray-700);
    margin: 0;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Strength Bars */
.strength-bar {
    margin-bottom: var(--spacing-lg);
}

.strength-bar-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xs);
}

.strength-bar-name {
    font-weight: 500;
    color: var(--gray-800);
    font-size: var(--text-sm);
}

.strength-bar-rating {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.strength-bar-visual {
    height: 4px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.strength-bar-fill {
    height: 100%;
    background: var(--sage-green);
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* Comparison Badge */
.recommended-badge {
    display: inline-block;
    background: var(--sage-green);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
}

/* What-If Scenarios */
.whatif-toggles {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.whatif-toggle {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    padding: var(--spacing-sm);
    background: var(--gray-50);
    border-radius: var(--radius);
    transition: background 0.2s;
}

.whatif-toggle:hover {
    background: var(--gray-100);
}

.whatif-toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.whatif-label {
    font-size: 0.95rem;
    color: var(--gray-800);
}

.spinner-sm {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-200);
    border-top-color: var(--sage-green);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Matters loading state */
.matters-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Gains and Tradeoffs Lists */
.gains-list,
.tradeoffs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gains-list li,
.tradeoffs-list li {
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
    position: relative;
    color: var(--gray-700);
    line-height: 1.5;
}

.gains-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--sage-green);
    font-weight: 700;
    font-size: 1.5rem;
}

.tradeoffs-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--coral);
    font-weight: 700;
    font-size: 1.5rem;
}

/* ============================================
   RESULTS PAGE - LOVABLE STYLE
   ============================================ */

/* Recommendation Card */
.recommendation-card {
    background: var(--white);
    border: none;
}

.rec-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-md);
}

.rec-badge svg {
    stroke: var(--gray-400);
}

.rec-title {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.rec-context {
    font-size: var(--text-sm);
    color: var(--gray-600);
    margin-bottom: var(--spacing-md);
}

.rec-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--sage-green);
    text-decoration: none;
}

.rec-link:hover {
    text-decoration: underline;
}

.rec-link svg {
    stroke: var(--sage-green);
    width: 14px;
    height: 14px;
}

/* Card Icon Header */
.card-icon-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.card-icon-header svg {
    flex-shrink: 0;
    stroke: var(--gray-700);
}

.card-icon-header h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

/* Confidence & Reversibility Grid */
.confidence-reversibility-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

@media (max-width: 600px) {
    .confidence-reversibility-grid {
        grid-template-columns: 1fr;
    }
}

.metric-box {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.metric-box .metric-label {
    font-size: var(--text-xs);
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-sm);
}

.metric-box .metric-value {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--sage-green);
    margin-bottom: var(--spacing-xs);
}

.metric-box .metric-reason {
    font-size: var(--text-xs);
    color: var(--gray-500);
}

/* Gains & Tradeoffs Container */
.gains-tradeoffs-container {
    background: var(--white);
    margin-bottom: var(--spacing-lg);
}

.gains-tradeoffs-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: var(--spacing-lg);
}

.gains-tradeoffs-header svg {
    flex-shrink: 0;
    stroke: var(--gray-600);
}

.gains-tradeoffs-header h3 {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.gains-collapse-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: background 200ms ease;
}

.gains-collapse-btn:hover {
    background: var(--gray-100);
}

.gains-collapse-btn svg {
    stroke: var(--gray-500);
}

/* Tradeoffs & Risks 3-Card Grid */
.tradeoffs-risks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

@media (max-width: 1024px) {
    .tradeoffs-risks-grid {
        grid-template-columns: 1fr;
    }
}

.tradeoffs-card {
    position: relative;
    overflow: hidden;
}

.tradeoffs-card.gains-card {
    background: linear-gradient(135deg, #F0F9F4 0%, #E8F2ED 100%);
    border-left: 4px solid var(--brand-primary);
}

.tradeoffs-card.tradeoffs-card-amber {
    background: linear-gradient(135deg, #FEF8F3 0%, #FEF3E8 100%);
    border-left: 4px solid #E9C46A;
}

.tradeoffs-card.risks-card {
    background: linear-gradient(135deg, #FFF5F5 0%, #FFEBEB 100%);
    border-left: 4px solid #F87171;
}

.tradeoffs-card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.tradeoffs-card-header svg {
    flex-shrink: 0;
}

.tradeoffs-card-header h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0;
}

.gains-header-color {
    color: var(--brand-primary);
}

.gains-header-color svg {
    stroke: var(--brand-primary);
}

.tradeoffs-header-color {
    color: #D97706;
}

.tradeoffs-header-color svg {
    stroke: #E9C46A;
}

.risks-header-color {
    color: #DC2626;
}

.risks-header-color svg {
    stroke: #F87171;
}

.tradeoffs-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tradeoffs-card-list li {
    padding: var(--spacing-xs) 0 var(--spacing-xs) var(--spacing-lg);
    position: relative;
    color: var(--gray-800);
    line-height: 1.6;
    font-size: 0.9rem;
}

.gains-card .tradeoffs-card-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
}

.tradeoffs-card-amber .tradeoffs-card-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #E9C46A;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
}

.risks-card .tradeoffs-card-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #F87171;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
}

/* Similar Decisions - "You've been here before" */
.similar-decisions-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    margin-bottom: var(--spacing-lg);
}

.similar-decisions-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: var(--spacing-lg);
}

.similar-icon {
    flex-shrink: 0;
    stroke: var(--gray-600);
}

.similar-header-text {
    flex: 1;
}

.similar-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 var(--spacing-xs) 0;
}

.similar-subtitle {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin: 0;
}

.similar-collapse-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: background 200ms ease;
}

.similar-collapse-btn:hover {
    background: var(--gray-100);
}

.similar-collapse-btn svg {
    stroke: var(--gray-500);
}

.similar-decisions-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.similar-decision-item {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-md);
    border: 1px solid var(--gray-100);
}

.similar-decision-main {
    flex: 1;
}

.similar-decision-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
    line-height: 1.4;
}

.similar-decision-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: var(--spacing-sm);
}

.similar-meta-item {
    color: var(--gray-500);
}

.similar-decision-note {
    font-size: 0.85rem;
    color: var(--gray-600);
    font-style: italic;
    line-height: 1.5;
    margin: 0;
}

.similar-decision-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--spacing-sm);
}

.similarity-badge {
    background: #F0F4F2;
    color: var(--sage-700);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.compare-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--sage-green);
    text-decoration: none;
}

.compare-link:hover {
    text-decoration: underline;
}

.compare-link svg {
    stroke: var(--sage-green);
}

/* Expandable Header with Icon */
.expandable-header-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.expandable-icon-left {
    flex-shrink: 0;
    stroke: var(--gray-700);
}

/* Risks Section */
.risks-container {
    background: var(--white);
    margin-bottom: var(--spacing-lg);
}

.risks-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: var(--spacing-lg);
}

.risks-header svg {
    flex-shrink: 0;
}

.risks-header h3 {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.risks-collapse-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: background 200ms ease;
}

.risks-collapse-btn:hover {
    background: var(--gray-100);
}

.risks-collapse-btn svg {
    stroke: var(--gray-500);
}

.risks-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.risks-list li {
    padding: var(--spacing-xs) 0 var(--spacing-xs) var(--spacing-lg);
    position: relative;
    color: var(--gray-800);
    line-height: 1.5;
    font-size: 0.9rem;
}

.risks-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #E07A5F;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
}

/* Second Opinion Card */
.second-opinion-card {
    background: var(--sage-50);
    border: 2px solid var(--sage-300);
}

/* ============================================
   SHARE MODAL
   ============================================ */

.share-modal-content {
    max-width: 480px;
}

.modal-subtitle {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

/* Coming Soon Badge */
.coming-soon-badge {
    display: inline-block;
    background: #FEF3C7;
    color: #92400E;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 16px 0;
    text-align: center;
}

.coming-soon-text {
    color: #6B7280;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.share-toggles {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: var(--spacing-xl);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.share-toggle-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    gap: var(--spacing-md);
    border-bottom: 1px solid var(--gray-100);
    background: var(--white);
}

.share-toggle-item:last-child {
    border-bottom: none;
}

.share-toggle-info {
    flex: 1;
}

.share-toggle-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
    display: block;
    cursor: pointer;
}

.share-toggle-description {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.4;
}

.share-generate-btn {
    margin-bottom: var(--spacing-lg);
}

.share-link-container {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    border: 1px solid var(--gray-200);
}

.share-link-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-link-input-group {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.share-link-input {
    flex: 1;
    padding: var(--spacing-md);
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--gray-700);
}

.share-link-input:focus {
    outline: none;
    border-color: var(--sage-green);
    box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.08);
}

.btn-copy {
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--sage-green);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all 200ms ease;
    white-space: nowrap;
}

.btn-copy:hover {
    background: var(--sage-600);
}

.btn-copy:active {
    transform: scale(0.98);
}

.btn-copy svg {
    stroke: currentColor;
}

.share-link-note {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.4;
}

/* ===========================
   What-If Scenarios
   =========================== */

.whatif-sliders {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.whatif-slider-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.whatif-slider-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.whatif-slider-value {
    color: var(--brand-primary);
    font-weight: 600;
}

.whatif-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--gray-100);
    outline: none;
    transition: background var(--transition-base);
}

.whatif-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand-primary);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.whatif-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(65, 143, 111, 0.3);
}

.whatif-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand-primary);
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.whatif-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(65, 143, 111, 0.3);
}

.whatif-prebuilt {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--card-border);
}

.whatif-scenario-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
}

.whatif-scenario-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md);
    background: var(--gray-50);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
}

.whatif-scenario-card:hover {
    background: var(--brand-soft);
    border-color: var(--brand-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(65, 143, 111, 0.1);
}

.whatif-scenario-card.active {
    background: linear-gradient(135deg, var(--brand-soft) 0%, var(--gray-50) 100%);
    border-color: var(--brand-primary);
}

.whatif-scenario-text {
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 500;
}

.whatif-scenario-arrow {
    color: var(--text-muted);
    transition: color var(--transition-base);
}

.whatif-scenario-card:hover .whatif-scenario-arrow {
    color: var(--brand-primary);
}

.whatif-result {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: linear-gradient(135deg, var(--brand-soft) 0%, var(--white) 100%);
    border: 1px solid var(--brand-primary);
    border-radius: var(--radius-md);
}

.whatif-result-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: var(--spacing-xs);
}

.whatif-result-header svg {
    flex-shrink: 0;
}

.whatif-result p {
    font-size: 0.875rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
}

@media (min-width: 768px) {
    .whatif-scenario-cards {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===========================
   Insights / Decision Profile
   =========================== */

.insights-locked-content {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg);
}

.insights-lock-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: var(--gray-100);
    border-radius: 50%;
}

.insights-lock-icon svg {
    stroke: var(--text-muted);
}

.insights-locked-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--spacing-sm) 0;
}

.insights-locked-subtitle {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 var(--spacing-xl) 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.insights-progress {
    max-width: 400px;
    margin: 0 auto;
}

.insights-progress-bar {
    height: 8px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--spacing-xs);
}

.insights-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-primary) 0%, var(--sage-600) 100%);
    border-radius: var(--radius-full);
    transition: width var(--transition-base);
}

.insights-progress-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
    margin: 0;
}

.insights-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--card-border);
}

.insights-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--brand-soft);
    border-radius: var(--radius-md);
}

.insights-header-icon svg {
    stroke: var(--brand-primary);
}

.insights-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.insights-dimensions {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.insight-dimension {
    padding: var(--spacing-md);
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.insight-dimension h4 {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 var(--spacing-xs) 0;
}

.insight-dimension-value {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin: 0 0 var(--spacing-xs) 0;
}

.insight-dimension-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.insights-unlock-notice {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-xl);
    padding: var(--spacing-md);
    background: var(--brand-soft);
    border: 1px solid var(--brand-primary);
    border-radius: var(--radius-md);
}

.insights-unlock-notice svg {
    flex-shrink: 0;
    stroke: var(--brand-primary);
}

.insights-unlock-notice p {
    font-size: 0.875rem;
    color: var(--text-primary);
    margin: 0;
}

.insights-blind-spots {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, #FEF5F3 0%, #FDE8E4 100%);
    border: 1px solid #E07A5F;
    border-radius: var(--radius-md);
}

.insights-blind-spots-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: #E07A5F;
    margin: 0 0 var(--spacing-md) 0;
}

.insights-blind-spots-title svg {
    flex-shrink: 0;
    stroke: #E07A5F;
}

#blind-spots-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#blind-spots-list li {
    font-size: 0.875rem;
    color: var(--text-primary);
    line-height: 1.6;
    padding-left: var(--spacing-lg);
    position: relative;
    margin-bottom: var(--spacing-sm);
}

#blind-spots-list li:before {
    content: '⚠';
    position: absolute;
    left: 0;
    color: #E07A5F;
}

#blind-spots-list li:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .insights-dimensions {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===========================
   Share Section (Redesigned)
   =========================== */

.share-section {
    padding: var(--spacing-lg);
    background: var(--gray-50);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
}

.share-row {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.share-text h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--spacing-xs) 0;
}

.share-text p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.share-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.share-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
}

@media (min-width: 768px) {
    .share-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .share-actions {
        flex-shrink: 0;
    }

    .share-actions .btn {
        flex: 0 0 auto;
        min-width: 120px;
    }
}

/* ===========================
   Confidence & Reversibility Badges
   =========================== */

.rec-badges {
    display: flex;
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--card-border);
}

.rec-badge-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rec-badge-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Info tooltip */
.info-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: help;
}

.info-icon {
    color: var(--text-muted);
    opacity: 0.6;
    transition: opacity 200ms ease;
}

.info-tooltip:hover .info-icon {
    opacity: 1;
}

.tooltip-text {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-900);
    color: white;
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    padding: 8px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
    z-index: 100;
}

.tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--gray-900);
}

.info-tooltip:hover .tooltip-text {
    opacity: 1;
}

.rec-progress-ring-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
}

.rec-progress-ring {
    flex-shrink: 0;
}

.rec-ring-bg {
    opacity: 0.2;
}

.rec-ring-fill {
    transition: stroke-dashoffset 600ms ease, stroke 300ms ease;
}

.rec-badge-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}

/* ===========================
   Accordion Fixes
   =========================== */

.similar-decisions-header,
.gains-tradeoffs-header,
.risks-header {
    cursor: pointer;
    user-select: none;
}

.similar-collapse-btn svg,
.gains-collapse-btn svg,
.risks-collapse-btn svg {
    transition: transform 200ms ease;
}

.similar-decisions-card.collapsed .similar-collapse-btn svg,
.gains-tradeoffs-container.collapsed .gains-collapse-btn svg,
.risks-container.collapsed .risks-collapse-btn svg {
    transform: rotate(180deg);
}

.similar-decisions-card.collapsed .similar-decisions-list,
.gains-tradeoffs-container.collapsed .gains-tradeoffs-grid,
.risks-container.collapsed .risks-list {
    display: none;
}

/* ===========================
   Reframing Step - WOW Moment
   =========================== */

.reframe-headline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.reframe-icon {
    color: var(--brand-primary);
    flex-shrink: 0;
}

/* Info Tooltip */
.info-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.info-icon {
    color: var(--text-muted);
    cursor: help;
    flex-shrink: 0;
}

.tooltip-content {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-900);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    line-height: 1.5;
    max-width: 280px;
    text-align: left;
    white-space: normal;
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--gray-900);
}

.info-tooltip:hover .tooltip-content {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 768px) {
    .info-tooltip:active .tooltip-content {
        opacity: 1;
        pointer-events: auto;
    }

    /* Prevent tooltip cutoff on mobile */
    .tooltip-content {
        left: auto;
        right: 0;
        transform: none;
        max-width: calc(100vw - 32px);
    }

    .tooltip-content::after {
        left: auto;
        right: 16px;
        transform: none;
    }
}

/* Original Question as Pull Quote */
.reframe-original-quote {
    margin: var(--spacing-xl) auto;
    max-width: 600px;
}

.quote-label {
    font-size: var(--text-label);
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.quote-content {
    position: relative;
    padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-lg) calc(var(--spacing-lg) + 40px);
    background: var(--card-bg);
    border-left: 3px solid var(--brand-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.quote-mark {
    position: absolute;
    left: var(--spacing-md);
    top: var(--spacing-md);
    color: var(--brand-primary);
    opacity: 0.3;
}

.quote-text {
    font-size: 1.125rem;
    font-weight: 500;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
}

/* Transition Moment */
.reframe-transition {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin: var(--spacing-2xl) 0 var(--spacing-xl) 0;
}

.transition-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--brand-soft);
    border-radius: 50%;
    color: var(--brand-primary);
    flex-shrink: 0;
}

.transition-text {
    font-size: var(--text-body);
    font-weight: 500;
    color: var(--text-secondary);
    margin: 0;
    white-space: nowrap;
}

/* Reframe Cards Container */
.reframe-cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

/* Reframe Card with Personality */
.reframe-card {
    position: relative;
    padding: var(--spacing-lg);
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: var(--radius-card);
    cursor: pointer;
    transition: all 200ms ease;
    overflow: hidden;
}

.reframe-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    transition: all 200ms ease;
}

/* Card Type Variations - All sage green for consistency */
.reframe-card.type-motivation::before {
    background: linear-gradient(180deg, var(--brand-primary) 0%, var(--sage-600) 100%);
}

.reframe-card.type-growth::before {
    background: linear-gradient(180deg, var(--brand-primary) 0%, var(--sage-600) 100%);
}

.reframe-card.type-tradeoffs::before {
    background: linear-gradient(180deg, var(--brand-primary) 0%, var(--sage-600) 100%);
}

/* Hover State */
.reframe-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: currentColor;
}

.reframe-card.type-motivation:hover {
    border-color: var(--brand-primary);
}

.reframe-card.type-growth:hover {
    border-color: var(--brand-primary);
}

.reframe-card.type-tradeoffs:hover {
    border-color: var(--brand-primary);
}

/* Selected State */
.reframe-card.selected {
    border-width: 2px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.reframe-card.selected.type-motivation {
    background: linear-gradient(135deg, var(--brand-soft) 0%, var(--card-bg) 100%);
    border-color: var(--brand-primary);
}

.reframe-card.selected.type-growth {
    background: linear-gradient(135deg, var(--brand-soft) 0%, var(--card-bg) 100%);
    border-color: var(--brand-primary);
}

.reframe-card.selected.type-tradeoffs {
    background: linear-gradient(135deg, var(--brand-soft) 0%, var(--card-bg) 100%);
    border-color: var(--brand-primary);
}

/* Fade other cards when one is selected */
.reframe-cards-container.has-selection .reframe-card:not(.selected) {
    opacity: 0.6;
}

/* Card Header */
.reframe-card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.reframe-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-icon);
    flex-shrink: 0;
}

/* All card icons use sage green for consistency */
.type-motivation .reframe-card-icon {
    background: var(--brand-soft);
    color: var(--brand-primary);
}

.type-growth .reframe-card-icon {
    background: var(--brand-soft);
    color: var(--brand-primary);
}

.type-tradeoffs .reframe-card-icon {
    background: var(--brand-soft);
    color: var(--brand-primary);
}

.reframe-card-checkmark {
    margin-left: auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reframe-card.selected .reframe-card-checkmark {
    display: flex;
}

.type-motivation.selected .reframe-card-checkmark {
    background: var(--brand-primary);
    color: white;
}

.type-growth.selected .reframe-card-checkmark {
    background: var(--brand-primary);
    color: white;
}

.type-tradeoffs.selected .reframe-card-checkmark {
    background: var(--brand-primary);
    color: white;
}

/* Card Content */
.reframe-card-question {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: var(--spacing-sm);
}

.reframe-card-insight {
    font-size: var(--text-sm);
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Loading Skeleton */
.reframe-loading {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.reframe-skeleton-card {
    height: 120px;
    background: linear-gradient(90deg, var(--gray-100) 0%, var(--gray-50) 50%, var(--gray-100) 100%);
    background-size: 200% 100%;
    border-radius: var(--radius-card);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Custom Reframe Card - Equal option treatment */
.reframe-card-custom {
    margin-top: 0;
    margin-bottom: var(--spacing-md);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-card);
    padding: var(--spacing-lg);
    background: white;
    cursor: pointer;
    transition: all var(--transition-base);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reframe-card-custom:hover {
    border-color: var(--brand-primary);
    background: var(--brand-soft);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.reframe-card-custom .reframe-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--brand-soft);
    color: var(--brand-primary);
    border-radius: var(--radius-icon);
    flex-shrink: 0;
    margin-bottom: var(--spacing-sm);
}

.reframe-card-custom .reframe-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.input-reframe-custom {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: var(--text-body);
    background: white;
    transition: all 200ms ease;
}

.input-reframe-custom:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--brand-soft);
}

.input-reframe-custom::placeholder {
    color: var(--text-tertiary);
}

@media (min-width: 768px) {
    .reframe-cards-container {
        grid-template-columns: 1fr;
    }

    .quote-content {
        padding: var(--spacing-xl) var(--spacing-xl) var(--spacing-xl) calc(var(--spacing-xl) + 48px);
    }
}

/* ========================================
   OPTIONS STEP - MAKE IT WOW
   ======================================== */

/* Options Headline */
.options-headline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.options-icon {
    color: var(--brand-primary);
    flex-shrink: 0;
}

/* Options Cards Container */
.options-cards-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

/* Option Card - The Path */
.option-card {
    position: relative;
    display: flex;
    align-items: stretch;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: all 200ms ease;
    min-height: 80px;
}

.option-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    transition: all 200ms ease;
}

/* Color variations for each option */
.option-card:nth-child(1)::before {
    background: linear-gradient(180deg, var(--brand-primary) 0%, var(--sage-600) 100%);
}

.option-card:nth-child(2)::before {
    background: linear-gradient(180deg, #F4A261 0%, #E89B4F 100%);
}

.option-card:nth-child(3)::before {
    background: linear-gradient(180deg, #60A5FA 0%, #3B82F6 100%);
}

.option-card:nth-child(4)::before {
    background: linear-gradient(180deg, #A78BFA 0%, #8B5CF6 100%);
}

.option-card:nth-child(n+5)::before {
    background: linear-gradient(180deg, var(--sage-500) 0%, var(--sage-600) 100%);
}

/* Option Letter Label */
.option-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    flex-shrink: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--gray-50);
    border-right: 1px solid var(--card-border);
}

/* Option Content */
.option-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: var(--spacing-md);
    gap: var(--spacing-xs);
}

.option-input {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    background: transparent;
    border: none;
    outline: none;
    padding: 0;
    width: 100%;
}

.option-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.option-input:focus {
    color: var(--text-primary);
}

/* Micro-label - AI-generated archetype */
.option-micro-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 4px;
}

.option-micro-label::before {
    content: '→';
    color: var(--brand-primary);
    font-style: normal;
}

/* Delete Button */
.option-delete {
    position: absolute;
    top: 50%;
    right: var(--spacing-md);
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: all 200ms ease;
    color: var(--text-muted);
}

.option-delete:hover {
    background: var(--error-soft);
    color: var(--error-primary);
}

.option-card:hover .option-delete {
    opacity: 1;
}

/* Hover State */
.option-card:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-primary);
}

/* Focus State (when input is focused) */
.option-card:focus-within {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--brand-soft);
}

/* AI Option Suggestion Card */
.option-suggestion-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: #FEFDF8;
    border: 2px dashed var(--sage-300);
    border-radius: var(--radius-card);
    margin-bottom: var(--spacing-md);
    transition: all 200ms ease;
}

.option-suggestion-card:hover {
    background: #FDFCF5;
    border-color: var(--sage-400);
}

.option-suggestion-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sage-100);
    border-radius: 50%;
}

.option-suggestion-icon svg {
    color: var(--sage-600);
}

.option-suggestion-content {
    flex: 1;
    min-width: 0;
}

.option-suggestion-label {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--sage-600);
    margin-bottom: 4px;
}

.option-suggestion-text {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--text-primary);
    font-style: italic;
}

.option-suggestion-text::before {
    content: '"';
}

.option-suggestion-text::after {
    content: '"';
}

.option-suggestion-add-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--brand-soft);
    color: var(--brand-primary);
    border: 1px solid var(--brand-primary);
    border-radius: var(--radius-button);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 200ms ease;
}

.option-suggestion-add-btn:hover {
    background: var(--brand-primary);
    color: white;
}

.option-suggestion-add-btn svg {
    transition: color 200ms ease;
}

.option-suggestion-dismiss {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: var(--gray-400);
    cursor: pointer;
    transition: all 200ms ease;
    padding: 0;
}

.option-suggestion-dismiss:hover {
    background: var(--gray-100);
    color: var(--gray-600);
}

/* Add Another Path Button */
.options-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    width: 100%;
    padding: var(--spacing-md);
    color: var(--brand-primary);
    font-weight: 500;
}

.options-add-btn svg {
    transition: transform 200ms ease;
}

.options-add-btn:hover svg {
    transform: rotate(90deg);
}

/* Helper Text */
.options-helper-text {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: var(--spacing-xs);
    margin-bottom: 0;
}

/* Timeline Chips Container */
.timeline-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.timeline-chip {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--card-border);
    border-radius: 14px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 200ms ease;
    white-space: nowrap;
}

.timeline-chip svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: color 200ms ease;
}

.timeline-chip:hover {
    border-color: var(--sage-400);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.timeline-chip:hover svg {
    color: var(--brand-primary);
}

.timeline-chip.selected {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(65, 143, 111, 0.2);
}

.timeline-chip.selected svg {
    color: white;
}

/* Timeline Cards Container (for split page) */
.timeline-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.timeline-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    font-family: var(--font-sans);
    font-size: var(--text-body);
    font-weight: 500;
    color: var(--text-primary);
}

.timeline-card svg {
    width: 24px;
    height: 24px;
    color: var(--text-tertiary);
    transition: color var(--transition-base);
}

.timeline-card:hover {
    border-color: var(--brand-primary);
    background: var(--brand-soft);
}

.timeline-card:hover svg {
    color: var(--brand-primary);
}

.timeline-card.selected {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(65, 143, 111, 0.2);
}

.timeline-card.selected svg {
    color: white;
}

/* Date Picker */
.timeline-date-picker {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-card);
}

.timeline-date-picker .form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.timeline-date-picker .input {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: var(--text-body);
    background: white;
    transition: all 200ms ease;
}

.timeline-date-picker .input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--brand-soft);
}

/* Reminder Section */
.timeline-reminder-section {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-card);
}

.reminder-header {
    margin-bottom: var(--spacing-md);
}

.reminder-checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
}

.reminder-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid var(--gray-300);
    cursor: pointer;
    accent-color: var(--brand-primary);
}

.reminder-label-text {
    font-size: var(--text-body);
    font-weight: 500;
    color: var(--text-primary);
}

.reminder-sublabel {
    margin: 4px 0 0 28px;
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* Reminder Options */
.reminder-options {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-200);
}

.reminder-method-toggle {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.reminder-method-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 200ms ease;
}

.reminder-method-btn svg {
    width: 16px;
    height: 16px;
}

.reminder-method-btn:hover {
    border-color: var(--brand-primary);
    background: var(--brand-soft);
}

.reminder-method-btn.active {
    background: var(--brand-soft);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.reminder-email-info {
    padding: var(--spacing-md);
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.reminder-phone-input {
    margin-top: var(--spacing-md);
}

.reminder-phone-input .form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-primary);
}

.reminder-phone-input .input {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: var(--text-body);
    background: white;
    transition: all 200ms ease;
}

.reminder-phone-input .input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--brand-soft);
}

/* Add Option Button (dashed card style) */
.btn-add-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    width: 100%;
    padding: var(--spacing-md);
    background: var(--gray-50);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    color: var(--brand-primary);
    font-family: var(--font-sans);
    font-size: var(--text-body);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-add-option svg {
    width: 20px;
    height: 20px;
    transition: transform 200ms ease;
}

.btn-add-option:hover {
    background: white;
    border-color: var(--brand-primary);
}

.btn-add-option:hover svg {
    transform: rotate(90deg);
}

/* Category Badge Container */
.category-badge-container {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.category-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background: linear-gradient(135deg, var(--sage-50) 0%, white 100%);
    border: 2px solid var(--sage-200);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-sm);
}

.category-icon {
    color: var(--brand-primary);
    flex-shrink: 0;
}

.category-badge-text {
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.category-name {
    font-weight: 600;
    color: var(--sage-700);
}

.category-change-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: white;
    border: 1px solid var(--sage-200);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--sage-600);
    cursor: pointer;
    transition: all 200ms ease;
}

.category-change-btn:hover {
    background: var(--sage-50);
    border-color: var(--sage-300);
    color: var(--sage-700);
}

.category-change-btn svg {
    width: 12px;
    height: 12px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .option-letter {
        width: 50px;
        font-size: 1.125rem;
    }

    .timeline-chips-container {
        flex-direction: column;
    }

    .timeline-chip {
        justify-content: center;
    }

    .timeline-cards-container {
        grid-template-columns: 1fr;
    }

    .category-badge {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   VALUES STEP - MAKE IT WOW
   ======================================== */

/* Category Context Text */
.values-category-text {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-style: italic;
    color: var(--gray-500);
    text-align: center;
    margin: 0 auto var(--spacing-lg);
}

/* Selection Counter */
.values-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-xl);
}

.counter-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 300ms ease;
}

.counter-text.complete {
    color: var(--brand-primary);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

/* Value Pill */
.value-pill {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--card-border);
    border-radius: 14px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 200ms ease;
    user-select: none;
    opacity: 0;
    animation: fadeInValue 400ms ease forwards;
}

/* Staggered fade-in animation */
@keyframes fadeInValue {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.value-pill:nth-child(1) { animation-delay: 0ms; }
.value-pill:nth-child(2) { animation-delay: 50ms; }
.value-pill:nth-child(3) { animation-delay: 100ms; }
.value-pill:nth-child(4) { animation-delay: 150ms; }
.value-pill:nth-child(5) { animation-delay: 200ms; }
.value-pill:nth-child(6) { animation-delay: 250ms; }
.value-pill:nth-child(7) { animation-delay: 300ms; }
.value-pill:nth-child(8) { animation-delay: 350ms; }
.value-pill:nth-child(9) { animation-delay: 400ms; }
.value-pill:nth-child(10) { animation-delay: 450ms; }

/* Value Icon */
.value-icon {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: all 200ms ease;
}

/* Checkmark (hidden by default) */
.value-checkmark {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 200ms ease;
}

.value-checkmark svg {
    width: 10px;
    height: 10px;
    color: var(--brand-primary);
}

/* Hover State */
.value-pill:hover {
    border-color: var(--sage-400);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

/* Selected State */
.value-pill.selected {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(65, 143, 111, 0.2);
    animation: selectPulse 300ms ease;
    opacity: 1 !important;
}

@keyframes selectPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.value-pill.selected .value-icon {
    color: white;
}

.value-pill.selected .value-checkmark {
    opacity: 1;
    transform: scale(1);
}

/* Add Custom Value Pill */
.value-pill.add-custom {
    border-style: dashed;
    border-color: var(--gray-300);
    color: var(--text-muted);
    background: var(--gray-50);
}

.value-pill.add-custom:hover {
    border-color: var(--brand-primary);
    background: var(--brand-soft);
    color: var(--brand-primary);
}

.value-pill.add-custom .value-icon {
    color: var(--text-muted);
}

.value-pill.add-custom:hover .value-icon {
    color: var(--brand-primary);
}

/* Custom Value Input (expanded state) */
.value-custom-input {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background: white;
    border: 2px solid var(--brand-primary);
    border-radius: var(--radius-pill);
    box-shadow: 0 0 0 3px var(--brand-soft);
}

.value-custom-input input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
    background: transparent;
}

.value-custom-input input::placeholder {
    color: var(--text-muted);
}

/* Helper Text */
.values-helper-text {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: var(--spacing-lg);
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-pill {
        justify-content: center;
    }
}

/* ========================================
   RESULTS PAGE - SHARE & ACTIONS
   ======================================== */

/* Share Pill Link */
.share-pill-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--brand-soft);
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--brand-primary);
    text-decoration: none;
    transition: all 200ms ease;
}

.share-pill-link svg:not(.arrow-icon) {
    color: var(--brand-primary);
    flex-shrink: 0;
}

.share-pill-link .arrow-icon {
    color: var(--brand-primary);
    flex-shrink: 0;
    transition: transform 200ms ease;
}

.share-pill-link:hover {
    background: var(--sage-200);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.share-pill-link:hover .arrow-icon {
    transform: translateX(2px);
}

/* Edit Inputs Link */
.edit-inputs-link {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    text-align: center;
    padding: var(--spacing-sm);
    transition: color 200ms ease;
}

.edit-inputs-link:hover {
    color: var(--brand-primary);
}

/* ========================================
   WHAT-IF SCENARIOS
   ======================================== */

/* Scenario Cards Container */
.whatif-scenario-cards {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

/* Individual Scenario Card */
.whatif-scenario-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: #F5F5F0;
    border: 1px solid #E8E8E0;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 200ms ease;
}

.whatif-scenario-card:hover {
    background: #EEEEEA;
    border-color: var(--sage-300);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.whatif-scenario-card.active {
    background: var(--brand-soft);
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 2px var(--brand-soft);
}

/* Scenario Icon */
.whatif-scenario-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
}

/* Scenario Content */
.whatif-scenario-content {
    flex: 1;
}

.whatif-scenario-label {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.whatif-scenario-question {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .whatif-scenario-card {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .whatif-scenario-icon {
        width: 32px;
        height: 32px;
        font-size: 1.25rem;
    }
}

/* Current Priorities Display */
.whatif-current-priorities {
    padding: var(--spacing-md);
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.whatif-priorities-display {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Preset Buttons */
.whatif-presets {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.whatif-preset-btn {
    flex: 1;
    min-width: 140px;
    padding: var(--spacing-sm) var(--spacing-md);
    background: white;
    border: 2px solid var(--card-border);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 200ms ease;
}

.whatif-preset-btn:hover {
    background: var(--brand-soft);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    transform: translateY(-1px);
}

.whatif-preset-btn.active {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: white;
}

.whatif-reset-btn {
    border-style: dashed;
    color: var(--text-muted);
}

.whatif-reset-btn:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
    color: var(--text-primary);
}

/* Results Card */
.whatif-result-card {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, #F0F9F6 0%, #FFFFFF 100%);
    border: 2px solid var(--brand-primary);
    border-radius: var(--radius-lg);
}

.whatif-result-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.whatif-result-header h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin: 0;
}

.whatif-result-header svg {
    color: var(--brand-primary);
    flex-shrink: 0;
}

.whatif-new-rec {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    background: white;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--brand-primary);
}

.whatif-score-changes {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.whatif-score-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.875rem;
}

.whatif-score-option {
    color: var(--text-primary);
}

.whatif-score-delta {
    font-weight: 600;
    font-size: 0.8125rem;
}

.whatif-score-delta.positive {
    color: #10B981; /* Green */
}

.whatif-score-delta.negative {
    color: #EF4444; /* Red */
}

.whatif-score-delta.neutral {
    color: var(--text-muted);
}

.whatif-same-rec,
.whatif-different-rec {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.whatif-same-rec {
    color: var(--text-primary);
}

.whatif-different-rec {
    color: var(--text-primary);
}

.whatif-sensitivity {
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-200);
}

.whatif-sensitivity-badge {
    display: inline-block;
    padding: 4px 12px;
    border: 1.5px solid;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.025em;
}

@media (max-width: 640px) {
    .whatif-presets {
        flex-direction: column;
    }

    .whatif-preset-btn {
        width: 100%;
    }
}

/* ========================================
   ASSUMPTIONS STEP - FUTURE CARDS
   ======================================== */

/* Assumption Card Container */
.assumption-card {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: var(--radius-card);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    position: relative;
    transition: all 200ms ease;
}

.assumption-card:focus-within {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--brand-soft);
}

/* Card Header */
.assumption-card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.assumption-letter {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    flex-shrink: 0;
}

.assumption-option-name {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}

.assumption-question {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
}

/* Textarea */
.assumption-textarea {
    width: 100%;
    padding: var(--spacing-sm);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-primary);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    resize: vertical;
    transition: all 200ms ease;
}

.assumption-textarea:focus {
    outline: none;
    background: white;
    border-color: var(--brand-primary);
}

.assumption-textarea::placeholder {
    color: var(--text-muted);
    font-style: italic;
}

/* Uncertain Card (Dashed Border) */
.assumption-uncertain {
    border-style: solid;
    border-color: var(--card-border);
    background: var(--card-bg);
}

.assumption-uncertain-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

.assumption-uncertain-header svg {
    color: var(--text-secondary);
    flex-shrink: 0;
}

.assumption-uncertain-header h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.assumption-helper {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--sage-600);
    margin-bottom: var(--spacing-sm);
    font-style: italic;
}

/* ============================================================
   CHALLENGES STEP - ICONS
   ============================================================ */

/* Challenge chip - clean design without icons */
.challenge-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-btn);
    background: white;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.challenge-chip:hover {
    border-color: #418F6F;
}

.challenge-chip.selected {
    border-color: #418F6F;
    background: #F0F9F6;
}

/* Hide the icon circles - cleaner look */
.challenge-chip .challenge-icon,
.challenge-chip .chip-icon {
    display: none;
}


/* ============================================================
   SUMMARY STEP - NARRATIVE INTRO
   ============================================================ */

.summary-narrative {
    background: var(--sage-50);
    border-left: 4px solid var(--brand-primary);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.narrative-decision {
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.5;
}

.narrative-decision span {
    font-weight: 600;
    color: var(--text-primary);
}

.narrative-context {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--sage-600);
    margin: 0;
    line-height: 1.5;
}

/* Summary Cards with consistent left border */
#deep-summary-cards .card {
    border-left: 4px solid var(--brand-primary);
}

/* Summary Section Headers */
.summary-section-header {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--spacing-lg) 0;
    padding-top: 0;
}

/* Summary Tags Container */
.summary-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

/* Summary Tags - Solid Pills */
.summary-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 16px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: default;
    user-select: none;
}

/* Value Tags - Sage border style */
.summary-tag-value {
    background: white;
    color: var(--brand-primary);
    border: 1.5px solid var(--brand-primary);
}

/* Challenge Tags - Sage border style (consistent) */
.summary-tag-challenge {
    background: white;
    color: var(--brand-primary);
    border: 1.5px solid var(--brand-primary);
}

/* Assumptions List */
.assumption-item {
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--gray-100);
}

.assumption-item:first-child {
    padding-top: 0;
}

.assumption-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.assumption-item strong {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.assumption-item .assumption-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* User's Typed Context */
.user-context-text {
    font-style: italic;
    color: var(--sage-700);
    line-height: 1.6;
}

.user-context-text::before {
    content: '"';
    color: var(--sage-500);
}

.user-context-text::after {
    content: '"';
    color: var(--sage-500);
}

/* ============================================
   UPGRADE MODAL
   ============================================ */

.upgrade-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.upgrade-option-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition-base);
}

.upgrade-option-card:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 4px 12px rgba(65, 143, 111, 0.1);
}

.upgrade-option-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.upgrade-option-title {
    font-family: var(--font-heading);
    font-size: var(--text-subtitle);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.upgrade-option-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.upgrade-option-badge {
    background: var(--brand-soft);
    color: var(--brand-primary);
    font-family: var(--font-body);
    font-size: var(--text-label);
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
}

.upgrade-option-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.upgrade-option-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: var(--text-body);
    color: var(--text-primary);
}

.upgrade-option-features li svg {
    color: var(--brand-primary);
    flex-shrink: 0;
}

.upgrade-feature-muted {
    color: var(--text-tertiary);
}

.upgrade-feature-muted svg {
    color: var(--text-tertiary);
}

@media (min-width: 640px) {
    .upgrade-options {
        flex-direction: row;
    }

    .upgrade-option-card {
        flex: 1;
    }
}

/* ============================================
   FOUNDING MEMBER BADGE & BETA ACCESS
   ============================================ */

.founding-member-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
    color: #78350F;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.25);
    margin-top: var(--spacing-sm);
}

.founding-member-badge .badge-icon {
    font-size: 1rem;
    line-height: 1;
}

.founding-member-badge .badge-text {
    line-height: 1;
}

/* Pro Member Badge */
.pro-member-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #418F6F 0%, #2D6A4F 100%);
    color: white;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(65, 143, 111, 0.25);
    margin-top: var(--spacing-sm);
}

.pro-member-badge .pro-icon {
    font-size: 16px;
    line-height: 1;
}

.pro-member-badge .pro-text {
    line-height: 1;
}

/* Pro Status Card (replaces upgrade card for Pro users) */
.pro-status-card {
    background: linear-gradient(135deg, #F0F9F6 0%, #D1FAE5 100%);
    border: 1px solid #418F6F;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    text-align: center;
}

.pro-status-card .pro-member-badge {
    margin: 0 auto;
}

.pro-status-card p {
    color: #374151;
    font-size: 14px;
    margin-top: 12px;
    margin-bottom: 0;
}

/* Badge on Dashboard */
.dashboard-badges {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

/* Beta access note on Account page */
.beta-access-note {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--sage-50);
    border: 1px solid var(--sage-200);
    border-radius: var(--radius-md);
    color: var(--sage-700);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ============================================
   FEEDBACK COMPONENT (THUMBS UP/DOWN)
   ============================================ */

.feedback-container {
    text-align: center;
    padding: var(--spacing-lg) 0;
    margin: var(--spacing-lg) 0;
    border-top: 1px solid var(--gray-200);
}

.feedback-prompt {
    font-size: 0.95rem;
    color: var(--gray-700);
    font-weight: 500;
    margin-bottom: var(--spacing-md);
}

.feedback-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    align-items: center;
}

.feedback-btn {
    background: white;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md) var(--spacing-lg);
    cursor: pointer;
    transition: all 200ms ease;
    font-size: 1.5rem;
}

.feedback-btn:hover {
    border-color: var(--sage-400);
    background: var(--sage-50);
    transform: scale(1.05);
}

.feedback-btn.selected {
    border-color: var(--sage-500);
    background: var(--sage-100);
}

.feedback-icon {
    display: block;
    line-height: 1;
}

.feedback-text-container {
    margin-top: var(--spacing-lg);
    text-align: left;
}

.feedback-textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
    margin-bottom: var(--spacing-sm);
}

.feedback-textarea:focus {
    outline: none;
    border-color: var(--sage-400);
}

.feedback-thanks {
    color: var(--sage-700);
    font-weight: 600;
    font-size: 1rem;
    margin-top: var(--spacing-md);
}

/* ============================================
   DECISION PROFILE PROGRESS TEASER
   ============================================ */

.profile-teaser-card {
    background: linear-gradient(135deg, var(--sage-50) 0%, var(--white) 100%);
    border: 2px solid var(--sage-200);
    margin-bottom: var(--spacing-xl);
}

.profile-teaser-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.profile-teaser-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 var(--spacing-xs) 0;
}

.profile-teaser-subtitle {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin: 0;
}

.profile-teaser-progress {
    margin-bottom: var(--spacing-lg);
}

.profile-progress-bar {
    height: 12px;
    background: var(--gray-200);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
}

.profile-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--sage-500) 0%, var(--sage-600) 100%);
    border-radius: 20px;
    transition: width 0.5s ease;
}

.profile-progress-text {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sage-700);
}

.profile-teaser-description {
    text-align: center;
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   FOUNDER WELCOME NOTE
   ============================================ */

.founder-welcome-card {
    position: relative;
    background: #F0F9F6;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    max-width: 440px;
    box-shadow: 0 2px 8px rgba(65, 143, 111, 0.05);
    font-size: 0.9rem;
}

.founder-welcome-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: transparent;
    border: none;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--gray-500);
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 200ms ease;
}

.founder-welcome-close:hover {
    color: var(--gray-700);
}

.founder-welcome-content {
    padding-right: var(--spacing-lg);
}

.founder-welcome-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 var(--spacing-sm) 0;
}

.founder-welcome-text {
    color: var(--gray-700);
    line-height: 1.5;
    margin: 0 0 var(--spacing-sm) 0;
    font-size: 0.9rem;
}

.founder-welcome-text:last-of-type {
    margin-bottom: 0;
}

/* ========================================
   METHODOLOGY PAGE
   ======================================== */

#page-methodology {
    background: #FAFAFA;
}

.methodology-container {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-lg);
}

.methodology-hero {
    text-align: center;
    margin-bottom: 48px;
    padding-top: 80px;
}

.methodology-title {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 3rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.methodology-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.methodology-section {
    margin-bottom: 48px;
    background: #FFFFFF;
    padding: 40px;
    border-radius: var(--radius-lg);
}

.methodology-section-title {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.3;
}

.methodology-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.methodology-text-emphasis {
    font-size: 1.125rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-top: var(--spacing-lg);
}

.methodology-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-lg) 0;
}

.methodology-list li {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-lg);
    position: relative;
}

.methodology-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--sage-green);
    font-weight: bold;
}

.methodology-technique {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
    border-bottom: 1px solid var(--card-border);
}

.methodology-technique:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.technique-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #F0F9F6;
    color: #418F6F;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.technique-content {
    flex: 1;
}

.technique-title {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.technique-description {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.technique-citation {
    font-size: 13px;
    color: #9CA3AF;
    font-style: italic;
    line-height: 1.6;
}

.research-institutions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.institution {
    padding: 8px 16px;
    background: #F0F9F6;
    color: #418F6F;
    border: none;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 500;
}

.methodology-cta-section {
    text-align: center;
    padding: var(--spacing-3xl) 0;
    margin-top: 48px;
    border-top: 1px solid var(--card-border);
}

.methodology-cta-title {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-2xl);
    font-size: 1.125rem;
}

@media (max-width: 768px) {
    .methodology-title {
        font-size: 2.25rem;
    }

    .methodology-section {
        padding: 32px 24px;
        margin-bottom: 32px;
    }

    .methodology-section-title {
        font-size: 1.5rem;
    }

    .methodology-technique {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .technique-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .technique-title {
        font-size: 1.25rem;
    }

    .research-institutions {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   SITE FOOTER
   ======================================== */

.site-footer {
    padding: 24px;
    text-align: center;
    border-top: 1px solid #E5E7EB;
    background: transparent;
    margin-top: auto;
}

/* Hide footer on landing, auth, and onboarding pages */
#page-landing.active ~ .site-footer,
#page-signup.active ~ .site-footer,
#page-signin.active ~ .site-footer,
#page-login.active ~ .site-footer,
#page-post-signup-1.active ~ .site-footer,
#page-post-signup-2.active ~ .site-footer {
    display: none;
}

.site-footer a {
    color: #9CA3AF;
    font-size: 13px;
    text-decoration: none;
    margin: 0 16px;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: #418F6F;
}

/* ============================================
   RESULTS PAGE ACCORDIONS
   ============================================ */

/* Accordion Base */
.results-accordion {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
}

.accordion-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.accordion-icon {
    width: 40px;
    height: 40px;
    background: #F0F9F6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.accordion-chevron {
    transition: transform 0.2s;
    color: #6B7280;
}

.results-accordion.collapsed .accordion-chevron {
    transform: rotate(-90deg);
}

.results-accordion.collapsed .accordion-content {
    display: none;
}

.accordion-content {
    padding: 0 24px 24px;
}

.accordion-subtitle {
    color: #6B7280;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Section Labels */
.results-accordion .section-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6B7280;
    margin: 20px 0 12px;
}

.results-accordion .section-label:first-child {
    margin-top: 0;
}

.results-accordion .info-icon {
    font-size: 12px;
    color: #9CA3AF;
    cursor: help;
}

/* ============================================
   RECOMMENDATION CARD - Premium Styling
   ============================================ */
.recommendation-card {
    background: linear-gradient(135deg, #F0F9F6 0%, #E6F4EF 100%);
    border: 2px solid #418F6F;
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.recommendation-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(65, 143, 111, 0.1);
    border-radius: 50%;
}

.recommendation-card .loading-state {
    background: transparent;
}

.recommendation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.recommendation-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #418F6F;
}

.best-fit-badge {
    font-size: 12px;
    background: #418F6F;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
}

.recommendation-title {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 32px;
    color: #111827;
    margin-bottom: 16px;
    line-height: 1.2;
}

.recommendation-explanation {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
}

.recommendation-explanation p {
    margin-bottom: 12px;
}

.recommendation-explanation p:last-child {
    margin-bottom: 0;
}

.recommendation-explanation strong {
    color: #418F6F;
    font-weight: 600;
}

/* ============================================
   NEW ACCORDION STYLES (Why This Wins Tab)
   ============================================ */
.accordion {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    text-align: left;
}

.accordion-toggle:hover {
    background: #F9FAFB;
}

.accordion-preview-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.accordion-preview,
.confidence-preview,
.reversibility-preview {
    font-size: 12px;
    color: #418F6F;
    font-weight: 600;
}

.accordion .accordion-chevron {
    font-size: 12px;
    color: #9CA3AF;
    transition: transform 0.2s;
}

.accordion.collapsed .accordion-chevron {
    transform: rotate(-90deg);
}

.accordion .accordion-content {
    padding: 16px 20px 20px;
    border-top: 1px solid #E5E7EB;
}

.accordion.collapsed .accordion-content {
    display: none;
}

/* ============================================
   CONFIDENCE METER - Sage Only
   ============================================ */
.confidence-meter {
    margin-bottom: 16px;
}

.confidence-bar {
    height: 8px;
    background: #E5E7EB;
    border-radius: 4px;
    position: relative;
    overflow: visible;
}

.confidence-fill {
    height: 100%;
    background: #418F6F;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.confidence-marker {
    position: absolute;
    top: -4px;
    width: 16px;
    height: 16px;
    background: #418F6F;
    border: 3px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.confidence-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 12px;
    color: #6B7280;
}

.confidence-summary {
    font-size: 15px;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* ============================================
   REVERSIBILITY - Clean Design
   ============================================ */
.reversibility-visual {
    margin-bottom: 16px;
}

.reversibility-scale {
    height: 8px;
    background: #E5E7EB;
    border-radius: 4px;
    position: relative;
    overflow: visible;
}

.reversibility-fill {
    height: 100%;
    background: #418F6F;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.reversibility-marker {
    position: absolute;
    top: -4px;
    width: 16px;
    height: 16px;
    background: #418F6F;
    border: 3px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.reversibility-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 12px;
    color: #6B7280;
}

.reversibility-note,
.reversibility-explanation {
    font-size: 15px;
    color: #374151;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   TIPPING POINTS - Warning/Safe Cards
   ============================================ */
.tipping-title {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 16px;
    margin-top: 24px;
}

.tipping-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.tipping-card:last-child {
    margin-bottom: 0;
}

.tipping-card.warning {
    background: #FFFBEB;
    border-color: #FDE68A;
}

.tipping-card.safe {
    background: #F0FDF4;
    border-color: #BBF7D0;
}

.tipping-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.tipping-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tipping-icon.warning {
    background: #FEF3C7;
    color: #D97706;
}

.tipping-icon.safe {
    background: #DCFCE7;
    color: #16A34A;
}

.tipping-value {
    font-size: 15px;
    font-weight: 600;
    flex: 1;
    color: #111827;
}

.tipping-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
}

.tipping-badge.warning {
    background: #FDE68A;
    color: #92400E;
}

.tipping-badge.safe {
    background: #BBF7D0;
    color: #166534;
}

.tipping-insight {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 4px;
}

.tipping-result {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 16px;
}

.tipping-result.warning {
    color: #B45309;
}

.tipping-result.safe {
    color: #16A34A;
    margin-bottom: 0;
}

.tipping-scale {
    position: relative;
    padding-bottom: 28px;
}

.scale-track {
    height: 6px;
    background: linear-gradient(to right, #418F6F 0%, #418F6F 50%, #F59E0B 50%, #F59E0B 100%);
    border-radius: 3px;
    position: relative;
}

.scale-marker {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    top: -4px;
    transform: translateX(-50%);
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.scale-marker.you {
    background: #418F6F;
}

.scale-marker.change {
    background: #F59E0B;
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.scale-labels span {
    font-size: 11px;
    font-weight: 500;
}

.label-you {
    color: #418F6F;
}

.label-change {
    color: #D97706;
    text-align: right;
}

/* ============================================
   REFLECTION QUESTIONS - Better Styling
   ============================================ */
.reflection-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reflection-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #F3F4F6;
    font-size: 15px;
    color: #374151;
    line-height: 1.5;
}

.reflection-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.reflection-list li::before {
    content: '?';
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    width: 24px;
    height: 24px;
    background: #F0F9F6;
    color: #418F6F;
    border-radius: 50%;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

/* Compare Footnote */
.compare-footnote {
    font-size: 13px;
    color: #6B7280;
    text-align: center;
    margin-top: 16px;
    font-style: italic;
}

/* Priorities Card */
.priorities-card {
    background: #F0F9F6;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.priorities-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.priorities-values {
    display: flex;
    justify-content: space-around;
    margin-top: 16px;
    flex-wrap: wrap;
    gap: 16px;
}

.priority-value {
    text-align: center;
    min-width: 80px;
}

.priority-label {
    font-size: 11px;
    color: #418F6F;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.priority-percent {
    font-size: 24px;
    font-weight: 600;
    color: #418F6F;
}

/* Scenario Pills */
.scenario-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.scenario-pill {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.scenario-pill:hover {
    border-color: #418F6F;
}

.scenario-pill.active {
    background: #418F6F;
    color: white;
    border-color: #418F6F;
}

.scenario-pill.reset {
    color: #418F6F;
    font-weight: 500;
}

/* Priority Sliders */
.priority-sliders {
    margin-bottom: 20px;
}

.slider-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.slider-icon {
    width: 24px;
    text-align: center;
    font-size: 16px;
}

.slider-label {
    width: 100px;
    font-size: 14px;
    color: #374151;
}

.priority-slider {
    flex: 1;
    accent-color: #418F6F;
    height: 6px;
}

.slider-value {
    width: 50px;
    text-align: right;
    font-size: 14px;
    color: #6B7280;
}

/* What-if Results Card */
.whatif-results-card {
    background: #F9FAFB;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.whatif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.whatif-header > span:first-child {
    font-size: 14px;
    color: #6B7280;
}

.robust-badge {
    background: #F0F9F6;
    color: #418F6F;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 12px;
}

.whatif-results-card h4 {
    font-size: 16px;
    font-weight: 400;
    color: #374151;
    margin-bottom: 16px;
}

.whatif-results-card h4 strong {
    color: #111827;
}

.whatif-options {
    margin: 16px 0;
}

.whatif-option {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 14px;
}

.whatif-option.recommended {
    border-color: #418F6F;
    background: #F0F9F6;
}

.whatif-option span:last-child {
    color: #6B7280;
}

.winner-margin {
    font-size: 14px;
    color: #6B7280;
}

.winner-margin strong {
    color: #111827;
}

/* Sensitivity Analysis */
.sensitivity-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px;
}

.sensitivity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-weight: 500;
    color: #111827;
}

.sensitivity-card > p {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 16px;
}

.sensitivity-rows {
    border-top: 1px solid #F3F4F6;
}

.sensitivity-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #F3F4F6;
    font-size: 14px;
}

.sensitivity-row:last-child {
    border-bottom: none;
}

.sensitivity-row span {
    color: #374151;
}

.sensitivity-row a {
    color: #418F6F;
    text-decoration: none;
    font-weight: 500;
}

.sensitivity-row a:hover {
    text-decoration: underline;
}

/* Get Input Section (in Why This Wins tab) */
.get-input-section {
    background: #F9FAFB;
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
    text-align: center;
}

.get-input-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #111827;
}

.get-input-section p {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 16px;
}

/* ============================================
   ICON CIRCLES
   ============================================ */
.icon-circle {
    width: 40px;
    height: 40px;
    background: #F0F9F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-circle svg {
    width: 20px;
    height: 20px;
    color: #418F6F;
    stroke: currentColor;
}

.icon-circle.green {
    background: #DCFCE7;
}

.icon-circle.green svg {
    color: #22C55E;
}

.icon-circle.amber {
    background: #FEF3C7;
}

.icon-circle.amber svg {
    color: #F59E0B;
}

.icon-circle.red {
    background: #FEE2E2;
}

.icon-circle.red svg {
    color: #EF4444;
}

/* ============================================
   VERTICAL COMPARE CARDS
   ============================================ */
.compare-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.compare-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px;
}

.compare-card.recommended {
    border-color: #418F6F;
    border-width: 2px;
    background: #FAFDFB;
}

.compare-summary {
    font-size: 15px;
    color: #374151;
    margin-bottom: 20px;
    line-height: 1.5;
}

.compare-summary strong {
    color: #418F6F;
}

.compare-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.compare-card-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.compare-card-header .badge {
    background: #418F6F;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.compare-scores {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.score-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.score-row .score-label {
    width: 100px;
    font-size: 14px;
    color: #374151;
    flex-shrink: 0;
}

.score-bar {
    flex: 1;
    height: 8px;
    background: #E5E7EB;
    border-radius: 4px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: #418F6F;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.score-row .score-value {
    width: 40px;
    text-align: right;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.score-fill.other {
    background: #9CA3AF;
}

.highest-badge {
    color: #418F6F;
    font-size: 14px;
    margin-left: 4px;
    flex-shrink: 0;
}

/* ============================================
   DOT TABLE COMPARISON
   ============================================ */
.compare-table-wrapper {
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.scroll-indicator {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(to right, transparent, white 50%);
    padding: 20px 8px 20px 24px;
    color: #9CA3AF;
    font-size: 18px;
    pointer-events: none;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 320px;
}

.compare-table th,
.compare-table td {
    padding: 16px 12px;
    text-align: center;
    border-bottom: 1px solid #F3F4F6;
}

.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: #6B7280;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.compare-table thead th {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    vertical-align: bottom;
    padding-bottom: 12px;
}

.compare-table th.recommended,
.compare-table td.recommended {
    background: #F0FDF4;
}

.rec-badge {
    display: block;
    font-size: 11px;
    color: #418F6F;
    font-weight: 600;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.dots {
    font-size: 14px;
    letter-spacing: 2px;
    color: #418F6F;
}

.dots.muted {
    color: #D1D5DB;
}

/* ============================================
   CURRENT PRIORITIES CARD
   ============================================ */
.current-priorities-card {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 16px 20px;
}

.priorities-header {
    margin-bottom: 12px;
}

.priorities-label {
    font-size: 11px;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.priorities-values {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.priority-value {
    display: flex;
    align-items: center;
    gap: 8px;
}

.priority-value .priority-label {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}

.priority-value .priority-percent {
    font-size: 13px;
    font-weight: 600;
    color: #418F6F;
}

/* ============================================
   PRIORITY SLIDERS
   ============================================ */
.priority-sliders {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.slider-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.slider-row .slider-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.slider-row .slider-label {
    width: 100px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    flex-shrink: 0;
}

.priority-slider {
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: #E5E7EB;
    border-radius: 3px;
    outline: none;
}

.priority-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: #418F6F;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.priority-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #418F6F;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.slider-row .slider-value {
    width: 45px;
    text-align: right;
    font-size: 14px;
    font-weight: 600;
    color: #418F6F;
}

/* ============================================
   HOW CONFIDENT IS THIS - CONFIDENCE SECTION
   ============================================ */
.confidence-section {
    margin-top: 32px;
}

.confidence-section h3 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 20px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 16px;
}

/* Confidence Meter */
.confidence-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.confidence-meter {
    margin-bottom: 12px;
}

.confidence-bar {
    height: 8px;
    background: #E5E7EB;
    border-radius: 4px;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.confidence-fill.strong {
    background: #418F6F;
    width: 85%;
}

.confidence-fill.moderate {
    background: #F59E0B;
    width: 60%;
}

.confidence-fill.close {
    background: #EF4444;
    width: 35%;
}

.confidence-summary {
    font-size: 15px;
    color: #374151;
    margin: 0;
    font-weight: 500;
}

/* Tipping Section */
.tipping-section {
    margin-bottom: 16px;
}

.tipping-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
}

.tipping-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.tipping-card.safe {
    background: #FAFDFB;
    border-color: #D1FAE5;
}

.tipping-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.tipping-header .icon-circle {
    width: 32px;
    height: 32px;
    min-width: 32px;
}

.tipping-value {
    font-weight: 600;
    font-size: 15px;
    color: #111827;
}

.tipping-insight {
    font-size: 14px;
    color: #6B7280;
    margin: 0 0 4px 0;
}

.tipping-result {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 8px 0;
}

.tipping-result.warning {
    color: #D97706;
}

.tipping-result.safe {
    color: #418F6F;
}

/* Tipping Scale */
.tipping-scale {
    margin-top: 16px;
    padding-top: 8px;
}

.scale-track {
    height: 4px;
    background: #E5E7EB;
    border-radius: 2px;
    position: relative;
    margin-bottom: 32px;
}

.scale-marker {
    position: absolute;
    top: -4px;
    transform: translateX(-50%);
}

.scale-marker::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.scale-marker.you::before {
    background: #418F6F;
}

.scale-marker.change::before {
    background: #F59E0B;
}

.marker-label {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: #6B7280;
    white-space: nowrap;
}

/* Reflection Card */
.reflection-card {
    background: #F9FAFB;
    border-radius: 12px;
    padding: 20px;
}

.reflection-card h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #374151;
}

.reflection-card ul {
    margin: 0;
    padding-left: 20px;
}

.reflection-card li {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 8px;
}

.reflection-card li:last-child {
    margin-bottom: 0;
}

/* ============================================
   WHAT-IF RESULTS ENHANCEMENTS
   ============================================ */
.whatif-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 16px 0;
}

.whatif-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #F9FAFB;
    border-radius: 8px;
    font-size: 14px;
}

.whatif-option.recommended {
    background: #F0FDF4;
    border: 1px solid #418F6F;
}

.whatif-option .score-change {
    color: #6B7280;
    font-size: 13px;
}

.whatif-option .score-change .arrow {
    color: #9CA3AF;
    margin: 0 4px;
}

.whatif-option .score-change .new-score {
    font-weight: 600;
    color: #111827;
}

.whatif-option.recommended .score-change .new-score {
    color: #418F6F;
}

.winner-margin {
    font-size: 13px;
    color: #6B7280;
    margin-top: 8px;
}

.winner-margin strong {
    color: #374151;
}

/* ============================================
   VERTICAL TRADEOFF CARDS
   ============================================ */
.tradeoffs-cards-vertical {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tradeoff-card-v {
    border-radius: 12px;
    padding: 20px;
}

.tradeoff-card-v.gain {
    background: #F0FDF4;
    border-left: 4px solid #22C55E;
}

.tradeoff-card-v.tradeoff {
    background: #FFFBEB;
    border-left: 4px solid #F59E0B;
}

.tradeoff-card-v.risk {
    background: #FEF2F2;
    border-left: 4px solid #EF4444;
}

.tradeoff-header-v {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.tradeoff-header-v h4 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.tradeoff-list-v {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tradeoff-list-v li {
    padding: 8px 0;
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.tradeoff-list-v li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* ============================================
   WHAT-IF SECTION (in Compare tab)
   ============================================ */
.whatif-section {
    background: #F9FAFB;
    border-radius: 16px;
    padding: 24px;
}

.whatif-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.whatif-section-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.whatif-subtitle {
    font-size: 14px;
    color: #6B7280;
    margin: 0 0 16px 0;
}

/* ============================================
   PAGE TITLE SPACING FIX
   ============================================ */
#page-deep-results .page-title {
    margin-bottom: 8px;
}

#page-deep-results .page-subtitle {
    margin-top: 0;
    margin-bottom: 24px;
}

/* ============================================
   SAFETY MODALS - Crisis, Warning, Disclaimer
   ============================================ */

/* Modal Base Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 10000;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

/* Crisis Modal */
.crisis-modal .modal-content {
    max-width: 480px;
    text-align: center;
    padding: 40px;
}

.crisis-icon {
    width: 64px;
    height: 64px;
    background: #FEE2E2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.crisis-icon svg {
    color: #DC2626;
}

.crisis-modal h2 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 24px;
    margin-bottom: 16px;
    color: #111827;
}

.crisis-message {
    font-size: 16px;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 24px;
}

.crisis-resources {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.crisis-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    text-decoration: none;
    text-align: left;
    transition: all 200ms ease;
}

.crisis-link:hover {
    border-color: #DC2626;
    transform: translateY(-1px);
}

.crisis-link.primary {
    background: #FEF2F2;
    border-color: #FECACA;
}

.crisis-link.primary:hover {
    border-color: #DC2626;
}

.crisis-link-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.crisis-link-icon svg {
    color: #DC2626;
}

.crisis-link-text strong {
    display: block;
    color: #111827;
    margin-bottom: 2px;
    font-size: 15px;
}

.crisis-link-text span {
    font-size: 13px;
    color: #6B7280;
}

.crisis-note {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Warning Modals (Harm, Illegal, Minor) */
.warning-modal .modal-content {
    max-width: 400px;
    text-align: center;
    padding: 32px;
}

.warning-icon {
    width: 56px;
    height: 56px;
    background: #FEF3C7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.warning-icon svg {
    color: #D97706;
}

.warning-modal h2 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 20px;
    margin-bottom: 16px;
    color: #111827;
}

.warning-modal p {
    font-size: 15px;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 24px;
}

.resource-link {
    display: block;
    background: #F9FAFB;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    transition: background 200ms ease;
}

.resource-link:hover {
    background: #F3F4F6;
}

/* Disclaimer Modals (Medical, Financial, Legal) */
.disclaimer-modal .modal-content {
    max-width: 480px;
    text-align: center;
    padding: 32px;
}

.disclaimer-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.disclaimer-icon.medical {
    background: #DBEAFE;
}

.disclaimer-icon.medical svg {
    color: #2563EB;
}

.disclaimer-icon.financial {
    background: #D1FAE5;
}

.disclaimer-icon.financial svg {
    color: #059669;
}

.disclaimer-icon.legal {
    background: #E0E7FF;
}

.disclaimer-icon.legal svg {
    color: #4F46E5;
}

.disclaimer-modal h2 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 20px;
    margin-bottom: 16px;
    color: #111827;
}

.disclaimer-modal p {
    font-size: 15px;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 16px;
}

.disclaimer-advice {
    background: #F9FAFB;
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    margin-bottom: 16px;
}

.disclaimer-actions {
    display: flex;
    gap: 12px;
    margin: 24px 0 16px;
}

.disclaimer-actions button {
    flex: 1;
}

.disclaimer-note {
    font-size: 12px;
    color: #9CA3AF;
    margin-bottom: 0;
}

/* Results Page Disclaimer Banner */
.results-disclaimer-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #FEF3C7;
    border: 1px solid #F59E0B;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.results-disclaimer-banner svg {
    color: #D97706;
    flex-shrink: 0;
    margin-top: 2px;
}

.results-disclaimer-banner p {
    font-size: 14px;
    color: #92400E;
    margin: 0;
    line-height: 1.5;
}

/* Global Footer Disclaimer */
.global-disclaimer {
    text-align: center;
    padding: 24px;
    margin-top: 32px;
    border-top: 1px solid #E5E7EB;
}

.global-disclaimer p {
    font-size: 12px;
    color: #9CA3AF;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Input Note */
.input-note {
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 8px;
    text-align: center;
}
/* ============================================
   GUEST ONBOARDING STYLES
   Append to clarity.css or include separately
   ============================================ */

/* Landing Page */
.landing-container {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #F0F9F6 0%, #FFFFFF 50%);
}

.landing-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.landing-logo {
    margin-bottom: 40px;
}

.landing-content h1 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #111827;
}

.landing-subtitle {
    font-size: 18px;
    color: #6B7280;
    line-height: 1.5;
    margin-bottom: 40px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 17px;
}

.landing-signin {
    margin-top: 24px;
    font-size: 14px;
    color: #6B7280;
}

.landing-signin a {
    color: #418F6F;
    font-weight: 500;
    text-decoration: none;
}

.landing-signin a:hover {
    text-decoration: underline;
}

.landing-footer {
    padding: 24px;
    text-align: center;
}

.landing-footer p {
    font-size: 13px;
    color: #9CA3AF;
}
/* Post-Signup Onboarding */
.onboarding-container {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: #FAFAFA;
}

.onboarding-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.onboarding-progress {
    display: flex;
    gap: 8px;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D1D5DB;
    transition: background 0.3s;
}

.progress-dot.active {
    background: #418F6F;
}

.progress-dot.complete {
    background: #10B981;
}

.skip-btn {
    background: none;
    border: none;
    color: #6B7280;
    font-size: 14px;
    cursor: pointer;
    padding: 4px 8px;
}

.skip-btn:hover {
    color: #111827;
}

.input-field {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #D1D5DB;
    border-radius: 8px;
    font-size: 15px;
    color: #111827;
    background: white;
    transition: border-color 0.2s;
}

.input-field:focus {
    outline: none;
    border-color: #418F6F;
}

.input-field::placeholder {
    color: #9CA3AF;
}

.onboarding-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
}

.welcome-checkmark {
    width: 80px;
    height: 80px;
    background: #D1FAE5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.onboarding-content h1 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #111827;
    text-align: center;
}

.onboarding-subtitle {
    font-size: 16px;
    color: #6B7280;
    text-align: center;
    margin-bottom: 32px;
    line-height: 1.5;
}

.name-input-group {
    width: 100%;
    margin-bottom: 24px;
}

.onboarding-options {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.onboarding-options .option-card {
    width: 100%;
    padding: 16px 20px;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
}

.onboarding-options .option-card:hover {
    border-color: #418F6F;
    background: #F9FAFB;
}

.onboarding-options .option-card input[type="radio"] {
    display: none;
}

.onboarding-options .option-card input[type="radio"]:checked + .option-content {
    color: #111827;
}

.onboarding-options .option-card:has(input[type="radio"]:checked) {
    border: 2px solid #418F6F;
    background: #F0F9F6;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    color: #6B7280;
}

.option-icon {
    width: 40px;
    height: 40px;
    background: #F0F9F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.option-icon svg {
    width: 20px;
    height: 20px;
    color: #418F6F;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.option-emoji {
    font-size: 24px;
    flex-shrink: 0;
}

.option-text {
    font-size: 16px;
    font-weight: 500;
}

/* Save Prompt Modal */
.save-prompt-modal .modal-content {
    max-width: 400px;
    text-align: center;
    padding: 40px 32px;
}

.save-prompt-icon {
    width: 64px;
    height: 64px;
    background: #F0F9F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.save-prompt-icon svg {
    color: #418F6F;
}

.save-prompt-modal h2 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 24px;
    margin-bottom: 12px;
    color: #111827;
}

.save-prompt-text {
    font-size: 16px;
    color: #6B7280;
    line-height: 1.5;
    margin-bottom: 24px;
}

.save-prompt-benefits {
    text-align: left;
    margin-bottom: 28px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: #374151;
}

.benefit-icon {
    width: 22px;
    height: 22px;
    background: #D1FAE5;
    color: #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.btn-text {
    background: none;
    border: none;
    color: #6B7280;
    font-size: 15px;
    padding: 12px;
    cursor: pointer;
    width: 100%;
    margin-top: 8px;
}

.btn-text:hover {
    color: #374151;
}

.save-prompt-note {
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 20px;
    margin-bottom: 0;
}

/* ============================================
   CONTEXTUAL SIGN-UP PROMPT MODAL
   ============================================ */

.signup-prompt-content {
    max-width: 380px;
    text-align: center;
    padding: 40px 32px;
    position: relative;
}

.signup-prompt-icon {
    width: 64px;
    height: 64px;
    background: #F0F9F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.signup-prompt-icon svg {
    width: 28px;
    height: 28px;
    color: #418F6F;
    stroke: #418F6F;
}

.signup-prompt-content h2 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 22px;
    margin-bottom: 12px;
    color: #111827;
}

.signup-prompt-content > p {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 24px;
}

.signup-prompt-note {
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 16px;
    margin-bottom: 0;
}

/* Interest Capture Modal */
.interest-modal-content {
    max-width: 380px;
    text-align: center;
    padding: 40px 32px;
    position: relative;
}

.interest-modal-content h2 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 22px;
    margin-bottom: 12px;
    color: #111827;
}

.interest-modal-text {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 24px;
}

.interest-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.interest-form .input {
    text-align: center;
}

.interest-modal-note {
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 16px;
    margin-bottom: 0;
}

.interest-success {
    padding: 24px;
}

.interest-success .success-icon {
    width: 48px;
    height: 48px;
    background: var(--sage-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
}

.interest-success p {
    font-size: 16px;
    font-weight: 500;
    color: #111827;
    margin: 0;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: #9CA3AF;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
}

.modal-close:hover {
    color: #374151;
}

/* ============================================
   DEEP GUIDANCE UPSELL - SECONDARY BUTTON
   ============================================ */

.upsell-card .btn-primary {
    background: white;
    color: #418F6F;
    border: 2px solid #418F6F;
}

.upsell-card .btn-primary:hover {
    background: #F0F9F6;
}

/* ============================================
   AUTH PAGES - CENTERED CARD DESIGN
   ============================================ */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(180deg, #EEF7F3 0%, #F7FBF9 40%, #FFFFFF 100%);
    position: relative;
}

.back-link {
    position: absolute;
    top: 24px;
    left: 24px;
    color: #6B7280;
    text-decoration: none;
    font-size: 15px;
}

.back-link:hover {
    color: #374151;
}

.auth-card {
    background: white;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 40px 32px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.auth-card h1 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 28px;
    margin-bottom: 8px;
    color: #111827;
}

.auth-subtitle {
    color: #6B7280;
    margin-bottom: 28px;
    font-size: 15px;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px 20px;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-btn);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.btn-google:hover {
    background: #F9FAFB;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: #9CA3AF;
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #E5E7EB;
}

.auth-divider span {
    padding: 0 16px;
}

.auth-card form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-card input {
    padding: 14px 16px;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-input);
    font-size: 15px;
    text-align: left;
}

.auth-card input:focus {
    outline: none;
    border-color: #418F6F;
}

.auth-forgot {
    text-align: right;
    margin-top: 12px;
    margin-bottom: 24px;
}

.auth-forgot a {
    color: #6B7280;
    font-size: 13px;
    text-decoration: none;
}

.auth-forgot a:hover {
    color: #418F6F;
}

.auth-switch {
    color: #6B7280;
    font-size: 14px;
    margin-top: 24px;
    margin-bottom: 0;
}

.auth-switch a {
    color: #418F6F;
    font-weight: 500;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.auth-terms {
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 20px;
    margin-bottom: 0;
    line-height: 1.5;
}

.auth-terms a {
    color: #6B7280;
    text-decoration: underline;
}

.auth-terms a:hover {
    color: #418F6F;
}

/* Responsive */
@media (max-width: 480px) {
    .landing-content h1 {
        font-size: 30px;
    }

    .landing-subtitle {
        font-size: 16px;
    }

    .onboarding-content h1 {
        font-size: 28px;
    }
}

/* ============================================
   CALM POLISH - GLOBAL OVERRIDES
   Headspace-inspired subtle interactions
   ============================================ */

/* PART 3: Cards - Soft Shadows, No Hover-Lift */
.card,
.recommendation-card,
.tipping-card,
.option-content,
.accordion,
.auth-card,
.card-premium,
.card-premium-interactive,
.onboarding-card,
.decision-type-card {
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    transition: box-shadow var(--transition-fast);
}

/* Active/focus state only - no hover lift on mobile */
.card:focus-within,
.card-premium:focus-within,
.option-card input:checked + .option-content {
    box-shadow: var(--shadow-card-active);
}

/* Remove transform on hover for mobile-first feel */
.card-premium-interactive:hover {
    transform: none;
    box-shadow: var(--shadow-card-active);
}

/* PART 4: Buttons - Quiet Micro-Interactions */
.btn-primary,
.btn-secondary,
.btn,
.btn-premium {
    border-radius: var(--radius-btn);
    transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary:hover,
.btn:hover {
    background: #367a5e;
}

.btn-primary:active,
.btn:active {
    background: #2d6650;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.btn-secondary:hover {
    background: #F3F4F6;
}

.btn-secondary:active {
    background: #E5E7EB;
}

/* PART 5: Inputs - Calm Focus States */
input,
textarea,
select,
.input-field,
.input-premium {
    border-radius: var(--radius-input);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input:focus,
textarea:focus,
.input-field:focus,
.input-premium:focus {
    border-color: #418F6F;
    box-shadow: 0 0 0 3px rgba(65, 143, 111, 0.1);
    outline: none;
}

/* PART 6: Selection States - Subtle Checkmarks */
.option-card {
    position: relative;
}

.option-card input:checked + .option-content {
    border-color: #418F6F;
    background: #F0F9F6;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.option-card input:checked + .option-content::after {
    content: '✓';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #418F6F;
    font-weight: 600;
    font-size: 16px;
}

/* PART 7: Typography - Premium Hierarchy */
.landing-content h1 {
    font-size: 42px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 500;
}

/* PART 8: Backgrounds - Gentle Gradients */
.landing-container,
.onboarding-container,
.auth-page {
    background: linear-gradient(180deg, #EEF7F3 0%, #F7FBF9 40%, #FFFFFF 100%);
}

/* PART 9: Modals */
.modal-content {
    border-radius: var(--radius-modal);
}

/* PART 10: Page Spacing */
.page-content,
.onboarding-content,
.landing-content {
    padding: var(--pad-page);
}

.section + .section {
    margin-top: var(--gap-section);
}

/* PART 11: Reassurance Text */
.reassurance {
    font-size: 13px;
    color: #9CA3AF;
    text-align: center;
    margin-top: 12px;
}

/* PART 12: Simplify Quick Guidance Results */
.feedback-section {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #F3F4F6;
    opacity: 0.7;
}

/* Deep Guidance upsell - secondary styling */
.upsell-card .btn-primary,
.deep-guidance-upsell .btn-primary {
    background: white;
    color: #418F6F;
    border: 2px solid #418F6F;
}

.upsell-card .btn-primary:hover,
.deep-guidance-upsell .btn-primary:hover {
    background: #F0F9F6;
}

/* ============================================
   COMPARE TABLE - GRID LAYOUT WITH DOTS
   ============================================ */

.compare-table-header {
    display: grid;
    grid-template-columns: 120px 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
    align-items: end;
}

.compare-label-spacer {
    /* Empty space for alignment with row labels */
}

.compare-option-header {
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    color: #374151;
    padding: 12px 8px;
    border-radius: 12px;
}

.compare-option-header.recommended {
    background: #F0F9F6;
    border: 2px solid #418F6F;
    color: #418F6F;
}

.compare-option-header .recommended-badge {
    display: inline-block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 6px;
    color: #fff;
    background: #418F6F;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.compare-table-body {
    /* Container for all rows */
}

.compare-table-row {
    display: grid;
    grid-template-columns: 120px 1fr 1fr;
    gap: 16px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #F3F4F6;
}

.compare-table-row.overall-row {
    border-top: 2px solid #E5E7EB;
    border-bottom: none;
    margin-top: 8px;
    padding-top: 16px;
}

.compare-row-label {
    font-size: 14px;
    color: #374151;
}

.compare-score-cell {
    display: flex;
    justify-content: center;
}

.compare-score-cell.winner-cell {
    background: #F0F9F6;
    border-radius: 8px;
    padding: 4px 0;
}

.compare-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.compare-score .dots {
    font-size: 16px;
    color: #418F6F;
    letter-spacing: 2px;
}

.compare-score .percentage {
    font-size: 12px;
    color: #9CA3AF;
    font-weight: 500;
}

.overall-score {
    font-size: 18px;
    font-weight: 600;
    color: #418F6F;
}

.comparison-context {
    margin-top: 24px;
    padding: 16px;
    background: #F9FAFB;
    border-radius: 8px;
    border-left: 3px solid #418F6F;
}

.comparison-context p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
}

/* ============================================
   EXPANDED OUTCOME TRACKING
   ============================================ */

/* Outcome Modal Content */
.outcome-modal-content {
    max-width: 420px;
    padding: 32px;
}

/* Progress dots */
.outcome-progress {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.outcome-step {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #E5E7EB;
    color: #9CA3AF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.outcome-step.active {
    background: #418F6F;
    color: white;
}

.outcome-step.complete {
    background: #D1FAE5;
    color: #065F46;
}

/* Screens */
.outcome-screen {
    display: none;
}

.outcome-screen.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.outcome-screen h2 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 24px;
    text-align: center;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.outcome-subtitle {
    text-align: center;
    color: #6B7280;
    font-size: 15px;
    margin-bottom: 28px;
}

/* Choice options (Step 1) */
.outcome-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.outcome-option input {
    display: none;
}

.outcome-option-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border: 2px solid #E5E7EB;
    border-radius: var(--radius-btn);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.outcome-option-content:hover {
    border-color: #D1D5DB;
    background: #F9FAFB;
}

.outcome-option input:checked + .outcome-option-content {
    border-color: #418F6F;
    background: #F0F9F6;
}

.outcome-option-icon {
    width: 40px;
    height: 40px;
    background: #F3F4F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-fast);
}

.outcome-option input:checked + .outcome-option-content .outcome-option-icon {
    background: #D1FAE5;
}

.outcome-option-icon svg {
    color: #6B7280;
}

.outcome-option input:checked + .outcome-option-content .outcome-option-icon svg {
    color: #065F46;
}

.outcome-option-content span {
    font-size: 15px;
    font-weight: 500;
    color: #374151;
}

/* Feeling options (Step 2) */
.feeling-options {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.feeling-option {
    flex: 1;
}

.feeling-option input {
    display: none;
}

.feeling-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    border: 2px solid #E5E7EB;
    border-radius: var(--radius-card);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
}

.feeling-content:hover {
    border-color: #D1D5DB;
    background: #F9FAFB;
}

.feeling-option input:checked + .feeling-content {
    border-color: #418F6F;
    background: #F0F9F6;
}

.feeling-emoji {
    font-size: 32px;
}

.feeling-label {
    font-weight: 600;
    font-size: 15px;
    color: #374151;
}

.feeling-desc {
    font-size: 12px;
    color: #6B7280;
}

/* Reflection textarea */
#outcome-reflection {
    width: 100%;
    padding: 16px;
    border: 2px solid #E5E7EB;
    border-radius: var(--radius-input);
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    resize: none;
    margin-bottom: 20px;
    transition: border-color 0.2s ease;
}

#outcome-reflection:focus {
    border-color: #418F6F;
    outline: none;
}

#outcome-reflection::placeholder {
    color: #9CA3AF;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #111827;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Decision Badge Status Colors */
.decision-badge.pending {
    background: #E0E7FF;
    color: #3730A3;
}

.decision-badge.completed {
    background: #D1FAE5;
    color: #065F46;
}

.decision-badge.needs-decision {
    background: #FEF3C7;
    color: #92400E;
}

/* Selection pulse animation */
.outcome-option input:checked + .outcome-option-content,
.feeling-option input:checked + .feeling-content {
    animation: selectPulse 0.3s ease-out;
}

@keyframes selectPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* ============================================
   DNA STORY EXPERIENCE
   ============================================ */

/* Header Icons */
.header-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.icon-btn {
    position: relative;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #6B7280;
    border-radius: 8px;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    background: #F3F4F6;
    color: #418F6F;
}

.dna-trigger.unlocked {
    color: #418F6F;
}

.dna-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: #EF4444;
    border-radius: 50%;
    display: none;
}

.dna-badge.active {
    display: block;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

/* Overlay */
.dna-story-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, #1A1A2E 0%, #16213E 100%);
    z-index: 9999;
    display: none;
    flex-direction: column;
}

.dna-story-overlay.active {
    display: flex;
}

/* Progress bar */
.story-progress {
    display: flex;
    gap: 4px;
    padding: 16px 16px 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.progress-segment {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-segment.active {
    background: rgba(255,255,255,0.4);
}

.progress-segment.active::after {
    content: '';
    display: block;
    height: 100%;
    background: white;
    animation: progressFill 5s linear forwards;
}

.progress-segment.complete {
    background: white;
}

@keyframes progressFill {
    from { width: 0; }
    to { width: 100%; }
}

/* Close button */
.story-close {
    position: absolute;
    top: 32px;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    z-index: 10;
    padding: 8px;
    transition: color 0.2s;
}

.story-close:hover {
    color: white;
}

/* Screens */
.story-screen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 60px 24px 40px;
    pointer-events: none;
}

.story-screen.active {
    display: flex;
    animation: screenFadeIn 0.5s ease-out;
}

@keyframes screenFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.story-content {
    text-align: center;
    color: white;
    max-width: 340px;
    width: 100%;
}

/* Story icon */
.story-icon-animated {
    margin-bottom: 32px;
}

.story-icon-animated svg {
    color: #A7F3D0;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Tap zones */
.tap-zone {
    position: absolute;
    top: 60px;
    bottom: 120px; /* Leave space for buttons at bottom */
    z-index: 5;
}

.tap-left {
    left: 0;
    width: 30%;
}

.tap-right {
    right: 0;
    width: 70%;
    cursor: pointer;
}

/* Typography */
.story-text-small {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 8px;
}

.story-text-large {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 8px;
}

.story-text-emphasis {
    font-size: 20px;
    font-weight: 500;
    margin-top: 32px;
    opacity: 0.9;
}

.story-text-detail {
    font-size: 15px;
    opacity: 0.7;
    margin-top: 16px;
}

.story-text-insight {
    font-size: 16px;
    font-style: italic;
    opacity: 0.8;
    margin-top: 24px;
}

/* Value reveal */
.story-value-reveal {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 56px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #A7F3D0;
    margin: 24px 0;
    animation: valueReveal 0.8s ease-out;
}

@keyframes valueReveal {
    from { 
        opacity: 0; 
        transform: scale(0.8) translateY(20px);
        filter: blur(10px);
    }
    to { 
        opacity: 1; 
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

/* Values chart */
.story-values-chart {
    margin: 32px 0;
}

.story-value-bar {
    display: grid;
    grid-template-columns: 80px 1fr 45px;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    opacity: 0;
    animation: valueBarReveal 0.5s ease-out forwards;
}

.story-value-bar[data-delay="0"] { animation-delay: 0.2s; }
.story-value-bar[data-delay="1"] { animation-delay: 0.5s; }
.story-value-bar[data-delay="2"] { animation-delay: 0.8s; }

@keyframes valueBarReveal {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.story-value-bar .value-label {
    font-size: 14px;
    text-align: left;
    opacity: 0.9;
}

.story-value-bar .value-track {
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    overflow: hidden;
}

.story-value-bar .value-fill {
    height: 100%;
    background: linear-gradient(90deg, #418F6F, #A7F3D0);
    border-radius: 4px;
    width: 0;
    animation: barFill 1s ease-out forwards;
    animation-delay: inherit;
}

@keyframes barFill {
    to { width: var(--fill-width); }
}

.story-value-bar .value-score {
    font-size: 14px;
    font-weight: 600;
    color: #A7F3D0;
    text-align: right;
}

/* Archetype card */
.archetype-card {
    background: linear-gradient(135deg, #418F6F 0%, #2D6A4F 100%);
    border-radius: 20px;
    padding: 40px 32px;
    margin: 24px 0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    animation: cardReveal 0.6s ease-out;
}

@keyframes cardReveal {
    from { 
        opacity: 0; 
        transform: scale(0.9) rotateX(10deg);
    }
    to { 
        opacity: 1; 
        transform: scale(1) rotateX(0);
    }
}

.archetype-name {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 20px;
}

.archetype-divider {
    width: 40px;
    height: 2px;
    background: rgba(255,255,255,0.4);
    margin: 0 auto 20px;
}

.archetype-description {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.95;
}

/* Surprise reveal */
.surprise-reveal {
    margin-top: 32px;
}

.surprise-text {
    font-size: 18px;
    margin-bottom: 12px;
    opacity: 0.9;
}

.surprise-text strong {
    color: #A7F3D0;
}

.surprise-highlight {
    font-size: 22px;
    font-weight: 600;
    color: #FCD34D;
    margin: 24px 0;
}

.surprise-insight {
    font-size: 16px;
    font-style: italic;
    opacity: 0.8;
    margin-top: 24px;
}

/* Spectrum charts */
.spectrum-chart {
    margin: 32px 0;
}

.spectrum-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.spectrum-label {
    font-size: 13px;
    opacity: 0.7;
    width: 40px;
}

.spectrum-label:last-child {
    text-align: right;
}

.spectrum-track {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    position: relative;
}

.spectrum-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #A7F3D0;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: left 1s ease-out;
}

.spectrum-result {
    font-size: 15px;
    margin-top: 12px;
    opacity: 0.9;
}

/* Shareable card */
.shareable-card {
    background: white;
    color: #111827;
    border-radius: 20px;
    padding: 32px 24px;
    margin-bottom: 24px;
    text-align: center;
}

.shareable-header {
    font-size: 12px;
    letter-spacing: 0.15em;
    color: #6B7280;
    margin-bottom: 16px;
}

.shareable-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.shareable-archetype {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 28px;
    color: #418F6F;
    margin-bottom: 16px;
}

.shareable-traits {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.trait {
    font-size: 13px;
    color: #6B7280;
}

.shareable-value {
    font-size: 14px;
    margin-bottom: 16px;
}

.shareable-value strong {
    color: #418F6F;
}

.shareable-quote {
    font-style: italic;
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 20px;
    padding: 0 16px;
}

.shareable-brand {
    font-size: 12px;
    color: #9CA3AF;
}

.shareable-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.shareable-actions button {
    flex: 1;
}

.shareable-actions .btn-primary {
    background: #418F6F;
    color: white;
    border: none;
    border-radius: var(--radius-btn);
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: all var(--transition-fast);
    position: relative;
    z-index: 10;
}

.shareable-actions .btn-primary:hover {
    background: #367a5e;
    transform: translateY(-1px);
}

/* DNA Summary Card (shown after first view) */
.dna-summary-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-card);
    padding: 24px;
    cursor: pointer;
    transition: box-shadow var(--transition-fast);
}

.dna-summary-card:hover {
    box-shadow: var(--shadow-card-active);
}

.dna-summary-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6B7280;
}

.dna-summary-archetype {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 24px;
    color: #418F6F;
    margin: 12px 0 8px;
}

.dna-summary-value {
    font-size: 15px;
    color: #374151;
    margin-bottom: 16px;
}

.dna-summary-value strong {
    color: #418F6F;
}

.dna-summary-link {
    font-size: 14px;
    color: #418F6F;
    text-decoration: none;
}

.dna-summary-link:hover {
    text-decoration: underline;
}

/* DNA Trigger Card (shown on first unlock) */
.dna-trigger-card {
    background: linear-gradient(135deg, #418F6F 0%, #2D6A4F 100%);
    border-radius: var(--radius-card);
    padding: 32px 24px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    cursor: pointer;
}

.dna-trigger-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.dna-trigger-card:hover {
    transform: scale(1.01);
    box-shadow: 0 12px 40px rgba(65, 143, 111, 0.3);
}

.dna-card-icon {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dna-card-icon svg {
    animation: float 3s ease-in-out infinite;
}

.dna-trigger-icon {
    font-size: 48px;
    margin-bottom: 16px;
    animation: float 3s ease-in-out infinite;
}

.dna-trigger-card h3 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 12px;
    color: white;
}

.dna-trigger-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.dna-trigger-arrow {
    display: inline-block;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.dna-trigger-card:hover .dna-trigger-arrow {
    transform: translateX(4px);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
/* DNA PROFILE PAGE (Static) */
#page-dna-profile {
    background: white;
    min-height: 100vh;
}

.dna-profile-content {
    max-width: 500px;
    margin: 0 auto;
    padding: var(--pad-page);
}

.dna-profile-content .back-link {
    display: inline-block;
    color: #6B7280;
    text-decoration: none;
    font-size: 15px;
    padding: 8px 0;
    margin-bottom: 16px;
}

.dna-profile-content .back-link:hover {
    color: #374151;
}

.dna-profile-content h1 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 8px;
}

.dna-profile-header {
    text-align: center;
    margin-bottom: 32px;
}

.dna-profile-subtitle {
    color: #6B7280;
    font-size: 14px;
}

.section-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #6B7280;
    margin-bottom: 12px;
    text-transform: uppercase;
}

/* Archetype */
.dna-archetype-section {
    margin-bottom: 32px;
}

.archetype-display {
    background: linear-gradient(135deg, #418F6F 0%, #2D6A4F 100%);
    border-radius: var(--radius-card);
    padding: 32px 24px;
    text-align: center;
    color: white;
}

.archetype-display h2 {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 28px;
    font-weight: 500;
    color: white;
    margin-bottom: 12px;
}

.archetype-display p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

/* Values */
.dna-values-section {
    margin-bottom: 32px;
}

.values-chart {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-card);
    padding: 20px;
}

.value-row {
    display: grid;
    grid-template-columns: 90px 1fr 45px;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.value-row:not(:last-child) {
    border-bottom: 1px solid #F3F4F6;
}

.value-name {
    font-size: 14px;
    font-weight: 500;
}

.value-bar {
    height: 8px;
    background: #E5E7EB;
    border-radius: 4px;
    overflow: hidden;
}

.value-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #418F6F, #68B89B);
    border-radius: 4px;
}

.value-score {
    font-size: 14px;
    font-weight: 600;
    color: #418F6F;
    text-align: right;
}

/* Balance */
.dna-balance-section {
    margin-bottom: 32px;
}

.balance-display {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-card);
    padding: 20px;
    text-align: center;
}

.balance-bar {
    height: 12px;
    background: #E5E7EB;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
}

.balance-fill {
    height: 100%;
    background: linear-gradient(90deg, #418F6F, #68B89B);
    border-radius: 6px;
}

.balance-display p {
    font-size: 15px;
    color: #374151;
}

/* Patterns */
.dna-patterns-section {
    margin-bottom: 32px;
}

.patterns-list {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-card);
    overflow: hidden;
}

.pattern-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
}

.pattern-item:not(:last-child) {
    border-bottom: 1px solid #F3F4F6;
}

.pattern-icon {
    width: 36px;
    height: 36px;
    background: #F0F9F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pattern-icon svg {
    width: 18px;
    height: 18px;
    color: #418F6F;
}

.pattern-text {
    font-size: 14px;
    color: #374151;
}

.patterns-note {
    text-align: center;
    font-size: 13px;
    color: #9CA3AF;
    margin-top: 16px;
}

/* DNA Locked Card */
.dna-locked-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-card);
    padding: 32px 24px;
    text-align: center;
    margin-bottom: 24px;
}

.dna-locked-icon {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--sage-green);
}

.dna-locked-icon svg {
    width: 32px;
    height: 32px;
}

.dna-subtitle {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.dna-locked-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #1F2937;
}

.dna-locked-card p {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 20px;
}

.dna-progress-bar {
    height: 8px;
    background: #E5E7EB;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.dna-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #418F6F, #68B89B);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* DNA Card Container - visual separation */
#dna-card-container {
    margin-top: 2rem;
    padding: 0 var(--pad-page);
    border-top: 1px solid var(--gray-200);
    padding-top: 1.5rem;
}

.dna-progress-text {
    font-size: 12px;
    color: #9CA3AF;
}
