:root {
    --dash-bg: #fff7f7;
    --dash-sidebar: #ffffff;
    --dash-card: #ffffff;
    --dash-primary: #dc2626;
    --dash-primary-hover: #b91c1c;
    --dash-primary-light: #fef2f2;
    --dash-text: #1e293b;
    --dash-text-muted: #64748b;
    --dash-border: #f1d5d5;
    --dash-yellow-bg: #fef9c3;
    --dash-yellow-border: #fde047;
    --dash-yellow-text: #854d0e;
    --dash-cta-bg: linear-gradient(135deg, #7f1d1d 0%, #dc2626 100%);
    --dash-sidebar-width: 240px;
    --dash-radius: 12px;
    --dash-radius-sm: 8px;
    --dash-shadow: 0 1px 3px rgba(127, 29, 29, 0.06), 0 1px 2px rgba(127, 29, 29, 0.04);
    --dash-shadow-md: 0 4px 12px rgba(127, 29, 29, 0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.dash-body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--dash-bg);
    color: var(--dash-text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ── Layout ── */
.dash-layout {
    display: flex;
    min-height: 100vh;
}

/* ── Sidebar ── */
.dash-sidebar {
    width: var(--dash-sidebar-width);
    background: linear-gradient(180deg,#f7fbff 0%, #ffffff 100%);
    border-right: 1px solid rgba(226,232,240,0.9);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 50;
    overflow-y: auto;
}

.dash-sidebar-logo {
    padding: 20px 20px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--dash-border);
}

.dash-sidebar-logo .logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
}

.dash-sidebar-logo span {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--dash-text);
}

.dash-nav {
    padding: 12px 12px;
    flex: 1;
}

.dash-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
    transition: all 0.15s;
    cursor: pointer;
    position: relative;
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
}

.dash-logout-form {
    margin: 0;
    display: block;
}

.dash-nav-logout {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
    background: transparent;
    border: none;
    box-shadow: none;
    text-align: left;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
}

.dash-nav-logout:hover {
    background: rgba(47, 124, 246, 0.06);
    color: var(--dash-primary);
}

.dash-nav-logout .nav-icon {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.04);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.dash-nav-item:hover {
    background: rgba(47,124,246,0.06);
    color: var(--dash-primary);
}
.dash-nav-item.active {
    background: linear-gradient(90deg,#ef4444,#dc2626);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 18px 36px rgba(220,38,38,0.18), 0 6px 18px rgba(239,68,68,0.08);
    border-left: 0;
    padding-left: 18px;
    padding-right: 22px;
    border-radius: 999px;
}

.dash-nav-item .nav-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15,23,42,0.06);
    color: #dc2626;
    font-size: 1.05rem;
    flex-shrink: 0;
    border: 1px solid rgba(15,23,42,0.04);
}

/* Icon style for items inside sub lists */
.dash-nav-sub .dash-nav-item .nav-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: #dc2626;
    border: 1px solid rgba(15,23,42,0.04);
}

.dash-nav-item.active .nav-icon {
    background: #fff;
    color: #7f1d1d;
    box-shadow: 0 6px 18px rgba(220,38,38,0.16);
}

/* subtle glowing halo behind active item */
.dash-nav-item.active::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255,255,255,0.0), rgba(255,255,255,0.0));
    box-shadow: 0 10px 30px rgba(220,38,38,0.12);
    z-index: 0;
}

.dash-nav-item.active .nav-icon { z-index: 1; }

.dash-nav-badge {
    margin-left: auto;
    background: #fef08a;
    color: #854d0e;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
}

.dash-nav-group-title {
    display: block;
    padding: 6px 12px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 8px;
}

.dash-nav-group-title:hover { background: #f8fafc; }

.dash-nav-group-title .nav-chevron {
    font-size: 0.65rem;
    color: var(--dash-text-muted);
    transition: transform 0.2s;
}

.dash-nav-group.open .dash-nav-group-title .nav-chevron {
    transform: rotate(180deg);
}

.dash-nav-sub {
    padding: 4px 0 8px 0;
    margin-bottom: 4px;
    display: none;
}

.dash-nav-group.open .dash-nav-sub {
    display: block;
}

.dash-nav-sub .dash-nav-item {
    font-size: 0.95rem;
    padding: 8px 10px 8px 12px;
    gap: 12px;
}

.dash-nav-sub .dash-nav-item .nav-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f8fafc;
    color: #dc2626;
    font-size: 1rem;
}

