/* EatOut member app */
html.eatout-member-app,
body.eatout-member-app {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html.eatout-member-app::-webkit-scrollbar,
body.eatout-member-app::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

body.eatout-member-app {
    --eo-nav-h: 64px;
    --eo-app-max: 480px;
    background: #f3f7f4;
}

/* Let the app span the screen — avoid 100vw margin hacks that shift left inside theme columns */
body.eatout-member-app #page,
body.eatout-member-app .site,
body.eatout-member-app .site-content,
body.eatout-member-app .content-area,
body.eatout-member-app .entry-content,
body.eatout-member-app .post-content,
body.eatout-member-app article.page,
body.eatout-member-app .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.eatout-member-app .entry-content > .eatout-app {
    display: block;
    width: 100%;
}

body.eatout-member-app .entry-content :where(h1, h2, h3, h4, h5, h6) {
    clear: none;
}

body.eatout-member-app .entry-content .eatout-app a.eo-hero-slide,
body.eatout-member-app .entry-content .eatout-app a.eo-hero-slide:hover,
body.eatout-member-app .entry-content .eatout-app a.eo-hero-slide:focus {
    color: #fff !important;
    text-decoration: none !important;
}

/* Full-width soft background; inner column centered */
.eatout-app {
    --eo-app-max: 480px;
    --eo-green: #16a34a;
    --eo-green-dark: #15803d;
    --eo-green-soft: #ecfdf5;
    --eo-text: #0f172a;
    --eo-muted: #64748b;
    --eo-border: #e2e8f0;
    --eo-nav-h: 64px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--eo-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background: linear-gradient(165deg, var(--eo-green-soft) 0%, #f4f8f3 42%, #f8fafc 78%, #fff 100%);
    position: relative;
    box-sizing: border-box;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.eatout-app::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.eatout-app *,
.eatout-app *::before,
.eatout-app *::after {
    box-sizing: border-box;
}

/*
 * Theme / Elementor often sets button:hover to solid navy/blue.
 * Neutralize inside the member app except primary CTAs and bottom nav.
 */
body.eatout-member-app .eatout-app button:not(.eatout-app__nav-btn):not(.eo-app-btn--primary):not(.eo-btn-primary):not(.eo-discover-btn--primary):not(.eo-small-btn-order):not(.eo-saved-btn--primary):not(.eo-saved-emergency__cta):not(.eo-profile-sub__cta):not(.eo-profile-modal__confirm):not(.eo-saved-safe__btn--order):not(.eo-hero-slide):not(.eo-hero-slider__dot):not(.eo-pizza-log__slice):not(.eo-pizza-log__whole):not(.eo-pizza-log__confirm):not(.eo-pizza-log__close):hover,
body.eatout-member-app .eatout-app button:not(.eatout-app__nav-btn):not(.eo-app-btn--primary):not(.eo-btn-primary):not(.eo-discover-btn--primary):not(.eo-small-btn-order):not(.eo-saved-btn--primary):not(.eo-saved-emergency__cta):not(.eo-profile-sub__cta):not(.eo-profile-modal__confirm):not(.eo-saved-safe__btn--order):not(.eo-hero-slide):not(.eo-hero-slider__dot):not(.eo-pizza-log__slice):not(.eo-pizza-log__whole):not(.eo-pizza-log__confirm):not(.eo-pizza-log__close):focus,
body.eatout-member-app .eatout-app button:not(.eatout-app__nav-btn):not(.eo-app-btn--primary):not(.eo-btn-primary):not(.eo-discover-btn--primary):not(.eo-small-btn-order):not(.eo-saved-btn--primary):not(.eo-saved-emergency__cta):not(.eo-profile-sub__cta):not(.eo-profile-modal__confirm):not(.eo-saved-safe__btn--order):not(.eo-hero-slide):not(.eo-hero-slider__dot):not(.eo-pizza-log__slice):not(.eo-pizza-log__whole):not(.eo-pizza-log__confirm):not(.eo-pizza-log__close):focus-visible,
body.eatout-member-app .eatout-app button:not(.eatout-app__nav-btn):not(.eo-app-btn--primary):not(.eo-btn-primary):not(.eo-discover-btn--primary):not(.eo-small-btn-order):not(.eo-saved-btn--primary):not(.eo-saved-emergency__cta):not(.eo-profile-sub__cta):not(.eo-profile-modal__confirm):not(.eo-saved-safe__btn--order):not(.eo-hero-slide):not(.eo-hero-slider__dot):not(.eo-pizza-log__slice):not(.eo-pizza-log__whole):not(.eo-pizza-log__confirm):not(.eo-pizza-log__close):active {
    background-color: #fff !important;
    background-image: none !important;
    color: var(--eo-text) !important;
    border-color: var(--eo-border) !important;
}

/* Theme link styles on hero slider (restaurant name, etc.) */
body.eatout-member-app .eatout-app a.eo-hero-slide,
body.eatout-member-app .eatout-app a.eo-hero-slide:hover,
body.eatout-member-app .eatout-app a.eo-hero-slide:focus,
body.eatout-member-app .eatout-app a.eo-hero-slide:focus-visible,
body.eatout-member-app .eatout-app a.eo-hero-slide:active,
body.eatout-member-app .eatout-app button.eo-hero-slide,
body.eatout-member-app .eatout-app button.eo-hero-slide:hover,
body.eatout-member-app .eatout-app button.eo-hero-slide:focus,
body.eatout-member-app .eatout-app button.eo-hero-slide:focus-visible,
body.eatout-member-app .eatout-app button.eo-hero-slide:active {
    color: #fff !important;
    text-decoration: none !important;
    border: none !important;
    background-color: transparent !important;
}

body.eatout-member-app .eatout-app .eo-hero-slide:hover,
body.eatout-member-app .eatout-app .eo-hero-slide:focus,
body.eatout-member-app .eatout-app .eo-hero-slide:focus-visible {
    opacity: 0.98;
}

body.eatout-member-app .eatout-app .eo-hero-slide--linked:hover .eo-hero-slide__shade--soft,
body.eatout-member-app .eatout-app .eo-hero-slide--linked:focus .eo-hero-slide__shade--soft {
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.12) 0%,
        rgba(15, 23, 42, 0.28) 45%,
        rgba(15, 23, 42, 0.78) 100%
    );
}

body.eatout-member-app .eatout-app .eo-hero-slide__name,
body.eatout-member-app .eatout-app .eo-hero-slide__name:hover,
body.eatout-member-app .eatout-app a.eo-hero-slide:hover .eo-hero-slide__name,
body.eatout-member-app .eatout-app a.eo-hero-slide:hover strong,
body.eatout-member-app .eatout-app button.eo-hero-slide:hover .eo-hero-slide__name,
body.eatout-member-app .eatout-app .eo-hero-slide__short-line,
body.eatout-member-app .eatout-app .eo-hero-slide__distance,
body.eatout-member-app .eatout-app .eo-hero-slide__match {
    color: #fff !important;
}

body.eatout-member-app .eatout-app .eo-hero-slide__cta--pill:hover {
    background: #fff !important;
    color: #166534 !important;
}

body.eatout-member-app .eatout-app .eo-profile-setting:hover,
body.eatout-member-app .eatout-app .eo-profile-setting:focus,
body.eatout-member-app .eatout-app .eo-profile-setting:focus-visible,
body.eatout-member-app .eatout-app .eo-profile-setting:active {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08) !important;
}

body.eatout-member-app .eatout-app .eo-discover-filter:hover,
body.eatout-member-app .eatout-app .eo-discover-filter:focus,
body.eatout-member-app .eatout-app .eo-discover-seg:hover,
body.eatout-member-app .eatout-app .eo-discover-seg:focus,
body.eatout-member-app .eatout-app .eo-saved-quick__btn:hover,
body.eatout-member-app .eatout-app .eo-saved-quick__btn:focus {
    background-color: #fff !important;
    color: var(--eo-text) !important;
}

body.eatout-member-app .eatout-app .eo-discover-filter.is-active:hover,
body.eatout-member-app .eatout-app .eo-discover-filter.is-active:focus,
body.eatout-member-app .eatout-app .eo-discover-seg.is-active:hover,
body.eatout-member-app .eatout-app .eo-discover-seg.is-active:focus,
body.eatout-member-app .eatout-app .eo-saved-quick__btn.is-active:hover,
body.eatout-member-app .eatout-app .eo-saved-quick__btn.is-active:focus {
    background-color: #f0fdf4 !important;
    border-color: #16a34a !important;
    color: #166534 !important;
}

.eatout-app__viewport {
    width: 100%;
    max-width: var(--eo-app-max);
    margin-left: auto;
    margin-right: auto;
    padding-top: 16px;
    padding-bottom: calc(var(--eo-nav-h) + env(safe-area-inset-bottom, 0px) + 20px);
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    min-height: 100vh;
    min-height: 100dvh;
    box-sizing: border-box;
}

.eatout-app__panel[hidden] {
    display: none !important;
}

.eatout-app__panel.is-active {
    display: block;
    width: 100%;
    animation: eoAppFade 0.25s ease;
}

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

/* Bottom nav — clean outline icons (reference UI) */
.eatout-app__nav {
    --eo-nav-inactive: #3d4f63;
    --eo-nav-active: #22a04b;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: min(100%, var(--eo-app-max));
    max-width: var(--eo-app-max);
    box-sizing: border-box;
    min-height: calc(var(--eo-nav-h) + env(safe-area-inset-bottom, 0px));
    padding: 10px 6px calc(10px + env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: #fff;
    border-top: 1px solid #e8ecef;
    z-index: 100;
    -webkit-tap-highlight-color: transparent;
}

.eatout-app__nav-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    border: none;
    background: transparent !important;
    color: var(--eo-nav-inactive);
    font-size: 11px;
    font-weight: 500;
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: 0.01em;
    cursor: pointer;
    padding: 4px 2px;
    margin: 0;
    border-radius: 0;
    box-shadow: none !important;
    outline: none !important;
    -webkit-appearance: none;
    appearance: none;
    transition: color 0.15s ease;
}

.eatout-app__nav-btn:hover,
.eatout-app__nav-btn:focus,
.eatout-app__nav-btn:focus-visible,
.eatout-app__nav-btn:active {
    background: transparent !important;
    color: var(--eo-nav-inactive);
    box-shadow: none !important;
    outline: none !important;
}

.eatout-app__nav-btn.is-active,
.eatout-app__nav-btn.is-active:hover,
.eatout-app__nav-btn.is-active:focus,
.eatout-app__nav-btn.is-active:focus-visible,
.eatout-app__nav-btn.is-active:active {
    background: transparent !important;
    color: var(--eo-nav-active);
    box-shadow: none !important;
}

.eatout-app__nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: inherit;
    flex-shrink: 0;
}

.eatout-app__nav-svg {
    display: block;
    width: 24px;
    height: 24px;
    color: inherit;
}

.eatout-app__nav-label {
    display: block;
    line-height: 1.15;
    white-space: nowrap;
}

/* Center Scan — primary purple action (Home · Discover · Scan · Saved · Profile) */
.eatout-app__nav-btn--scan {
    --eo-scan-purple: #7c3aed;
    --eo-scan-purple-dark: #5b21b6;
    color: var(--eo-scan-purple);
    flex: 1.05;
}

.eatout-app__nav-btn--scan .eatout-app__nav-icon {
    width: 50px;
    height: 50px;
    margin-top: -22px;
    border-radius: 50%;
    background: linear-gradient(145deg, #8b5cf6 0%, var(--eo-scan-purple) 55%, var(--eo-scan-purple-dark) 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(91, 33, 182, 0.38);
}

.eatout-app__nav-btn--scan .eatout-app__nav-svg {
    color: #fff;
}

.eatout-app__nav-btn--scan .eatout-app__nav-label {
    font-weight: 700;
    color: var(--eo-scan-purple);
}

.eatout-app__nav-btn--scan:hover,
.eatout-app__nav-btn--scan:focus,
.eatout-app__nav-btn--scan:focus-visible,
.eatout-app__nav-btn--scan:active {
    color: var(--eo-scan-purple-dark);
}

.eatout-app__nav-btn--scan.is-active,
.eatout-app__nav-btn--scan.is-active:hover,
.eatout-app__nav-btn--scan.is-active:focus,
.eatout-app__nav-btn--scan.is-active:focus-visible,
.eatout-app__nav-btn--scan.is-active:active {
    color: var(--eo-scan-purple-dark);
}

.eatout-app__nav-btn--scan.is-active .eatout-app__nav-label {
    color: var(--eo-scan-purple-dark);
}

/* Block WP/theme button fills on nav */
body.eatout-member-app .eatout-app__nav .eatout-app__nav-btn,
body.eatout-member-app .eatout-app__nav .eatout-app__nav-btn:hover,
body.eatout-member-app .eatout-app__nav .eatout-app__nav-btn:focus,
body.eatout-member-app .eatout-app__nav .eatout-app__nav-btn:active,
body.eatout-member-app .eatout-app__nav .eatout-app__nav-btn.is-active {
    background-color: transparent !important;
    background-image: none !important;
    border-color: transparent !important;
}

/* Gate */
.eatout-app-gate {
    max-width: 460px;
    margin: 60px auto;
    padding: 32px 24px;
    text-align: center;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.eatout-app-gate p {
    color: #0f172a;
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.5;
}

/* High-specificity + !important to defeat themes that style all <a> tags */
.eatout-app-gate a.eatout-app-gate__btn,
.eatout-app-gate__btn,
a.eatout-app-gate__btn:link,
a.eatout-app-gate__btn:visited {
    display: inline-block;
    margin-top: 8px;
    padding: 14px 32px;
    background: #22c55e !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 14px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.25);
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.eatout-app-gate a.eatout-app-gate__btn:hover,
.eatout-app-gate a.eatout-app-gate__btn:focus,
.eatout-app-gate__btn:hover,
.eatout-app-gate__btn:focus {
    background: #16a34a !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.35);
}

/* Home */
.eo-app-header {
    margin-bottom: 16px;
}

.eo-app-header h1 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 4px;
    letter-spacing: -0.02em;
}

.eo-app-header__coach {
    font-size: 14px;
    color: var(--eo-muted);
    margin: 0;
    line-height: 1.45;
}

.eo-app-streak {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 6px 12px;
    background: var(--eo-green-soft);
    color: var(--eo-green-dark);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.eo-app-macros {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 16px 0 20px;
}

.eo-app-macro {
    background: #fff;
    border: 1px solid var(--eo-border);
    border-radius: 14px;
    padding: 12px 10px;
    text-align: center;
}

.eo-app-macro span {
    display: block;
    font-size: 11px;
    color: var(--eo-muted);
    margin-bottom: 4px;
}

.eo-app-macro strong {
    font-size: 1.1rem;
    font-weight: 700;
}

.eo-app-macro__bar {
    height: 4px;
    background: #e2e8f0;
    border-radius: 999px;
    margin-top: 8px;
    overflow: hidden;
}

.eo-app-macro__bar i {
    display: block;
    height: 100%;
    background: var(--eo-green);
    border-radius: 999px;
    max-width: 100%;
}

.eo-app-section-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--eo-muted);
    margin: 0 0 10px;
}

.eo-app-hero-card {
    background: #fff;
    border: 1px solid var(--eo-border);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.eo-app-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.eo-app-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.eo-app-btn--primary {
    background: var(--eo-green);
    color: #fff;
}

.eo-app-btn--ghost {
    background: #fff;
    color: var(--eo-text);
    border: 1px solid var(--eo-border);
}

.eo-app-btn--icon {
    padding: 8px 12px;
}

/* Discover */
.eo-app-page-head {
    margin-bottom: 14px;
}

.eo-app-page-head h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 6px;
}

.eo-app-page-head__sub {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--eo-muted);
    margin: 0;
}

.eo-app-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.eo-app-chips::-webkit-scrollbar {
    display: none;
}

.eo-app-chip {
    flex-shrink: 0;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--eo-border);
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: var(--eo-muted);
    cursor: pointer;
}

.eo-app-chip.is-active {
    border-color: var(--eo-green);
    color: var(--eo-green-dark);
    background: var(--eo-green-soft);
}

/* Meal list cards */
.eo-app-meal-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.eo-app-meal-card {
    background: #fff;
    border: 1px solid var(--eo-border);
    border-radius: 14px;
    padding: 14px;
}

