/* ============================================================
   TOOL SINGLE PAGE DARK THEME OVERRIDES
   ============================================================ */
body.single-tool .sc-hero-lab {
    background-color: var(--hp-bg);
}

body.single-tool .sc-editorial-wrap {
    background-color: transparent;
}

body.single-tool .sc-content-main {
    background-color: var(--hp-surface);
    border: 1px solid var(--hp-border);
    border-radius: 8px;
    padding: 2.5rem;
    color: var(--hp-text);
}

body.single-tool .sc-editorial-section h2,
body.single-tool .sc-editorial-section h3,
body.single-tool .sc-editorial-section h4 {
    color: var(--hp-text);
}

body.single-tool .sc-editorial-section p,
body.single-tool .sc-editorial-section li {
    color: var(--hp-text);
}

body.single-tool .sc-editorial-section strong {
    color: var(--hp-text);
}

body.single-tool .sc-editorial-section a {
    color: var(--hp-accent-primary);
    text-decoration-color: rgba(56, 189, 248, 0.35);
}

body.single-tool .sc-editorial-section a:hover {
    text-decoration-color: var(--hp-accent-primary);
}

body.single-tool .sc-editorial-section code {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--hp-accent-primary);
}

body.single-tool .sc-editorial-section blockquote {
    background-color: var(--hp-card);
    border-left-color: var(--hp-accent-primary);
    color: var(--hp-text-muted);
}

/* Lists enhancement on dark */
body.single-tool .sc-list li::before {
    color: var(--hp-accent-secondary);
}
body.single-tool .sc-list-pros li::before {
    color: var(--hp-accent-secondary);
}
body.single-tool .sc-list-cons li::before {
    color: #F87171;
}

/* Responsive tables on dark */
body.single-tool .sc-content-main table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    white-space: normal;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    border: 1px solid var(--hp-border);
    border-radius: var(--sc-radius);
    font-size: 0.875rem;
    margin: 1.75rem 0;
    line-height: 1.45;
}

body.single-tool .sc-content-main thead {
    background-color: var(--hp-card);
}

body.single-tool .sc-content-main th {
    padding: 0.65rem 0.9rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--hp-text-muted);
    border-bottom: 1px solid var(--hp-border);
    white-space: normal;
}

body.single-tool .sc-content-main td {
    padding: 0.65rem 0.9rem;
    border-bottom: 1px solid var(--hp-border);
    vertical-align: top;
    white-space: normal;
    color: var(--hp-text);
}

body.single-tool .sc-content-main tr:last-child td {
    border-bottom: none;
}

body.single-tool .sc-content-main tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.03);
}

/* Sidebar cards dark theme */
body.single-tool .sc-sidebar-card {
    background-color: var(--hp-surface);
    border-color: var(--hp-border);
    color: var(--hp-text);
}

body.single-tool .sc-sidebar-title {
    color: var(--hp-text);
    border-bottom: 1px solid var(--hp-border);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

body.single-tool .sc-rating-label,
body.single-tool .sc-rating-caption,
body.single-tool .sc-sidebar-cta-note {
    color: var(--hp-text-muted);
}

body.single-tool .sc-sidebar-facts li {
    border-bottom-color: var(--hp-border);
    color: var(--hp-text-muted);
}

body.single-tool .sc-sidebar-facts strong {
    color: var(--hp-text);
}

/* Responsive shell */
@media (max-width: 768px) {
    body.single-tool .sc-content-main {
        padding: 1.5rem 1.25rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}