/* compact icon bubble */
.dash-nav-item .nav-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(15,23,42,0.04);
    color: #dc2626;
    font-size: 1rem;
}

/* smaller left padding for nav */
.dash-nav-item span + span { margin-left: 6px; }

.dash-sidebar-promo {
    margin: 12px;
    background: linear-gradient(135deg, #7f1d1d 0%, #dc2626 100%);
    border-radius: var(--dash-radius);
    padding: 16px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.dash-sidebar-promo::after {
    content: '🎁';
    position: absolute;
    right: 10px; top: 10px;
    font-size: 1.5rem;
    opacity: 0.3;
}

.dash-sidebar-promo strong {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.dash-sidebar-promo span {
    font-size: 0.75rem;
    opacity: 0.85;
}

.dash-sidebar-promo a {
    display: inline-block;
    margin-top: 10px;
    background: rgba(255,255,255,0.2);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.dash-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px;
    border-top: 1px solid var(--dash-border);
}

.dash-theme-btn {
    width: 32px; height: 32px;
    border: 1px solid var(--dash-border);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--dash-text-muted);
}

.dash-theme-btn.active {
    background: var(--dash-primary-light);
    border-color: var(--dash-primary);
    color: var(--dash-primary);
}

/* ── Main ── */
.dash-main {
    flex: 1;
    margin-left: var(--dash-sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Top Header ── */
.dash-topbar {
    background: var(--dash-card);
    border-bottom: 1px solid var(--dash-border);
    padding: 14px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 40;
}

.dash-topbar-left h1 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dash-text);
}

.dash-topbar-left p {
    font-size: 0.8rem;
    color: var(--dash-text-muted);
}

.dash-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dash-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--dash-border);
    border-radius: var(--dash-radius-sm);
    font-size: 0.825rem;
    color: var(--dash-text-muted);
    background: #fff;
    cursor: pointer;
}