.eo-app-meal-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.eo-app-meal-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 2px;
}

.eo-app-meal-card__rest {
    font-size: 13px;
    color: var(--eo-muted);
    margin: 0;
}

.eo-app-score {
    text-align: right;
    flex-shrink: 0;
}

.eo-app-score__num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--eo-green);
    line-height: 1;
}

.eo-app-score__label {
    font-size: 10px;
    color: var(--eo-muted);
}

.eo-app-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    margin-top: 8px;
}

.eo-app-badge--best {
    background: var(--eo-green-soft);
    color: var(--eo-green-dark);
}

.eo-app-badge--good {
    background: #eff6ff;
    color: #1d4ed8;
}

.eo-app-badge--avoid {
    background: #fef2f2;
    color: #b91c1c;
}

.eo-app-empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--eo-muted);
}

.eo-app-empty__icon {
    font-size: 48px;
    opacity: 0.35;
    margin-bottom: 12px;
}

/* Scan placeholder */
.eo-app-scan-placeholder {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px dashed var(--eo-border);
}

.eo-app-scan-placeholder__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 14px;
    background: var(--eo-green-soft);
    color: var(--eo-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Profile */
.eo-app-profile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.eo-app-profile-head h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
}

.eo-app-signout {
    font-size: 13px;
    color: var(--eo-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.eo-app-field {
    margin-bottom: 16px;
}

.eo-app-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.eo-app-field input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--eo-border);
    border-radius: 12px;
    font-size: 15px;
}

.eo-app-goal-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.eo-app-goal-pill {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--eo-border);
    background: #fff;
    font-size: 13px;
    cursor: pointer;
}

.eo-app-goal-pill.is-selected {
    background: var(--eo-green);
    border-color: var(--eo-green);
    color: #fff;
}

.eo-app-msg {
    font-size: 13px;
    color: var(--eo-muted);
    margin: 8px 0;
}

.eo-app-msg--error {
    color: #b91c1c;
}

.eo-app-msg--ok {
    color: var(--eo-green-dark);
}

/* Detail modal inside app */
.eatout-app .eatout-meal-detail {
    z-index: 200;
}

.eatout-meal-detail__panel--rich {
    max-width: 420px;
    width: calc(100% - 32px);
    max-height: 90vh;
    overflow-y: auto;
    padding: 0;
    border-radius: 24px;
}

.eatout-meal-detail__panel--rich .eatout-meal-detail__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

.eo-detail-hero {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.eo-detail-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent);
}

.eo-detail-hero__match {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.92);
    color: #15803d;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    z-index: 2;
}

.eo-venue-info {
    margin: 6px 0 14px;
    font-size: 13px;
    color: #475569;
    min-height: 18px;
}
.eo-venue-info__loading {
    color: #94a3b8;
    font-style: italic;
}
.eo-venue-info__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}
.eo-venue-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
}
.eo-venue-status.is-open {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
}
.eo-venue-status.is-closed {
    background: rgba(239, 68, 68, 0.10);
    color: #b91c1c;
}
.eo-venue-status__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    flex: 0 0 auto;
}
.eo-venue-info__sep {
    color: #cbd5e1;
}
.eo-venue-info__change {
    color: #64748b;
}
.eo-venue-info__phone {
    margin-left: auto;
    color: #0f766e;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.eo-venue-info__phone:hover {
    text-decoration: underline;
}
.eo-venue-info__hours {
    margin-top: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 12px;
}
.eo-venue-info__hours > summary {
    cursor: pointer;
    font-weight: 600;
    color: #334155;
    list-style: none;
    user-select: none;
}
.eo-venue-info__hours > summary::-webkit-details-marker {
    display: none;
}
.eo-venue-info__hours > summary::after {
    content: "▾";
    float: right;
    transition: transform 0.2s ease;
}
.eo-venue-info__hours[open] > summary::after {
    transform: rotate(180deg);
}
.eo-venue-info__hours ul {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    font-size: 12.5px;
    color: #475569;
}
.eo-venue-info__hours li {
    padding: 3px 0;
    border-bottom: 1px solid #eef2f7;
}
.eo-venue-info__hours li:last-child {
    border-bottom: none;
}

.eo-detail-body {
    padding: 20px 22px 24px;
}

.eo-detail-ai {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    padding: 14px;
    margin: 14px 0;
}

.eo-detail-ai__title {
    font-size: 12px;
    font-weight: 900;
    color: #16a34a;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.eo-detail-ai p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #166534;
}

.eo-evidence {
    background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #bbf7d0;
    border-radius: 18px;
    padding: 16px 18px 14px;
    margin: 16px 0 18px;
    box-shadow: 0 1px 0 rgba(34, 197, 94, 0.08), 0 6px 18px -10px rgba(16, 185, 129, 0.30);
}

.eo-evidence__label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: #047857;
    opacity: 0.78;
    margin-bottom: 10px;
}

.eo-evidence__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eo-evidence__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.45;
    color: #14532d;
}

.eo-evidence__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #16a34a;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    margin-top: 1px;
}

.eo-evidence__text {
    flex: 1;
}

.eo-evidence-metric {
    font-weight: 700;
    color: #064e3b;
    background: rgba(16, 185, 129, 0.12);
    padding: 0 4px;
    border-radius: 4px;
}

.eo-evidence__note {
    margin: 12px 0 0;
    font-size: 11.5px;
    color: #6b7280;
    line-height: 1.4;
}

.eo-nutrition-source {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 14px;
    margin: 14px 0;
    border: 1px solid transparent;
}

.eo-nutrition-source--verified {
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.eo-nutrition-source--menu {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.eo-nutrition-source--ai {
    background: #f9fafb;
    border-color: #e5e7eb;
}

.eo-nutrition-source__head {
    display: flex;
    align-items: center;
    gap: 8px;
}

.eo-nutrition-source__check {
    font-size: 18px;
    line-height: 1;
}

.eo-nutrition-source__title {
    font-size: 14px;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.01em;
}

.eo-nutrition-source--verified .eo-nutrition-source__title {
    color: #065f46;
}

.eo-nutrition-source--menu .eo-nutrition-source__title {
    color: #1d4ed8;
}

.eo-nutrition-source__sub {
    margin: 2px 0 0 26px;
    font-size: 12px;
    color: #4b5563;
    line-height: 1.4;
}

/* --- User photo upload block (detail modal) --- */
.eo-photo-block {
    margin: 14px 0 4px;
    padding: 12px 14px;
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 12px;
    text-align: center;
}

.eo-photo-block .eo-photo-credit {
    margin: 0 0 10px;
    padding: 6px 10px;
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    border-radius: 8px;
    font-size: 12px;
    color: #065f46;
    font-weight: 600;
}

.eo-photo-block .eo-photo-credit strong {
    color: #064e3b;
}

.eo-photo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    color: #111827;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.eo-photo-btn:hover:not(:disabled) {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.eo-photo-btn:disabled {
    cursor: default;
    opacity: 0.85;
}

.eo-photo-btn.is-pending {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}

.eo-photo-hint {
    margin: 8px 0 0;
    font-size: 11px;
    color: #6b7280;
    line-height: 1.4;
}

/* ========================================================================
 * Community Points — level pill, toasts, profile contribution card.
 * ====================================================================== */

button.eo-cp-pill,
button.eo-cp-pill:hover,
button.eo-cp-pill:focus,
button.eo-cp-pill:focus-visible,
button.eo-cp-pill:active,
button.eo-cp-pill:visited {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    margin: 12px 0 4px;
    background-color: #16a34a !important;
    background-image: linear-gradient(135deg, rgba(34, 197, 94, 0.92) 0%, rgba(16, 163, 74, 0.92) 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 18px rgba(16, 163, 74, 0.28);
    cursor: pointer;
    text-align: left;
    outline: none !important;
    text-decoration: none !important;
    text-shadow: none !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
}
.eo-cp-pill__icon {
    font-size: 22px;
    line-height: 1;
}
.eo-cp-pill__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 0 0 auto;
}
.eo-cp-pill__label {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
}
.eo-cp-pill__points {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.04em;
}
.eo-cp-pill__progress {
    position: relative;
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    overflow: hidden;
}
.eo-cp-pill__progress-fill {
    display: block;
    height: 100%;
    background: #ffffff;
    border-radius: 999px;
    transition: width 0.6s cubic-bezier(.22,1,.36,1);
}
.eo-cp-pill__next {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

@media (max-width: 480px) {
    .eo-cp-pill__next { display: none; }
}

/* Profile "Your Contributions" card */
.eo-cp-card {
    margin: 16px 0;
    padding: 22px 22px 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #f8fafc;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
    position: relative;
    overflow: hidden;
}
.eo-cp-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -30%;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.32) 0%, rgba(34, 197, 94, 0) 70%);
    pointer-events: none;
}
.eo-cp-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    position: relative;
}
.eo-cp-card__level {
    display: flex;
    align-items: center;
    gap: 12px;
}
.eo-cp-card__level-icon {
    font-size: 36px;
    line-height: 1;
    filter: drop-shadow(0 4px 12px rgba(34, 197, 94, 0.4));
}
.eo-cp-card__level-eyebrow {
    margin: 0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(248, 250, 252, 0.6);
}
.eo-cp-card__level-label {
    margin: 2px 0 0;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
}
.eo-cp-card__points {
    display: flex;
    align-items: baseline;
    gap: 4px;
    background: rgba(34, 197, 94, 0.16);
    padding: 8px 14px;
    border-radius: 14px;
    border: 1px solid rgba(34, 197, 94, 0.35);
}
.eo-cp-card__points strong {
    font-size: 22px;
    color: #22c55e;
    font-weight: 800;
}
.eo-cp-card__points span {
    font-size: 11px;
    color: rgba(248, 250, 252, 0.7);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.eo-cp-card__progress {
    margin: 4px 0 18px;
}
.eo-cp-card__progress-bar {
    height: 8px;
    background: rgba(248, 250, 252, 0.1);
    border-radius: 999px;
    overflow: hidden;
}
.eo-cp-card__progress-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #4ade80);
    border-radius: 999px;
    transition: width 0.7s cubic-bezier(.22,1,.36,1);
}
.eo-cp-card__progress-text {
    margin: 8px 0 0;
    font-size: 12px;
    color: rgba(248, 250, 252, 0.7);
}
.eo-cp-card__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.eo-cp-card__stat {
    background: rgba(248, 250, 252, 0.06);
    border: 1px solid rgba(248, 250, 252, 0.08);
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
    transition: background 0.18s ease;
}
.eo-cp-card__stat:hover { background: rgba(248, 250, 252, 0.1); }
.eo-cp-card__stat-value {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
}
.eo-cp-card__stat-label {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    letter-spacing: 0.06em;
    color: rgba(248, 250, 252, 0.6);
    text-transform: uppercase;
}
.eo-cp-card__impact {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 16px;
}
.eo-cp-card__impact p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #f1f5f9;
}
.eo-cp-card__impact p + p {
    margin-top: 6px;
    color: rgba(248, 250, 252, 0.75);
    font-size: 12px;
}
.eo-cp-card__impact strong { color: #4ade80; font-weight: 800; }

.eo-cp-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.eo-cp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(248, 250, 252, 0.06);
    border: 1px solid rgba(248, 250, 252, 0.08);
}
.eo-cp-badge--earned {
    background: rgba(34, 197, 94, 0.18);
    border-color: rgba(34, 197, 94, 0.4);
    color: #ffffff;
}
.eo-cp-badge--locked {
    opacity: 0.45;
}
.eo-cp-badge__icon { font-size: 13px; line-height: 1; }

/* Toast notifications for points / level-ups */
.eo-cp-toast {
    position: fixed;
    left: 50%;
    bottom: 88px;
    transform: translate(-50%, 12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 260px;
    max-width: 92vw;
    padding: 12px 14px;
    background: rgba(15, 23, 42, 0.96);
    color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.32);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(.22,1,.36,1);
}
.eo-cp-toast.is-in {
    opacity: 1;
    transform: translate(-50%, 0);
}
.eo-cp-toast__icon {
    font-size: 22px;
    line-height: 1;
}
.eo-cp-toast__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
.eo-cp-toast__title {
    font-size: 13px;
    font-weight: 700;
}
.eo-cp-toast__msg {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 2px;
}
.eo-cp-toast__close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}

/* Upgraded photo credit (level badge inline) */
.eo-photo-credit__level {
    font-weight: 700;
    color: #16a34a;
}

/* ========================================================================
 * Layered image system styles below
 * ====================================================================== */

.eo-hero-figure {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: inherit;
    transition: transform 0.5s ease, background-size 0.6s ease;
}

/* Soft skeleton shimmer that sits behind the bg-image until the browser
 * paints it. The element fades out once the parent has rendered (we use an
 * always-running animation; once the background image is visible the
 * skeleton is masked by it). */
.eo-hero-figure__skeleton {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(110deg, #1f2937 8%, #374151 18%, #1f2937 33%);
    background-size: 200% 100%;
    animation: eo-hero-skeleton 1.4s ease-in-out infinite;
    opacity: 0.35;
    pointer-events: none;
}

.eo-hero-figure[style*="background-image"] .eo-hero-figure__skeleton {
    /* Hide once a real bg-image is attached; the image itself covers it. */
    opacity: 0;
    transition: opacity 0.35s ease 0.05s;
}

@keyframes eo-hero-skeleton {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Category fallback overlay — soft dark gradient gives a premium editorial
 * look and makes any white meal name on top still legible. */
.eo-hero-figure--has-fallback::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.0) 35%, rgba(0,0,0,0.45) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Subtle zoom variants so a homepage of category-fallback cards doesn't
 * look identical. Hash-driven from JS via imageMetaFromCard(). */
.eo-hero-figure--variant-1 { background-size: 105% auto; background-position: center 38%; }
.eo-hero-figure--variant-2 { background-size: 112% auto; background-position: center 50%; }
.eo-hero-figure--variant-3 { background-size: 108% auto; background-position: center 62%; }

/* Ensure any overlay children render above the gradient + skeleton */
.eo-hero-figure > * { position: relative; z-index: 2; }

.eo-hero-figure--placeholder {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.eo-hero-figure__emoji {
    font-size: 72px;
    line-height: 1;
    opacity: 0.92;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18));
}

.eo-detail-hero.eo-hero-figure--placeholder {
    min-height: 200px;
}

.eo-app-meal-card__img--placeholder {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.eo-app-meal-card__placeholder-emoji {
    font-size: 44px;
    line-height: 1;
    opacity: 0.95;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.18));
}

/* === Best Matches swipe carousel (Option B card) === */

.eo-bm-carousel {
    position: relative;
    margin: 4px -16px 0;
}

.eo-bm-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    -webkit-overflow-scrolling: touch;
    padding: 6px 16px 14px;
    scrollbar-width: none;
}

.eo-bm-track::-webkit-scrollbar {
    display: none;
}

.eo-bm-card {
    flex: 0 0 86%;
    scroll-snap-align: start;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04), 0 12px 28px -16px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #f1f5f9;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eo-bm-card:active {
    transform: scale(0.985);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04), 0 6px 16px -10px rgba(15, 23, 42, 0.18);
}

.eo-bm-card__header {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #f1f5f9;
    background-size: cover;
    background-position: center;
    position: relative;
}

