.eml-full-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    font-family: inherit;
    color: #1f2937;
}

.eml-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.eml-panel {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 32px !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}

.eml-inputs-panel h3 {
    margin: 0 0 8px 0 !important;
    font-size: 28px !important;
    color: #111827 !important;
}

.eml-subtitle {
    color: #6b7280 !important;
    margin-bottom: 24px !important;
    line-height: 1.5 !important;
}

.eml-input-group label {
    display: block !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    font-size: 14px !important;
}

.eml-input-group textarea {
    width: 100% !important;
    padding: 16px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-family: monospace !important;
    line-height: 1.5 !important;
    resize: vertical !important;
    box-sizing: border-box !important;
    background: #f9fafb !important;
}

.eml-input-group textarea:focus {
    outline: none !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
}

.eml-input-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 8px !important;
    font-size: 13px !important;
}

#eml-count-badge {
    color: #6b7280 !important;
    font-weight: 600 !important;
}

.eml-btn-text {
    background: none !important;
    border: none !important;
    color: #ef4444 !important;
    cursor: pointer !important;
    padding: 0 !important;
    font-weight: 600 !important;
}

.eml-btn-text:hover { text-decoration: underline !important; }

button.eml-btn-main {
    width: 100% !important;
    margin-top: 24px !important;
    padding: 16px !important;
    background-color: #111827 !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}

button.eml-btn-main:hover { background-color: #374151 !important; }

/* Results Panel Styling */
.eml-results-panel {
    background: #f9fafb !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
}

.eml-empty-state {
    text-align: center !important;
    padding: 60px 20px !important;
    color: #9ca3af !important;
    font-style: italic !important;
}

.eml-score-header {
    text-align: center !important;
    margin-bottom: 24px !important;
}

.eml-score-header h4 {
    margin: 0 0 16px 0 !important;
    color: #4b5563 !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    letter-spacing: 0.05em !important;
}

.eml-score-circle {
    width: 120px !important;
    height: 120px !important;
    margin: 0 auto !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 40px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    background-color: #10b981 !important; /* Default Green */
    transition: background-color 0.3s !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

.eml-percent {
    font-size: 20px !important;
    margin-left: 2px !important;
}

.eml-score-context {
    margin-top: 16px !important;
    font-weight: 600 !important;
    color: #374151 !important;
}

.eml-stats-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    margin-bottom: 24px !important;
}

.eml-stat-box {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 16px !important;
    text-align: center !important;
}

.eml-stat-label {
    display: block !important;
    font-size: 12px !important;
    color: #6b7280 !important;
    text-transform: uppercase !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
}

.eml-stat-value {
    display: block !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #111827 !important;
}

.eml-stat-box.success .eml-stat-value { color: #10b981 !important; }
.eml-stat-box.warning .eml-stat-value { color: #f59e0b !important; }
.eml-stat-box.danger .eml-stat-value { color: #ef4444 !important; }
.eml-stat-box.info .eml-stat-value { color: #3b82f6 !important; }

.eml-cta-card {
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    border-radius: 8px !important;
    padding: 24px !important;
    text-align: center !important;
}

.eml-cta-card h4 {
    margin: 0 0 12px 0 !important;
    color: #1e3a8a !important;
}

.eml-cta-card p {
    font-size: 14px !important;
    color: #4b5563 !important;
    margin-bottom: 16px !important;
    line-height: 1.5 !important;
}

a.eml-btn-cta {
    display: block !important;
    padding: 14px !important;
    background-color: #2563eb !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: bold !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    transition: background 0.2s !important;
}

a.eml-btn-cta:hover { background-color: #1d4ed8 !important; }

@media (max-width: 860px) {
    .eml-dashboard { grid-template-columns: 1fr !important; }
}
/* --- BULLETPROOF FAQ SECTION (Overrides Theme Defaults) --- */
.eml-faq-section {
    margin-top: 60px !important;
    padding-top: 40px !important;
    border-top: 1px solid #e5e7eb !important;
}

.eml-faq-section h3 {
    font-size: 28px !important;
    color: #111827 !important;
    margin-bottom: 8px !important;
    text-align: center !important;
}

.eml-faq-intro {
    text-align: center !important;
    color: #6b7280 !important;
    margin: 0 auto 40px auto !important;
    font-size: 16px !important;
    max-width: 600px !important;
}

.eml-faq-accordion {
    max-width: 800px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.eml-faq-item {
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    overflow: hidden !important;
    margin-bottom: 0 !important;
}

/* Forcing overrides on the theme's default button styles */
button.eml-faq-question {
    width: 100% !important;
    text-align: left !important;
    padding: 20px 24px !important;
    background-color: transparent !important;
    border: none !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-shadow: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    line-height: 1.5 !important;
    transition: background-color 0.2s ease !important;
}

button.eml-faq-question:hover {
    background-color: #f9fafb !important;
}

/* Accordion Plus/Minus Icons */
button.eml-faq-question::after {
    content: '+';
    font-size: 24px !important;
    color: #6b7280 !important;
    font-weight: 400 !important;
    transition: transform 0.3s !important;
}

.eml-faq-item.active button.eml-faq-question::after {
    content: '−' !important;
    transform: rotate(180deg) !important;
}

/* Hiding and Showing the Answers - Forced Overrides */
.eml-faq-answer {
    max-height: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    transition: all 0.3s ease-in-out !important;
    background-color: #ffffff !important;
    padding: 0 24px !important;
    margin: 0 !important;
}

.eml-faq-item.active .eml-faq-answer {
    max-height: 1000px !important; 
    opacity: 1 !important;
    padding: 10px 24px 24px 24px !important;
}

.eml-faq-answer p {
    margin: 0 0 16px 0 !important;
    color: #4b5563 !important;
    line-height: 1.6 !important;
    font-size: 15px !important;
}

.eml-faq-answer p:last-child {
    margin-bottom: 0 !important;
}