.dash-bell {
    width: 38px; height: 38px;
    border: 1px solid var(--dash-border);
    border-radius: var(--dash-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    cursor: pointer;
    position: relative;
    font-size: 1rem;
}

.dash-bell .dot {
    position: absolute;
    top: 8px; right: 8px;
    width: 8px; height: 8px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid #fff;
}

.dash-btn-login {
    background: var(--dash-primary);
    color: #fff;
    padding: 8px 20px;
    border-radius: var(--dash-radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
}

.dash-btn-login:hover { background: var(--dash-primary-hover); }

/* ── Content ── */
.dash-content {
    padding: 24px 28px 100px;
    flex: 1;
}

/* Notice Banner */
.dash-notice {
    background: var(--dash-yellow-bg);
    border: 1px solid var(--dash-yellow-border);
    border-radius: var(--dash-radius);
    padding: 14px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.dash-notice-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.dash-notice strong {
    display: block;
    font-size: 0.875rem;
    color: var(--dash-yellow-text);
    margin-bottom: 2px;
}

.dash-notice p {
    font-size: 0.825rem;
    color: #a16207;
    line-height: 1.5;
}

/* Welcome */
.dash-welcome {
    margin-bottom: 24px;
}

.dash-welcome h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dash-text);
    margin-bottom: 4px;
}

.dash-welcome p {
    font-size: 0.9rem;
    color: var(--dash-text-muted);
}

/* Ecosystem Cards */
.dash-eco-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.dash-eco-card {
    background: var(--dash-card);
    border: 1px solid var(--dash-border);
    border-radius: var(--dash-radius);
    padding: 16px;
    box-shadow: var(--dash-shadow);
    transition: box-shadow 0.2s;
}

.dash-eco-card:hover { box-shadow: var(--dash-shadow-md); }

.dash-eco-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.dash-eco-icon.seo { background: #dbeafe; }
.dash-eco-icon.maps { background: #dcfce7; }
.dash-eco-icon.fb { background: #dbeafe; }
.dash-eco-icon.tt { background: #fce7f3; }
.dash-eco-icon.ext { background: #ede9fe; }

.dash-eco-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.dash-eco-card p {
    font-size: 0.75rem;
    color: var(--dash-text-muted);
    line-height: 1.4;
    margin-bottom: 8px;
}

.dash-eco-count {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--dash-primary);
    background: var(--dash-primary-light);
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Search & Filters */
.dash-search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.dash-search-input {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.dash-search-input input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border: 1px solid var(--dash-border);
    border-radius: var(--dash-radius-sm);
    font-size: 0.875rem;
    font-family: inherit;
    background: #fff;
    outline: none;
    transition: border-color 0.15s;
}

.dash-search-input input:focus { border-color: var(--dash-primary); }

.dash-search-input .search-icon {
    position: absolute;
    left: 12px; top: 50%;
    transform: translateY(-50%);
    color: var(--dash-text-muted);
    font-size: 0.9rem;
}

.dash-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.dash-filter-btn {
    padding: 8px 16px;
    border: 1px solid var(--dash-border);
    border-radius: 50px;
    background: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--dash-text-muted);
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}

.dash-filter-btn:hover {
    border-color: var(--dash-primary);
    color: var(--dash-primary);
}

.dash-filter-btn.active {
    background: var(--dash-primary);
    border-color: var(--dash-primary);
    color: #fff;
}

/* Tool Sections */
.dash-section {
    margin-bottom: 32px;
}

.dash-section-header {
    margin-bottom: 16px;
}

.dash-section-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dash-text);
    margin-bottom: 2px;
}

.dash-section-header p {
    font-size: 0.8rem;
    color: var(--dash-text-muted);
}

.dash-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.dash-tool-card {
    background: var(--dash-card);
    border: 1px solid var(--dash-border);
    border-radius: var(--dash-radius);
    padding: 18px;
    box-shadow: var(--dash-shadow);
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    position: relative;
}

.dash-tool-card:hover {
    box-shadow: var(--dash-shadow-md);
    border-color: #bfdbfe;
    transform: translateY(-2px);
}

.dash-tool-badge {
    position: absolute;
    top: 12px; right: 12px;
    background: var(--dash-primary-light);
    color: var(--dash-primary);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.dash-tool-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.dash-tool-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--dash-text);
}

.dash-tool-card p {
    font-size: 0.78rem;
    color: var(--dash-text-muted);
    line-height: 1.55;
    flex: 1;
    margin-bottom: 14px;
}

.dash-tool-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dash-primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dash-tool-link:hover { color: var(--dash-primary-hover); }

/* Icon colors */
.ic-blue { background: #dbeafe; }
.ic-indigo { background: #e0e7ff; }
.ic-purple { background: #ede9fe; }
.ic-green { background: #dcfce7; }
.ic-teal { background: #ccfbf1; }
.ic-orange { background: #ffedd5; }
.ic-pink { background: #fce7f3; }
.ic-red { background: #fee2e2; }
.ic-yellow { background: #fef9c3; }
.ic-cyan { background: #cffafe; }

/* Bottom Info Cards */
.dash-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 28px;
}

.dash-info-card {
    background: var(--dash-card);
    border: 1px solid var(--dash-border);
    border-radius: var(--dash-radius);
    padding: 22px;
    box-shadow: var(--dash-shadow);
}

.dash-info-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dash-text);
}

.dash-tip-list, .dash-quick-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dash-tip-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.825rem;
    color: var(--dash-text-muted);
    line-height: 1.5;
}

.dash-tip-list li .tip-icon {
    width: 28px; height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    background: var(--dash-primary-light);
}

.dash-quick-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border: 1px solid var(--dash-border);
    border-radius: var(--dash-radius-sm);
    font-size: 0.825rem;
    font-weight: 500;
    color: var(--dash-text);
    transition: all 0.15s;
}

.dash-quick-list li a:hover {
    border-color: var(--dash-primary);
    background: var(--dash-primary-light);
    color: var(--dash-primary);
}

.dash-quick-list li a .arrow {
    color: var(--dash-text-muted);
    font-size: 0.75rem;
}

/* CTA Banner */
.dash-cta-banner {
    background: var(--dash-cta-bg);
    border-radius: var(--dash-radius);
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #fff;
}

.dash-cta-banner p {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.92;
}

.dash-cta-banner strong { font-weight: 700; }

.dash-btn-signup {
    background: #fff;
    color: var(--dash-primary);
    padding: 10px 24px;
    border-radius: var(--dash-radius-sm);
    font-size: 0.875rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
    flex-shrink: 0;
}

.dash-btn-signup:hover { background: #eff6ff; }

/* Chat Widget */
.dash-chat-widget {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 52px; height: 52px;
    background: var(--dash-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
    cursor: pointer;
    z-index: 100;
    transition: transform 0.2s;
}

.dash-chat-widget:hover { transform: scale(1.08); }

/* Hidden by filter */
.dash-tool-card.hidden { display: none; }
.dash-section.hidden { display: none; }

/* ── Check Index Tool Page ── */
.check-index-page {
    max-width: 1180px;
    width: 100%;
    padding: 8px 0 30px;
    color: var(--dash-text);
}

.check-index-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(216, 230, 246, 0.7);
    border: 1px solid #d5dfec;
    border-radius: 18px;
    padding: 18px 20px;
    margin-bottom: 18px;
}

.check-index-callout-copy {
    flex: 1;
}

.check-index-kicker {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #465d7a;
    margin-bottom: 6px;
}

.check-index-callout h2 {
    margin: 0 0 8px;
    font-size: clamp(1.9rem, 2vw, 2.5rem);
    line-height: 1.1;
    font-weight: 800;
    color: #1f2937;
}

.check-index-callout p {
    margin: 0;
    color: #4b5563;
    font-size: 0.96rem;
    line-height: 1.5;
    max-width: 760px;
}

.check-index-install-btn {
    background: linear-gradient(135deg, #1d9bf0, #2678ff);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 18px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
}

.check-index-panel {
    background: rgba(255,255,255,0.22);
    border: 1px solid #dfe7f1;
    border-radius: 16px;
    padding: 18px 18px 20px;
}

.check-index-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0 0 14px;
}

.check-index-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1f2937;
}

#checkIndexUrls {
    width: 100%;
    min-height: 120px;
    border: 1px solid #c9d3df;
    border-radius: 12px;
    background: rgba(255,255,255,0.6);
    padding: 14px 16px;
    font: inherit;
    font-size: 1rem;
    color: #111827;
    resize: vertical;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}

#checkIndexUrls:focus {
    outline: none;
    border-color: #2f7cf6;
    box-shadow: 0 0 0 3px rgba(47, 124, 246, 0.08);
}

.check-index-options {
    margin: 10px 0 16px;
}

.check-index-option-row {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1rem;
    color: #1f2937;
    font-weight: 600;
}

.check-index-option-row label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.check-index-option-row input[type="radio"] {
    accent-color: #1d9bf0;
    width: 16px;
    height: 16px;
}

.check-index-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin: 18px 0 10px;
}

.check-index-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 9px;
    border: 1px solid #c9d3df;
    background: #fff;
    color: #1f2937;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

.check-index-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(15, 23, 42, 0.08);
}

.check-index-btn.primary {
    background: linear-gradient(135deg, #1d9bf0, #2678ff);
    border-color: #2d7de3;
    color: #fff;
}

.check-index-btn.primary:hover {
    filter: brightness(1.02);
}

.check-index-btn.secondary {
    background: #fff;
    border-color: #f2b7bb;
    color: #d75b67;
}

.check-index-btn.output-btn {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: var(--dash-primary);
}

.check-index-results {
    margin-top: 18px;
}

.check-index-results h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--dash-text);
}

.check-index-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--dash-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--dash-shadow);
}