.eo-bm-card__header--placeholder {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.eo-bm-card__placeholder-emoji {
    font-size: 56px;
    line-height: 1;
    opacity: 0.95;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.eo-bm-card__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eo-bm-card__title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.eo-bm-card__title {
    margin: 0;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
    flex: 1;
}

.eo-bm-card__match {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #065f46;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
    border: 1px solid #a7f3d0;
}

.eo-bm-card__meta {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.eo-bm-card__macros {
    margin: 0;
    font-size: 13.5px;
    color: #0f172a;
    font-weight: 600;
}

.eo-bm-card__verify {
    color: #16a34a;
    font-weight: 800;
    margin-left: 2px;
}

.eo-bm-card__dot {
    color: #cbd5e1;
    margin: 0 2px;
}

.eo-bm-card__source {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
}

.eo-bm-card__source--verified {
    background: #ecfdf5;
    color: #065f46;
    border-color: #a7f3d0;
}

.eo-bm-card__source--menu {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.eo-bm-card__source--ai {
    background: #f9fafb;
    color: #374151;
    border-color: #e5e7eb;
}

.eo-bm-card__cta {
    margin-top: 4px;
    width: 100%;
    padding: 12px 18px;
    border: none;
    border-radius: 14px;
    background: #16a34a;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: 0 6px 14px -8px rgba(22, 163, 74, 0.65);
    transition: transform 0.15s ease, background 0.15s ease;
}

.eo-bm-card__cta:hover,
.eo-bm-card__cta:focus-visible {
    background: #15803d;
    transform: translateY(-1px);
}

.eo-bm-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 4px 0 6px;
}

.eo-bm-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    border: none;
    background: #cbd5e1;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, width 0.2s ease;
}

.eo-bm-dot.is-active {
    background: #16a34a;
    width: 18px;
}

.eo-bm-hint {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%) translateX(8px);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: 5;
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 18px -10px rgba(15, 23, 42, 0.45);
}

.eo-bm-hint.is-visible {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.eo-bm-hint.is-fading {
    opacity: 0;
    transform: translateY(-50%) translateX(-6px);
}

.eo-bm-hint__chevron {
    display: inline-block;
    font-size: 18px;
    line-height: 1;
    animation: eo-bm-hint-pulse 1.1s ease-in-out infinite;
}

@keyframes eo-bm-hint-pulse {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(4px); }
}

@media (min-width: 720px) {
    .eo-bm-card {
        flex-basis: 360px;
    }
    .eo-bm-hint {
        display: none;
    }
}

.eo-detail-macros {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.eo-detail-macros div {
    background: #f8fafc;
    border-radius: 14px;
    padding: 12px;
    text-align: center;
}

.eo-detail-macros strong {
    display: block;
    font-size: 20px;
    font-weight: 900;
}

.eo-detail-macros span {
    font-size: 11px;
    color: #64748b;
    font-weight: 700;
}

.eo-detail-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.eo-detail-actions .eo-btn {
    flex: 1;
    border: none;
    padding: 14px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    font-family: inherit;
}

.eo-detail-actions .eo-btn-primary {
    background: #16a34a;
    color: #fff;
}

.eo-detail-actions .eo-btn-secondary {
    background: #f1f5f9;
    color: #0f172a;
}

.eo-detail-actions .eo-btn-secondary.is-saved {
    color: #16a34a;
}

.eo-detail-order {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.eo-detail-order p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
    flex: 1;
}

.eo-detail-rest {
    margin-top: 16px;
    padding: 14px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.eo-detail-rest p {
    margin: 0 0 12px;
    font-size: 13px;
    color: #475569;
}

.eo-detail-rest__btns {
    display: flex;
    gap: 10px;
}

.eo-detail-rest__btns .eo-small-btn {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid #dbe2ea;
    background: #fff;
    color: #0f172a;
}

.eo-detail-rest__btns .eo-call-btn {
    background: #16a34a;
    color: #fff;
    border-color: #16a34a;
}

/* —— Emotional home —— */
.eo-app-home-scroll {
    padding-bottom: 24px;
}

.eo-momentum-header {
    margin-bottom: 18px;
}

.eo-momentum-header__title {
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0 0 10px;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.eo-momentum-header__line {
    font-size: 15px;
    color: var(--eo-muted);
    margin: 0 0 12px;
    line-height: 1.5;
}

.eo-momentum-header__line strong {
    color: var(--eo-text);
}

.eo-momentum-header__line span {
    display: block;
    margin-top: 4px;
    font-size: 14px;
}

.eo-momentum-streak {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

.eo-mission-card {
    display: flex;
    gap: 14px;
    padding: 16px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ecfdf5, #fff);
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.08);
}

.eo-mission-card__emoji {
    font-size: 28px;
    line-height: 1;
}

.eo-mission-card__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--eo-green-dark);
    margin: 0 0 4px;
}

.eo-mission-card__body {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 6px;
    color: var(--eo-text);
}

.eo-mission-card__reward {
    font-size: 13px;
    color: var(--eo-muted);
    margin: 0;
}

.eo-app-section {
    margin-bottom: 28px;
}

.eo-app-section__title {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 4px;
    letter-spacing: -0.02em;
}

.eo-app-section__sub {
    font-size: 13px;
    color: var(--eo-muted);
    margin: 0 0 12px;
}

.eo-premium-score {
    text-align: center;
    flex-shrink: 0;
    min-width: 72px;
}

.eo-premium-score__num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--eo-green);
    letter-spacing: -0.04em;
}

.eo-premium-score__label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--eo-green-dark);
}

.eo-premium-score__tag {
    display: block;
    font-size: 10px;
    color: var(--eo-muted);
    margin-top: 4px;
    line-height: 1.2;
    max-width: 80px;
}

.eo-app-meal-card {
    overflow: hidden;
    padding: 0;
    border-radius: 18px;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
}

.eo-app-meal-card--hero {
    border: 2px solid #86efac;
    box-shadow: 0 16px 40px rgba(22, 163, 74, 0.15);
}

.eo-app-meal-card__img {
    position: relative;
    height: 120px;
    background: #e2e8f0;
    overflow: hidden;
    /* Subtle dark gradient overlay on every card so labels read well even
     * when a category-fallback image is in use. */
}

.eo-app-meal-card__img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.25) 100%);
    pointer-events: none;
    z-index: 1;
}

.eo-app-meal-card--hero .eo-app-meal-card__img {
    height: 140px;
}

.eo-app-meal-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.6s ease;
}

.eo-app-meal-card:hover .eo-app-meal-card__img img,
.eo-app-meal-card:focus-within .eo-app-meal-card__img img {
    transform: scale(1.08);
}

/* Skeleton shimmer while the IMG is decoding. */
.eo-app-meal-card__img img[loading="lazy"]:not(.eo-img-loaded) {
    opacity: 0;
}

.eo-app-meal-card__img img.eo-img-loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.eo-app-meal-card__img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    background: linear-gradient(135deg, #ecfdf5, #e2e8f0);
}

.eo-app-meal-card__body {
    padding: 14px;
}

.eo-app-meal-card__top {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.eo-app-meal-card__copy {
    flex: 1;
    min-width: 0;
}

.eo-app-meal-card__relief {
    font-size: 14px;
    font-weight: 500;
    color: var(--eo-green-dark);
    margin: 0 0 10px;
    line-height: 1.45;
}

.eo-swap-hero {
    margin: 12px 0;
    padding: 12px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid var(--eo-border);
}

.eo-swap-hero__title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--eo-muted);
    margin: 0 0 10px;
}

.eo-swap-hero__row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    margin-bottom: 6px;
}

.eo-swap-hero__row span:first-child {
    flex-shrink: 0;
    font-weight: 700;
}

.eo-swap-hero__row--bad span:first-child {
    color: #dc2626;
}

.eo-swap-hero__row--good span:first-child {
    color: var(--eo-green);
}

.eo-swap-hero__row strong {
    display: block;
}

.eo-swap-hero__row span {
    font-size: 12px;
    color: var(--eo-muted);
}

.eo-swap-hero__arrow {
    text-align: center;
    color: var(--eo-muted);
    margin: 4px 0;
}

.eo-swap-hero__wins {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: var(--eo-text);
}

.eo-swap-hero__wins li {
    margin-bottom: 4px;
}

.eo-brand-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.eo-brand-chip {
    flex: 1 1 45%;
    min-width: 140px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--eo-border);
    border-radius: 12px;
}

.eo-brand-chip strong {
    display: block;
    font-size: 13px;
}

.eo-brand-chip span {
    font-size: 11px;
    color: var(--eo-muted);
}

.eo-streak-cta {
    text-align: center;
    padding: 20px 16px;
    margin: 8px 0 20px;
    background: linear-gradient(135deg, #fef3c7, #fff7ed);
    border-radius: 16px;
    border: 1px solid #fde68a;
}

.eo-streak-cta h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.eo-streak-cta p {
    margin: 0 0 14px;
    font-size: 14px;
    color: var(--eo-muted);
}

.eo-app-loading {
    text-align: center;
    padding: 40px 20px;
    color: var(--eo-muted);
}

/* Scan */
.eo-scan-page {
    text-align: center;
    padding: 28px 16px 40px;
    position: relative;
}

.eo-scan-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.25), transparent 70%);
    pointer-events: none;
}

.eo-scan-page h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 12px;
    position: relative;
}

.eo-scan-lead {
    font-size: 15px;
    color: var(--eo-muted);
    line-height: 1.5;
    margin: 0 0 20px;
    position: relative;
}

.eo-scan-benefits {
    text-align: left;
    max-width: 280px;
    margin: 0 auto 24px;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 1.8;
    position: relative;
}

.eo-scan-cta {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 12px;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--eo-green), var(--eo-green-dark));
    color: #fff;
    cursor: pointer;
    position: relative;
}

.eo-scan-cta:disabled {
    opacity: 0.65;
    cursor: wait;
}

.eo-scan-beta {
    display: block;
    font-size: 11px;
    font-weight: 600;
    opacity: 0.9;
    margin-top: 4px;
}

.eo-scan-note {
    font-size: 12px;
    color: var(--eo-muted);
    position: relative;
}

.eo-scan-field {
    display: block;
    text-align: left;
    max-width: 320px;
    margin: 0 auto 16px;
    position: relative;
}

.eo-scan-field span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--eo-muted);
    margin-bottom: 6px;
}

.eo-scan-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--eo-border, #e5e7eb);
    border-radius: 10px;
    font-size: 14px;
    box-sizing: border-box;
}

.eo-scan-tabs {
    display: flex;
    gap: 8px;
    max-width: 320px;
    margin: 0 auto 16px;
    position: relative;
}

.eo-scan-tab {
    flex: 1;
    padding: 10px 8px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--eo-border, #e5e7eb);
    border-radius: 10px;
    background: #fff;
    color: var(--eo-muted);
    cursor: pointer;
}

.eo-scan-tab.is-active {
    border-color: var(--eo-green);
    color: var(--eo-green-dark);
    background: rgba(34, 197, 94, 0.08);
}

.eo-scan-pane {
    max-width: 320px;
    margin: 0 auto 12px;
    position: relative;
}

.eo-scan-drop {
    border: 2px dashed var(--eo-border, #d1d5db);
    border-radius: 14px;
    padding: 28px 16px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.6);
}

.eo-scan-drop__hint {
    margin: 0;
    font-size: 14px;
    color: var(--eo-muted);
    line-height: 1.4;
}

.eo-scan-preview {
    text-align: center;
}

.eo-scan-preview img {
    max-width: 100%;
    max-height: 220px;
    border-radius: 10px;
    object-fit: contain;
}

.eo-scan-clear {
    margin-top: 10px;
    padding: 6px 14px;
    font-size: 13px;
    border: none;
    border-radius: 8px;
    background: #f3f4f6;
    cursor: pointer;
}

.eo-scan-pane textarea {
    width: 100%;
    min-height: 140px;
    padding: 12px;
    border: 1px solid var(--eo-border, #e5e7eb);
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.45;
    resize: vertical;
    box-sizing: border-box;
}

.eo-scan-status {
    font-size: 13px;
    min-height: 1.2em;
    margin: 0 auto 10px;
    max-width: 320px;
    position: relative;
}

.eo-scan-results {
    padding: 8px 0 32px;
    text-align: left;
}

.eo-scan-results h2 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 8px 0 6px;
}

.eo-scan-results__sub {
    font-size: 13px;
    color: var(--eo-muted);
    margin: 0 0 16px;
}

/* Plain-text icons (no emoji — avoids encoding issues) */
.eo-swap-icon--bad::before {
    content: "−";
    font-weight: 700;
}

.eo-swap-icon--good::before,
.eo-why-check::before {
    content: "✓";
    font-weight: 700;
}

.eo-swap-hero__arrow::before {
    content: "↓";
    display: block;
    text-align: center;
    font-size: 18px;
    line-height: 1;
    color: var(--eo-muted);
    padding: 4px 0;
}

.eo-app-meal-card__img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    min-height: 120px;
}

.eo-app-meal-card__img--placeholder::before {
    content: "Meal";
    font-size: 13px;
    font-weight: 600;
    color: var(--eo-muted);
}

.eo-app-empty__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.12);
}

.eo-app-empty__icon--map::before,
.eo-app-empty__icon--heart::before {
    display: block;
    line-height: 48px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--eo-green-dark);
}

.eo-app-empty__icon--map::before {
    content: "?";
}

.eo-app-empty__icon--heart::before {
    content: "+";
}

.eo-scan-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    margin-bottom: 12px;
    border: none;
    background: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--eo-green-dark);
    cursor: pointer;
}

/* Scan — vision cam page */
.eo-scan-vision {
    padding: 8px 0 36px;
    text-align: left;
}

.eo-scan-vision__head h2 {
    font-size: 1.65rem;
    font-weight: 800;
    margin: 0 0 8px;
    color: #13233c;
}

.eo-scan-vision__head .eo-scan-lead {
    margin: 0 0 18px;
    text-align: left;
    max-width: none;
}

.eo-scan-viral {
    background: linear-gradient(135deg, #18b24d, #0f9c41);
    border-radius: 28px;
    padding: 22px 20px;
    color: #fff;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(24, 178, 77, 0.28);
}

.eo-scan-viral::after {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    right: -50px;
    top: -60px;
    pointer-events: none;
}

.eo-scan-viral__badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    color: #13233c;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.eo-scan-viral h3 {
    margin: 0 0 8px;
    font-size: 1.35rem;
    line-height: 1.15;
    font-weight: 800;
}

.eo-scan-viral p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.95;
}

.eo-scan-viral__cta {
    display: block;
    width: 100%;
    border: none;
    border-radius: 16px;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 800;
    background: #fff;
    color: #0f9c41;
    cursor: pointer;
    font-family: inherit;
}

.eo-scan-viewfinder {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    min-height: 220px;
    margin-bottom: 16px;
    border: 6px solid #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.eo-scan-viewfinder__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.72);
}

.eo-scan-frame {
    position: absolute;
    left: 10%;
    right: 10%;
    top: 14%;
    bottom: 22%;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    pointer-events: none;
    z-index: 2;
}

.eo-scan-line {
    position: absolute;
    left: 6%;
    right: 6%;
    height: 3px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.95);
    top: 18%;
    animation: eo-scan-line-sweep 2.6s ease-in-out infinite;
    z-index: 3;
}

.eo-scan-viewfinder.is-scanning .eo-scan-line {
    animation-duration: 1.35s;
}

@keyframes eo-scan-line-sweep {
    0%,
    100% {
        top: 14%;
        opacity: 0.85;
    }
    50% {
        top: 78%;
        opacity: 1;
    }
}

.eo-scan-viewfinder__status {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 4;
    margin: 0;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.eo-scan-mode-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}

.eo-scan-mode {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 4px;
    padding: 14px;
    border: 1px solid #e8eeea;
    border-radius: 20px;
    background: #fff;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.eo-scan-mode__icon {
    font-size: 22px;
    line-height: 1;
}

.eo-scan-mode strong {
    font-size: 15px;
    color: #13233c;
}

.eo-scan-mode span:last-child {
    font-size: 12px;
    line-height: 1.4;
    color: #6f8094;
}

.eo-scan-field--required > span::after {
    content: ' *';
    color: #e85d4c;
    font-weight: 700;
}

/* Scan — venue bottom sheet (restaurant name before capture) */
body.eo-scan-venue-open {
    overflow: hidden;
}

.eo-scan-venue-sheet {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}

.eo-scan-venue-sheet[hidden] {
    display: none !important;
}

.eo-scan-venue-sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(6px);
    animation: eo-scan-venue-fade-in 0.22s ease-out;
}

