/* ═══════════════════════════════════════════════════════════════
   EXPRESS ENTRY INTELLIGENCE PLATFORM — STYLESHEET
   Palette: Deep Navy #0A1628 | Royal Blue #1B3A6B | Action #2563EB
            Ice #E8F0FE | Near-white #F8FAFF | Green #10B981
            Amber #F59E0B | Red #EF4444 | Slate #64748B
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset & Base ─────────────────────────────────────────────── */
.eeip-wrap *, .eeip-wrap *::before, .eeip-wrap *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.eeip-wrap {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1e293b;
    background: #F8FAFF;
    -webkit-font-smoothing: antialiased;
}
.eeip-wrap a { color: #2563EB; text-decoration: none; }
.eeip-wrap a:hover { text-decoration: underline; }
.eeip-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
@media (min-width: 768px) { .eeip-container { padding: 0 2rem; } }

/* ── Live Pulse Badge ─────────────────────────────────────────── */
.eeip-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #dcfce7;
    color: #166534;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    border: 1px solid #bbf7d0;
}
.eeip-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    animation: eeip-pulse 1.8s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes eeip-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

/* ── Header ───────────────────────────────────────────────────── */
.eeip-header {
    background: #0A1628;
    border-bottom: 3px solid #2563EB;
    position: relative;
    z-index: 100;
}
.eeip-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    flex-wrap: wrap;
}
.eeip-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}
.eeip-logo-icon { font-size: 1.8rem; line-height: 1; }
.eeip-logo-title {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}
.eeip-logo-sub {
    display: block;
    font-size: 0.68rem;
    color: #93c5fd;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.eeip-nav {
    display: none;
    gap: 0.25rem;
    flex-wrap: wrap;
}
.eeip-nav a {
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
}
.eeip-nav a:hover { background: rgba(255,255,255,0.1); color: #fff; }
@media (min-width: 1024px) { .eeip-nav { display: flex; } }
.eeip-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.eeip-nav-toggle {
    display: flex;
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
}
@media (min-width: 1024px) { .eeip-nav-toggle { display: none; } }
.eeip-nav.eeip-nav-open {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 10;
    padding: 0.5rem 0 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.eeip-btn-icon {
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.15s;
}
.eeip-btn-icon:hover { background: rgba(255,255,255,0.1); }

/* ── Admin Panel ──────────────────────────────────────────────── */
.eeip-admin-panel {
    background: #1e293b;
    border-bottom: 1px solid #334155;
    padding: 1.25rem 0;
}
.eeip-admin-inner h3 { color: #f1f5f9; margin-bottom: 1rem; font-size: 0.95rem; }
.eeip-admin-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
@media (min-width: 640px) { .eeip-admin-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .eeip-admin-grid { grid-template-columns: repeat(4, 1fr); } }
.eeip-admin-field label {
    display: block;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}
.eeip-admin-field input,
.eeip-admin-field select {
    width: 100%;
    background: #0f172a;
    border: 1px solid #475569;
    border-radius: 6px;
    color: #e2e8f0;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
}
.eeip-admin-info { color: #94a3b8; font-size: 0.85rem; }
.eeip-admin-actions { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.eeip-admin-status { font-size: 0.85rem; color: #10B981; }

/* ── Buttons ──────────────────────────────────────────────────── */
.eeip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-family: inherit;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    font-size: 0.9rem;
    padding: 0.6rem 1.25rem;
}
.eeip-wrap .eeip-btn-primary,
.eeip-wrap .eeip-btn-primary:visited,
.eeip-wrap a.eeip-btn-primary,
.eeip-wrap button.eeip-btn-primary { background: #2563EB; color: #ffffff !important; }
.eeip-wrap .eeip-btn-primary:hover,
.eeip-wrap a.eeip-btn-primary:hover { background: #1d4ed8; color: #ffffff !important; text-decoration: none; }
.eeip-wrap .eeip-btn-outline,
.eeip-wrap .eeip-btn-outline:visited,
.eeip-wrap a.eeip-btn-outline { background: transparent; color: #ffffff !important; border: 2px solid rgba(255,255,255,0.6); }
.eeip-wrap .eeip-btn-outline:hover,
.eeip-wrap a.eeip-btn-outline:hover { background: rgba(255,255,255,0.1); color: #ffffff !important; text-decoration: none; }
.eeip-btn-lg { font-size: 1rem; padding: 0.8rem 1.75rem; }
.eeip-btn-full { width: 100%; margin-top: 1.25rem; }
.eeip-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Hero ─────────────────────────────────────────────────────── */
.eeip-hero {
    background: linear-gradient(135deg, #0A1628 0%, #1B3A6B 60%, #0A1628 100%);
    padding: 3.5rem 0 3rem;
    position: relative;
    overflow: hidden;
}
.eeip-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232563EB' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.eeip-hero-content { position: relative; max-width: 820px; }
.eeip-hero-eyebrow {
    display: inline-block;
    background: rgba(37,99,235,0.25);
    color: #93c5fd;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(147,197,253,0.3);
    margin-bottom: 1.1rem;
}
.eeip-hero-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}
.eeip-hero-accent { color: #93c5fd; display: block; }
.eeip-hero-sub {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: #94a3b8;
    margin-bottom: 1.75rem;
    max-width: 680px;
    line-height: 1.7;
}
.eeip-hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.eeip-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 640px) { .eeip-hero-stats { grid-template-columns: repeat(4, 1fr); } }
.eeip-hero-stat { display: flex; flex-direction: column; gap: 0.2rem; }
.eeip-hero-stat-num {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: #fff;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}
.eeip-hero-stat-label { font-size: 0.75rem; color: #64748b; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }

/* ── Sections ─────────────────────────────────────────────────── */
.eeip-section { padding: 3.5rem 0; }
.eeip-section-alt { background: #EFF4FF; }
.eeip-section-header { margin-bottom: 2rem; }
.eeip-section-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: #0A1628;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}
.eeip-section-sub { color: #64748b; font-size: 0.95rem; }

/* ── Loading ──────────────────────────────────────────────────── */
.eeip-card-loading {
    padding: 2.5rem;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* ── Latest Draw Card ─────────────────────────────────────────── */
.eeip-draw-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 900px) { .eeip-draw-grid { grid-template-columns: 1.4fr 1fr; } }
.eeip-latest-draw-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 1.75rem;
    box-shadow: 0 4px 24px rgba(10,22,40,0.08);
}
.eeip-draw-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.eeip-draw-number { font-size: 0.8rem; color: #64748b; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.eeip-draw-title { font-size: 1.5rem; font-weight: 800; color: #0A1628; margin: 0.2rem 0; letter-spacing: -0.02em; }
.eeip-draw-date { font-size: 0.875rem; color: #64748b; }
.eeip-category-badge {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.eeip-badge-french   { background: #dbeafe; color: #1d4ed8; }
.eeip-badge-healthcare { background: #dcfce7; color: #166534; }
.eeip-badge-trades   { background: #ffedd5; color: #c2410c; }
.eeip-badge-education { background: #f3e8ff; color: #7e22ce; }
.eeip-badge-cec      { background: #e0f2fe; color: #0369a1; }
.eeip-badge-pnp      { background: #fef9c3; color: #854d0e; }
.eeip-badge-default  { background: #f1f5f9; color: #475569; }

.eeip-draw-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.25rem 0;
    padding: 1.25rem;
    background: #F8FAFF;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}
.eeip-draw-metric-label { font-size: 0.72rem; color: #64748b; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.2rem; }
.eeip-draw-metric-val {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0A1628;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}
.eeip-draw-metric-delta { font-size: 0.78rem; font-weight: 600; margin-top: 0.15rem; }
.eeip-delta-up { color: #ef4444; }
.eeip-delta-down { color: #10b981; }
.eeip-draw-summary {
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.65;
    padding: 1rem;
    background: #f0f7ff;
    border-left: 3px solid #2563EB;
    border-radius: 0 8px 8px 0;
    margin-top: 1rem;
}
.eeip-draw-summary-label { font-size: 0.72rem; font-weight: 700; color: #2563EB; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.4rem; }
.eeip-tiebreak { font-size: 0.8rem; color: #64748b; margin-top: 0.75rem; }

/* ── Quick Stats ──────────────────────────────────────────────── */
.eeip-quick-stats {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    box-shadow: 0 4px 24px rgba(10,22,40,0.08);
}
.eeip-quick-stats h3 { font-size: 0.85rem; font-weight: 700; color: #0A1628; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1.1rem; }
.eeip-stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}
.eeip-stat-row:last-child { border-bottom: none; }
.eeip-stat-row-label { font-size: 0.85rem; color: #475569; font-weight: 500; }
.eeip-stat-row-val { font-size: 1rem; font-weight: 800; color: #0A1628; font-variant-numeric: tabular-nums; }
.eeip-stat-arrow-up { color: #ef4444; font-size: 0.75rem; margin-left: 0.25rem; }
.eeip-stat-arrow-down { color: #10b981; font-size: 0.75rem; margin-left: 0.25rem; }

/* ── Calculator ───────────────────────────────────────────────── */
.eeip-calc-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 1024px) { .eeip-calc-layout { grid-template-columns: 1.2fr 1fr; align-items: start; } }

.eeip-calc-inputs {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 1.75rem;
    box-shadow: 0 4px 24px rgba(10,22,40,0.08);
}
.eeip-calc-group {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}
.eeip-calc-group:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.eeip-calc-group-spouse { background: #fdf4ff; border-radius: 12px; padding: 1.25rem; border: 1px solid #e9d5ff; }
.eeip-calc-group-title { font-size: 0.9rem; font-weight: 700; color: #0A1628; margin-bottom: 1rem; }
.eeip-calc-hint { font-size: 0.8rem; color: #64748b; margin-bottom: 0.75rem; line-height: 1.6; }
.eeip-calc-hint br { display: block; margin-top: 0.2rem; }
.eeip-calc-group .eeip-field + .eeip-field { margin-top: 0.1rem; }

.eeip-field { display: flex; flex-direction: column; gap: 0.35rem; }
.eeip-field label { font-size: 0.8rem; font-weight: 600; color: #374151; }
.eeip-field select,
.eeip-field input[type="text"],
.eeip-field input[type="password"],
.eeip-field input[type="number"] {
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
    font-family: inherit;
    color: #1e293b;
    background: #fff;
    transition: border-color 0.15s;
    width: 100%;
    min-width: 0;
    text-overflow: ellipsis;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.25rem;
}
.eeip-field select:focus,
.eeip-field input:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.eeip-field-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 480px) { .eeip-field-row { grid-template-columns: repeat(2, 1fr); } }
.eeip-field-row-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .eeip-field-row-4 { grid-template-columns: repeat(4, 1fr); } }

.eeip-radio-group { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.eeip-radio-group label { display: flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; color: #374151; cursor: pointer; font-weight: 400; }

.eeip-slider-wrap { display: flex; align-items: center; gap: 0.75rem; }
.eeip-slider-wrap input[type="range"] {
    flex: 1;
    height: 4px;
    border: none;
    border-radius: 2px;
    background: #e2e8f0;
    accent-color: #2563EB;
    cursor: pointer;
    padding: 0;
}
.eeip-slider-val {
    min-width: 2.5rem;
    text-align: center;
    font-weight: 700;
    color: #2563EB;
    font-size: 1rem;
    background: #EFF4FF;
    border-radius: 6px;
    padding: 0.2rem 0.5rem;
}

/* ── Calculator Results ───────────────────────────────────────── */
.eeip-calc-results {
    position: sticky;
    top: 1.5rem;
}
.eeip-results-placeholder {
    background: #fff;
    border-radius: 16px;
    border: 2px dashed #e2e8f0;
    padding: 3rem 2rem;
    text-align: center;
    color: #94a3b8;
}
.eeip-results-icon { font-size: 3rem; margin-bottom: 1rem; }
.eeip-results-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 24px rgba(10,22,40,0.08);
    overflow: hidden;
}
.eeip-results-score-header {
    background: linear-gradient(135deg, #0A1628, #1B3A6B);
    padding: 2rem;
    text-align: center;
    color: #fff;
}
.eeip-results-score-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: #93c5fd; font-weight: 600; margin-bottom: 0.5rem; }
.eeip-results-score-num {
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.eeip-results-score-max { font-size: 1rem; color: #93c5fd; margin-top: 0.25rem; }
.eeip-results-gap {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}
.eeip-gap-above { background: #dcfce7; color: #166534; }
.eeip-gap-below { background: #fee2e2; color: #991b1b; }
.eeip-results-breakdown { padding: 1.5rem; }
.eeip-breakdown-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; margin-bottom: 1rem; }
.eeip-breakdown-row { margin-bottom: 1.1rem; }
.eeip-breakdown-row-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.4rem;
}
.eeip-breakdown-row-name { font-size: 0.85rem; font-weight: 600; color: #1e293b; }
.eeip-breakdown-row-pts { font-size: 0.85rem; font-weight: 700; color: #2563EB; font-variant-numeric: tabular-nums; }
.eeip-breakdown-row-max { font-size: 0.78rem; color: #94a3b8; }

/* Progress Bars */
.eeip-progress-bar-track {
    height: 8px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}
.eeip-progress-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563EB, #60a5fa);
    transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
}
.eeip-progress-bar-fill.eeip-fill-green { background: linear-gradient(90deg, #10b981, #34d399); }
.eeip-progress-bar-fill.eeip-fill-amber { background: linear-gradient(90deg, #f59e0b, #fcd34d); }
.eeip-progress-bar-fill.eeip-fill-red   { background: linear-gradient(90deg, #ef4444, #f87171); }

.eeip-missing-pts { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid #f1f5f9; }
.eeip-missing-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; color: #64748b; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.eeip-missing-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    font-size: 0.83rem;
}
.eeip-missing-item-action { color: #374151; }
.eeip-missing-item-pts { font-weight: 700; color: #c2410c; }

/* ── Simulator ────────────────────────────────────────────────── */
.eeip-simulator-wrap {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 1.75rem;
    box-shadow: 0 4px 24px rgba(10,22,40,0.08);
    max-width: 860px;
}
.eeip-simulator-notice {
    padding: 1rem 1.25rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    color: #1d4ed8;
    font-size: 0.9rem;
}
.eeip-sim-current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}
.eeip-sim-label { font-size: 0.85rem; color: #64748b; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.eeip-sim-score { font-size: 2.5rem; font-weight: 900; color: #0A1628; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.eeip-sim-toggles { display: grid; gap: 0.75rem; margin-bottom: 1.5rem; }
.eeip-sim-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1rem;
    background: #f8faff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    gap: 1rem;
}
.eeip-sim-toggle:hover { border-color: #2563EB; background: #eff6ff; }
.eeip-sim-toggle.active { border-color: #2563EB; background: #eff6ff; }
.eeip-sim-toggle-left { display: flex; align-items: center; gap: 0.75rem; }
.eeip-sim-toggle-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid #cbd5e1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.75rem;
    transition: all 0.15s;
}
.active .eeip-sim-toggle-checkbox { background: #2563EB; border-color: #2563EB; color: #fff; }
.eeip-sim-toggle-text { font-size: 0.875rem; color: #374151; font-weight: 500; }
.eeip-sim-toggle-pts {
    font-size: 0.9rem;
    font-weight: 800;
    color: #10b981;
    background: #dcfce7;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    flex-shrink: 0;
}
.eeip-sim-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    background: linear-gradient(135deg, #0A1628, #1B3A6B);
    border-radius: 12px;
    margin-bottom: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
}
.eeip-sim-projected .eeip-sim-label { color: #93c5fd; }
.eeip-sim-projected-score { color: #fff; }
.eeip-sim-gain {
    font-size: 1.1rem;
    font-weight: 800;
    color: #4ade80;
}
.eeip-progress-bar-wrap { }
.eeip-progress-label { display: block; font-size: 0.78rem; color: #64748b; margin-top: 0.4rem; }

/* ── Occupation Checker ───────────────────────────────────────── */
.eeip-occ-wrap { max-width: 860px; }
.eeip-occ-search {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.eeip-occ-search input {
    flex: 1;
    min-width: 200px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    font-family: inherit;
}
.eeip-occ-search input:focus { outline: none; border-color: #2563EB; box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.eeip-occ-quick { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; align-items: center; }
.eeip-occ-quick-label { font-size: 0.8rem; color: #64748b; font-weight: 600; }
.eeip-tag {
    background: #e2e8f0;
    color: #374151;
    border: none;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    font-family: inherit;
}
.eeip-tag:hover { background: #2563EB; color: #fff; }
.eeip-occ-results { }
.eeip-occ-result-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(10,22,40,0.06);
}
.eeip-occ-result-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1rem; flex-wrap: wrap; gap: 0.5rem; }
.eeip-occ-result-title { font-size: 1.2rem; font-weight: 700; color: #0A1628; }
.eeip-occ-noc { font-size: 0.8rem; color: #64748b; margin-top: 0.2rem; }
.eeip-occ-teer { font-size: 0.78rem; font-weight: 700; padding: 0.25rem 0.65rem; border-radius: 999px; }
.eeip-teer-0, .eeip-teer-1 { background: #dcfce7; color: #166534; }
.eeip-teer-2, .eeip-teer-3 { background: #dbeafe; color: #1d4ed8; }
.eeip-teer-4, .eeip-teer-5 { background: #fee2e2; color: #991b1b; }
.eeip-occ-categories { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin-top: 1rem; }
@media (min-width: 640px) { .eeip-occ-categories { grid-template-columns: repeat(3, 1fr); } }
.eeip-occ-cat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid;
}
.eeip-occ-cat-yes { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.eeip-occ-cat-no { background: #f1f5f9; color: #94a3b8; border-color: #e2e8f0; }

/* ── Charts ───────────────────────────────────────────────────── */
.eeip-chart-filters, .eeip-inv-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.eeip-filter-btn {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    color: #374151;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
}
.eeip-filter-btn:hover { border-color: #2563EB; color: #2563EB; }
.eeip-filter-btn.active { background: #2563EB; border-color: #2563EB; color: #fff; }
.eeip-charts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    min-width: 0;
    overflow: hidden;
}
@media (min-width: 768px) { .eeip-charts-grid { grid-template-columns: repeat(2, 1fr); } }
.eeip-chart-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 1rem;
    box-shadow: 0 2px 12px rgba(10,22,40,0.06);
    min-width: 0;
    overflow: hidden;
}
@media (min-width: 640px) {
    .eeip-chart-card { padding: 1.5rem; }
}
.eeip-chart-card h3 { font-size: 0.875rem; font-weight: 700; color: #374151; margin-bottom: 1rem; }
.eeip-chart-wrap { position: relative; height: 220px; width: 100%; }
.eeip-chart-wrap-sm { height: 200px; }

/* ── Draw History Table ───────────────────────────────────────── */
.eeip-table-controls {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    align-items: center;
}
.eeip-table-controls input,
.eeip-table-controls select {
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.55rem 0.85rem;
    font-size: 0.875rem;
    font-family: inherit;
    background: #fff;
    color: #1e293b;
}
.eeip-table-controls input { flex: 1; min-width: 150px; }
.eeip-table-controls input:focus,
.eeip-table-controls select:focus { outline: none; border-color: #2563EB; }
.eeip-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    -webkit-overflow-scrolling: touch;
    position: relative;
}
.eeip-table-swipe-hint {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
    padding: 0 0.25rem;
}
@media (min-width: 768px) { .eeip-table-swipe-hint { display: none; } }
.eeip-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    font-size: 0.875rem;
    background: #fff;
}
.eeip-table thead { background: #0A1628; }
.eeip-table thead th {
    padding: 0.75rem 0.65rem;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    color: #93c5fd;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
}
@media (min-width: 768px) { .eeip-table thead th { padding: 0.85rem 1rem; font-size: 0.75rem; } }
.eeip-table thead th:hover { color: #fff; }
.eeip-table tbody tr { border-bottom: 1px solid #f1f5f9; transition: background 0.1s; }
.eeip-table tbody tr:hover { background: #f8faff; }
.eeip-table tbody tr:last-child { border-bottom: none; }
.eeip-table td { padding: 0.7rem 0.65rem; color: #374151; white-space: nowrap; }
@media (min-width: 768px) { .eeip-table td { padding: 0.85rem 1rem; } }
.eeip-table td:first-child { font-weight: 700; color: #0A1628; }
.eeip-table-loading { text-align: center; color: #94a3b8; padding: 2rem; }
.eeip-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}
#eeip-table-count { font-size: 0.82rem; color: #64748b; }
.eeip-pagination { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.eeip-page-btn {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #374151;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.83rem;
    font-family: inherit;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}
.eeip-page-btn:hover { border-color: #2563EB; color: #2563EB; }
.eeip-page-btn.active { background: #2563EB; border-color: #2563EB; color: #fff; }

/* ── Stats Grid ───────────────────────────────────────────────── */
.eeip-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 640px) { .eeip-stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .eeip-stats-grid { grid-template-columns: repeat(3, 1fr); } }
.eeip-stat-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(10,22,40,0.06);
}
.eeip-stat-card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.1rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #0A1628;
}
.eeip-stat-4-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.eeip-stat-mini-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; color: #94a3b8; font-weight: 600; margin-bottom: 0.2rem; }
.eeip-stat-mini-val { font-size: 1.5rem; font-weight: 800; color: #0A1628; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.eeip-stat-mini-sub { font-size: 0.72rem; color: #64748b; margin-top: 0.15rem; }
.eeip-stat-bar-wrap { margin-top: 0.75rem; }
.eeip-stat-bar-label { font-size: 0.75rem; color: #64748b; font-weight: 500; margin-bottom: 0.3rem; }

/* ── Predictions ──────────────────────────────────────────────── */
.eeip-prediction-disclaimer {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    padding: 0.9rem 1.1rem;
    font-size: 0.875rem;
    color: #92400e;
    margin-bottom: 1.5rem;
}
.eeip-predictions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 640px) { .eeip-predictions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .eeip-predictions-grid { grid-template-columns: repeat(3, 1fr); } }
.eeip-predict-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(10,22,40,0.06);
}
.eeip-predict-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; flex-wrap: wrap; gap: 0.5rem; }
.eeip-predict-cat { font-size: 0.95rem; font-weight: 700; color: #0A1628; }
.eeip-predict-rows { display: grid; gap: 0.75rem; margin-bottom: 1rem; }
.eeip-predict-row-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: #94a3b8; font-weight: 600; margin-bottom: 0.2rem; }
.eeip-predict-row-range { font-size: 1.1rem; font-weight: 800; color: #0A1628; font-variant-numeric: tabular-nums; }
.eeip-confidence-label { font-size: 0.75rem; color: #64748b; font-weight: 600; margin-bottom: 0.35rem; }

/* ── News Feed ────────────────────────────────────────────────── */
.eeip-news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 640px) { .eeip-news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .eeip-news-grid { grid-template-columns: repeat(3, 1fr); } }
.eeip-news-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 1.25rem;
    box-shadow: 0 2px 12px rgba(10,22,40,0.06);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.eeip-news-meta { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.eeip-news-date { font-size: 0.78rem; color: #94a3b8; }
.eeip-news-title { font-size: 0.95rem; font-weight: 700; color: #0A1628; line-height: 1.35; }
.eeip-news-summary { font-size: 0.83rem; color: #475569; line-height: 1.55; }
.eeip-news-stats { display: flex; gap: 1rem; margin-top: 0.25rem; }
.eeip-news-stat-item { font-size: 0.78rem; color: #64748b; }
.eeip-news-stat-item strong { color: #0A1628; font-weight: 700; }

/* ── Category Hub ─────────────────────────────────────────────── */
.eeip-category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 640px) { .eeip-category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .eeip-category-grid { grid-template-columns: repeat(3, 1fr); } }
.eeip-cat-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(10,22,40,0.06);
    transition: transform 0.15s, box-shadow 0.15s;
    cursor: pointer;
}
.eeip-cat-card:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(10,22,40,0.12); }
.eeip-cat-card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.eeip-cat-card-title { font-size: 1.05rem; font-weight: 800; color: #0A1628; margin-bottom: 0.75rem; }
.eeip-cat-card-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin-bottom: 0.75rem; }
.eeip-cat-stat-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.04em; color: #94a3b8; font-weight: 600; }
.eeip-cat-stat-val { font-size: 1rem; font-weight: 800; color: #0A1628; font-variant-numeric: tabular-nums; }

/* ── Invitation Analytics ─────────────────────────────────────── */
.eeip-inv-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 640px) { .eeip-inv-summary { grid-template-columns: repeat(4, 1fr); } }
.eeip-inv-sum-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 1.1rem;
    text-align: center;
}
.eeip-inv-sum-num { font-size: 1.6rem; font-weight: 800; color: #0A1628; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.eeip-inv-sum-label { font-size: 0.75rem; color: #64748b; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 0.2rem; }

/* ── SEO Links ────────────────────────────────────────────────── */
.eeip-seo-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}
@media (min-width: 640px) { .eeip-seo-links { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .eeip-seo-links { grid-template-columns: repeat(3, 1fr); } }
.eeip-seo-link {
    display: block;
    padding: 0.85rem 1.1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.875rem;
    color: #1d4ed8;
    font-weight: 500;
    transition: all 0.15s;
    text-decoration: none;
}
.eeip-seo-link:hover { background: #eff6ff; border-color: #2563EB; text-decoration: none; }

/* ── Explainer / FAQ ──────────────────────────────────────────── */
.eeip-explainer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}
@media (min-width: 1024px) { .eeip-explainer-grid { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.eeip-explainer-intro { color: #64748b; font-size: 0.95rem; margin-bottom: 1.25rem; line-height: 1.65; }
.eeip-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    margin-bottom: 0.6rem;
    overflow: hidden;
}
.eeip-faq-item summary {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0A1628;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}
.eeip-faq-item summary::-webkit-details-marker { display: none; }
.eeip-faq-item summary::after { content: '+'; font-size: 1.1rem; color: #2563EB; font-weight: 700; flex-shrink: 0; }
.eeip-faq-item[open] summary::after { content: '−'; }
.eeip-faq-item p { padding: 0 1.25rem 1rem; font-size: 0.875rem; color: #475569; line-height: 1.65; }

.eeip-ai-explainer-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 1.75rem;
    box-shadow: 0 4px 24px rgba(10,22,40,0.08);
}
.eeip-ai-badge {
    display: inline-block;
    background: #eff6ff;
    color: #2563EB;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    border: 1px solid #bfdbfe;
    margin-bottom: 0.75rem;
}
.eeip-ai-explainer-card h3 { font-size: 1.05rem; font-weight: 700; color: #0A1628; margin-bottom: 0.5rem; }
.eeip-ai-explainer-card > p { font-size: 0.875rem; color: #64748b; margin-bottom: 1rem; }
.eeip-ai-output {
    min-height: 100px;
    padding: 1rem;
    background: #f8faff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 0.75rem;
}
.eeip-ai-placeholder { font-size: 0.875rem; color: #94a3b8; line-height: 1.6; }
.eeip-ai-result { font-size: 0.875rem; color: #374151; line-height: 1.65; }
.eeip-ai-improvement-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.85rem;
}
.eeip-ai-improvement-item:last-child { border-bottom: none; }
.eeip-ai-improvement-pts { font-weight: 700; color: #10b981; }
.eeip-ai-disclaimer { font-size: 0.75rem; color: #94a3b8; line-height: 1.5; font-style: italic; }

/* ── Section Nav (replaces footer) ───────────────────────────── */
.eeip-section-nav {
    background: #0f172a;
    border-top: 1px solid #1e293b;
    padding: 1.75rem 0 1.25rem;
}
.eeip-section-nav-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1rem;
    margin-bottom: 1.25rem;
}
@media (min-width: 640px) { .eeip-section-nav-inner { grid-template-columns: repeat(4, 1fr); } }
.eeip-section-nav-group { display: flex; flex-direction: column; gap: 0.4rem; }
.eeip-section-nav-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #475569;
    margin-bottom: 0.2rem;
}
.eeip-section-nav-group a {
    font-size: 0.8rem;
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s;
    line-height: 1.5;
}
.eeip-section-nav-group a:hover { color: #93c5fd; text-decoration: none; }
.eeip-section-nav-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #1e293b;
    font-size: 0.72rem;
    color: #334155;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ── Utilities ────────────────────────────────────────────────── */
.eeip-text-center { text-align: center; }
.eeip-mt-1 { margin-top: 1rem; }
.eeip-error { color: #ef4444; font-size: 0.85rem; padding: 0.75rem 1rem; background: #fee2e2; border-radius: 8px; border: 1px solid #fecaca; }

/* ── Responsive tweaks ────────────────────────────────────────── */
@media (max-width: 479px) {
    .eeip-draw-metrics { grid-template-columns: repeat(2, 1fr); }
    .eeip-draw-metric-val { font-size: 1.25rem; }
    .eeip-results-score-num { font-size: 3.5rem; }
    .eeip-hero-btns { flex-direction: column; }
    .eeip-hero-btns .eeip-btn { width: 100%; }
    .eeip-occ-search { flex-direction: column; }
    .eeip-occ-search .eeip-btn { width: 100%; }
    .eeip-sim-result { flex-direction: column; }
    .eeip-table-controls { flex-direction: column; }
    .eeip-table-controls input,
    .eeip-table-controls select { width: 100%; }
}

/* ── Immigration News Ticker ──────────────────────────────────── */
.eeip-news-ticker {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(10,22,40,0.06);
}
.eeip-ticker-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    transition: background 0.15s;
}
.eeip-ticker-item:last-child { border-bottom: none; }
.eeip-ticker-item:hover { background: #f8faff; text-decoration: none; }
.eeip-ticker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2563EB;
    flex-shrink: 0;
    margin-top: 0.45rem;
}
.eeip-ticker-content { flex: 1; min-width: 0; }
.eeip-ticker-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0A1628;
    line-height: 1.4;
    display: block;
    margin-bottom: 0.2rem;
}
.eeip-ticker-meta {
    font-size: 0.75rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.eeip-ticker-arrow {
    font-size: 0.85rem;
    color: #94a3b8;
    flex-shrink: 0;
    align-self: center;
}
.eeip-ticker-item:hover .eeip-ticker-arrow { color: #2563EB; }
.eeip-ticker-no-news {
    padding: 2rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.875rem;
}

/* ── Bookmark Button ──────────────────────────────────────────── */
.eeip-bookmark-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #0A1628;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
    flex-shrink: 0;
}
.eeip-bookmark-btn:hover { background: #1B3A6B; }
.eeip-bookmark-btn.eeip-bookmarked { background: #10b981; }

/* ── Bookmark toast ───────────────────────────────────────────── */
.eeip-bookmark-toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: #0A1628;
    color: #fff;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 99998;
    box-shadow: 0 8px 32px rgba(10,22,40,0.25);
    animation: eeip-toast-in 0.2s ease;
    max-width: 90vw;
    text-align: center;
}
@keyframes eeip-toast-in { from { opacity:0; transform: translateX(-50%) translateY(10px); } to { opacity:1; transform: translateX(-50%) translateY(0); } }

.eeip-convert-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #eff6ff;
    color: #2563EB;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 0.3rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
    margin-top: 0.25rem;
}
.eeip-convert-btn:hover { background: #dbeafe; border-color: #2563EB; }

/* ── Converter Modal ──────────────────────────────────────────── */
.eeip-conv-test-btns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}
@media (min-width: 480px) { .eeip-conv-test-btns { grid-template-columns: repeat(4, 1fr); } }
.eeip-conv-test-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.85rem 0.5rem;
    background: #f8faff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
    text-align: center;
}
.eeip-conv-test-btn:hover { border-color: #2563EB; background: #eff6ff; color: #2563EB; }
.eeip-conv-test-btn.active { border-color: #2563EB; background: #eff6ff; color: #2563EB; }
.eeip-conv-test-icon { font-size: 1.4rem; }
.eeip-conv-test-sub { font-size: 0.68rem; color: #94a3b8; font-weight: 400; }
.eeip-conv-selected-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}
.eeip-conv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}
@media (min-width: 480px) { .eeip-conv-grid { grid-template-columns: repeat(4, 1fr); } }
.eeip-conv-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.35rem;
}
.eeip-conv-field input {
    width: 100%;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.6rem 0.75rem;
    font-size: 0.95rem;
    font-family: inherit;
    text-align: center;
    font-weight: 700;
    color: #1e293b;
    transition: border-color 0.15s;
}
.eeip-conv-field input:focus { outline: none; border-color: #2563EB; box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.eeip-conv-field .eeip-conv-hint { font-size: 0.68rem; color: #94a3b8; margin-top: 0.25rem; text-align: center; }
.eeip-conv-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
@media (min-width: 480px) { .eeip-conv-results-grid { grid-template-columns: repeat(4, 1fr); } }
.eeip-conv-result-card {
    background: #f8faff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.85rem 0.75rem;
    text-align: center;
}
.eeip-conv-result-card.eeip-conv-good { border-color: #10b981; background: #f0fdf4; }
.eeip-conv-result-card.eeip-conv-warn { border-color: #f59e0b; background: #fffbeb; }
.eeip-conv-result-card.eeip-conv-low  { border-color: #ef4444; background: #fef2f2; }
.eeip-conv-result-skill { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; margin-bottom: 0.25rem; }
.eeip-conv-result-raw  { font-size: 0.78rem; color: #94a3b8; margin-bottom: 0.2rem; }
.eeip-conv-result-clb  { font-size: 1.6rem; font-weight: 900; color: #0A1628; line-height: 1; }
.eeip-conv-result-label { font-size: 0.7rem; color: #64748b; margin-top: 0.2rem; }
.eeip-conv-ref-table { width: 100%; border-collapse: collapse; font-size: 0.78rem; border-radius: 8px; overflow: hidden; border: 1px solid #e2e8f0; }
.eeip-conv-ref-table th { background: #0A1628; color: #93c5fd; padding: 0.5rem 0.6rem; text-align: center; font-size: 0.72rem; }
.eeip-conv-ref-table td { padding: 0.4rem 0.6rem; border-bottom: 1px solid #f1f5f9; text-align: center; color: #374151; }
.eeip-conv-ref-table tr:last-child td { border-bottom: none; }
.eeip-conv-ref-table tr:nth-child(even) td { background: #f8faff; }
.eeip-conv-ref-highlight { background: #dbeafe !important; font-weight: 700; }

.eeip-info-link {
    display: inline;
    font-size: 0.72rem;
    color: #dc2626;
    font-weight: 500;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    text-decoration: none !important;
    border-bottom: none;
    margin-left: 0.35rem;
    vertical-align: baseline;
    line-height: 1;
    white-space: nowrap;
    opacity: 0.85;
}
.eeip-info-link:hover { color: #b91c1c; opacity: 1; text-decoration: none !important; }

/* ── Stat period note ─────────────────────────────────────────── */
.eeip-stat-period-note {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-bottom: 0.85rem;
    margin-top: -0.25rem;
}

/* ── Info Popup Modal ─────────────────────────────────────────── */
.eeip-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,22,40,0.65);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(2px);
    animation: eeip-fade-in 0.15s ease;
}
@keyframes eeip-fade-in { from { opacity: 0; } to { opacity: 1; } }
.eeip-modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(10,22,40,0.25);
    animation: eeip-slide-up 0.2s ease;
    position: relative;
}
@keyframes eeip-slide-up { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.eeip-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
    border-radius: 16px 16px 0 0;
}
.eeip-modal-title { font-size: 1.1rem; font-weight: 800; color: #0A1628; }
.eeip-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8faff;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    flex-shrink: 0;
    transition: all 0.15s;
}
.eeip-modal-close:hover { background: #fee2e2; border-color: #fecaca; color: #ef4444; }
.eeip-modal-body { padding: 1.25rem 1.5rem 1.5rem; }
.eeip-modal-body h4 { font-size: 0.9rem; font-weight: 700; color: #0A1628; margin: 1.1rem 0 0.4rem; }
.eeip-modal-body h4:first-child { margin-top: 0; }
.eeip-modal-body p { font-size: 0.875rem; color: #475569; line-height: 1.7; margin-bottom: 0.75rem; }
.eeip-modal-body ul { padding-left: 1.25rem; margin-bottom: 0.75rem; }
.eeip-modal-body ul li { font-size: 0.875rem; color: #475569; line-height: 1.7; margin-bottom: 0.3rem; }
.eeip-modal-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; margin: 0.75rem 0; border-radius: 8px; overflow: hidden; border: 1px solid #e2e8f0; }
.eeip-modal-table th { background: #0A1628; color: #93c5fd; padding: 0.6rem 0.75rem; text-align: left; font-weight: 600; font-size: 0.75rem; white-space: nowrap; }
.eeip-modal-table td { padding: 0.55rem 0.75rem; border-bottom: 1px solid #f1f5f9; color: #374151; white-space: nowrap; }
.eeip-modal-table tr:last-child td { border-bottom: none; }
.eeip-modal-table tr:nth-child(even) td { background: #f8faff; }
.eeip-modal-tip {
    background: #eff6ff;
    border-left: 3px solid #2563EB;
    border-radius: 0 8px 8px 0;
    padding: 0.75rem 1rem;
    font-size: 0.83rem;
    color: #1d4ed8;
    margin: 0.75rem 0;
    line-height: 1.6;
}
.eeip-modal-ext-link { color: #2563EB; font-size: 0.8rem; font-weight: 500; }

/* ── Disclaimer ───────────────────────────────────────────────── */
.eeip-disclaimer {
    background: #0f172a;
    border-top: 1px solid #1e293b;
    padding: 2rem 0;
    margin: 0;
}
.eeip-disclaimer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
@media (min-width: 768px) { .eeip-disclaimer-inner { padding: 0 2rem; } }
.eeip-disclaimer-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.1rem;
}
.eeip-disclaimer-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}
.eeip-disclaimer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
@media (min-width: 640px) { .eeip-disclaimer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .eeip-disclaimer-grid { grid-template-columns: repeat(4, 1fr); } }
.eeip-disclaimer-item {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}
.eeip-disclaimer-icon {
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
    opacity: 0.7;
}
.eeip-disclaimer-item p {
    font-size: 0.76rem;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
}
.eeip-disclaimer-item p strong { color: #cbd5e1; }
.eeip-disclaimer-item a { color: #60a5fa; font-weight: 500; font-size: 0.76rem; }
.eeip-disclaimer-item a:hover { color: #93c5fd; }
.eeip-disclaimer-bottom {
    margin-top: 1.1rem;
    padding-top: 0.85rem;
    border-top: 1px solid #1e293b;
    font-size: 0.72rem;
    color: #475569;
    text-align: center;
}

/* ── Radio groups — more spacing ─────────────────────────────── */
.eeip-radio-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 0.5rem 0 0.25rem;
}
.eeip-radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #374151;
    cursor: pointer;
    font-weight: 400;
    padding: 0.35rem 0;
}
.eeip-radio-group input[type="radio"] {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    accent-color: #2563EB;
    cursor: pointer;
}

/* ── Breakdown detail line ────────────────────────────────────── */
.eeip-breakdown-detail {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 0.3rem;
    font-variant-numeric: tabular-nums;
}

/* ── SEO Pages ────────────────────────────────────────────────── */
.eeip-seo-page { padding: 2rem 0 4rem; }
.eeip-seo-hero {
    background: linear-gradient(135deg, #0A1628 0%, #1B3A6B 100%);
    padding: 3rem 0 2.5rem;
    margin-bottom: 2.5rem;
}
.eeip-seo-hero-eyebrow {
    display: inline-block;
    background: rgba(37,99,235,0.3);
    color: #93c5fd;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
}
.eeip-seo-hero h1 { font-size: clamp(1.5rem,4vw,2.4rem); font-weight: 800; color: #fff; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.eeip-seo-hero p { font-size: 1rem; color: #94a3b8; max-width: 640px; line-height: 1.7; }
.eeip-seo-meta { display: flex; gap: 1.25rem; margin-top: 1rem; flex-wrap: wrap; }
.eeip-seo-meta-item { font-size: 0.78rem; color: #64748b; display: flex; align-items: center; gap: 0.35rem; }
.eeip-seo-content { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .eeip-seo-content { grid-template-columns: 1fr 300px; align-items: start; } }
.eeip-seo-article h2 { font-size: 1.3rem; font-weight: 800; color: #0A1628; letter-spacing: -0.02em; margin: 2rem 0 0.75rem; padding-top: 2rem; border-top: 1px solid #f1f5f9; }
.eeip-seo-article h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.eeip-seo-article h3 { font-size: 1.05rem; font-weight: 700; color: #1B3A6B; margin: 1.25rem 0 0.5rem; }
.eeip-seo-article p { font-size: 0.9rem; color: #374151; line-height: 1.75; margin-bottom: 0.9rem; }
.eeip-seo-article ul, .eeip-seo-article ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.eeip-seo-article li { font-size: 0.9rem; color: #374151; line-height: 1.7; margin-bottom: 0.35rem; }
.eeip-seo-article strong { color: #0A1628; }
.eeip-seo-article a { color: #2563EB; font-weight: 500; }
.eeip-seo-callout {
    background: #eff6ff;
    border-left: 4px solid #2563EB;
    border-radius: 0 10px 10px 0;
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
}
.eeip-seo-callout p { font-size: 0.875rem; color: #1d4ed8; margin: 0; }
.eeip-seo-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; border-radius: 10px; overflow: hidden; border: 1px solid #e2e8f0; margin: 1rem 0 1.5rem; }
.eeip-seo-table th { background: #0A1628; color: #93c5fd; padding: 0.75rem 1rem; text-align: left; font-size: 0.8rem; font-weight: 700; }
.eeip-seo-table td { padding: 0.7rem 1rem; border-bottom: 1px solid #f1f5f9; color: #374151; }
.eeip-seo-table tr:last-child td { border-bottom: none; }
.eeip-seo-table tr:nth-child(even) td { background: #f8faff; }
.eeip-seo-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.eeip-seo-sidebar-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 1.25rem;
    box-shadow: 0 2px 12px rgba(10,22,40,0.06);
}
.eeip-seo-sidebar-card h4 { font-size: 0.875rem; font-weight: 700; color: #0A1628; margin-bottom: 0.75rem; }
.eeip-seo-sidebar-card ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.eeip-seo-sidebar-card li a { font-size: 0.83rem; color: #2563EB; font-weight: 500; }
.eeip-seo-sidebar-card li a:hover { color: #1d4ed8; }
.eeip-seo-updated {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #dcfce7;
    color: #166534;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}
.eeip-seo-draw-highlight {
    background: linear-gradient(135deg, #0A1628, #1B3A6B);
    border-radius: 14px;
    padding: 1.5rem;
    color: #fff;
    margin: 1.25rem 0;
}
.eeip-seo-draw-highlight h3 { color: #93c5fd; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.75rem; font-weight: 700; }
.eeip-seo-draw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.eeip-seo-draw-stat-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.04em; color: #64748b; }
.eeip-seo-draw-stat-val { font-size: 1.4rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