.check-index-results table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.check-index-results th,
.check-index-results td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--dash-border);
    text-align: left;
    font-size: 0.88rem;
    vertical-align: top;
}

.check-index-results th {
    font-weight: 700;
    background: #f8fafc;
    color: var(--dash-text);
}

.check-index-results tbody tr:last-child td {
    border-bottom: none;
}

.check-index-empty-state {
    margin-top: 14px;
    padding: 18px 0;
    color: var(--dash-text-muted);
}

.empty-icon {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.check-index-empty-state h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dash-text);
    margin-bottom: 6px;
}

.check-index-empty-state p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.status-loading {
    color: #64748b;
    font-weight: 600;
}

.status-yes {
    color: #15803d;
    font-weight: 700;
}

.status-no {
    color: #b91c1c;
    font-weight: 700;
}

.status-error {
    color: #a16207;
    font-weight: 700;
}

.check-index-output-row {
    margin-top: 18px;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
    .dash-eco-grid { grid-template-columns: repeat(3, 1fr); }
    .dash-tools-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .dash-sidebar { display: none; }
    .dash-main { margin-left: 0; }
    .dash-eco-grid { grid-template-columns: repeat(2, 1fr); }
    .dash-tools-grid { grid-template-columns: 1fr; }
    .dash-info-grid { grid-template-columns: 1fr; }
    .dash-cta-banner { flex-direction: column; text-align: center; }
}
