/* Product name */
.product-name {
    font-size: 1.4rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 16px;
    padding: 16px;
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Simple summary */
.simple-summary {
    background: var(--card);
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-left: 5px solid var(--green);
}
.simple-summary h3 {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--green);
}
.simple-summary p {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
    font-weight: 500;
}

/* === Fuly Index Score Display === */
.fuly-score {
    background: var(--card);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.fuly-score::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}
.fi-tier-excellent::before { background: #2E7D32; }
.fi-tier-good::before { background: #66BB6A; }
.fi-tier-moderate::before { background: #F9A825; }
.fi-tier-low::before { background: #EF6C00; }
.fi-tier-poor::before { background: #D32F2F; }

.fi-sublabel {
    color: var(--text2);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 2px;
}
.fi-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text);
    font-family: 'Space Mono', monospace;
    line-height: 1.1;
    margin: 8px 0;
}
.fi-tier-excellent .fi-number { color: #2E7D32; }
.fi-tier-good .fi-number { color: #43A047; }
.fi-tier-moderate .fi-number { color: #F9A825; }
.fi-tier-low .fi-number { color: #EF6C00; }
.fi-tier-poor .fi-number { color: #D32F2F; }

.fi-bar-track {
    height: 10px;
    border-radius: 5px;
    background: var(--card2);
    margin: 12px 0 4px;
    position: relative;
    overflow: visible;
}
.fi-bar-fill {
    height: 100%;
    border-radius: 5px;
    background: linear-gradient(90deg, #D32F2F 0%, #EF6C00 25%, #F9A825 50%, #66BB6A 75%, #2E7D32 100%);
    transition: width 0.8s ease;
}
.fi-bar-marker {
    position: absolute;
    top: -3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--text);
    border: 3px solid var(--card);
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    transform: translateX(-50%);
    transition: left 0.8s ease;
}
.fi-scale-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text3);
    padding: 0 2px;
    margin-bottom: 8px;
}
.fi-label {
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 4px;
}

/* === Key Factors === */
.key-factors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}
.kf-group {
    background: var(--card);
    border-radius: var(--radius);
    padding: 16px;
    border: 1px solid var(--border);
}
.kf-group--positive {
    border-top: 3px solid #43A047;
}
.kf-group--negative {
    border-top: 3px solid #EF6C00;
}
.kf-group-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.kf-group--positive .kf-group-label { color: #2E7D32; }
.kf-group--negative .kf-group-label { color: #E65100; }
.kf-item {
    margin-bottom: 8px;
}
.kf-item:last-child {
    margin-bottom: 0;
}
.kf-factor {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}
.kf-detail {
    font-size: 0.72rem;
    color: var(--text3);
    line-height: 1.4;
    margin-top: 2px;
}

/* === Context Section === */
.context-section {
    background: var(--card);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
}
.context-section h3 {
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 14px;
    text-align: center;
}
.ctx-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
}
.ctx-green { background: #E8F5E9; }
.ctx-yellow { background: #FFF8E1; }
.ctx-orange { background: #FFF3E0; }
.ctx-red { background: #FFEBEE; }
.ctx-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ctx-emoji { font-size: 1.2rem; }
.ctx-question {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}
.ctx-right {
    display: flex;
    align-items: center;
    gap: 6px;
}
.ctx-verdict-icon { font-size: 1rem; }
.ctx-verdict-text {
    font-size: 0.85rem;
    font-weight: 700;
}
.ctx-green .ctx-verdict-text { color: #2E7D32; }
.ctx-yellow .ctx-verdict-text { color: #F57F17; }
.ctx-orange .ctx-verdict-text { color: #E65100; }
.ctx-red .ctx-verdict-text { color: #C62828; }
.ctx-note-inline {
    padding: 4px 16px 10px;
}
.ctx-note-inline p {
    font-size: 0.8rem;
    color: var(--text3);
    line-height: 1.5;
    margin: 0;
}

/* === Quality Lens === */
.quality-lens {
    background: var(--card);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    text-align: center;
}
.quality-lens h3 {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.ql-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}
.ql-emoji { font-size: 1.4rem; }
.ql-value {
    font-size: 1rem;
    font-weight: 800;
}
.ql-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}
.ql-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--card2);
    border: 2px solid var(--border);
    transition: all 0.3s;
}
.ql-dot.filled {
    border-color: transparent;
}
.ql-justification {
    font-size: 0.8rem;
    color: var(--text3);
    line-height: 1.5;
    font-style: italic;
}

/* === Age Semaphore === */
.age-semaphore {
    background: var(--card);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
}
.age-semaphore h3 {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    text-align: center;
}
.sem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.sem-item {
    text-align: center;
    padding: 12px 6px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: transform var(--transition);
    -webkit-tap-highlight-color: transparent;
}
.sem-item:hover { transform: scale(1.03); }
.sem-item .sem-emoji { font-size: 1.5rem; display: block; margin-bottom: 4px; }
.sem-item .sem-age { font-size: 0.7rem; font-weight: 700; display: block; margin-bottom: 4px; }
.sem-item .sem-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; }
.sem-item .sem-level { font-size: 0.65rem; font-weight: 700; display: block; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.3px; }

.sem-excellent { background: #E8F5E9; }
.sem-excellent .sem-dot { background: #2E7D32; }
.sem-excellent .sem-level { color: #2E7D32; }
.sem-good { background: #F1F8E9; }
.sem-good .sem-dot { background: #43A047; }
.sem-good .sem-level { color: #33691E; }
.sem-moderate { background: #FFF8E1; }
.sem-moderate .sem-dot { background: #F9A825; }
.sem-moderate .sem-level { color: #E65100; }
.sem-low { background: #FFF3E0; }
.sem-low .sem-dot { background: #EF6C00; }
.sem-low .sem-level { color: #BF360C; }
.sem-poor { background: #FFEBEE; }
.sem-poor .sem-dot { background: #D32F2F; }
.sem-poor .sem-level { color: #B71C1C; }

/* Nutrient grid */
.nutrient-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}
.serving-header {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text2);
    padding: 8px;
    background: var(--card2);
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.nutrient-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 14px;
    border: 1px solid var(--border);
}
.nutrient-card .n-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.nutrient-card .n-value {
    font-size: 1.3rem;
    font-weight: 900;
    font-family: 'Space Mono', monospace;
}
.nutrient-card .n-unit {
    font-size: 0.7rem;
    color: var(--text2);
    font-family: 'Figtree', sans-serif;
}
.nutrient-card .n-ref {
    font-size: 0.65rem;
    color: var(--text3);
    margin-top: 2px;
    font-family: 'Space Mono', monospace;
}
.nutrient-card .n-bar {
    height: 5px;
    border-radius: 3px;
    background: var(--card2);
    margin-top: 8px;
    overflow: hidden;
}
.nutrient-card .n-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease;
}
.level-low .n-bar-fill { background: var(--green); }
.level-med .n-bar-fill { background: var(--yellow); }
.level-high .n-bar-fill { background: var(--orange); }
.level-vhigh .n-bar-fill { background: var(--red); }
.level-low .n-value { color: #2E7D32; }
.level-med .n-value { color: #E65100; }
.level-high .n-value { color: var(--orange); }
.level-vhigh .n-value { color: var(--red); }

/* Ingredients section */
.ingredients-section {
    background: var(--card);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
}
.ingredients-section h3 {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

/* Ingredients traffic light */
.ing-traffic-light {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ing-group-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.ing-group--red .ing-group-label { color: #C62828; }
.ing-group--yellow .ing-group-label { color: #F57F17; }
.ing-group--green .ing-group-label { color: #2E7D32; }
.ing-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 0.84rem;
    line-height: 1.5;
    padding: 4px 0;
}
.ing-item strong {
    flex-shrink: 0;
}
.ing-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
}
.ing-dot--red { background: #E53935; }
.ing-dot--yellow { background: #FDD835; }
.ing-dot--green { background: #43A047; }
.ing-reason {
    color: var(--text3);
    font-size: 0.78rem;
}
.ing-reason::before {
    content: '\2014 ';
}

/* Age detail sections */
.age-section {
    background: var(--card);
    border-radius: var(--radius);
    margin-bottom: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
}
.age-header {
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background var(--transition);
    -webkit-tap-highlight-color: transparent;
}
.age-header:hover { background: #FAFAFA; }
.age-header .age-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 0.95rem;
}
.age-emoji { font-size: 1.3rem; }
.age-arrow {
    transition: transform 0.3s;
    color: var(--text3);
    font-size: 0.8rem;
}
.age-section.open .age-arrow { transform: rotate(180deg); }
.age-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.age-section.open .age-content { max-height: 2000px; }
.age-body { padding: 0 20px 20px; }

.age-verdict {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    font-weight: 800;
    font-size: 0.9rem;
    background: var(--card2);
    color: var(--text);
}

.age-detail {
    font-size: 0.85rem;
    color: var(--text2);
    line-height: 1.7;
}
.age-detail strong { color: var(--text); }
.age-detail ul { padding-left: 18px; margin: 8px 0; }
.age-detail li { margin: 4px 0; }

.serving-box {
    background: var(--card2);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 12px;
    border-left: 4px solid var(--green);
}
.serving-box strong {
    color: var(--green);
    font-size: 0.85rem;
}
.serving-box .serving-nutrients {
    font-size: 0.78rem;
    color: var(--text2);
    margin-top: 4px;
    font-family: 'Space Mono', monospace;
    line-height: 1.6;
}


/* Tips section */
.tips-section {
    background: var(--card);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-left: 5px solid var(--fuly-blue);
}
.tips-section h3 {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--fuly-blue);
}
.tips-section ul {
    padding-left: 18px;
    font-size: 0.85rem;
    color: var(--text2);
    line-height: 1.8;
}
.tips-section li { margin: 4px 0; }

/* Missing data */
.missing-data {
    background: #FFF8E1;
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 16px;
    border: 1px solid #FFE082;
    border-left: 5px solid var(--yellow);
}
.missing-data h3 {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: #F57F17;
}
.missing-data ul {
    padding-left: 18px;
    font-size: 0.82rem;
    color: #795548;
    line-height: 1.7;
}
.missing-data li { margin: 3px 0; }

/* Technical detail */
.explanation {
    background: var(--card);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
}
.explanation h3 {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.explanation p {
    font-size: 0.85rem;
    color: var(--text2);
    line-height: 1.7;
}

/* Feedback */
.feedback-section {
    text-align: center;
    margin-bottom: 20px;
}
.feedback-toggle {
    background: none;
    border: none;
    color: var(--text3);
    font-family: 'Figtree', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    padding: 10px;
}
.feedback-toggle:hover {
    color: var(--text);
}
.feedback-form {
    margin-top: 8px;
}
.feedback-form textarea {
    width: 100%;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px;
    font-family: 'Figtree', sans-serif;
    font-size: 0.85rem;
    resize: vertical;
    margin-bottom: 10px;
    color: var(--text);
    background: var(--card);
}
.feedback-form textarea:focus {
    outline: none;
    border-color: #1A1A1A;
}
.feedback-send {
    width: auto !important;
    padding: 10px 24px !important;
    font-size: 0.85rem !important;
}
.feedback-thanks {
    background: #E8F5E9;
    color: #2E7D32;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
}

/* Share WhatsApp */
.share-section {
    text-align: center;
    padding: 20px;
    margin-bottom: 16px;
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.share-section h3 {
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 4px;
}
.share-section p {
    font-size: 0.8rem;
    color: var(--text2);
    margin-bottom: 14px;
}
.btn--whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    border: none;
    background: #25D366;
    color: white;
    font-size: 0.9rem;
    font-weight: 800;
    font-family: 'Figtree', sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}
.btn--whatsapp:hover {
    background: #1DA851;
}

/* Quick feedback */
.quick-feedback {
    text-align: center;
    padding: 16px;
    margin-bottom: 16px;
}
.qf-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text2);
    margin-right: 8px;
}
.qf-btn {
    background: none;
    border: 2px solid var(--border);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    cursor: pointer;
    margin: 0 4px;
    transition: all 0.2s;
}
.qf-btn:hover {
    border-color: #1A1A1A;
    transform: scale(1.1);
}
.qf-thanks {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2E7D32;
}

/* Disclaimer */
.disclaimer-section {
    background: #FFF8E1;
    border-radius: var(--radius);
    padding: 16px 18px;
    margin-bottom: 16px;
    border: 1px solid #FFE082;
    border-left: 4px solid #F9A825;
}
.disclaimer-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.disclaimer-icon {
    font-size: 1.1rem;
}
.disclaimer-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #E65100;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.disclaimer-bullets {
    padding-left: 18px;
    margin-bottom: 8px;
}
.disclaimer-bullets li {
    font-size: 0.82rem;
    color: var(--text2);
    line-height: 1.6;
    margin-bottom: 4px;
}
.disclaimer-bullets strong {
    color: var(--text);
}
.disclaimer-toggle {
    background: none;
    border: none;
    color: #E65100;
    font-family: 'Figtree', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 0;
}
.disclaimer-toggle:hover {
    text-decoration: underline;
}
.disclaimer-full {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #FFE082;
}
.disclaimer-full p {
    font-size: 0.78rem;
    color: var(--text2);
    line-height: 1.7;
    margin-bottom: 8px;
}
.disclaimer-full p:last-child {
    margin-bottom: 0;
}
.disclaimer-full strong {
    color: var(--text);
}

/* Technical toggle */
.tech-toggle-section {
    text-align: center;
    margin-bottom: 16px;
}
.tech-toggle {
    background: none;
    border: none;
    color: var(--text3);
    font-family: 'Figtree', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    padding: 10px;
}
.tech-toggle:hover {
    color: var(--text);
}
.tech-content {
    margin-top: 8px;
}

/* Email Gate */
.email-gate {
    background: var(--card);
    border-radius: var(--radius);
    padding: 28px 24px;
    margin-bottom: 16px;
    border: 2px solid #1A1A1A;
    text-align: center;
}
.gate-lock {
    font-size: 2rem;
    margin-bottom: 8px;
}
.email-gate h3 {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 8px;
}
.email-gate p {
    font-size: 0.85rem;
    color: var(--text2);
    margin-bottom: 18px;
    line-height: 1.5;
}
.gate-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 340px;
    margin: 0 auto 10px;
}
.gate-form input {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
    font-family: 'Figtree', sans-serif;
    transition: border-color 0.2s;
}
.gate-form input:focus {
    border-color: #1A1A1A;
}
.gate-form .btn--primary {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    border: none;
    background: #1A1A1A;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    font-family: 'Figtree', sans-serif;
    transition: background 0.2s;
}
.gate-form .btn--primary:hover {
    background: #333;
}
.gate-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
    font-size: 0.75rem;
    color: var(--text2);
    line-height: 1.5;
    cursor: pointer;
    padding: 2px 0;
}
.gate-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 1px;
    accent-color: #1A1A1A;
    cursor: pointer;
}
.gate-consent a {
    color: var(--text);
    font-weight: 700;
    text-decoration: underline;
}
.gate-consent--error {
    color: #E53935;
}
.gate-consent--error input[type="checkbox"] {
    outline: 2px solid #E53935;
    outline-offset: 1px;
    border-radius: 3px;
}
.gate-privacy {
    font-size: 0.7rem;
    color: var(--text3);
    display: block;
}

/* === Age Selector (v3.2) === */
.age-selector {
    background: var(--card);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    text-align: center;
}
.age-selector-label {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    color: var(--text2);
}
/* Age stepper */
.age-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.age-stepper-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--card);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-family: 'Figtree', sans-serif;
    line-height: 1;
    padding: 0;
}
.age-stepper-btn:hover:not(:disabled) { border-color: var(--text3); background: #f5f5f5; }
.age-stepper-btn:active:not(:disabled) { transform: scale(0.92); }
.age-stepper-btn:disabled { opacity: 0.25; cursor: not-allowed; }
.age-stepper-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    padding: 10px 20px;
    border-radius: 16px;
    border: 3px solid var(--border);
    background: var(--card);
    transition: border-color 0.3s;
}
.age-stepper-emoji { font-size: 1.6rem; line-height: 1; }
.age-stepper-value { font-size: 1.8rem; font-weight: 900; color: var(--text); line-height: 1.2; }
.age-stepper-unit { font-size: 0.72rem; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: 0.5px; }
.age-stepper-adult-link {
    display: block;
    margin: 10px auto 0;
    background: none;
    border: none;
    color: var(--text3);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    font-family: 'Figtree', sans-serif;
    padding: 4px 8px;
}
.age-stepper-adult-link:hover { color: var(--text2); }

/* Legacy pill styles (kept for classic view) */
.age-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 4px;
}
.age-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 20px;
    border: 2px solid var(--border);
    background: var(--card);
    font-family: 'Figtree', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}
.age-pill:hover { border-color: var(--text3); }
.age-pill--active { border-color: transparent; font-weight: 800; }
.age-pill-emoji { font-size: 1rem; }

/* === Personalized Hero (v3.2) === */
.personalized-hero {
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 16px;
    text-align: center;
}
.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.hero-age-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text2);
    margin-bottom: 6px;
}
.hero-title {
    font-size: 1.3rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 10px;
}
.hero-serving {
    font-size: 0.85rem;
    color: var(--text2);
    margin-bottom: 8px;
}
.hero-serving strong { color: var(--text); font-weight: 800; }
.hero-explanation {
    font-size: 0.85rem;
    color: var(--text2);
    line-height: 1.6;
}

/* === Daily Limits Bars (v3.2) === */
.daily-limits {
    background: var(--card);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
}
.daily-limits h3 {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    text-align: center;
}
.dl-subtitle {
    font-size: 0.75rem;
    color: var(--text3);
    text-align: center;
    margin-bottom: 16px;
}
.dl-bars { display: flex; flex-direction: column; gap: 4px; }
.dl-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.dl-bar-label {
    width: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text);
    flex-shrink: 0;
}
.dl-bar-track {
    flex: 1;
    height: 12px;
    border-radius: 6px;
    background: var(--card2);
    overflow: hidden;
}
.dl-bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.6s ease;
}
.dl-low { background: #4CAF50; }
.dl-med { background: #F9A825; }
.dl-high { background: #D32F2F; }
.dl-bar-value {
    width: 40px;
    font-size: 0.82rem;
    font-weight: 800;
    font-family: 'Space Mono', monospace;
    text-align: right;
    flex-shrink: 0;
}
.dl-bar-detail {
    font-size: 0.7rem;
    color: var(--text3);
    padding-left: 110px;
    margin-bottom: 8px;
}

/* === Compact Fuly Score (v3.2) === */
.fuly-score-compact {
    background: var(--card);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
}
.fi-compact-left { text-align: center; flex-shrink: 0; }
.fi-compact-sublabel {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text3);
}
.fi-compact-number {
    font-size: 2rem;
    font-weight: 900;
    font-family: 'Space Mono', monospace;
    line-height: 1.1;
}
.fuly-score-compact.fi-tier-excellent .fi-compact-number { color: #2E7D32; }
.fuly-score-compact.fi-tier-good .fi-compact-number { color: #43A047; }
.fuly-score-compact.fi-tier-moderate .fi-compact-number { color: #F9A825; }
.fuly-score-compact.fi-tier-low .fi-compact-number { color: #EF6C00; }
.fuly-score-compact.fi-tier-poor .fi-compact-number { color: #D32F2F; }
.fi-compact-right { flex: 1; }
.fi-compact-label { font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; }
.fi-compact-bar-track {
    height: 8px;
    border-radius: 4px;
    background: var(--card2);
    position: relative;
    overflow: visible;
}
.fi-compact-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #D32F2F 0%, #EF6C00 25%, #F9A825 50%, #66BB6A 75%, #2E7D32 100%);
}
.fi-compact-bar-marker {
    position: absolute;
    top: -3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--text);
    border: 2px solid var(--card);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transform: translateX(-50%);
}
.fi-compact-scale {
    display: flex;
    justify-content: space-between;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text3);
    margin-top: 2px;
}

/* === Other Ages (v3.2) === */
.other-ages { text-align: center; margin-bottom: 16px; }
.other-ages-toggle {
    background: none;
    border: none;
    color: var(--text3);
    font-family: 'Figtree', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    padding: 12px;
}
.other-ages-toggle:hover { color: var(--text); }
.other-ages-content { margin-top: 12px; text-align: left; }
.other-age-card {
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 10px;
}
.oa-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.oa-emoji { font-size: 1.2rem; }
.oa-age { font-size: 0.85rem; font-weight: 800; }
.oa-level {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text2);
    margin-left: auto;
}
.oa-detail { font-size: 0.82rem; color: var(--text2); line-height: 1.6; }
.oa-serving { font-size: 0.78rem; font-weight: 700; margin-bottom: 4px; }

/* Gated blur */
.gated-blur {
    filter: blur(6px);
    pointer-events: none;
    user-select: none;
    transition: filter 0.6s ease-out;
}
.gated-blur.gated-unlock {
    filter: blur(0);
}
.email-gate.gate-hidden {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    pointer-events: none;
}
