:root.tools-safety {
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --accent: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --accent-hover: #059669;
    --gradient-main: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-2: linear-gradient(135deg, #34d399 0%, #6ee7b7 100%);
    --text-primary: #1a2e1a;
    --text-secondary: #6b7280;
    --text-dark: #1f2937;
    --bg-light: #f9fafb;
    --border-light: #e5e7eb;
    --primary-bg-1: rgba(16, 185, 129, 0.03);
    --primary-bg-2: rgba(5, 150, 105, 0.03);
    --hero-filter: drop-shadow(0 4px 20px rgba(16, 185, 129, 0.2));
    --focus-shadow: 0 25px 50px rgba(16, 185, 129, 0.12), inset 0 0 0 2px rgba(16, 185, 129, 0.08);
}

.results-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 20px 40px;
}

.loading {
    text-align: center;
    padding: 60px 20px;
    font-size: var(--font-size-lg, 1.1rem);
    color: var(--text-secondary);
}

.safety-result {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light);
}

.safety-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.safety-domain {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    word-break: break-all;
}

.safety-sections {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.safety-section {
    padding: 16px 20px;
    border-radius: 10px;
    border: 1px solid;
}

.safety-section.safe {
    background: rgba(16, 185, 129, 0.04);
    border-color: rgba(16, 185, 129, 0.2);
}

.safety-section.danger {
    background: rgba(239, 68, 68, 0.04);
    border-color: rgba(239, 68, 68, 0.2);
}

.safety-section.indexed {
    background: rgba(59, 130, 246, 0.04);
    border-color: rgba(59, 130, 246, 0.2);
}

.safety-section.not-indexed {
    background: rgba(245, 158, 11, 0.04);
    border-color: rgba(245, 158, 11, 0.2);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.section-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

.safety-section.safe .section-icon {
    background: var(--primary);
}

.safety-section.danger .section-icon {
    background: #ef4444;
}

.safety-section.indexed .section-icon {
    background: #3b82f6;
}

.safety-section.not-indexed .section-icon {
    background: #f59e0b;
}

.section-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-status {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.safety-section.safe .section-status {
    color: var(--primary-dark);
}

.safety-section.danger .section-status {
    color: #dc2626;
}

.safety-section.indexed .section-status {
    color: #2563eb;
}

.safety-section.not-indexed .section-status {
    color: #d97706;
}

.threat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0;
}

.threat-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.index-count {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.section-meta {
    font-size: 0.7rem;
    color: #9ca3af;
}

.safety-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.tool-link {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.tool-link:hover {
    border-color: var(--primary);
    background: var(--gradient-main);
    color: #fff;
}

@media (max-width: 768px) {
    .results-container {
        padding: 0 12px 30px;
    }

    .safety-result {
        padding: 16px;
        border-radius: 12px;
    }

    .safety-domain {
        font-size: 1.2rem;
    }

    .safety-section {
        padding: 14px 16px;
    }

    .section-status {
        font-size: 0.95rem;
    }

    .safety-tools {
        flex-direction: column;
    }

    .tool-link {
        text-align: center;
    }
}