/* =========================================
   LEMON ENGINE V600.0 (DUAL PROFILE & WIDE RANGE)
   ========================================= */

:root {
    --lemon-green: #236c44;
    --lemon-text: #2c3330;
    --lemon-border: #e2e8f0;
    /* Default start scale */
    --app-scale: 13px; 
}

/* Auto-Formatting Wrapper for Global Questions */
.lemon-auto-format {
    font-size: 1.4rem !important; /* Scales dynamically with --app-scale while mirroring ~14pt visual footprint */
    line-height: 1.45 !important;
}
.lemon-auto-format * {
    font-size: 1.4rem !important;
    line-height: 1.45 !important;
}
.lemon-auto-format p {
    margin-top: 0;
    margin-bottom: 0.8rem;
}

/* MASTER SCALER */
html { font-size: var(--app-scale); transition: font-size 0.1s linear; }

/* --- 1. NUCLEAR FULLSCREEN --- */
body:has(#lemon-exam-app) { margin: 0 !important; padding: 0 !important; overflow: hidden !important; }
body:has(#lemon-exam-app) #masthead,
body:has(#lemon-exam-app) .site-header,
body:has(#lemon-exam-app) header,
body:has(#lemon-exam-app) footer,
body:has(#lemon-exam-app) .site-footer,
body:has(#lemon-exam-app) #wpadminbar { display: none !important; }

#lemon-exam-app {
    position: fixed; top: 0; left: 0; width: 100%; height: 100dvh; z-index: 999999;
    background: #f0f2f5;
    display: flex; flex-direction: column;
    /* 🍋 Reverted back to the official LemonSQEezy stack */
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
    color: var(--lemon-text);
    line-height: 1.5;
}
/* --- 2. HEADER --- */
.lemon-toolbar {
    flex: 0 0 4.2rem; /* Scalable */
    background: var(--lemon-green);
    color: white;
    padding: 0 2rem;
    display: flex; justify-content: space-between; align-items: center;
    box-shadow: 0 0.1rem 0.6rem rgba(0,0,0,0.15);
    z-index: 100;
    position: relative;
    padding-left: 1rem !important; 
}

.lemon-logo-area { display: flex; align-items: center; height: 100%; }

.lemon-logo-img {
    height: 6rem !important; /* Scalable */
    width: auto !important;
    object-fit: contain;
    margin-right: 1rem;
    display: block;
}

.lemon-progress-text {
    font-size: 1rem; font-weight: 600; color: #fff;
    padding-left: 1rem; border-left: 0.1rem solid rgba(255,255,255,0.3);
    white-space: nowrap;
}

.lemon-header-right { display: flex; align-items: center; gap: 0.8rem; }

.lemon-timer-pill {
    background: white; color: var(--lemon-green);
    padding: 0.3rem 1rem; border-radius: 0.3rem;
    font-family: monospace; font-weight: 700; font-size: 1.2rem;
}

/* Control Buttons */
.lemon-icon-btn {
    background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.4);
    color: white; border-radius: 4px; padding: 0.4rem 0.8rem;
    cursor: pointer; font-size: 0.9rem; transition: 0.2s;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}
.lemon-icon-btn:hover { background: rgba(255,255,255,0.3); }

/* Force top-bar buttons to never turn pink on active/focus */
.lemon-icon-btn:visited, 
.lemon-icon-btn:focus, 
.lemon-icon-btn:active {
    color: white !important;
    background: rgba(255,255,255,0.15) !important;
    outline: none !important;
    text-decoration: none !important;
}

/* --- 3. LIVE SETTINGS DROPDOWN --- */
.lemon-settings-popover {
    position: absolute; top: 100%; right: 2rem;
    background: #fff; border: 1px solid #ddd;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    padding: 20px; border-radius: 0 0 6px 6px;
    z-index: 99; display: none; /* Hidden by default */
    width: 300px;
}
.lemon-settings-label { display: block; color: #333; font-weight: 700; margin-bottom: 10px; font-size: 0.9rem; }

/* --- 4. WORKSPACE --- */
#lemon-workspace {
    flex: 1; overflow-y: auto; 
    padding: 1.5rem; 
    display: flex; justify-content: center;
}

.lemon-card-wrapper {
    background: white;
    width: 96%; max-width: none !important;
    padding: 2.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.2rem 0.8rem rgba(0,0,0,0.05); border: 0.1rem solid #e5e5e5;
    height: fit-content;
}

/* The core question text wrapper */
.lemon-question-text {
    font-size: 1.25rem; 
    color: #111;
    margin-bottom: 1.5rem; 
    font-weight: 500;
    line-height: 1.6;
    /* white-space: pre-wrap removed - Handled natively by PHP wpautop() */
}

/* Options */
.lemon-options-list { display: flex; flex-direction: column; gap: 0.8rem; }

.lemon-option {
    display: flex; align-items: flex-start; 
    padding: 0.8rem 1rem; 
    border: 0.1rem solid #ccc; border-radius: 0.4rem;
    cursor: pointer; transition: all 0.1s ease;
    background: #fff; 
    font-size: 1.15rem; color: #333;
}
.lemon-option:hover { border-color: var(--lemon-green); background-color: #fafafa; }
.lemon-option.selected {
    background-color: #e8f5e9; border-color: var(--lemon-green);
    box-shadow: 0 0 0 0.15rem var(--lemon-green); color: #000;
}
.lemon-radio-circle {
    width: 1.4rem; height: 1.4rem; border: 0.1rem solid #bbb; border-radius: 50%;
    margin-right: 1rem; flex-shrink: 0; position: relative; top: 0.2rem;
}
.lemon-option.selected .lemon-radio-circle { border-color: transparent; }
.lemon-option.selected .lemon-radio-circle::after {
    content: '🍋'; 
    font-size: 1.8rem; 
    position: absolute; 
    /* OPTICAL ALIGNMENT FIX */
    top: -0.75rem;   /* Nudged up slightly */
    left: -0.8rem;   /* Pulled left significantly */
}
.lemon-option:focus-visible {
    outline: 2px solid var(--lemon-green);
    outline-offset: 2px;
}

/* --- 5. FOOTER --- */
.lemon-footer {
    flex: 0 0 auto; background: var(--lemon-green);
    padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center;
    z-index: 90;
}
.lemon-btn {
    padding: 0.7rem 1.8rem; font-weight: 700; border-radius: 0.3rem;
    cursor: pointer; border: none; text-transform: uppercase; letter-spacing: 0.5px;
    font-size: 1rem;
}
.lemon-btn.primary { background: white; color: var(--lemon-green); }
.lemon-btn.secondary { background: rgba(255,255,255,0.15); color: white; border: 0.1rem solid rgba(255,255,255,0.2); }
.lemon-btn.flag-btn { background: rgba(255,255,255,0.1); border: 0.1rem solid rgba(255,255,255,0.2); color: white; margin-left: 0.8rem; }
.lemon-btn.flag-btn.active { color: #ffcccb; border-color: #ffcccb; background: rgba(211, 47, 47, 0.2); }

/* --- 6. CALIBRATION PANEL (Setup Screen) --- */
.lemon-calibration-panel {
    background: #fff; border-top: 2px solid var(--lemon-green);
    padding: 20px 40px;
    position: fixed; bottom: 0; left: 0; width: 100%;
    z-index: 2000;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.15);
    display: flex; flex-direction: row; align-items: center; justify-content: space-between;
}
.lemon-slider-wrapper {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 20px;
    max-width: 600px; margin: 0 auto;
}
.lemon-slider-label { font-weight: 700; color: #555; font-size: 14px; text-transform: uppercase; letter-spacing: 1px;}

.lemon-range-input {
    flex: 1; -webkit-appearance: none; height: 8px; background: #e0e0e0; border-radius: 4px; outline: none; width: 100%;
}
.lemon-range-input::-webkit-slider-thumb {
    -webkit-appearance: none; width: 24px; height: 24px; background: var(--lemon-green); border-radius: 50%; cursor: pointer; border: 2px solid #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.lemon-action-btn {
    background: var(--lemon-green); color: white; border: none; padding: 12px 30px; 
    font-size: 16px; font-weight: 700; border-radius: 4px; cursor: pointer;
    text-transform: uppercase; letter-spacing: 0.5px;
    white-space: nowrap;
}
.lemon-step-info {
    position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
    background: #333; color: white; padding: 6px 18px; border-radius: 20px;
    font-size: 13px; font-weight: 600; box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Nav Strip */
.lemon-nav-strip {
    flex: 0 0 auto; background: #fff;
    padding: 0.5rem 2rem; border-bottom: 0.1rem solid var(--lemon-border);
    display: flex; gap: 0.4rem; overflow-x: auto;
}
.lemon-nav-dot {
    width: 2.2rem; height: 2.2rem; 
    display: flex; align-items: center; justify-content: center;
    border: 0.1rem solid #ccc; border-radius: 50%;
    font-size: 0.9rem; font-weight: 600; color: #666;
    cursor: pointer; flex-shrink: 0; background: #fff;
}
.lemon-nav-dot.active { background: var(--lemon-green); color: white; border-color: var(--lemon-green); transform: scale(1.1); }
.lemon-nav-dot.answered { background: #e8f5e9; color: #1e5c39; border-color: var(--lemon-green); }
.lemon-nav-dot.flagged { border-color: #f59e0b; color: #f59e0b; background: #fffbeb; }

/* Admin Safeguards / Results styling */
.lemon-review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); gap: 0.5rem; }

/* Hide flag button and confidence UI when user is on the review grid */
#lemon-exam-app.lemon-review-grid-active .lemon-footer-right .lemon-desktop-tool:has(.btn-confidence-toggle) { display: none !important; }
#lemon-exam-app.lemon-review-grid-active #lemon-mobile-conf-wrap { display: none !important; }
#lemon-exam-app.lemon-review-grid-active .flag-btn,
#lemon-exam-app.lemon-review-grid-active #btn-flag,
#lemon-exam-app.lemon-review-grid-active #btn-mobile-flag { display: none !important; }
#lemon-exam-app.lemon-review-grid-active .lemon-footer-left .lemon-desktop-tool:has(.flag-btn) { display: none !important; }
#lemon-exam-app.lemon-review-grid-active #lemon-mobile-tools-popover .flag-btn { display: none !important; }
#lemon-exam-app.lemon-review-grid-active #lemon-mobile-tools-popover #btn-mobile-flag { display: none !important; }

.lemon-review-item { border: 1px solid #ddd; border-radius: 6px; padding: 10px; text-align: center; cursor: pointer; background: #fff; }
.lemon-review-item.answered { background: #e8f5e9; border-color: var(--lemon-green); }
.lemon-review-item .num { font-size: 16px; font-weight: 700; color: #666; }
.lemon-review-item.answered .num { color: var(--lemon-green); }
.lemon-btn-primary { background: #236c44!important; border-color:#236c44!important; color:#fff!important; font-weight:600!important; }
.lemon-nav { display: flex; border-bottom: 2px solid #CDE4D8; margin-bottom: 20px; background: #fff; padding: 15px; }
.lemon-tab { padding: 12px 25px; margin-right: 5px; cursor: pointer; font-weight: 600; color: #666; background: #f9f9f9; border: 1px solid #e5e5e5; display:block; }
.lemon-tab.active { background: #236c44; color: white; border-color: #236c44; }
.lemon-panel { display: none; background: #fff; padding: 25px; border: 1px solid #e5e5e5; }
.lemon-panel.active { display: block; }
.lemon-table { width: 100%; border-collapse: collapse; background: #fff; }
.lemon-table th { background: #f8f9fa; padding: 15px; color: #236c44; text-align: left; }
.lemon-table td { padding: 12px 15px; border-bottom: 1px solid #eee; }

/* PANIC MODE ANIMATION */
@keyframes lemon-pulse-red {
    0% { background-color: #d32f2f; transform: scale(1); }
    50% { background-color: #b71c1c; transform: scale(1.05); } 
    100% { background-color: #d32f2f; transform: scale(1); }
}

.lemon-panic-active {
    background-color: #d32f2f !important;
    color: white !important;
    border-color: #d32f2f !important;
    animation: lemon-pulse-red 1.5s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(211, 47, 47, 0.5);
}

/* --- 7. EXAM CALCULATOR (V3 - Resizable & History) --- */
#lemon-calculator {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 280px;
    min-width: 220px;
    height: 480px; 
    min-height: 320px;
    background: #ffffff;
    border: 2px solid #CDE4D8;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(35, 108, 68, 0.15);
    z-index: 99999;
    display: none; 
    font-family: 'Segoe UI', Verdana, sans-serif;
    resize: both; 
    overflow: hidden;
}

.lemon-calc-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.lemon-calc-header {
    background: #ffffff; color: var(--lemon-green);
    padding: 12px 16px; font-size: 0.95rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    cursor: grab; display: flex; justify-content: space-between; align-items: center;
    user-select: none; border-bottom: 2px solid #CDE4D8;
    flex-shrink: 0;
}
.lemon-calc-header:active { cursor: grabbing; }
.lemon-calc-header { touch-action: none; } /* allow drag on mobile */

.lemon-calc-resize-handle {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 28px;
    height: 28px;
    cursor: nwse-resize;
    z-index: 10;
    background: linear-gradient(135deg, transparent 50%, rgba(35, 108, 68, 0.2) 50%);
    border-radius: 0 0 10px 0;
}
.lemon-calc-resize-handle:hover { background: linear-gradient(135deg, transparent 50%, rgba(35, 108, 68, 0.35) 50%); }
.lemon-calc-resize-handle { touch-action: none; } /* allow resize on mobile */
@media (max-width: 768px) {
    .lemon-calc-resize-handle {
        width: 44px;
        height: 44px;
        -webkit-tap-highlight-color: transparent;
    }
}

.lemon-calc-close {
    cursor: pointer; background: transparent; border: none; color: #94a39b;
    border-radius: 50%; width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; transition: all 0.2s;
}
.lemon-calc-close:hover { background: #fee2e2; color: #d32f2f; }

.lemon-calc-history {
    flex-grow: 1; 
    background: #E0EFE6;
    color: #64748b; 
    padding: 10px 15px;
    text-align: right;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.05rem;
    overflow-y: auto;
    border-bottom: 1px dashed #BED4C9;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lemon-calc-display {
    flex-shrink: 0;
    background: #E0EFE6;
    color: var(--lemon-green);
    padding: 10px 15px 15px 15px;
    text-align: right;
    font-family: 'Courier New', Courier, monospace;
    font-size: 2.2rem; font-weight: 700;
    border-bottom: 2px solid #CDE4D8;
    word-break: break-all; min-height: 2.6rem;
    box-shadow: inset 0 -4px 8px rgba(0,0,0,0.04);
}

.lemon-calc-keys {
    flex-grow: 1;
    flex-shrink: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 8px;
    padding: 12px 16px 16px 12px;
    background: #f8faf9;
    height: auto; 
}

.lemon-calc-btn {
    background: #ffffff; border: 1px solid #e2e8f0; border-radius: 6px;
    padding: 0; font-size: 1.15rem; font-weight: 600; color: #2c3330;
    cursor: pointer; transition: all 0.1s; box-shadow: 0 3px 0 #e2e8f0;
}
.lemon-calc-btn:active { transform: translateY(3px); box-shadow: none; }
.lemon-calc-btn:hover { background: #f1f5f9; border-color: #BED4C9; }
.lemon-calc-btn.op { background: #e8f5e9; color: var(--lemon-green); border-color: #CDE4D8; box-shadow: 0 3px 0 #CDE4D8; }
.lemon-calc-btn.op:hover { background: #CDE4D8; }
.lemon-calc-btn.clear { background: #fffbeb; color: #f59e0b; border-color: #fde68a; box-shadow: 0 3px 0 #fde68a; }
.lemon-calc-btn.clear:hover { background: #fef3c7; }
.lemon-calc-btn.eq { background: #FBE827; color: #2c3330; grid-column: span 2; border-color: #eab308; box-shadow: 0 3px 0 #eab308; font-size: 1.4rem; }
.lemon-calc-btn.eq:hover { background: #facc15; }

/* --- 8. CONFIDENCE TRACKER --- */
.lemon-conf-options { display: flex; flex-direction: column; gap: 5px; margin-top: 10px; }
.lemon-conf-btn {
    background: #f8faf9; border: 1px solid #e2e8f0; padding: 10px 12px;
    text-align: left; border-radius: 4px; cursor: pointer;
    font-size: 0.95rem; font-weight: 600; color: #2c3330; transition: all 0.1s;
}
.lemon-conf-btn:hover { background: #e0efe6; border-color: #bed4c9; }
.lemon-conf-btn.active {
    background: var(--lemon-green); color: white; border-color: var(--lemon-green);
}

/* --- 9. MOBILE RESPONSIVENESS & UI REFINEMENTS --- */
.lemon-desktop-tool { display: inline-flex !important; align-items: center; }
.lemon-mobile-tool { display: none !important; }

@media (max-width: 1024px) {
    .lemon-desktop-tool { display: none !important; }
    .lemon-mobile-tool { display: inline-flex !important; align-items: center; }
    .lemon-progress-text { display: none !important; }
    .lemon-logo-img { margin-right: 0 !important; }
    .lemon-metrics-bar { flex-direction: column; gap: 15px; }

    /* Fix: Stack the calibration scale elements to prevent squeezing on mobile */
    .lemon-calibration-panel {
        box-sizing: border-box;
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    .lemon-calibration-panel *, .lemon-calibration-panel *::before, .lemon-calibration-panel *::after {
        box-sizing: border-box;
    }
    .lemon-slider-wrapper {
        width: 100%;
        gap: 10px;
        margin-bottom: 5px;
    }
    .lemon-action-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    #btn-fullscreen { display: none !important; }
    /* Fix: Prevent the inline 20px font from overflowing the tiny viewport */
    .lemon-slider-label[style] { font-size: 16px !important; }
}

/* Prevent the sideways popover from causing horizontal scroll on mobile */
body:has(#lemon-exam-app) { overflow-x: hidden; }

/* --- PREMIUM PER-QUESTION METRICS BAR --- */
.lemon-metrics-bar {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f4f7f5 0%, #eef3f0 100%);
    border: 1px solid #CDE4D8;
    display: flex;
    gap: 30px;
    font-size: 14px;
    color: #2c3330;
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.5), 0 2px 5px rgba(0,0,0,0.02);
}

.lemon-metrics-bar .metric-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lemon-metrics-bar .metric-icon {
    background: #fff;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    font-size: 14px;
}

.lemon-metrics-bar.pro-locked {
    background: #f8faf9;
    border: 1px dashed #cbd5e1;
}

.lemon-metrics-bar .blurred-metrics {
    filter: blur(6px) grayscale(50%);
    transition: filter 0.3s;
}

.pro-overlay-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #236c44;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(35,108,68,0.25);
    transition: all 0.2s;
    white-space: nowrap;
}

.pro-overlay-btn:hover {
    background: #1e5c39;
    transform: translate(-50%, -52%);
    box-shadow: 0 6px 20px rgba(35,108,68,0.3);
}

/* ============================================================
   🍋 LEMONSQEEZY MASTER TYPOGRAPHY ENFORCEMENT
   Ensures 1:1 WYSIWYG rendering from CSV imports mapped via PHP wpautop()
   ============================================================ */

/* 1. Base Text & Paragraphs */
.lemon-question-text, 
.lemon-feedback,
.lemon-opt-label {
    color: var(--lemon-text); 
    line-height: 1.45; /* 🍋 !important removed to allow custom editor spacing */
    font-size: 1.25rem; 
}

.lemon-question-text p, 
.lemon-feedback p,
.lemon-opt-label p {
    margin-top: 0; 
    margin-bottom: 0.8rem; /* 🍋 !important removed to allow custom editor spacing */
}

.lemon-question-text p:last-child, 
.lemon-feedback p:last-child {
    margin-bottom: 0; 
}

/* 2. Headers (Explicit Sizing & 400 Weight per Brand Guidelines) */
.lemon-question-text h1, .lemon-feedback h1 { font-size: 2.2rem !important; }
.lemon-question-text h2, .lemon-feedback h2 { font-size: 1.8rem !important; }
.lemon-question-text h3, .lemon-feedback h3 { font-size: 1.5rem !important; }
.lemon-question-text h4, .lemon-feedback h4 { font-size: 1.3rem !important; text-transform: uppercase; letter-spacing: 0.5px; }

.lemon-question-text h1, .lemon-question-text h2, 
.lemon-question-text h3, .lemon-question-text h4,
.lemon-feedback h1, .lemon-feedback h2, 
.lemon-feedback h3, .lemon-feedback h4 {
    font-weight: 400 !important; /* Maintained 400 to avoid heavy look */
    color: var(--lemon-text);
    margin-top: 1.8rem !important; /* Added slightly more top space so they break up text better */
    margin-bottom: 0.8rem !important;
    line-height: 1.2 !important;
    display: block !important;
}

/* 3. Lists */
.lemon-question-text ul, .lemon-question-text ol,
.lemon-feedback ul, .lemon-feedback ol {
    margin-top: 0.5rem !important;
    margin-bottom: 1rem !important;
    padding-left: 1.8rem !important; 
}

.lemon-question-text li, 
.lemon-feedback li {
    margin-bottom: 0.35rem !important;
    padding-left: 0.2rem !important;
}

/* 4. Inline Formatting */
.lemon-question-text strong, .lemon-question-text b,
.lemon-feedback strong, .lemon-feedback b {
    font-weight: 700 !important;
    color: #111; 
}

.lemon-question-text em, .lemon-question-text i,
.lemon-feedback em, .lemon-feedback i {
    font-style: italic !important;
}

.lemon-question-text u, .lemon-feedback u {
    text-decoration: underline;
    text-underline-offset: 3px; 
}

/* 5. Blockquotes */
.lemon-question-text blockquote,
.lemon-feedback blockquote {
    border-left: 4px solid var(--lemon-green);
    background: #E0EFE6; 
    padding: 1rem 1.2rem;
    margin: 1rem 0;
    border-radius: 0 4px 4px 0;
    font-style: italic;
}

/* 6. Strict Option Formatting */
.lemon-opt-label strong {
    font-weight: 700 !important;
    color: var(--lemon-green); 
}

.lemon-option.correct-highlight .lemon-opt-label {
    font-weight: 700 !important; 
}







/* -------------------------------------------------------------------------- */
/* 🍋 LEMONSQEEZY BULLETPROOF WATERMARK OVERLAY (STATIC)                       */
/* -------------------------------------------------------------------------- */

#lemon-watermark-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    z-index: 999999 !important; 
    pointer-events: none !important; 
    display: block !important;
    background-repeat: repeat !important;
    /* Animation removed to keep it professional and non-distracting */
}

/* -------------------------------------------------------------------------- */
/* 🍋 LEMONSQEEZY ANTI-SNIP PROTECTED STATE & MODAL                            */
/* -------------------------------------------------------------------------- */

/* 1. Blur the text and hide the options */
body.lemon-security-blur .lemon-question-text,
body.lemon-security-blur .lemon-feedback {
    filter: blur(12px) !important;
    opacity: 0.1 !important;
    pointer-events: none !important;
    user-select: none !important;
}

body.lemon-security-blur .lemon-options,
body.lemon-security-blur .lemon-option,
body.lemon-security-blur input[type="radio"],
body.lemon-security-blur label {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* 2. The Physical HTML Modal Overlay */
#lemon-security-modal {
    display: none; /* Hidden by default, toggled by JS */
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(224, 239, 230, 0.7); /* Cool Sage tint */
    backdrop-filter: blur(5px); /* Frosted glass effect */
    
    /* Massive z-index to sit above absolutely everything */
    z-index: 9999999 !important; 
    
    /* Flexbox to center the inner box perfectly */
    align-items: center;
    justify-content: center;
    
    /* Re-enable pointer events here so clicking it registers the 'focus' event */
    pointer-events: auto !important; 
}

/* 3. The Warning Box Inside the Modal */
.lemon-modal-box {
    background: #ffffff; /* Card Background */
    border: 2px solid #CDE4D8; /* Heavy Borders Deep Sage */
    padding: 2.5rem 3rem;
    border-radius: 8px;
    text-align: center;
    
    /* Brand Typography */
    font-family: "Segoe UI", "Verdana", sans-serif;
    color: #236c44; /* Primary Brand Green */
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.6;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}
body:not(.logged-in):has(.lemon-hero-track) { margin: 0 !important; padding: 0 !important; overflow-x: hidden !important; }

/* Accessible Focus States */
button:focus,
.lemon-btn:focus,
.lemon-icon-btn:focus,
.lemon-action-btn:focus,
.lemon-calc-btn:focus,
.lemon-nav-dot:focus,
.lemon-review-item:focus {
    outline: none;
}

button:focus-visible,
.lemon-btn:focus-visible,
.lemon-icon-btn:focus-visible,
.lemon-action-btn:focus-visible,
.lemon-calc-btn:focus-visible,
.lemon-nav-dot:focus-visible,
.lemon-review-item:focus-visible {
    outline: 2px solid var(--lemon-green);
    outline-offset: 2px;
}