.eo-scan-venue-sheet__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    background: linear-gradient(165deg, #f8fffb 0%, #ffffff 48%, #f0fdf4 100%);
    border-radius: 28px 28px 0 0;
    padding: 12px 22px 28px;
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -16px 48px rgba(15, 23, 42, 0.2);
    animation: eo-scan-venue-slide-up 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes eo-scan-venue-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes eo-scan-venue-slide-up {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.eo-scan-venue-sheet__handle {
    width: 40px;
    height: 4px;
    border-radius: 999px;
    background: #cbd5e1;
    margin: 4px auto 16px;
}

.eo-scan-venue-sheet__eyebrow {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #16a34a;
}

.eo-scan-venue-sheet__panel h3 {
    margin: 0 0 8px;
    font-size: 1.35rem;
    line-height: 1.2;
    font-weight: 800;
    color: #0f172a;
}

.eo-scan-venue-sheet__sub {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.5;
    color: #64748b;
}

.eo-scan-venue-sheet__fields {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
}

.eo-scan-venue-sheet__fields .eo-scan-field {
    max-width: none;
    margin: 0;
}

.eo-scan-venue-sheet__fields .eo-scan-field input {
    border-radius: 14px;
    border-color: #e2e8f0;
    padding: 12px 14px;
    font-size: 16px;
}

.eo-scan-venue-sheet__fields .eo-scan-field input:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.eo-scan-phone-call {
    margin-top: 4px;
}

.eo-scan-phone-call[hidden] {
    display: none !important;
}

.eo-scan-phone-call__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    background: #7c3aed;
    color: #fff;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.28);
}

.eo-scan-phone-call__btn .eo-call-btn__number {
    font-variant-numeric: tabular-nums;
}

.eo-scan-venue-sheet__label {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
}

.eo-scan-venue-sheet__error {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    color: #dc2626;
}

.eo-scan-venue-sheet__error[hidden] {
    display: none !important;
}

.eo-scan-venue-sheet__continue {
    display: block;
    width: 100%;
    border: none;
    border-radius: 16px;
    padding: 15px 18px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 10px 26px rgba(34, 197, 94, 0.32);
}

.eo-scan-venue-sheet__cancel {
    display: block;
    width: 100%;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    padding: 10px;
    cursor: pointer;
    font-family: inherit;
}

.eo-scan-venue-chip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
    border-radius: 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.eo-scan-venue-chip__label {
    font-size: 12px;
    font-weight: 700;
    color: #15803d;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.eo-scan-venue-chip__name {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    font-weight: 800;
    color: #13233c;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.eo-scan-venue-chip__edit {
    border: none;
    background: #fff;
    color: #16a34a;
    font-size: 13px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

#eo-scan-analyze.eo-scan-cta {
    margin-top: 4px;
    margin-bottom: 14px;
}

.eo-scan-photos {
    margin-bottom: 14px;
}

.eo-scan-photos__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.eo-scan-photos__count {
    font-size: 13px;
    font-weight: 800;
    color: #15803d;
}

.eo-scan-photos__add {
    border: none;
    background: #f0fdf4;
    color: #16a34a;
    font-size: 13px;
    font-weight: 800;
    padding: 8px 12px;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    border: 1px solid #bbf7d0;
}

.eo-scan-photos__strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}

.eo-scan-photo-thumb {
    position: relative;
    flex: 0 0 72px;
    width: 72px;
    height: 96px;
    border-radius: 14px;
    background-color: #e2e8f0;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.eo-scan-photo-thumb__num {
    position: absolute;
    left: 6px;
    top: 6px;
    z-index: 1;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    background: rgba(15, 23, 42, 0.65);
    padding: 2px 7px;
    border-radius: 999px;
}

.eo-scan-photo-thumb__remove {
    position: absolute;
    right: 4px;
    top: 4px;
    z-index: 2;
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    font-family: inherit;
}

.eo-scan-text-panel textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px;
    font-size: 14px;
    font-family: inherit;
    margin-bottom: 10px;
}

.eo-scan-cta--secondary {
    background: #fff;
    color: var(--eo-green-dark);
    border: 2px solid var(--eo-green);
}

.eo-scan-analysis {
    background: #0f1728;
    color: #fff;
    border-radius: 24px;
    padding: 18px 16px;
    margin-bottom: 16px;
}

.eo-scan-analysis.is-active .eo-scan-analysis__bar i {
    animation: eo-scan-progress 1.4s ease-in-out forwards;
}

.eo-scan-analysis__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
    opacity: 0.9;
}

.eo-scan-analysis__live {
    color: #86efac;
}

.eo-scan-analysis__done {
    color: #86efac;
}

.eo-scan-analysis h2 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    font-weight: 800;
}

.eo-scan-analysis p {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.88;
}

.eo-scan-analysis__bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.eo-scan-analysis__bar i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #22c55e, #4ade80);
}

@keyframes eo-scan-progress {
    to {
        width: 100%;
    }
}

.eo-scan-analysis--done {
    margin-bottom: 12px;
}

.eo-scan-result-card {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid #ebefec;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.07);
    margin-bottom: 20px;
}

.eo-scan-result-card__img {
    position: relative;
    min-height: 200px;
    background-size: cover;
    background-position: center;
}

.eo-meal-img--loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.35) 45%,
        rgba(255, 255, 255, 0) 90%
    );
    animation: eo-meal-img-shimmer 1.2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes eo-meal-img-shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.eo-scan-health-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #fff;
    border: 3px solid #22c55e;
    border-radius: 50%;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    color: #16a34a;
    line-height: 1.1;
    padding: 6px;
    box-sizing: border-box;
}

.eo-scan-result-card__body {
    padding: 18px 16px 20px;
}

.eo-scan-result-card__body h3 {
    margin: 0 0 6px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #13233c;
}

.eo-scan-result-card__meta {
    margin: 0 0 14px;
    font-size: 14px;
    color: #6f8094;
}

.eo-scan-call-bar {
    margin: 0 0 14px;
}

.eo-scan-call-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    background: #7c3aed;
    color: #fff;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.28);
}

.eo-scan-call-btn .eo-call-btn__number {
    font-size: 13px;
    font-weight: 700;
    opacity: 0.95;
    font-variant-numeric: tabular-nums;
}

.eo-call-btn--disabled {
    opacity: 0.45;
    pointer-events: none;
}

.eo-scan-result-insight {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #eefbf2;
    border: 1px solid #d6efdc;
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 14px;
}

.eo-scan-result-insight p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #41604e;
}

.eo-scan-benefit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.eo-scan-benefit {
    background: #f8faf9;
    border: 1px solid #edf2ef;
    border-radius: 14px;
    padding: 10px;
}

.eo-scan-benefit p {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: #3d4f63;
}

.eo-scan-result-cta {
    display: block;
    width: 100%;
    border: none;
    border-radius: 16px;
    padding: 15px;
    font-size: 16px;
    font-weight: 800;
    background: linear-gradient(135deg, #18b24d, #0f9c41);
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    margin-bottom: 10px;
}

.eo-scan-result-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.eo-scan-more-title {
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 12px;
    color: #13233c;
}

.eo-scan-vision--result .eo-scan-result-card {
    animation: eo-scan-reveal-in 0.55s ease-out;
}

@keyframes eo-scan-reveal-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Discover — Eat / Challenges */
.eo-discover {
    max-width: 430px;
    margin: 0 auto;
    padding-bottom: 24px;
}

.eo-discover-segments {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    background: #fff;
    padding: 6px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.eo-discover-seg {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 10px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    color: var(--eo-muted);
    cursor: pointer;
}

.eo-discover-seg.is-active {
    background: var(--eo-green);
    color: #fff;
}

.eo-discover-search {
    background: #fff;
    border-radius: 22px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.eo-discover-search input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 15px;
    background: none;
    font-family: inherit;
    color: var(--eo-text);
}

.eo-discover-ai {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    border-radius: 34px;
    padding: 28px;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    display: none;
}

.eo-discover-ai::before {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.eo-discover-ai__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.16);
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 18px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.eo-discover-ai h2 {
    font-size: clamp(1.35rem, 5vw, 1.65rem);
    line-height: 1.08;
    font-weight: 900;
    margin: 0 0 14px;
    position: relative;
    z-index: 2;
}

.eo-discover-ai p {
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
    max-width: 95%;
    position: relative;
    z-index: 2;
    opacity: 0.95;
}

.eo-discover-top {
    margin-bottom: 18px;
}

.eo-discover-top__label {
    font-size: 13px;
    font-weight: 800;
    color: var(--eo-muted);
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.eo-discover-top-card {
    background: #fff;
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--eo-border);
}

.eo-discover-top-card__meal {
    font-size: 1.1rem;
    font-weight: 900;
    margin: 0 0 6px;
    line-height: 1.2;
}

.eo-discover-top-card__meta {
    font-size: 13px;
    color: var(--eo-muted);
    margin: 0 0 8px;
}

.eo-discover-top-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.eo-discover-tag {
    font-size: 11px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--eo-green-soft);
    color: var(--eo-green-dark);
}

.eo-discover-tag--match {
    background: #16a34a;
    color: #fff;
}

.eo-discover-filters {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 16px;
    margin-top: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.eo-discover-filters::-webkit-scrollbar {
    display: none;
}

.eo-discover-filter {
    flex-shrink: 0;
    background: #fff;
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    border: 1px solid #dbe2ea;
    cursor: pointer;
    color: var(--eo-text);
}

.eo-discover-filter.is-active {
    background: #16a34a;
    color: #fff;
    border-color: #16a34a;
}

.eo-discover-feed-card {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.eo-discover-feed-card__img {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.eo-discover-feed-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.1));
}

.eo-discover-feed-card__content {
    position: relative;
    z-index: 2;
    width: 100%;
    color: #fff;
}

.eo-discover-feed-card__meal {
    font-size: clamp(1.25rem, 4.5vw, 1.65rem);
    font-weight: 900;
    line-height: 1.05;
    margin: 0;
}

.eo-discover-feed-card__row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    margin-bottom: 10px;
}

.eo-discover-feed-card__rest {
    font-size: 13px;
    font-weight: 700;
    opacity: 0.92;
}

.eo-discover-feed-card__match {
    background: rgba(34, 197, 94, 0.92);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}

.eo-discover-feed-card__reason {
    font-size: 14px;
    line-height: 1.45;
    margin: 0 0 14px;
    max-width: 96%;
}

.eo-discover-feed-card__btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.eo-discover-btn {
    border: none;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    font-family: inherit;
}

.eo-discover-btn--primary {
    background: #fff;
    color: #15803d;
}

.eo-discover-btn--ghost {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    backdrop-filter: blur(12px);
}

.eo-discover-banner {
    margin: 8px 0 20px;
}

/* Featured healthy pick — full-bleed banner (Discover) */
.eo-featured-banner {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid #dcfce7;
}

.eo-featured-banner__img {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.eo-featured-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.35) 45%,
        rgba(0, 0, 0, 0.08) 100%
    );
}

.eo-featured-banner__content {
    position: relative;
    z-index: 2;
    width: 100%;
    color: #fff;
}

.eo-featured-banner__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px 14px;
    margin-bottom: 8px;
}

.eo-featured-banner__name {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 900;
    line-height: 1.05;
    margin: 0;
}

.eo-featured-banner__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.eo-featured-banner__dist {
    font-size: 14px;
    font-weight: 700;
    opacity: 0.95;
}

.eo-featured-banner__match {
    background: rgba(34, 197, 94, 0.95);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    color: #fff;
}

.eo-featured-banner__line {
    font-size: 15px;
    line-height: 1.45;
    margin: 0 0 16px;
    max-width: 96%;
    opacity: 0.95;
}

.eo-featured-banner__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.eo-featured-banner__cta {
    display: inline-block;
    background: #fff;
    color: #15803d;
    padding: 14px 22px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.eo-featured-banner__cta--disabled {
    opacity: 0.65;
    pointer-events: none;
}

.eo-featured-banner__badge {
    margin-left: auto;
    color: #f8fafc;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    text-align: right;
    line-height: 1.2;
}

.eo-discover-sponsored {
    border: 2px solid #dcfce7;
}

.eo-discover-sponsored__badge {
    position: absolute;
    right: 14px;
    bottom: 14px;
    color: #f8fafc;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    z-index: 3;
}

.eo-discover-challenges {
    padding-bottom: 16px;
}

.eo-discover-streak {
    background: linear-gradient(135deg, #fef3c7, #fff);
    border: 1px solid #fde68a;
    border-radius: 20px;
    padding: 18px;
    margin-bottom: 18px;
}

.eo-discover-streak strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 900;
    margin-bottom: 4px;
}

.eo-discover-streak span {
    font-size: 14px;
    color: var(--eo-muted);
}

.eo-discover-challenge-card {
    background: #fff;
    border-radius: 22px;
    padding: 20px;
    margin-bottom: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--eo-border);
}

.eo-discover-challenge-card.is-featured {
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    border: none;
    color: #fff;
}

.eo-discover-challenge-card.is-featured .eo-discover-challenge-card__body,
.eo-discover-challenge-card.is-featured .eo-discover-challenge-card__reward {
    color: rgba(255, 255, 255, 0.9);
}

.eo-discover-challenge-card__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.eo-discover-challenge-card__emoji {
    font-size: 1.5rem;
    line-height: 1;
}

.eo-discover-challenge-card h3 {
    font-size: 1.05rem;
    font-weight: 900;
    margin: 0 0 4px;
}

.eo-discover-challenge-card__body {
    font-size: 14px;
    line-height: 1.5;
    color: var(--eo-muted);
    margin: 0 0 12px;
}

.eo-discover-challenge-card__bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 8px;
}

.eo-discover-challenge-card.is-featured .eo-discover-challenge-card__bar {
    background: rgba(255, 255, 255, 0.2);
}

.eo-discover-challenge-card__bar span {
    display: block;
    height: 100%;
    background: var(--eo-green);
    border-radius: 999px;
}

.eo-discover-challenge-card.is-featured .eo-discover-challenge-card__bar span {
    background: #fff;
}

.eo-discover-challenge-card__reward {
    font-size: 12px;
    font-weight: 800;
    color: var(--eo-green-dark);
}

.eo-discover-challenge-card.is-featured .eo-discover-challenge-card__reward {
    color: #fff;
}

.eo-discover-challenge-card.is-featured .eo-discover-btn-join {
    width: 100%;
    margin-top: 12px;
    border: none;
    background: #fff;
    color: #7c3aed;
    padding: 16px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    font-family: inherit;
}

.eo-discover-section-label {
    font-size: 13px;
    font-weight: 800;
    color: var(--eo-muted);
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.eo-discover-section-label--spaced {
    margin-top: 22px;
}

.eo-discover-more-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0 14px;
    gap: 12px;
}

.eo-discover-more-head__title {
    font-size: 1.1rem;
    font-weight: 900;
    margin: 0;
    color: var(--eo-text);
}

.eo-discover-more-head__live {
    font-size: 13px;
    font-weight: 800;
    color: #16a34a;
    white-space: nowrap;
}

.eo-small-card {
    background: #fff;
    border-radius: 24px;
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.eo-small-img {
    width: 90px;
    height: 90px;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.eo-small-content {
    flex: 1;
    min-width: 0;
}

.eo-small-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.eo-small-score {
    font-size: 24px;
    font-weight: 900;
    color: #16a34a;
    line-height: 1;
}

.eo-small-content h4 {
    font-size: 20px;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 6px;
}

.eo-small-content p {
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    margin: 0 0 10px;
}

.eo-small-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.eo-small-btn-view {
    border: none;
    background: #16a34a;
    color: #fff;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
}

.eo-small-btn-order {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    background: #f97316;
    color: #fff;
    text-decoration: none;
}

.eo-small-btn-call,
.eo-small-btn-dir {
    padding: 6px 40px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid #dbe2ea;
    background: #fff;
    color: #0f172a;
}

.eo-small-btn-call {
    background: #fff;
    color: #0f172a;
    border-color: #0f172a;
}

/* Meal pick card (Discover hero layout) */
.eo-discover .eo-card {
    max-width: 100%;
    margin: 0 0 20px;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

.eo-discover .eo-card .eo-image {
    height: 230px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 18px;
}

.eo-discover .eo-card .eo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.12));
}

.eo-discover .eo-card .eo-top-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #16a34a;
    color: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    z-index: 2;
}

.eo-discover .eo-card .eo-match {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.92);
    color: #15803d;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    z-index: 2;
}

.eo-discover .eo-card .eo-content {
    position: relative;
    z-index: 2;
    width: 100%;
    color: #fff;
}

.eo-discover .eo-card .eo-content h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 900;
    line-height: 1.05;
    margin: 0 0 8px;
    color: white;
}

.eo-discover .eo-card .eo-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 700;
}

.eo-discover .eo-card .eo-image .eo-description {
    display: none;
}

.eo-discover .eo-card .eo-body {
    padding: 22px;
}

.eo-discover .eo-card .eo-ai-box {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    border: none;
    padding: 16px;
    border-radius: 18px;
    margin-bottom: 20px;
}

.eo-discover .eo-card .eo-ai-title {
    font-size: 13px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.eo-discover .eo-card .eo-ai-box .eo-description {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    max-width: 100%;
}

.eo-discover .eo-card .eo-ai-text {
    display: none;
}

/* Premium banner — white headers only */
.eo-discover-banner .eo-featured-banner__name,
.eo-discover-banner .eo-featured-banner__dist,
.eo-discover-banner .eo-featured-banner__line {
    color: #fff;
}

.eo-discover .eo-card .eo-macros {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.eo-discover .eo-card .eo-macro {
    background: #f8fafc;
    border-radius: 18px;
    padding: 16px;
    text-align: center;
}

.eo-discover .eo-card .eo-macro-number {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 4px;
}

.eo-discover .eo-card .eo-macro-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 700;
}

.eo-discover .eo-card .eo-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.eo-discover .eo-card .eo-btn {
    flex: 1;
    min-width: 120px;
    border: none;
    padding: 17px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    box-sizing: border-box;
}

.eo-discover .eo-card .eo-btn-primary {
    background: #16a34a;
    color: #fff;
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.2);
}

.eo-discover .eo-card .eo-btn-secondary {
    background: #f1f5f9;
    color: #0f172a;
}

.eo-discover .eo-card .eo-btn-secondary.is-saved {
    color: #16a34a;
}

.eo-discover .eo-card .eo-restaurant-box {
    margin-top: 22px;
    background: #f8fafc;
    border-radius: 22px;
    padding: 18px;
    border: 1px solid #e2e8f0;
}

.eo-discover .eo-card .eo-restaurant-label {
    font-size: 12px;
    font-weight: 900;
    color: #16a34a;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.eo-discover .eo-card .eo-restaurant-text {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 18px;
}

.eo-discover .eo-card .eo-restaurant-actions {
    display: flex;
    gap: 12px;
}

.eo-discover .eo-card .eo-small-btn {
    flex: 1;
    border: 1px solid #dbe2ea;
    background: #fff;
    padding: 15px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    text-decoration: none;
    color: #0f172a;
    box-sizing: border-box;
}

.eo-discover .eo-card .eo-call-btn {
    background: #16a34a;
    color: #fff;
    border-color: #16a34a;
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.18);
}

.eo-discover .eo-card .eo-coming-soon {
    margin-top: 18px;
    background: #ecfeff;
    border: 1px solid #bae6fd;
    padding: 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.6;
    color: #0369a1;
}

.eo-discover .eo-card .eo-order-bar {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.eo-discover .eo-card .eo-order-left {
    flex: 1;
    min-width: 160px;
}

.eo-discover .eo-card .eo-order-label {
    font-size: 12px;
    font-weight: 900;
    color: #16a34a;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.eo-discover .eo-card .eo-order-text {
    font-size: 14px;
    line-height: 1.5;
    color: #475569;
}

.eo-discover .eo-card .eo-order-btn {
    border: none;
    background: #f97316;
    color: #fff;
    padding: 15px 18px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.2);
    text-decoration: none;
    font-family: inherit;
}

.eo-app-chips--discover {
    margin-bottom: 18px;
}

/* Profile emotional */
.eo-profile-wins {
    padding: 16px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ecfdf5, #fff);
    border-radius: 16px;
    border: 1px solid #bbf7d0;
}

.eo-profile-wins h3 {
    margin: 0 0 10px;
    font-size: 1rem;
}

.eo-profile-wins ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 1.7;
}

.eo-profile-block {
    padding: 14px 0;
    border-bottom: 1px solid var(--eo-border);
}

.eo-profile-block__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--eo-muted);
    margin: 0 0 6px;
}

.eo-profile-block__value {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.eo-profile-struggles {
    margin: 0;
    padding: 0;
    list-style: none;
}

.eo-profile-struggles li {
    padding: 8px 12px;
    margin-bottom: 6px;
    background: #f1f5f9;
    border-radius: 10px;
    font-size: 14px;
}

.eo-profile-settings {
    margin-top: 20px;
    padding: 12px 0;
}

.eo-profile-settings summary {
    font-size: 14px;
    font-weight: 600;
    color: var(--eo-muted);
    cursor: pointer;
    margin-bottom: 12px;
}

/* Home (mockup layout) */
.eo-home {
    color: #10213a;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 8px;
    box-sizing: border-box;
}

.eo-home__hero,
.eo-home__goal,
.eo-food-card,
.eo-quick-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.eo-home__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.eo-home__logo {
    font-size: 24px;
    font-weight: 800;
    color: #17a34a;
}

.eo-home__profile {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #dff5e5;
    cursor: pointer;
    padding: 0;
}

.eo-home__hero {
    background: linear-gradient(135deg, #19b94b, #10993f);
    border-radius: 28px;
    padding: 26px;
    color: #fff;
    margin-bottom: 22px;
    box-shadow: 0 10px 30px rgba(22, 163, 74, 0.22);
}

.eo-home__hero h1 {
    font-size: 30px;
    line-height: 1.1;
    margin: 0 0 12px;
    font-weight: 800;
}

.eo-home__hero p {
    font-size: 15px;
    opacity: 0.92;
    line-height: 1.5;
    margin: 0;
}

.eo-home__streak {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.18);
    padding: 10px 14px;
    border-radius: 999px;
    margin-top: 18px;
    font-weight: 600;
    font-size: 14px;
}

.eo-home__goal {
    background: #fff;
    border-radius: 24px;
    padding: 22px;
    margin-bottom: 20px;
    border: 1px solid #e6ece8;
}

.eo-home__goal-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.eo-home__goal-top h3 {
    font-size: 20px;
    margin: 0;
    font-weight: 800;
}

.eo-home__goal-top p {
    margin: 6px 0 0;
    color: #6c7c90;
    font-size: 14px;
    line-height: 1.4;
}

.eo-home__goal-tag {
    flex-shrink: 0;
    align-self: flex-start;
    background: #e7f9ed;
    color: #169c46;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
}

.eo-home__progress {
    height: 12px;
    background: #edf1ee;
    border-radius: 999px;
    overflow: hidden;
}

.eo-home__progress i {
    display: block;
    height: 100%;
    background: #1bb84d;
    border-radius: 999px;
    transition: width 0.35s ease;
}

.eo-home__section-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #70839b;
    margin: 26px 0 14px;
    text-transform: uppercase;
}

.eo-food-card {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid #e6ece8;
    margin-bottom: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

.eo-food-card__img {
    height: 220px;
    background-position: center;
    background-size: cover;
    position: relative;
}

.eo-food-card__match {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #17b44a;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 999px;
}

.eo-food-card__body {
    padding: 22px;
}

.eo-food-card__title {
    font-size: 28px;
    margin: 0 0 8px;
    font-weight: 800;
    line-height: 1.15;
}

.eo-food-card__rest {
    color: #6d7d91;
    margin: 0 0 18px;
    font-size: 15px;
}

.eo-food-card__swap {
    background: #eefbf2;
    border: 1px solid #d2f0da;
    border-radius: 18px;
    padding: 18px;
    margin: 18px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #10213a;
}

.eo-food-card__swap strong {
    display: block;
    margin-bottom: 10px;
    color: #10953d;
    font-size: 15px;
}

.eo-food-card__swap p {
    margin: 0;
}

.eo-food-card__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.eo-food-card__stat {
    background: #f6f8f7;
    border-radius: 18px;
    padding: 16px;
    text-align: center;
}

.eo-food-card__stat span {
    display: block;
    font-size: 12px;
    color: #7f8ea1;
    margin-bottom: 8px;
}

.eo-food-card__stat strong {
    font-size: 22px;
    font-weight: 800;
    color: #10213a;
}

.eo-food-card__buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.eo-home-btn {
    flex: 1;
    border: none;
    border-radius: 18px;
    padding: 16px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    font-family: inherit;
}

.eo-home-btn--primary {
    background: #16a34a;
    color: #fff;
}

.eo-home-btn--secondary {
    background: #edf2ee;
    color: #10213a;
}

.eo-home__quick-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.eo-home__quick-scroll::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.eo-quick-card {
    min-width: 240px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #e7ece8;
    scroll-snap-align: start;
    cursor: pointer;
    text-align: left;
}

.eo-quick-card__img {
    height: 120px;
    background-position: center;
    background-size: cover;
}

.eo-quick-card__body {
    padding: 16px;
}

.eo-quick-card__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
}

.eo-quick-card__desc {
    color: #6f8195;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

.eo-quick-card__pick {
    margin: 8px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: #16a34a;
}

.eo-app-msg--demo {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    border-radius: 12px;
    padding: 10px 12px;
}

.eo-home-nearby-hint {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.5;
    color: #64748b;
    text-align: center;
}

.eo-home__nearby-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.eo-home__nearby-list .eo-app-meal-card {
    margin: 0;
}

.eo-home-discover-link {
    text-align: center;
    margin: 0 0 12px;
}

.eo-home__footer {
    text-align: center;
    margin: 20px 0 8px;
}

.eo-home-link {
    border: none;
    background: transparent;
    color: #6f8094;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.eo-home__msg {
    margin-bottom: 12px;
}

/* AI coach home */
.eo-home--coach {
    padding-bottom: 8px;
}

.eo-coach-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.eo-coach-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--eo-green);
}

.eo-coach-avatar {
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 18px;
    background: #dff6e7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: var(--eo-green);
    cursor: pointer;
    font-family: inherit;
}

.eo-coach-hero {
    background: linear-gradient(135deg, #16b149, #0f993f);
    border-radius: 32px;
    padding: 28px 26px;
    color: #fff;
    margin-bottom: 22px;
    box-shadow: 0 12px 35px rgba(22, 163, 74, 0.22);
}

.eo-coach-hero__badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

.eo-coach-hero__title {
    font-size: clamp(28px, 7vw, 36px);
    line-height: 1.05;
    margin: 0 0 12px;
    font-weight: 800;
}

.eo-coach-hero__lead {
    margin: 0;
    line-height: 1.6;
    font-size: 15px;
    opacity: 0.94;
}

.eo-coach-pulse {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eo-coach-pulse li {
    font-size: 14px;
    line-height: 1.45;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
}

.eo-coach-hero__goal {
    margin-top: 22px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
}

.eo-coach-hero__goal strong {
    display: block;
    font-size: 15px;
    margin-bottom: 6px;
}

.eo-coach-hero__goal span {
    font-size: 13px;
    opacity: 0.92;
}

.eo-coach-progress {
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 12px;
    background: rgba(15, 23, 42, 0.08);
}

.eo-coach-progress--light {
    background: rgba(255, 255, 255, 0.16);
}

.eo-coach-progress--challenge {
    background: rgba(255, 255, 255, 0.12);
}

.eo-coach-progress--mission {
    background: #e8edf0;
}

.eo-coach-progress i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--eo-green);
}

.eo-coach-progress--light i,
.eo-coach-progress--challenge i {
    background: #fff;
}

.eo-coach-progress--challenge i {
    background: #21d76a;
}

.eo-coach-card {
    background: #fff;
    border-radius: 28px;
    padding: 22px;
    border: 1px solid #e5ebe7;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    margin-bottom: 18px;
}

.eo-coach-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.eo-coach-card__head h2 {
    margin: 0;
    font-size: 26px;
    line-height: 1.1;
}

.eo-coach-chip {
    background: #e8faee;
    color: var(--eo-green);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.eo-coach-card__message {
    background: #f3f8f4;
    border-radius: 18px;
    padding: 16px;
    line-height: 1.6;
    color: #4e6276;
    font-size: 15px;
    margin-bottom: 16px;
}

.eo-coach-targets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.eo-coach-target {
    background: #f6f8f7;
    border-radius: 18px;
    padding: 16px;
}

.eo-coach-target__label {
    display: block;
    color: #6f8194;
    font-size: 13px;
    margin-bottom: 6px;
}

.eo-coach-target__value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--eo-text);
}

.eo-coach-target__sub {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #6f8194;
}

.eo-coach-challenge {
    background: linear-gradient(135deg, #10213a, #1c3556);
    color: #fff;
    border-radius: 28px;
    padding: 24px;
    margin-bottom: 18px;
}

.eo-coach-challenge__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.eo-coach-challenge__head h2 {
    margin: 0;
    font-size: 26px;
}

.eo-coach-challenge__badge {
    background: rgba(255, 255, 255, 0.14);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.eo-coach-challenge__box strong {
    display: block;
    font-size: 17px;
    margin-bottom: 8px;
}

.eo-coach-challenge__box p {
    margin: 0 0 12px;
    line-height: 1.55;
    opacity: 0.92;
    font-size: 14px;
}

.eo-coach-encourage {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #16a34a;
    margin: 0 0 16px;
    padding: 0 8px;
}

.eo-coach-section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin: 8px 0 14px;
}

.eo-coach-section-head h2 {
    margin: 0;
    font-size: 26px;
    line-height: 1.1;
}

.eo-coach-section-head span {
    color: var(--eo-green);
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}

.eo-coach-missions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
}

.eo-coach-mission {
    background: #fff;
    border-radius: 22px;
    padding: 18px;
    border: 1px solid #e5ebe7;
}

.eo-coach-mission__top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.eo-coach-mission h4 {
    margin: 0 0 6px;
    font-size: 18px;
}

.eo-coach-mission p {
    margin: 0;
    color: #6f8194;
    font-size: 14px;
    line-height: 1.45;
}

.eo-coach-mission__reward {
    background: #e9f8ee;
    color: var(--eo-green);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    height: fit-content;
    white-space: nowrap;
}

.eo-coach-empty {
    padding: 32px 16px;
    text-align: center;
}

.eo-food-card__match {
    font-size: 12px;
    letter-spacing: 0.02em;
}

/* Premium vision home */
.eo-vision-home {
    padding: 4px 0 24px;
    color: #13233c;
}

.eo-vision-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    position: relative;
    z-index: 5;
}

.eo-vision-logo {
    font-size: 24px;
    font-weight: 800;
    color: #18a84b;
}

.eo-vision-avatar {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 18px;
    background: #dff7e8;
    font-weight: 800;
    font-size: 18px;
    color: #18a84b;
    cursor: pointer;
    font-family: inherit;
}

.eo-vision-hero {
    background: linear-gradient(135deg, #18b24d, #0f9c41);
    border-radius: 34px;
    padding: 28px 26px;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 22px;
    box-shadow: 0 15px 40px rgba(24, 178, 77, 0.25);
}

.eo-vision-hero::after {
    content: '';
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    right: -100px;
    top: -80px;
    pointer-events: none;
}

.eo-vision-hero small {
    display: inline-block;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.14);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 14px;
}

.eo-vision-hero h1 {
    position: relative;
    z-index: 1;
    font-size: clamp(28px, 7vw, 38px);
    line-height: 1.05;
    margin: 0 0 10px;
    font-weight: 800;
}

.eo-vision-hero > p {
    position: relative;
    z-index: 1;
    margin: 0;
    line-height: 1.6;
    font-size: 15px;
    opacity: 0.94;
}

.eo-vision-hero__stat {
    position: relative;
    z-index: 1;
    margin: 12px 0 0;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.95;
}

/* Green coach badge — pic 1 / user spec */
.eo-hero-coach-card {
    position: absolute;
    left: 14px;
    z-index: 8;
    max-width: min(88%, 300px);
    margin: 0;
    padding: 12px 25px 1px;
    background: linear-gradient(135deg, #18b24d, #0f9c41);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 120, 55, 0.35);
    color: #fff;
    pointer-events: none;
    transform: translateY(-42%);
}

.eo-hero-coach-card__welcome,
.eo-hero-coach-card__tagline {
    margin: 0;
    padding: 0;
    line-height: 1.15;
}

.eo-hero-coach-card__welcome {
    margin-bottom: 0.3em;
    font-size: 15px;
    font-weight: 600;
}

.eo-hero-coach-card__tagline {
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 0;
    opacity: 0.98;
}

/* Override theme .entry-content p margins inside coach badge */
.eatout-app .eo-hero-coach-card p {
    margin-bottom: 0.3em;
}

.eatout-app .eo-hero-coach-card p:last-child {
    margin-bottom: 0;
}

/* Home hero carousel (banners + nearby) */
.eo-hero-slider {
    margin-bottom: 22px;
    margin-top: 10px;
    padding-top: 0;
    position: relative;
    z-index: 4;
    overflow: visible;
}

.eo-hero-slider__viewport {
    overflow: visible;
    border-radius: 34px;
    position: relative;
    z-index: 1;
}

.eo-hero-slider__viewport::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 34px;
    box-shadow: 0 15px 40px rgba(24, 178, 77, 0.22);
    pointer-events: none;
    z-index: 0;
}

.eo-hero-slider__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: 34px;
}

.eo-hero-slider__track::-webkit-scrollbar {
    display: none;
}

.eo-hero-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    min-height: 200px;
    box-sizing: border-box;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
    cursor: default;
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.eo-hero-slide--linked {
    cursor: pointer;
}

.eo-hero-slide--linked:hover,
.eo-hero-slide--linked:focus,
.eo-hero-slide--linked:focus-visible,
.eo-hero-slide--linked:active {
    color: #fff;
    text-decoration: none;
    outline: none;
}

a.eo-hero-slide--linked,
a.eo-hero-slide--linked:visited {
    color: #fff;
}

.eo-hero-slide--welcome {
    background: linear-gradient(135deg, #18b24d, #0f9c41);
    color: #fff;
    padding: 28px 26px;
    position: relative;
    overflow: hidden;
}

.eo-hero-slide--welcome::after {
    content: '';
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    right: -100px;
    top: -80px;
    pointer-events: none;
}

.eo-hero-slide--welcome small {
    display: inline-block;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.14);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 14px;
}

.eo-hero-slide__title {
    position: relative;
    z-index: 1;
    font-size: clamp(26px, 6.5vw, 36px);
    line-height: 1.05;
    margin: 0 0 10px;
    font-weight: 800;
}

.eo-hero-slide__sub,
.eo-hero-slide--welcome .eo-hero-slide__sub {
    position: relative;
    z-index: 1;
    margin: 0;
    line-height: 1.55;
    font-size: 15px;
    opacity: 0.94;
}

.eo-hero-slide__stat {
    position: relative;
    z-index: 1;
    margin: 12px 0 0;
    font-size: 14px;
    font-weight: 600;
}

.eo-hero-slide--banner,
.eo-hero-slide--nearby,
.eo-hero-slide--promo {
    position: relative;
    min-height: 240px;
    aspect-ratio: 16 / 11;
    max-height: 340px;
    background-color: #0f172a;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.eo-hero-slide--nearby:not([style*='background-image']) {
    background: linear-gradient(135deg, #0f9c41, #166534);
}

.eo-hero-slide__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.72) 100%);
    pointer-events: none;
}

.eo-hero-slide__shade--soft {
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.08) 0%,
        rgba(15, 23, 42, 0.2) 45%,
        rgba(15, 23, 42, 0.72) 100%
    );
}

.eo-hero-slide__minimal {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 0 16px 16px;
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.eo-hero-slide--linked .eo-hero-slide__cta {
    pointer-events: none;
}

.eo-hero-slide__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    font-size: 13px;
}

.eo-hero-slide__name {
    font-size: clamp(18px, 5vw, 22px);
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    color: #fff;
}

.eo-hero-slide__distance {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
}

.eo-hero-slide__match {
    background: rgba(22, 163, 74, 0.55);
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.eo-hero-slide__short-line {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    opacity: 0.92;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.eo-hero-slide__minimal-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.eo-hero-slide__cta {
    display: inline-block;
    flex-shrink: 0;
}

.eo-hero-slide__cta--pill {
    margin: 0;
    padding: 10px 18px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    border-radius: 999px;
    background: #fff;
    color: #166534;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.eo-hero-slide__sponsored {
    margin: 0 0 4px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.eo-hero-slider__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.eo-hero-slider__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: #cbd5e1;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.eo-hero-slider__dot.is-active {
    background: #22c55e;
    transform: scale(1.15);
}

.eo-vision-ring-card {
    background: #fff;
    border-radius: 34px;
    padding: 22px 20px;
    margin-top: -18px;
    position: relative;
    z-index: 2;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #ebefec;
    margin-bottom: 20px;
}

/* Keep slide labels visible — white card must not cover carousel text on phones */
.eo-hero-slider + .eo-vision-ring-card {
    margin-top: 14px;
    z-index: 1;
}

.eo-vision-ring-layout {
    display: flex;
    align-items: center;
    gap: 14px;
}

.eo-vision-ring-layout--stack {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
}

.eo-vision-ring-headline {
    width: 100%;
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    color: #13233c;
    text-align: left;
}

.eo-vision-ring-layout--stack .eo-vision-coach-bubble {
    width: 100%;
    text-align: left;
}

.eo-vision-ring-layout--stack .eo-update-card {
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    padding: 14px;
    box-sizing: border-box;
}

.eatout-app__nav-svg--ai-sparkle {
    display: block;
}

.eo-profile-name-card {
    background: #fff;
    border: 1px solid #e8eeea;
    border-radius: 22px;
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.eo-profile-match-card {
    background: #fff;
    border: 1px solid #e8eeea;
    border-radius: 22px;
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.eo-profile-match-card__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.eo-profile-match-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #ecfdf5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.eo-profile-match-card__head h4 {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
}

.eo-profile-match-card__head p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
}

.eo-profile-match-card__control {
    margin-bottom: 12px;
}

.eo-profile-match-card__value {
    display: block;
    font-size: 28px;
    font-weight: 900;
    color: #16a34a;
    margin-bottom: 10px;
}

.eo-profile-match-slider {
    width: 100%;
    accent-color: #16a34a;
}

.eo-profile-match-card__hint {
    margin: 10px 0 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
}

.eo-profile-match-save {
    width: 100%;
}

.eo-home-match-hint {
    margin: 0 0 16px;
}

.eo-profile-name-card__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.eo-profile-name-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #ecfdf5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.eo-profile-name-card__head h4 {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
}

.eo-profile-name-card__head p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
}

.eo-profile-name-card label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 8px;
}

.eo-profile-name-card input {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 16px;
    font-family: inherit;
}

.eo-profile-name-hint {
    margin: 10px 0 0;
    font-size: 13px;
    color: #6f8094;
    line-height: 1.45;
}

.eo-vision-big-ring {
    width: 168px;
    height: 168px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background 0.6s ease;
}

.eo-vision-big-ring.is-animated {
    animation: eo-ring-pop 0.5s ease;
}

.eo-vision-big-ring::before {
    content: '';
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
}

.eo-vision-big-ring__inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.eo-vision-big-ring__inner h2 {
    font-size: 42px;
    line-height: 1;
    margin: 0 0 4px;
    font-weight: 800;
    color: #13233c;
}

.eo-vision-big-ring__inner span {
    color: #74869a;
    font-size: 13px;
}

.eo-vision-coach-side {
    flex: 1;
    min-width: 0;
}

.eo-vision-coach-side h3 {
    font-size: 20px;
    line-height: 1.15;
    margin: 0 0 10px;
    font-weight: 800;
}

.eo-vision-coach-bubble {
    background: #eefbf2;
    border: 1px solid #d6efdc;
    padding: 14px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.55;
    color: #41604e;
}

.eo-vision-live-coach__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #18a34a;
}

.eo-vision-live-coach__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
    animation: eo-live-coach-pulse 1.8s ease-in-out infinite;
}

@keyframes eo-live-coach-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.eo-vision-live-coach__text {
    margin: 0;
    min-height: 3.1em;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.eo-vision-live-coach.is-transitioning .eo-vision-live-coach__text {
    opacity: 0;
    transform: translateY(4px);
}

.eo-vision-macros {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.eo-vision-macro {
    background: #fff;
    border-radius: 26px;
    padding: 16px 10px;
    text-align: center;
    border: 1px solid #e8eeea;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.eo-vision-mini-ring {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background 0.6s ease;
}

.eo-vision-mini-ring.is-animated {
    animation: eo-ring-pop 0.5s ease 0.1s both;
}

.eo-vision-mini-ring::before {
    content: '';
    width: 52px;
    height: 52px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
}

.eo-vision-mini-ring span {
    position: relative;
    z-index: 2;
    font-size: 22px;
    line-height: 1;
}

.eo-vision-macro h4 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
}

.eo-vision-macro p {
    margin: 0;
    color: #6f8094;
    font-size: 12px;
}

.eo-vision-challenge {
    background: linear-gradient(135deg, #10213a, #1f3556);
    border-radius: 34px;
    padding: 24px;
    color: #fff;
    margin-bottom: 22px;
    box-shadow: 0 12px 30px rgba(16, 33, 58, 0.16);
}

.eo-vision-challenge__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.eo-vision-challenge__head h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
}

.eo-vision-streak {
    background: rgba(255, 255, 255, 0.12);
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
}

.eo-vision-challenge__card strong {
    display: block;
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 10px;
}

.eo-vision-challenge__card p {
    margin: 0 0 14px;
    opacity: 0.92;
    line-height: 1.55;
    font-size: 14px;
}

.eo-vision-progress {
    height: 12px;
    background: rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.eo-vision-challenge .eo-vision-progress {
    background: rgba(255, 255, 255, 0.12);
}

.eo-vision-progress i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: #18a84b;
    transition: width 0.5s ease;
}

.eo-vision-challenge .eo-vision-progress i {
    background: #26da6d;
}

.eo-vision-progress--quest {
    background: #e8edf0;
}

.eo-vision-section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin: 6px 0 14px;
}

.eo-vision-section-head h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
}

.eo-vision-section-head span {
    color: #18a84b;
    font-weight: 700;
    font-size: 14px;
}

.eo-vision-food {
    background: #fff;
    border-radius: 34px;
    overflow: hidden;
    border: 1px solid #e7eeea;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
    margin-bottom: 22px;
}

.eo-vision-food__img {
    height: 220px;
    background-position: center;
    background-size: cover;
    position: relative;
}

.eo-vision-health-score {
    position: absolute;
    right: 18px;
    top: 18px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: #18a84b;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.eo-vision-food__body {
    padding: 22px;
}

.eo-vision-food__body h3 {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 800;
}

.eo-vision-food__rest {
    color: #718296;
    margin: 0 0 16px;
    font-size: 15px;
}

.eo-vision-swap {
    background: #eefbf2;
    border: 1px solid #d8efde;
    border-radius: 22px;
    padding: 16px;
    margin-bottom: 16px;
}

.eo-vision-swap strong {
    display: block;
    color: #12913d;
    margin-bottom: 8px;
    font-size: 15px;
}

.eo-vision-swap p {
    margin: 0;
    line-height: 1.55;
    font-size: 14px;
    color: #41604e;
}

.eo-vision-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

.eo-vision-compare__bad {
    background: #fff0ef;
    border: 1px solid #ffd8d4;
    padding: 12px;
    border-radius: 16px;
}

.eo-vision-compare__good {
    background: #ecfbf1;
    border: 1px solid #ccefd6;
    padding: 12px;
    border-radius: 16px;
}

.eo-vision-compare small {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    font-size: 11px;
}

.eo-vision-compare strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.eo-vision-compare p {
    margin: 0;
    font-size: 13px;
    color: #6f8094;
}

.eo-vision-food__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.eo-vision-btn {
    flex: 1 1 calc(50% - 5px);
    border: none;
    padding: 14px 12px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.eo-vision-btn--primary {
    background: #18a84b;
    color: #fff;
    flex: 1 1 100%;
}

.eo-vision-btn--secondary {
    background: #edf3ef;
    color: #13233c;
}

.eo-vision-btn--ghost {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #64748b;
}

.eo-vision-btn--ghost.is-saved {
    border-color: #18a84b;
    color: #18a84b;
}

.eo-vision-quest {
    background: #fff;
    border-radius: 28px;
    padding: 20px;
    border: 1px solid #e6ece8;
    margin-bottom: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.eo-vision-quest__top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.eo-vision-quest h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
}

.eo-vision-quest__badge {
    background: #e8faee;
    color: #18a84b;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    height: fit-content;
}

.eo-vision-quest > p {
    margin: 0 0 12px;
    color: #6f8094;
    line-height: 1.5;
    font-size: 14px;
}

.eo-vision-empty {
    text-align: center;
    padding: 28px 16px;
}

@keyframes eo-ring-pop {
    from {
        transform: scale(0.92);
        opacity: 0.85;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Update today's intake */
.eo-update-card {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #bbf7d0;
    border-radius: 22px;
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    text-align: left;
    font-family: inherit;
}

.eo-update-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(34, 197, 94, 0.14);
}

.eo-update-card-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.eo-update-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.eo-update-heading {
    font-size: 15px;
    font-weight: 800;
    color: #166534;
    margin-bottom: 4px;
}

.eo-update-desc {
    font-size: 13px;
    line-height: 1.45;
    color: #166534;
}

.eo-update-action {
    background: #22c55e;
    color: #fff;
    padding: 11px 16px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.2);
    flex-shrink: 0;
}

.eo-intake-modal {
    position: fixed;
    inset: 0;
    z-index: 100002;
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: 12px;
    background: rgba(15, 23, 42, 0.55);
}

.eo-intake-modal.is-open {
    display: flex;
}

body.eo-intake-open {
    overflow: hidden;
}

.eo-intake-content {
    background: #fff;
    width: 100%;
    max-width: 430px;
    border-radius: 28px 28px 0 0;
    padding: 22px 22px 28px;
    max-height: 90vh;
    overflow-y: auto;
    animation: eo-intake-slide 0.3s ease;
}

@keyframes eo-intake-slide {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.eo-intake-modal__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 6px;
}

.eo-intake-modal__top h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.15;
    color: #0f172a;
}

.eo-intake-close {
    border: none;
    background: #f1f5f9;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    flex-shrink: 0;
}

.eo-intake-modal__sub {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 18px;
}

.eo-meal-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-bottom: 18px;
    -webkit-overflow-scrolling: touch;
}

.eo-meal-tab {
    border: none;
    background: #f1f5f9;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
    cursor: pointer;
    font-family: inherit;
    color: #334155;
}

.eo-meal-tab.is-active {
    background: #22c55e;
    color: #fff;
}

.eo-food-section {
    display: none;
}

.eo-food-section.is-active {
    display: block;
}

.eo-food-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.eo-food-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 12px 10px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    font-family: inherit;
    color: #0f172a;
}

.eo-food-pill.is-selected {
    background: #dcfce7;
    border-color: #22c55e;
    color: #166534;
}

.eo-custom-box label {
    display: block;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #0f172a;
}

.eo-custom-box textarea {
    width: 100%;
    min-height: 100px;
    border-radius: 16px;
    border: 1px solid #dbe2ea;
    padding: 12px 14px;
    font-size: 14px;
    resize: none;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
}

.eo-char-count {
    text-align: right;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 6px;
}

.eo-save-intake {
    width: 100%;
    border: none;
    background: #22c55e;
    color: #fff;
    padding: 16px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 800;
    margin-top: 16px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.25);
    font-family: inherit;
}

.eo-save-intake:disabled {
    opacity: 0.65;
    cursor: wait;
}

.eo-profile-intake {
    margin: 16px 0;
    padding: 16px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}

.eo-profile-intake h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}

.eo-profile-intake p {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.45;
    color: #64748b;
}

.eo-profile-intake__meta {
    font-size: 14px;
    font-weight: 700;
    color: #166534;
    margin-bottom: 12px;
}

.eo-clear-intake {
    width: 100%;
    border: 1px solid #fecaca;
    background: #fff1f2;
    color: #b91c1c;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

@media (max-width: 480px) {
    .eo-update-card {
        flex-direction: column;
        align-items: stretch;
    }

    .eo-update-action {
        width: 100%;
        text-align: center;
    }

    .eo-hero-slide--banner,
    .eo-hero-slide--nearby,
    .eo-hero-slide--promo {
        min-height: 268px;
        aspect-ratio: 4 / 3;
    }

    .eo-hero-coach-card {
        left: 10px;
        padding: 12px 22px 1px;
        border-radius: 16px;
        max-width: min(88%, 300px);
        transform: translateY(-42%);
    }

    .eo-hero-coach-card__welcome {
        font-size: 14px;
    }

    .eo-hero-coach-card__tagline {
        font-size: 10px;
    }

    .eo-hero-slide__minimal {
        padding-left: 14px;
        padding-right: 14px;
        padding-bottom: 14px;
    }

    .eo-hero-slider + .eo-vision-ring-card {
        margin-top: 16px;
    }
}

/* Saved tab — Meals that work (utilities) */
#eo-panel-saved.eatout-app__panel.is-active {
    background: #eef6f1;
}

.eo-saved-page {
    max-width: 430px;
    margin: 0 auto;
    min-height: 100%;
    padding: 18px 16px 100px;
    color: #111827;
}

.eo-saved-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
}

.eo-saved-title h1 {
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    margin: 0 0 8px;
}

.eo-saved-title p {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
    max-width: 90%;
}

.eo-saved-streak {
    background: #fff;
    padding: 12px 14px;
    border-radius: 18px;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
    flex-shrink: 0;
}

.eo-saved-progress {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    border-radius: 32px;
    padding: 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 22px;
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.25);
}

.eo-saved-progress::before {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.eo-saved-progress__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.eo-saved-progress h2 {
    font-size: 26px;
    line-height: 1.15;
    font-weight: 900;
    margin: 0 0 12px;
    max-width: 95%;
    position: relative;
    z-index: 1;
    color: #fff;
}

.eo-saved-progress > p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 92%;
    opacity: 0.96;
    margin: 0;
    position: relative;
    z-index: 1;
}

.eo-saved-progress__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 22px;
    position: relative;
    z-index: 1;
}

.eo-saved-progress__box {
    background: rgba(255, 255, 255, 0.14);
    padding: 14px 8px;
    border-radius: 18px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.eo-saved-progress__box h3 {
    font-size: 22px;
    font-weight: 900;
    margin: 0 0 4px;
}

.eo-saved-progress__box span {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    display: block;
}

.eo-saved-quick {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 24px;
    -webkit-overflow-scrolling: touch;
}

.eo-saved-quick::-webkit-scrollbar {
    display: none;
}

.eo-saved-quick__btn {
    background: #fff;
    padding: 14px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border: 2px solid #f1f5f9;
    cursor: pointer;
    font-family: inherit;
    color: #111827;
}

.eo-saved-quick__btn.is-active {
    border-color: #16a34a;
    background: #f0fdf4;
    color: #166534;
}

.eo-saved-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.eo-saved-section h2 {
    font-size: 24px;
    font-weight: 900;
    margin: 0;
}

.eo-saved-section span {
    font-size: 13px;
    font-weight: 800;
    color: #16a34a;
}

.eo-saved-success {
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    margin-bottom: 24px;
}

.eo-saved-success__image {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.eo-saved-success__badge {
    position: absolute;
    left: 16px;
    top: 16px;
    background: #16a34a;
    color: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.eo-saved-success__score {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 74px;
    height: 74px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    color: #16a34a;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    line-height: 1;
}

.eo-saved-success__score small {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-top: 2px;
}

.eo-saved-success__body {
    padding: 22px;
}

.eo-saved-success__body h3 {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 8px;
}

.eo-saved-success__sub {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 18px;
}

.eo-saved-memory {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 700;
    color: #166534;
    margin-bottom: 18px;
}

.eo-saved-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.eo-saved-stat {
    background: #f8fafc;
    padding: 14px 8px;
    border-radius: 18px;
    text-align: center;
}

.eo-saved-stat h4 {
    font-size: 20px;
    font-weight: 900;
    margin: 0 0 4px;
}

.eo-saved-stat p {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    margin: 0;
}

.eo-saved-note {
    background: #f8fafc;
    padding: 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 600;
    margin-bottom: 18px;
    color: #334155;
}

.eo-saved-success__actions {
    display: flex;
    gap: 10px;
}

.eo-saved-btn {
    flex: 1;
    border: none;
    padding: 18px;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    font-family: inherit;
}

.eo-saved-btn--primary {
    background: #16a34a;
    color: #fff;
}

.eo-saved-btn--light {
    background: #f1f5f9;
    color: #111827;
}

.eo-saved-safe {
    background: #fff;
    border-radius: 26px;
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.eo-saved-safe.is-hidden {
    display: none;
}

.eo-saved-safe__img {
    width: 100px;
    height: 100px;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    position: relative;
}

.eo-saved-safe__score {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    color: #16a34a;
}

.eo-saved-safe__content {
    flex: 1;
    min-width: 0;
}

.eo-saved-safe__content h4 {
    font-size: 20px;
    line-height: 1.1;
    font-weight: 900;
    margin: 0 0 8px;
}

.eo-saved-safe__content p {
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    margin: 0 0 12px;
}

.eo-saved-safe__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.eo-saved-safe__btn {
    padding: 10px 14px;
    border: none;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
}

.eo-saved-safe__btn--order {
    background: #16a34a;
    color: #fff;
}

.eo-saved-safe__btn--remove {
    background: #f1f5f9;
    color: #111827;
}

.eo-saved-learned {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 16px 18px;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 600;
    color: #334155;
    margin: 8px 0 24px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.eo-saved-emergency {
    background: #0f172a;
    color: #fff;
    padding: 24px;
    border-radius: 30px;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

.eo-saved-emergency::before {
    content: '';
    position: absolute;
    right: -30px;
    top: -30px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.eo-saved-emergency__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #1e293b;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.eo-saved-emergency h3 {
    font-size: 28px;
    line-height: 1.15;
    font-weight: 900;
    margin: 0 0 12px;
    max-width: 90%;
    position: relative;
    z-index: 1;
    color: #fff;
}

.eo-saved-emergency > p {
    font-size: 14px;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0 0 18px;
    position: relative;
    z-index: 1;
}

.eo-saved-emergency__cta {
    width: 100%;
    border: none;
    background: #22c55e;
    color: #fff;
    padding: 18px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    z-index: 1;
}

.eo-saved-filter-empty {
    text-align: center;
    padding: 24px 16px;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
}

/* Profile tab */
#eo-panel-profile.eatout-app__panel.is-active {
    background: #eef6f1;
}

.eo-profile-page {
    max-width: 430px;
    margin: 0 auto;
    min-height: 100%;
    padding: 18px 16px 100px;
    color: #111827;
}

.eo-profile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
    position: relative;
}

.eo-profile-title h1 {
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    margin: 0 0 8px;
}

.eo-profile-title p {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
    max-width: 90%;
}

.eo-profile-gear-wrap {
    position: relative;
    flex-shrink: 0;
}

.eo-profile-gear {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(15, 23, 42, 0.08);
    cursor: pointer;
    font-family: inherit;
}

.eo-profile-gear__icon {
    display: block;
    flex-shrink: 0;
}

.eo-profile-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 54px;
    min-width: 200px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    padding: 8px;
    z-index: 50;
}

.eo-profile-menu.is-open {
    display: block;
}

.eo-profile-menu button,
.eo-profile-menu a {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    border: none;
    background: none;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
}

.eo-profile-menu button:hover,
.eo-profile-menu a:hover {
    background: #f1f5f9;
}

.eo-profile-hero {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    border-radius: 32px;
    padding: 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 22px;
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.25);
}

.eo-profile-hero::before {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.eo-profile-hero__top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.eo-profile-avatar {
    width: 78px;
    height: 78px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 900;
    backdrop-filter: blur(10px);
}

.eo-profile-hero__info h2 {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 6px;
    color: #fff;
}

.eo-profile-hero__info p {
    font-size: 14px;
    opacity: 0.92;
    margin: 0;
    color: #fff;
}

.eo-profile-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    position: relative;
    z-index: 1;
}

.eo-profile-hero__stat {
    background: rgba(255, 255, 255, 0.14);
    padding: 14px 8px;
    border-radius: 18px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.eo-profile-hero__stat h3 {
    font-size: 22px;
    font-weight: 900;
    margin: 0 0 4px;
    color: #fff;
}

.eo-profile-hero__stat span {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    display: block;
}

.eo-profile-ai {
    background: #fff;
    border-radius: 28px;
    padding: 22px;
    margin-bottom: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.eo-profile-ai__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #16a34a;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 16px;
}

.eo-profile-ai h3 {
    font-size: 26px;
    line-height: 1.15;
    font-weight: 900;
    margin: 0 0 12px;
    color: #111827;
}

.eo-profile-ai > p {
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}

.eo-profile-ai__memory {
    margin-top: 18px;
    background: #f8fafc;
    padding: 18px;
    border-radius: 20px;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 600;
    color: #334155;
}

.eo-profile-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.eo-profile-section h2 {
    font-size: 24px;
    font-weight: 900;
    margin: 0;
}

.eo-profile-section span {
    font-size: 13px;
    font-weight: 800;
    color: #16a34a;
}

.eo-profile-goals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
}

.eo-profile-goal {
    background: #fff;
    padding: 20px;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.eo-profile-goal__icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: #ecfdf5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 14px;
}

.eo-profile-goal h4 {
    font-size: 18px;
    font-weight: 900;
    margin: 0 0 8px;
}

.eo-profile-goal p {
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    margin: 0;
}

.eo-profile-progress {
    background: #fff;
    border-radius: 30px;
    padding: 22px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.eo-profile-progress__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.eo-profile-progress__top h3 {
    font-size: 24px;
    font-weight: 900;
    margin: 0;
}

.eo-profile-progress__status {
    font-size: 13px;
    font-weight: 800;
    color: #16a34a;
}

.eo-profile-ring-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.eo-profile-ring {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.eo-profile-ring::before {
    content: '';
    position: absolute;
    width: 135px;
    height: 135px;
    background: #fff;
    border-radius: 50%;
}

.eo-profile-ring__inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.eo-profile-ring__inner h2 {
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    margin: 0;
    color: #111827;
}

.eo-profile-ring__inner span {
    font-size: 13px;
    color: #64748b;
    font-weight: 700;
}

.eo-profile-weight-note {
    background: #f8fafc;
    padding: 18px;
    border-radius: 20px;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 600;
    color: #334155;
}

.eo-profile-prefs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.eo-profile-pref {
    padding: 12px 16px;
    background: #fff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.eo-profile-setting {
    background: #fff;
    border-radius: 24px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

.eo-profile-setting:hover,
.eo-profile-setting:focus,
.eo-profile-setting:focus-visible,
.eo-profile-setting:active {
    background: #fff !important;
    color: inherit !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.eo-profile-setting--static {
    cursor: default;
    flex-wrap: wrap;
}

.eo-profile-setting__left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.eo-profile-setting__icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #ecfdf5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.eo-profile-setting__info h4 {
    font-size: 17px;
    font-weight: 900;
    margin: 0 0 4px;
}

.eo-profile-setting__info p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.eo-profile-setting__arrow {
    font-size: 22px;
    color: #94a3b8;
    flex-shrink: 0;
}

.eo-profile-name-field {
    width: 100%;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    font-size: 15px;
    font-family: inherit;
}

.eo-profile-name-save {
    margin-top: 10px;
    width: 100%;
}

.eo-profile-sub {
    background: #0f172a;
    color: #fff;
    padding: 24px;
    border-radius: 30px;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

.eo-profile-sub::before {
    content: '';
    position: absolute;
    right: -30px;
    top: -30px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.eo-profile-sub__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #1e293b;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.eo-profile-sub h3 {
    font-size: 28px;
    line-height: 1.15;
    font-weight: 900;
    margin: 0 0 12px;
    max-width: 90%;
    position: relative;
    z-index: 1;
    color: #fff;
}

.eo-profile-sub > p {
    font-size: 14px;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0 0 18px;
    position: relative;
    z-index: 1;
}

.eo-profile-sub__cta {
    width: 100%;
    border: none;
    background: #22c55e;
    color: #fff;
    padding: 18px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    z-index: 1;
    text-decoration: none;
    display: block;
    text-align: center;
    box-sizing: border-box;
}

.eo-profile-account {
    margin-top: 28px;
    padding-top: 8px;
}

.eo-profile-account__signout {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 18px;
    background: #fff;
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.eo-profile-account__delete {
    width: 100%;
    border: none;
    background: #fff;
    color: #c45c5c;
    padding: 16px;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.eo-profile-account__delete-desc {
    font-size: 12px;
    color: #64748b;
    text-align: center;
    margin-top: 10px;
    line-height: 1.5;
}

.eo-profile-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.eo-profile-legal__link {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.eo-profile-legal__link:hover {
    color: #16a34a;
}

.eo-profile-legal__sep {
    color: #cbd5e1;
    font-size: 13px;
}

/* Legal drawer — full-width slide-over; bottom nav stays on top */
.eo-legal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999990;
    background: rgba(15, 23, 42, 0.45);
}

body.eo-legal-open .eo-legal-backdrop {
    display: block;
}

.eo-legal-drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    transform: translateY(100%);
    height: 100dvh;
    z-index: 999995;
    background: #fff;
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
    transition: transform 0.22s ease, visibility 0.22s ease;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
}

.eo-legal-drawer.is-open {
    transform: translateY(0);
    visibility: visible;
}

/* Order modal (iframe) — modal stops 6px above nav; backdrop fills behind that strip too */
.eo-order-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999980;
    background: rgba(15, 23, 42, 0.45);
}

body.eo-order-open .eo-order-backdrop {
    display: block;
}

.eo-order-modal {
    --eo-order-modal-h: calc(100dvh - var(--eo-nav-h, 64px) - env(safe-area-inset-bottom, 0px) - 6px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: calc(var(--eo-nav-h, 64px) + env(safe-area-inset-bottom, 0px) + 6px);
    height: var(--eo-order-modal-h);
    max-height: var(--eo-order-modal-h);
    width: min(100%, var(--eo-app-max, 480px));
    max-width: var(--eo-app-max, 480px);
    margin: 0 auto;
    box-sizing: border-box;
    z-index: 999985;
    background: #fff;
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
    border-radius: 18px 18px 0 0;
    transform: translateY(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

body.eo-order-open .eo-order-modal {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

body.eo-order-open {
    overflow: hidden;
}

body.eo-order-open .eatout-app__nav {
    z-index: 1000000;
    pointer-events: auto;
}

body.eo-order-open .eatout-app {
    pointer-events: none;
}

body.eo-order-open .eo-order-backdrop,
body.eo-order-open .eo-order-modal {
    pointer-events: auto;
}

.eo-order-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid #eef2f6;
    background: #fff;
}

.eo-order-modal__title {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
}

.eo-order-close {
    border: none;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    cursor: pointer;
    color: #111827;
}

.eo-order-modal__body {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    height: 0;
    background: #fff;
}

.eo-order-loading {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 2;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #eef2f6;
    color: #334155;
    font-weight: 700;
    font-size: 13px;
}

.eo-order-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: #fff;
}

.eo-legal-drawer-header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #e8ecef;
    background: linear-gradient(180deg, #ecfdf3 0%, #fff 100%);
}

.eo-legal-drawer-header h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
}

.eo-legal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e8ecef !important;
    border-radius: 10px;
    background: #fff !important;
    color: #64748b !important;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.eo-legal-close:hover,
.eo-legal-close:focus {
    color: #111827 !important;
    background: #ecfdf3 !important;
    border-color: rgba(22, 163, 74, 0.35) !important;
}

.eo-legal-drawer-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(var(--eo-nav-h) + env(safe-area-inset-bottom, 0px) + 16px);
    background: #f4f7f5;
}

body.eo-legal-open {
    overflow: hidden;
}

body.eo-legal-open .eatout-app__nav {
    z-index: 1000000;
}

body.eo-legal-open .eatout-app {
    pointer-events: none;
}

body.eo-legal-open .eatout-app__nav,
body.eo-legal-open .eo-legal-backdrop,
body.eo-legal-open .eo-legal-drawer {
    pointer-events: auto;
}

.eo-legal-drawer-body .eatout-legal-page {
    margin: 0;
    min-height: auto;
}

.eo-legal-drawer-body .eatout-legal-page .container {
    padding: 16px 16px 24px;
    max-width: 100%;
}

.eo-legal-drawer-body .eatout-legal-page .hero {
    padding: 36px 24px;
    border-radius: 24px;
    margin-bottom: 20px;
}

.eo-legal-drawer-body .eatout-legal-page .hero h1 {
    display: none;
}

.eo-legal-drawer-body .eatout-legal-page .hero p {
    font-size: 15px;
    margin: 0;
}

.eo-legal-drawer-body .eatout-legal-page .card {
    padding: 24px 20px;
    border-radius: 24px;
}

.eo-legal-drawer-body .eatout-legal-page .section h2 {
    font-size: 24px;
}

.eo-legal-drawer-body .eatout-legal-page .footer {
    margin-top: 32px;
}

.eo-profile-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.eo-profile-modal[hidden] {
    display: none !important;
}

.eo-profile-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.eo-profile-modal__panel {
    position: relative;
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.eo-profile-modal__panel h3 {
    font-size: 22px;
    font-weight: 900;
    margin: 0 0 12px;
}

.eo-profile-modal__panel p {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 16px;
}

.eo-profile-modal__check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 18px;
    cursor: pointer;
}

.eo-profile-modal__actions {
    display: flex;
    gap: 10px;
}

.eo-profile-modal__actions button {
    flex: 1;
    padding: 14px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.eo-profile-modal__cancel {
    background: #f1f5f9;
    color: #111827;
}

.eo-profile-modal__confirm {
    background: #d48484;
    color: #fff;
}

.eo-profile-modal__confirm:hover,
.eo-profile-modal__confirm:focus-visible {
    background: #c97878;
}

.eo-profile-msg {
    font-size: 13px;
    margin: 8px 0 0;
    min-height: 1.2em;
}

.eo-profile-msg--ok {
    color: #16a34a;
    font-weight: 700;
}

/* Nutrition estimates & pizza logging */
.eo-nutrition-estimate,
.eo-scan-nutrition-note {
    font-size: 12px;
    line-height: 1.45;
    color: #64748b;
    margin: 8px 0 0;
}
.eo-scan-nutrition-note--verified {
    color: #166534;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: 600;
}

.eo-scan-nutrition-note {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 12px;
}

.eo-app-meal-card__macros {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin: 4px 0 0;
}

.eo-macro-number--text {
    font-size: 11px;
    line-height: 1.35;
    font-weight: 800;
}

.eo-detail-macro-val {
    font-size: 13px;
    line-height: 1.35;
    display: block;
}

.eo-pizza-log-sheet {
    position: fixed;
    inset: 0;
    z-index: 250;
    display: none;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
}

.eo-pizza-log-sheet.is-open {
    display: flex;
    pointer-events: auto;
}

body.eo-pizza-log-open {
    overflow: hidden;
}

.eo-pizza-log__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.eo-pizza-log__panel {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 20px 20px 28px;
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);
}

.eo-pizza-log__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f1f5f9;
    font-size: 22px;
    cursor: pointer;
}

.eo-pizza-log__panel h2 {
    margin: 0 32px 8px 0;
    font-size: 20px;
}

.eo-pizza-log__sub {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.eo-pizza-log__hint {
    margin: 0 0 16px;
    font-size: 12px;
    line-height: 1.45;
    color: #64748b;
}

.eo-pizza-log__label {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.eo-pizza-log__slices {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.eo-pizza-log__slice {
    border: 2px solid #e2e8f0;
    background: #fff;
    border-radius: 12px;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 800;
    color: #111827;
    cursor: pointer;
    font-family: inherit;
}

.eo-pizza-log__slice:hover,
.eo-pizza-log__slice:focus,
.eo-pizza-log__slice:focus-visible {
    color: #111827;
    background: #f8fafc;
    border-color: #cbd5e1;
}

.eo-pizza-log__slice.is-active,
.eo-pizza-log__whole.is-active {
    border-color: #16a34a;
    background: #f0fdf4;
    color: #15803d;
}

.eo-pizza-log__whole {
    width: 100%;
    border: 2px solid #e2e8f0;
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    font-size: 14px;
    font-weight: 800;
    color: #111827;
    cursor: pointer;
    margin-bottom: 14px;
    font-family: inherit;
}

.eo-pizza-log__whole:hover,
.eo-pizza-log__whole:focus,
.eo-pizza-log__whole:focus-visible {
    color: #111827;
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* Theme button styles often force white text — keep pizza portion picker readable */
body.eatout-member-app .eatout-app .eo-pizza-log__slice,
body.eatout-member-app .eatout-app .eo-pizza-log__whole,
body.eatout-member-app .eatout-app .eo-pizza-log__close {
    color: #111827 !important;
}

body.eatout-member-app .eatout-app .eo-pizza-log__slice:hover,
body.eatout-member-app .eatout-app .eo-pizza-log__slice:focus,
body.eatout-member-app .eatout-app .eo-pizza-log__slice:focus-visible,
body.eatout-member-app .eatout-app .eo-pizza-log__slice:active,
body.eatout-member-app .eatout-app .eo-pizza-log__whole:hover,
body.eatout-member-app .eatout-app .eo-pizza-log__whole:focus,
body.eatout-member-app .eatout-app .eo-pizza-log__whole:focus-visible,
body.eatout-member-app .eatout-app .eo-pizza-log__whole:active {
    color: #111827 !important;
    background-color: #f8fafc !important;
    background-image: none !important;
}

body.eatout-member-app .eatout-app .eo-pizza-log__slice.is-active,
body.eatout-member-app .eatout-app .eo-pizza-log__whole.is-active,
body.eatout-member-app .eatout-app .eo-pizza-log__slice.is-active:hover,
body.eatout-member-app .eatout-app .eo-pizza-log__whole.is-active:hover {
    color: #15803d !important;
    background-color: #f0fdf4 !important;
    border-color: #16a34a !important;
}

.eo-pizza-log__preview {
    font-size: 13px;
    color: #475569;
    margin: 0 0 14px;
    text-align: center;
}

.eo-pizza-log__confirm {
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 14px;
    background: #16a34a;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
}

body.eatout-member-app .eatout-app .eo-pizza-log__confirm,
body.eatout-member-app .eatout-app .eo-pizza-log__confirm:hover,
body.eatout-member-app .eatout-app .eo-pizza-log__confirm:focus,
body.eatout-member-app .eatout-app .eo-pizza-log__confirm:active {
    color: #fff !important;
    background-color: #16a34a !important;
    background-image: none !important;
}

/* Scan-anywhere welcome (sparse markets) */
body.eo-scan-anywhere-open {
    overflow: hidden;
}

.eo-scan-anywhere {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}

.eo-scan-anywhere[hidden] {
    display: none !important;
}

.eo-scan-anywhere__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
}

.eo-scan-anywhere__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    max-height: 92vh;
    overflow-y: auto;
    background: linear-gradient(165deg, #f8fffb 0%, #ffffff 42%, #f0fdf4 100%);
    border-radius: 28px 28px 0 0;
    padding: 28px 24px 32px;
    box-shadow: 0 -12px 48px rgba(15, 23, 42, 0.18);
}

.eo-scan-anywhere__eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #16a34a;
}

.eo-scan-anywhere__panel h1 {
    margin: 0 0 10px;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 800;
    color: #0f172a;
}

.eo-scan-anywhere__sub {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: #334155;
    line-height: 1.45;
}

.eo-scan-anywhere__body {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.55;
    color: #475569;
}

.eo-scan-anywhere__bullets {
    margin: 0 0 22px;
    padding: 0 0 0 20px;
    color: #1e293b;
    font-size: 14px;
    line-height: 1.6;
}

.eo-scan-anywhere__bullets li {
    margin-bottom: 6px;
}

.eo-scan-anywhere__cta {
    display: block;
    width: 100%;
    border: none;
    border-radius: 18px;
    padding: 16px 20px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 12px 28px rgba(34, 197, 94, 0.35);
}

.eo-scan-anywhere__secondary {
    display: block;
    width: 100%;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    padding: 10px;
    cursor: pointer;
    font-family: inherit;
}

.eatout-app.is-sparse-market .eatout-app__nav-btn--scan .eatout-app__nav-icon {
    box-shadow: 0 8px 22px rgba(91, 33, 182, 0.45);
}

.eo-home-scan-cta {
    margin: 8px 0 20px;
    padding: 22px 20px;
    border-radius: 24px;
    background: linear-gradient(135deg, #ecfdf5, #ffffff);
    border: 1px solid rgba(34, 197, 94, 0.2);
    box-shadow: 0 12px 32px rgba(34, 197, 94, 0.12);
    text-align: left;
}

.eo-home-scan-cta__badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
    font-size: 12px;
    font-weight: 800;
}

.eo-home-scan-cta h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}

.eo-home-scan-cta p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #475569;
}

.eo-home-scan-loc {
    margin-top: -8px;
    margin-bottom: 16px;
}

.eo-discover-build-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 0 0 18px;
    padding: 18px 16px;
    border-radius: 22px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    box-shadow: 0 16px 36px rgba(34, 197, 94, 0.28);
}

.eo-discover-build-card__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.eo-discover-build-card__body h3 {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
}

.eo-discover-build-card__body p {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.45;
    opacity: 0.95;
}

.eo-discover-build-card__stats {
    margin: 0 0 12px !important;
    font-size: 12px !important;
    font-weight: 800;
    opacity: 0.9;
}

.eo-top-badge--community {
    background: rgba(255, 255, 255, 0.92);
    color: #15803d;
    font-size: 11px;
}

.eo-top-badge--verified {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35);
}

.eo-home-best-matches .eo-vision-section-head h2,
.eo-home-hidden-gems .eo-vision-section-head h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.eo-home-section-pill {
    display: inline-block;
    background: #eef2ff;
    color: #4338ca;
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.eo-home-section-pill--local {
    background: #fef3c7;
    color: #92400e;
}

.eo-home-default-goal-hint {
    color: #64748b;
    font-size: 12px;
    margin: 6px 0 12px;
}

.eo-home-section-sub {
    color: #64748b;
    font-size: 12.5px;
    margin: 4px 0 12px;
}

.eo-home-hidden-gems {
    margin-top: 16px;
    border-top: 1px solid #f1f5f9;
    padding-top: 18px;
}

.eo-home-best-matches__grid,
.eo-home-hidden-gems__grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.eo-scan-community-note {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #ecfdf5;
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #166534;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}

.eo-discover-build-card__btn {
    border: none;
    border-radius: 14px;
    padding: 10px 16px;
    background: #fff;
    color: #15803d;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
}

.eo-app-msg--scan-forward {
    background: #ecfdf5;
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #166534;
    border-radius: 14px;
    padding: 12px 14px;
}

.eo-app-empty--scan-forward {
    text-align: center;
    padding: 24px 16px;
}

.eo-home-section {
    margin-bottom: 20px;
}

.eo-vision-macros--compact {
    margin-bottom: 12px;
}

.eo-vision-macros--compact .eo-vision-macro {
    padding: 12px 8px;
    border-radius: 20px;
}

.eo-vision-macros--compact .eo-vision-mini-ring {
    width: 58px;
    height: 58px;
}

.eo-vision-macros--compact .eo-vision-mini-ring::before {
    width: 42px;
    height: 42px;
}

.eo-home-nutrition__headline {
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
}

.eo-home-challenge-today {
    margin-bottom: 12px;
}

.eo-home-challenge-today__label {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.eo-home-streaks__card,
.eo-home-wellness__card {
    padding: 18px 20px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid #e8eeea;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.eo-home-streaks__count {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 6px;
}

.eo-home-streaks__label {
    margin: 0 0 8px;
    font-weight: 700;
    color: #0f172a;
}

.eo-home-streaks__encourage {
    margin: 0 0 12px;
    color: #475569;
    font-size: 14px;
    line-height: 1.45;
}

.eo-home-streaks__link {
    margin-top: 4px;
}

.eo-home-wellness__label {
    margin: 0 0 10px;
    font-weight: 700;
    color: #0f172a;
}

.eo-home-wellness__bar {
    margin-bottom: 14px;
}

.eo-home-wellness__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.eo-home-wellness__stats div {
    padding: 12px;
    border-radius: 16px;
    background: #f8fafc;
    text-align: center;
}

.eo-home-wellness__stats strong {
    display: block;
    font-size: 22px;
    color: #0f172a;
}

.eo-home-wellness__stats span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #64748b;
}

.eo-home-wellness__timeline {
    margin: 14px 0 0;
    font-size: 13px;
    color: #64748b;
}

/* ===========================================================
   Multi-page scan session — "Pages scanned" strip + CTA
   =========================================================== */

.eo-scan-session {
    margin: 0 0 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 1px solid rgba(34, 197, 94, 0.25);
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.08);
}

.eo-scan-session__head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 4px;
}

.eo-scan-session__count {
    font-size: 13.5px;
    font-weight: 800;
    color: #15803d;
    letter-spacing: 0.01em;
}

.eo-scan-session__cached {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    color: #475569;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.eo-scan-session__rest {
    margin-left: auto;
    font-size: 12px;
    font-weight: 700;
    color: #166534;
    opacity: 0.82;
}

.eo-scan-session__cats {
    margin-top: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: #166534;
    opacity: 0.86;
    line-height: 1.4;
}

.eo-scan-session__reset {
    margin-top: 10px;
    width: 100%;
    border: 1px dashed rgba(22, 163, 74, 0.4);
    background: transparent;
    color: #166534;
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

body.eatout-member-app .eatout-app .eo-scan-session__reset,
body.eatout-member-app .eatout-app .eo-scan-session__reset:hover,
body.eatout-member-app .eatout-app .eo-scan-session__reset:focus,
body.eatout-member-app .eatout-app .eo-scan-session__reset:active {
    color: #166534 !important;
    background: transparent !important;
    background-image: none !important;
    border-color: rgba(22, 163, 74, 0.4) !important;
    text-shadow: none !important;
}

.eo-scan-continue {
    margin: 22px 0 4px;
    padding: 22px 18px 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #f1f5f9;
    text-align: center;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.2);
}

.eo-scan-continue__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    border: none;
    border-radius: 16px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 10px 24px rgba(34, 197, 94, 0.35);
}

body.eatout-member-app .eatout-app .eo-scan-continue__btn,
body.eatout-member-app .eatout-app .eo-scan-continue__btn:hover,
body.eatout-member-app .eatout-app .eo-scan-continue__btn:focus,
body.eatout-member-app .eatout-app .eo-scan-continue__btn:active {
    color: #fff !important;
    background-image: linear-gradient(135deg, #22c55e, #16a34a) !important;
    background-color: #16a34a !important;
    text-shadow: none !important;
    border: none !important;
}

.eo-scan-continue__icon {
    font-size: 18px;
}

.eo-scan-continue__text {
    letter-spacing: 0.01em;
}

.eo-scan-continue__helper {
    margin: 12px 4px 0;
    font-size: 13px;
    line-height: 1.5;
    color: #cbd5e1;
}

/* Post-scan tune screen */
.eo-scan-tune {
    padding-bottom: 28px;
}

.eo-scan-tune__sub {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.5;
    color: #475569;
}

.eo-scan-tune__cal {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #f0fdf4;
    color: #166534;
    font-size: 14px;
}

.eo-scan-tune__label {
    display: block;
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.eo-scan-tune__meal,
.eo-scan-tune__intents,
.eo-scan-tune__moods {
    margin-bottom: 20px;
}

.eo-scan-tune__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.eo-scan-tune__pill {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.eo-scan-tune__pill.is-active {
    border-color: #7c3aed;
    background: #f5f3ff;
    color: #5b21b6;
}

.eo-scan-tune__chips {
    display: grid;
    gap: 10px;
}

.eo-scan-tune__chip {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: 100%;
    text-align: left;
    border: 2px solid #e2e8f0;
    background: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    cursor: pointer;
    font-family: inherit;
}

.eo-scan-tune__chip strong {
    font-size: 15px;
    color: #0f172a;
}

.eo-scan-tune__chip span {
    font-size: 13px;
    color: #64748b;
}

.eo-scan-tune__chip.is-active {
    border-color: #7c3aed;
    background: linear-gradient(145deg, #faf5ff, #f5f3ff);
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.12);
}

.eo-scan-tune__cta {
    margin-top: 8px;
}

.eo-scan-tune__busy {
    margin-top: 12px;
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

.eo-scan-tune-again {
    display: inline-block;
    margin: 0 0 12px 12px;
    padding: 0;
    border: none;
    background: none;
    color: #7c3aed;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    text-decoration: underline;
}

.eo-swap-hero__ladder {
    font-size: 13px;
    line-height: 1.45;
    color: #475569;
}

