* { margin: 0; padding: 0; box-sizing: border-box; }

.dashboard {
    padding: 20px;
    margin: -20px -20px 0 -20px;
}

.top-bar {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 16px;
    padding: 20px 30px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.site-info {
    flex: 1;
    min-width: 300px;
}

.site-info h1 {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 5px;
}

.site-info .url {
    color: #94a3b8;
    font-size: 0.875rem;
    word-break: break-all;
}

.quick-stats {
    display: flex;
    gap: 25px;
    align-items: center;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
    display: block;
}

.stat-value.wrapped {
    word-wrap: anywhere;
}
.stat-label {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.score-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1px;
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    margin-bottom: 20px;
}

.score-segment {
    background: linear-gradient(135deg, var(--bg-start), var(--bg-end));
    padding: 25px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.score-segment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
}

.score-segment:hover {
    transform: scale(1.02);
    z-index: 10;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.score-segment.overview {
    --bg-start: #1e293b;
    --bg-end: #334155;
    --accent: #64748b;
}

.score-segment.security {
    --bg-start: #450a0a;
    --bg-end: #7f1d1d;
    --accent: #ef4444;
}

.score-segment.seo {
    --bg-start: #172554;
    --bg-end: #1e40af;
    --accent: #3b82f6;
}

.score-segment.accessibility {
    --bg-start: #3b0764;
    --bg-end: #6b21a8;
    --accent: #a855f7;
}

.score-segment.performance {
    --bg-start: #064e3b;
    --bg-end: #065f46;
    --accent: #10b981;
}

.score-segment.colors {
    --bg-start: #78350f;
    --bg-end: #92400e;
    --accent: #f59e0b;
}

.score-segment.tech {
    --bg-start: #422006;
    --bg-end: #713f12;
    --accent: #fbbf24;
}

.segment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.segment-title {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.segment-icon {
    font-size: 1.1rem;
}

.segment-badge {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(255,255,255,0.15);
    color: var(--accent);
}

.segment-score {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.segment-score .max {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.4);
    font-weight: 400;
}

.segment-metrics {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.7);
}

.metric-value {
    font-weight: 600;
    color: white;
}

.metric-critical { color: #fca5a5 !important; }
.metric-warning { color: #fcd34d !important; }
.metric-success { color: #86efac !important; }
.metric-info { color: #86efd6 !important; }

.screenshot-preview {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.screenshot-mini {
    flex: 1;
    background: #1e293b;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.screenshot-mini img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-label {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 2px;
    background: rgba(0,0,0,0.3);
}

.color-preview {
    display: flex;
    gap: 3px;
    margin-top: 8px;
}

.color-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
}

.content { 
    padding: 40px; 
    background: #1e293b;
    padding-top:0px;
}

.summary-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 1px; 
    margin-bottom: 40px; 
    background: #0f172a;
    border-radius: 12px;
    overflow: hidden;
}

.summary-card { 
    background: linear-gradient(135deg, var(--bg-start, #1e293b), var(--bg-end, #334155)); 
    padding: 25px; 
    transition: transform 0.2s; 
    position: relative;
    cursor: pointer;
}

.summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent, #64748b);
}

.summary-card:hover { 
    transform: scale(1.02); 
    z-index: 10;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.summary-card h3 { 
    font-size: 0.875rem; 
    color: rgba(255,255,255,0.7); 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    margin-bottom: 10px; 
}

.summary-card .value { 
    font-size: 2.5rem; 
    font-weight: bold; 
    color: var(--accent, white); 
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.summary-card .subtext { 
    font-size: 0.875rem; 
    color: rgba(255,255,255,0.6); 
    margin-top: 5px; 
}

.section { 
    margin-bottom: 50px; 
    padding-bottom: 30px; 
    border-bottom: 1px solid #334155; 
}

.section:last-child { 
    border-bottom: none; 
}

h2 { 
    font-size: 1.75rem; 
    color: white; 
    margin-bottom: 25px; 
    padding-bottom: 15px; 
    border-bottom: 3px solid #667eea; 
}

h3 { 
    font-size: 1.4rem; 
    color: #e2e8f0; 
    margin: 30px 0 15px; 
}

h4 { 
    font-size: 1.1rem; 
    color: #cbd5e1; 
    margin: 20px 0 10px; 
}

.badge { 
    display: inline-block; 
    padding: 4px 12px; 
    border-radius: 12px; 
    font-size: 0.75rem; 
    font-weight: 600; 
    color: white; 
    text-transform: uppercase; 
    margin: 2px; 
}

.stats-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 15px; 
    background: #0f172a; 
    padding: 20px; 
    border-radius: 8px; 
    margin: 20px 0; 
}
.stats-grid.g300 { 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))
}
.stats-grid.g400 { 
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr))
}
.stat-item { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 12px; 
    background: #1e293b; 
    border-radius: 6px; 
    border-left: 3px solid #334155;
}

.stat-value { 
    font-weight: 600; 
    color: white; 
}

.issue-list { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
    margin-top: 20px; 
}

.issue-card, .vuln-card1 { 
    background: #1e293b; 
    border-radius: 8px; 
    padding: 20px; 
    border-left: 4px solid #64748b; 
}

.vuln-card {
background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.issue-card.error, .vuln-card.CRITICAL { 
    border-left-color: #dc2626; 
    background: #450a0a; 
}

.issue-card.warning, .vuln-card.HIGH { 
    border-left-color: #f59e0b; 
    background: #422006; 
}

.vuln-card.MEDIUM { 
    border-left-color: #f59e0b; 
    background: #422006; 
}

.vuln-card.LOW { 
    border-left-color: #3b82f6; 
    background: #172554; 
}

.issue-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: start; 
    margin-bottom: 10px; 
    flex-wrap: wrap; 
    gap: 10px; 
}

.issue-message { 
    font-weight: 600; 
    color: white; 
    flex: 1; 
}

.issue-details { 
    font-size: 0.875rem; 
    color: #94a3b8; 
    margin: 5px 0; 
}

.code-snippet { 
    background: #0f172a; 
    color: #e2e8f0; 
    padding: 12px; 
    border-radius: 6px; 
    font-family: 'Courier New', monospace; 
    font-size: 0.875rem; 
    overflow-x: auto; 
    margin: 10px 0; 
    border: 1px solid #334155;
}

.recommendation { 
    background: #172554; 
    border-left: 3px solid #3b82f6; 
    padding: 12px; 
    margin-top: 10px; 
    border-radius: 4px; 
    color: #bfdbfe;
}

.recommendation::before { 
    content: "💡 "; 
}

.meta-card { 
    background: #1e293b; 
    padding: 15px; 
    border-radius: 8px; 
    border-left: 3px solid #667eea; 
    margin: 10px 0; 
}

.meta-card h4 {
    color: #94a3b8;
}

.meta-card .content {
    color: white;
}

.info-box { 
    background: #172554; 
    border-left: 4px solid #3b82f6; 
    padding: 15px; 
    border-radius: 6px; 
    margin: 15px 0; 
    color: #bfdbfe;
}

.info-box li,.warning-box li,.error-box li,.success-box li {
  padding-left: 4px;
  margin-left: 24px;
}

.warning-box { 
    background: #422006; 
    border-left: 4px solid #f59e0b; 
    padding: 15px; 
    border-radius: 6px; 
    margin: 15px 0; 
    color: #fde68a;
}

.error-box { 
    background: #450a0a; 
    border-left: 4px solid #dc2626; 
    padding: 15px; 
    border-radius: 6px; 
    margin: 15px 0; 
    color: #fca5a5;
}

.success-box { 
    background: #064e3b; 
    border-left: 4px solid #10b981; 
    padding: 15px; 
    border-radius: 6px; 
    margin: 15px 0; 
    color: #86efac;
}

.table-responsive { 
    overflow-x: auto; 
    margin: 20px 0; 
}

.table-responsive a {
    color: #cbd5e1 !important;
}
table { 
    width: 100%; 
    border-collapse: collapse; 
    background: #1e293b; 
}

th, td { 
    padding: 12px; 
    text-align: left; 
    border-bottom: 1px solid #334155; 
    font-size: 0.875rem; 
}

th { 
    background: #0f172a; 
    font-weight: 600; 
    color: #e2e8f0; 
    position: sticky; 
    top: 0; 
}

td {
    color: #cbd5e1;
}

tr:hover { 
    background: #334155; 
}

.tech-badge { 
    display: inline-block; 
    background: #172554; 
    color: #60a5fa; 
    padding: 6px 12px; 
    border-radius: 6px; 
    margin: 4px; 
    font-size: 0.875rem; 
    border: 1px solid #1e40af;
}

.color-swatch { 
    display: inline-block; 
    width: 40px; 
    height: 40px; 
    border-radius: 6px; 
    border: 2px solid #334155; 
    margin-right: 10px; 
    vertical-align: middle; 
}

.progress-bar { 
    width: 100%; 
    height: 8px; 
    background: #334155; 
    border-radius: 4px; 
    overflow: hidden; 
    margin: 10px 0; 
}

.progress-fill { 
    height: 100%; 
    transition: width 0.3s; 
}

.score-ring { 
    width: 100px; 
    height: 100px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.5rem; 
    font-weight: bold; 
    border: 6px solid; 
    margin: 0 auto; 
}

footer { 
    background: #0f172a; 
    padding: 20px 30px; 
    text-align: center; 
    color: #94a3b8; 
    font-size: 0.875rem; 
    border-top: 1px solid #334155; 
}

footer strong {
    color: white;
}

@media (max-width: 1024px) {
    .score-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body { padding: 10px; }
    .content { padding: 20px; }
    .summary-grid, .stats-grid { grid-template-columns: 1fr; }
    .meta-info { flex-direction: column; gap: 8px; }
    .score-strip { grid-template-columns: 1fr; }
    .quick-stats { flex-wrap: wrap; gap: 15px; }
    .top-bar { flex-direction: column; align-items: flex-start; }
    .screenshot-preview { flex-direction: row; }
}

body { 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    line-height: 1.6; 
    color: #e2e8f0; 
    background: #0f172a; 
    padding: 20px; 
}

.container { 
    max-width: 1600px; 
    margin: 0 auto; 
    background: #1e293b; 
    border-radius: 16px; 
    box-shadow: 0 20px 60px rgba(0,0,0,0.5); 
    overflow: hidden; 
}

header { 
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%); 
    color: white; 
    padding: 30px 40px; 
    border-bottom: 1px solid #334155;
}

header h1 { 
    font-size: 2rem; 
    margin-bottom: 10px; 
    color: white;
}

.meta-info { 
    opacity: 0.9; 
    font-size: 0.875rem; 
    display: flex;
    gap: 25px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

.meta-info div strong {
    color: white;
    font-weight: 600;
}

.content { 
    padding: 40px; 
    background: #1e293b;
}

.summary-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 1px; 
    margin-bottom: 40px; 
    background: #0f172a;
    border-radius: 12px;
    overflow: hidden;
}

.summary-card { 
    background: linear-gradient(135deg, var(--bg-start, #1e293b), var(--bg-end, #334155)); 
    padding: 25px; 
    transition: transform 0.2s; 
    position: relative;
    cursor: pointer;
}

.summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent, #64748b);
}

.summary-card:hover { 
    transform: scale(1.02); 
    z-index: 10;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.summary-card h3 { 
    font-size: 0.875rem; 
    color: rgba(255,255,255,0.7); 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    margin-bottom: 10px; 
}

.summary-card .value { 
    font-size: 2.5rem; 
    font-weight: bold; 
    color: var(--accent, white); 
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.summary-card .subtext { 
    font-size: 0.875rem; 
    color: rgba(255,255,255,0.6); 
    margin-top: 5px; 
}

.section { 
    margin-top: 72px;
    margin-bottom: 50px; 
    padding-bottom: 30px; 
    border-bottom: 1px solid #334155; 
}
.notopmargin {
    margin-top: 0px;
}

.section:last-child { 
    border-bottom: none; 
}

h2 { 
    font-size: 1.75rem; 
    color: white; 
    margin-bottom: 25px; 
    padding-bottom: 15px; 
    border-bottom: 3px solid #667eea; 
}

h3 { 
    font-size: 1.4rem; 
    color: #e2e8f0; 
    margin: 30px 0 15px; 
}

h4 { 
    font-size: 1.1rem; 
    color: #cbd5e1; 
    margin: 20px 0 10px; 
}

.badge { 
    display: inline-block; 
    padding: 4px 12px; 
    border-radius: 12px; 
    font-size: 0.75rem; 
    font-weight: 600; 
    color: white; 
    text-transform: uppercase; 
    margin: 2px; 
}

.stats-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 15px; 
    background: #0f172a; 
    padding: 20px; 
    border-radius: 8px; 
    margin: 20px 0; 
}

.stat-item { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 12px; 
    background: #1e293b; 
    border-radius: 6px; 
    border-left: 3px solid #334155;
}

.stat-label { 
    font-size: 0.875rem; 
    color: #94a3b8; 
    margin-left: 4px;
}

.stat-value { 
    font-weight: 600; 
    color: white; 
}


.issue-card, .vuln-card { 
    background: #1e293b; 
    border-radius: 8px; 
    padding: 20px; 
    border-left: 4px solid #64748b; 
}

.issue-card.error, .vuln-card.CRITICAL { 
    border-left-color: #dc2626; 
    background: #450a0a; 
}

.issue-card.warning, .vuln-card.HIGH { 
    border-left-color: #f59e0b; 
    background: #422006; 
}

.vuln-card.MEDIUM { 
    border-left-color: #f59e0b; 
    background: #422006; 
}

.vuln-card.LOW { 
    border-left-color: #3b82f6; 
    background: #172554; 
}

.issue-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: start; 
    margin-bottom: 10px; 
    flex-wrap: wrap; 
    gap: 10px; 
}

.issue-message { 
    font-weight: 600; 
    color: white; 
    flex: 1; 
}

.recommendation { 
    background: #172554; 
    border-left: 3px solid #3b82f6; 
    padding: 12px; 
    margin-top: 10px; 
    border-radius: 4px; 
    color: #bfdbfe;
}

.recommendation::before { 
    content: "💡 "; 
}

.meta-card { 
    background: #1e293b; 
    padding: 15px; 
    border-radius: 8px; 
    border-left: 3px solid #667eea; 
    margin: 10px 0; 
}

.meta-card h4 {
    color: #94a3b8;
}

.meta-card .content {
    color: white;
}


.table-responsive { 
    overflow-x: auto; 
    margin: 20px 0; 
}

table { 
    width: 100%; 
    border-collapse: collapse; 
    background: #1e293b; 
}

th, td { 
    padding: 12px; 
    text-align: left; 
    border-bottom: 1px solid #334155; 
    font-size: 0.875rem; 
}

th { 
    background: #0f172a; 
    font-weight: 600; 
    color: #e2e8f0; 
    position: sticky; 
    top: 0; 
}

td {
    color: #cbd5e1;
}

tr:hover { 
    background: #334155; 
}

.tech-badge { 
    display: inline-block; 
    background: #172554; 
    color: #60a5fa; 
    padding: 6px 12px; 
    border-radius: 6px; 
    margin: 4px; 
    font-size: 0.875rem; 
    border: 1px solid #1e40af;
}

.color-swatch { 
    display: inline-block; 
    width: 40px; 
    height: 40px; 
    border-radius: 6px; 
    border: 2px solid #334155; 
    margin-right: 10px; 
    vertical-align: middle; 
}

.progress-bar { 
    width: 100%; 
    height: 8px; 
    background: #334155; 
    border-radius: 4px; 
    overflow: hidden; 
    margin: 10px 0; 
}

.progress-fill { 
    height: 100%; 
    transition: width 0.3s; 
}

.score-ring { 
    width: 100px; 
    height: 100px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.5rem; 
    font-weight: bold; 
    border: 6px solid; 
    margin: 0 auto; 
}

footer { 
    background: #0f172a; 
    padding: 20px 30px; 
    text-align: center; 
    color: #94a3b8; 
    font-size: 0.875rem; 
    border-top: 1px solid #334155; 
}

footer strong {
    color: white;
}

@media (max-width: 768px) {
    body { padding: 10px; }
    header { padding: 30px 20px; }
    header h1 { font-size: 1.75rem; }
    .content { padding: 20px; }
    .summary-grid, .stats-grid { grid-template-columns: 1fr; }
    .meta-info { flex-direction: column; gap: 8px; }
}
a[href^="#"]:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-color: transparent !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}
.hide,.hidden {
display: none !important;
}
.cookie-name { font-size: 0.8rem; color: #94a3b8; margin: 4px 0 6px; display: block; }
.help-link, .ref-link { color: #3b82f6; text-decoration: none; font-size: 0.875rem; }
.issue-list { margin: 6px 0; padding-left: 1.25rem; font-size: 0.875rem; }
.issue-list.nopl {
    padding-left:0;
}
.more-toggle { cursor: pointer; color: #3b82f6; list-style: none; margin-top: 4px; }

.form-snippet {
    margin-top: 12px;
    background: #1e1e1e;
    border-radius: 6px;
    padding: 12px;
}

.form-snippet pre {
    margin: 6px 0 0 0;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

.form-snippet code {
    font-family: 'Courier New', monospace;
    font-size: 0.82em;
    color: #d4d4d4;
}

.fields-detail {
    margin-top: 12px;
}

.fields-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85em;
    margin-top: 6px;
}

.fields-table th {
    background: #2a2a3e;
    color: #a0a0c0;
    text-align: left;
    padding: 6px 10px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.78em;
    border-bottom: 2px solid #3a3a5c;
}

.fields-table td {
    padding: 5px 10px;
    border-bottom: 1px solid #2a2a3e;
    color: #d0d0e8;
    vertical-align: top;
}

.fields-table tr:last-child td {
    border-bottom: none;
}

.fields-table tr:hover td {
    background: #1e1e2e;
}

.fields-table td:empty::after {
    content: '—';
    color: #555;
}
.diag_full h2 {
border-bottom: none;
}
.diag_full hr {
margin-top: 32px;
margin-bottom: 12px;
}
.white {
color:#fff;
}

  .diag-wrapper {
    margin-top: 18px;
    border: 1.5px solid #f59e0b;        
    border-radius: 10px;
    overflow: hidden;
  }

  .diag-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #78350f 0%, #451a03 100%);
    padding: 10px 16px;
    gap: 12px;
    border-radius: 8px;
  padding: 20px;
  border-left: 4px solid #64748b;
  }
  .diag-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fde68a;
    text-transform: uppercase;
    letter-spacing: .06em;
  }
  .diag-title .icon { font-size: 1.1rem; }

  .diag-toggle {
    background: #f59e0b;
    color: #1c1917;
    border: none;
    border-radius: 6px;
    padding: 4px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
    white-space: nowrap;
  }
  .diag-toggle:hover { background: #fbbf24; }

  .diag-body {
    background: #1a1007;
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .3s ease;
  }
  .diag-body.open {
    max-height: 2000px;
    padding: 16px 18px;
  }

  .diag-body h2 {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #f59e0b;
    margin: 18px 0 8px;
    border-bottom: 1px solid #292010;
    padding-bottom: 4px;
  }
  .diag-body h2:first-child { margin-top: 0; }

  .diag-body p { font-size: 0.85rem; color: #d1c4a0; margin: 6px 0; }
  .diag-body strong { color: #fde68a; }

  .diag-body pre {
    background: #0d0b07;
    border: 1px solid #292010;
    border-radius: 6px;
    padding: 12px 14px;
    overflow-x: auto;
    margin: 6px 0 12px;
  }
  .diag-body code {
    font-family: 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.78rem;
    color: #86efac;           
    line-height: 1.6;
  }
  .diag-body pre code.language-nginx { color: #7dd3fc; }  
.diag-header:hover {
  filter: brightness(1.15);
}

.issue-details2 {
    margin: 4px 0 4px 24px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.15);
    border-left: 3px solid rgba(255,255,255,0.5);
    border-radius: 3px;
    font-size: 0.92em;
}
.issue-details2.hidden {
    display: none;
}
.toggle-details {
    cursor: pointer;
    font-size: 0.85em;
    opacity: 0.85;
    user-select: none;
    margin-left: 6px;
}
.toggle-details:hover {
    opacity: 1;
    text-decoration: underline;
}

.diag-helptext {
    border-left: 3px solid #5b9bd5;
    background: #f5f7fa;
    border-radius: 0 6px 6px 0;
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
}

.diag-helptext__label {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.diag-helptext ul {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 0.875rem;
    line-height: 1.8;
    color: #333;
}
.middled {
  display: inline-block;
  margin-top: auto;
  margin-bottom: auto;
}
.help-icon {
    position: relative;
    display: inline-block;
    cursor: pointer;
    font-style: normal;
    font-size: 1rem;
    margin-left: 6px;
    vertical-align: middle;
    user-select: none;
}
.tooltip-box {
    display: none;
    position: absolute;
    z-index: 9999;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(100% + 8px);
    background: #1e293b;
    color: #f1f5f9;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.825rem;
    line-height: 1.5;
    width: 280px;
    white-space: normal;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    pointer-events: none;
}
.tooltip-box.visible {
    display: block;
}
.help-link {
    margin-left: 4px;
    font-size: 0.9rem;
    text-decoration: none;
    vertical-align: middle;
}

.suppressed-toggle {
    cursor: pointer;
    font-size: 0.8rem;
    color: #94a3b8;
    border: 1px solid #334155;
    background: #1e293b;
    border-radius: 6px;
    padding: 4px 10px;
    margin-top: 10px;
    display: inline-block;
}
.suppressed-toggle:hover { color: #e2e8f0; }
.suppressed-list {
    display: none;
    margin-top: 8px;
    opacity: 0.65;
}
.suppressed-list.open { display: block; }

.section-header-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 600;
}
.section-header-bar.startpage {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    border-left: 4px solid #3b82f6;
    color: #e2e8f0;
}
.section-header-bar.subpage {
    background: #1e293b;
    border-left: 4px solid #475569;
    color: #94a3b8;
}
.section-header-bar .shb-icon { font-size: 1.3rem; }
.section-header-bar .shb-label { flex: 1; }
.section-header-bar .shb-badge {
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 99px;
    background: #334155;
    color: #cbd5e1;
    letter-spacing: 0.04em;
}
.section-header-bar.subpage.prominent {
margin-bottom: 64px;
  margin-top: 64px;
  border: 3px solid #ccc;
  padding-top: 48px;
  padding-bottom: 48px;
  background: #1158e1;
  color: #fff;
  display: block;
}

.site-info__label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 2px;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.site-info__domain {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px;
}

.site-info__url {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
}

.site-info__url:hover {
    color: #fff;
}
.hidden-rows {
    display: none;
    overflow: hidden;
}
.hidden-rows.open {
    display: block;
}
.expand-btn {
    background: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    padding: 4px 10px;
    font-size: 0.85em;
    color: #555;
    margin: 4px 0;
}
.expand-btn:hover {
    background: #f0f0f0;
}
.report-header {
    text-align: center;
    margin-bottom: 2rem;
}

.report-header h1 {
    margin-bottom: 0.3rem;
}

.report-domain {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent, #63b3ed);
    margin: 0;
}

details > summary {
    cursor: pointer;
    user-select: none;
    list-style: none;
}
details > summary::before {
    content: "▶ ";
    font-size: 0.75em;
    color: #4a6cf7;
    transition: transform 0.2s;
}
details[open] > summary::before {
    content: "▼ ";
}
.info-box-summary {
    display: inline;
    font-size: 0.85em;
    color: #444;
}
.info-box-details {
    margin-top: 8px;
    padding: 12px 14px;
    background: #f0f4ff;
    font-size: 0.85em;
    color: #444;
    line-height: 1.6;
}
.error-list {
    margin: 10px 0 0 0;
    padding-left: 1.4em;
    line-height: 1.8;
    background: #1e293b;
  border-left: 4px solid #f87171;
  border-radius: 6px;
}
.error-list li {
    color: #fca5a5;
    font-size: 0.875em;
}
details.error-details {
    margin-top: 8px;
    padding: 10px 14px;
    background: #fff5f5;
    border-left: 4px solid #e53935;
    border-radius: 6px;
    font-size: 0.85em;
    color: #555;
    line-height: 1.6;
}
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  right: 0;
  background: #333;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 400;
  padding: 3px 7px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

[data-tooltip]:hover::after {
  opacity: 1;
}
.tech-tile {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 9px 13px;
    min-width: 330px;
    max-width: 340px;
    min-height:120px;
    flex: 1 1 170px;
}

.tech-tile:hover {
    border-color: #64748b;
    background: #263548;
}

.tech-tile__header {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.tech-tile__name {
    font-weight: 600;
    color: #f1f5f9;
    font-size: 0.9rem;
}
.tech-tile__version {
    color: #94a3b8;
    font-size: 0.75rem;
    margin-left: 4px;
}
.tech-tile__conf {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: help;
    position: relative;
}
.tech-tile__conf--high   { color: #22c55e; }
.tech-tile__conf--medium { color: #f59e0b; }
.tech-tile__conf--low    { color: #ef4444; }
.tech-tile__conf--unknown{ color: #64748b; }

.tech-tile__type {
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 2px;
}
.tech-tile__source {
    font-size: 0.72rem;
    color: #a0bce3;
    margin-top: 3px;
}
.tech-tile__url {
    font-size: 0.7rem;
    color: #c3c6c9;
    margin-top: 2px;
    word-break: break-all;
}
.a11y-help {
    margin-top: 8px;
    font-size: 0.82rem;
    color: #cbd5e1;
}

.a11y-help--inline {
    padding: 4px 8px;
    background: rgba(148,163,184,0.08);
    border-radius: 4px;
}

.a11y-help--group {
    border: 1px solid rgba(148,163,184,0.18);
    border-radius: 6px;
    overflow: hidden;
}

.a11y-help__item {
    border-top: 1px solid rgba(148,163,184,0.12);
}
.a11y-help__item:first-child {
    border-top: none;
}

.a11y-help__summary {
    cursor: pointer;
    padding: 5px 10px;
    font-weight: 500;
    color: #94a3b8;
    list-style: none;           
    display: flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}
.a11y-help__summary::before {
    content: '▶';
    font-size: 0.6rem;
    transition: transform 0.15s;
    color: #64748b;
}
details[open] > .a11y-help__summary::before {
    transform: rotate(90deg);
}
.a11y-help__summary:hover {
    color: #e2e8f0;
}

.a11y-help__body {
    margin: 0;
    padding: 6px 10px 8px 22px;
    line-height: 1.5;
    color: #cbd5e1;
}

.a11y-help--group {
  border: 1px solid #d0d7de;
  border-radius: 6px;
  padding: .75rem 1rem;
  margin-top: .5rem;
}

.a11y-help__item + .a11y-help__item {
  margin-top: .5rem;
}

.a11y-help__summary {
  cursor: pointer;
  font-weight: 600;
}

.a11y-help__body {
  margin-top: .4rem;
}

.a11y-help__toggle {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: .5rem;
  padding: .2rem .6rem;
  font-size: .85rem;
  background: none;
  border: 1px solid currentColor;
  border-radius: 4px;
  cursor: pointer;
  color: inherit;
}

.a11y-help__toggle::before {
  content: "▶";
  font-size: .7em;
  transition: transform .2s;
}

.a11y-help__toggle[aria-expanded="true"]::before {
  transform: rotate(90deg);
}

.bottom {
margin-bottom: 32px;
}


  .cta-report-widget {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 0;
    max-width: 560px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    margin:auto;
    margin-bottom: 48px;
    margin-top: 48px;
  }

  .crw-header {
    background: linear-gradient(90deg, #1d3a5f 0%, #1e3352 100%);
    border-bottom: 1px solid #2d4a6a;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .crw-header-icon { font-size: 1.1rem; }
  .crw-header-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7eb8f7;
  }
  .crw-header-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #10b981;
    margin-left: auto;
    box-shadow: 0 0 6px #10b981;
  }

  .crw-body {
    padding: 20px 22px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
  }

  .crw-icon-col {
    flex-shrink: 0;
    width: 44px; height: 44px;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-top: 2px;
  }

  .crw-content { flex: 1; min-width: 0; }

  .crw-title {
    font-size: 1rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 6px;
    line-height: 1.3;
  }

  .crw-perks {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 16px;
  }
  .crw-perk {
    display: flex;
    align-items: baseline;
    gap: 7px;
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.4;
  }
  .crw-perk::before {
    content: '–';
    color: #3b82f6;
    font-weight: 700;
    flex-shrink: 0;
  }

  .crw-scores {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
  }
  .crw-score {
    flex: 1;
    background: #0f172a;
    border: 1px solid #1e3a5f;
    border-radius: 8px;
    padding: 7px 6px 6px;
    text-align: center;
  }
  .crw-score-val {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1;
    display: block;
  }
  .crw-score-lbl {
    font-size: 0.6rem;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-top: 3px;
    display: block;
  }

  .crw-cta {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .crw-btn {
    background: #2563eb;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    border-radius: 7px;
    padding: 9px 18px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
    letter-spacing: 0.01em;
    text-decoration: none;
    display: inline-block;
  }
  .crw-btn:hover { background: #1d4ed8; }

  .crw-secondary {
    font-size: 0.72rem;
    color: #334155;
    border: 1px solid #334155;
    border-radius: 7px;
    padding: 8px 14px;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: border-color 0.15s, color 0.15s;
  }
  .crw-secondary:hover { border-color: #7eb8f7; color: #7eb8f7; }

  .crw-footer {
    background: #162032;
    border-top: 1px solid #1e3a5f;
    padding: 9px 22px;
    display1: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: #475569;
    text-align: center;
    display: block;
  }
  .crw-footer-dot { color: #334155; }
  

.section.accessibility {
border-left:2px dotted orange;
padding-left:16px;
}
.section.pages {
border-left:2px dotted blue;
padding-left:16px;
}

.page-header {
background:unset;
margin-top:16px;
}
.page_section {
margin-top:32px;
border-left:2px dotted lightblue;
padding-left:16px;
}
.nobottom {
border-bottom:none;
}

@media print {
    .noprint {
        display: none !important;
    }

        .print-img-small {
        width: 180px !important;
        max-width: 180px !important;
    }
    .tech-tile {
        min-width: 150px;
  max-width: 150px;
  min-height: 110px;
    }

    @page {
        margin: 0;
    }

    body {
        margin: 0;
        padding: 0;
    }
}
@media print {
    .score-segment, .section, .vuln-card { break-inside: avoid; }
    button, .suppressed-toggle { display: none; }
    a[href^="http"]::after { content: none; }
}
.smallcap {
font-size: 20px;
text-transform: uppercase;
}

.score-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.6;
    margin-top: 2px;
}
.meaning {
padding-left:12px;
border-left:2px solid #ccc;
margin-left:12px;
}

.report-toggle-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
  }
  .report-toggle-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
  }

  .report-toggle {
    display: inline-flex;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #4f46e5;
  }
  .toggle-btn {
    padding: 0.75rem 1.75rem;
    border: none;
    background: #fff;
    color: #4f46e5;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
  }
  .toggle-btn:not(:last-child) {
    border-right: 2px solid #4f46e5;
  }
  .toggle-btn.active {
    background: #4f46e5;
    color: #fff;
  }
  .toggle-btn:hover:not(.active) {
    background: #eef2ff;
  }


.acc-report-banner {
  background: linear-gradient(135deg, #1e3a5f 0%, #0f2744 100%);
  border: 1px solid #2563eb55;
  border-left: 5px solid #3b82f6;
  border-radius: 0 10px 10px 0;
  padding: 36px 32px;
  margin: 16px 0 0 0;
  display: flex;
  align-items: flex-start;
  gap: 32px;
  min-height: 160px;
}
.acc-report-icon {
  font-size: 3.2rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 4px;
}
.acc-report-body {
  flex: 1;
  min-width: 0;
}
.acc-report-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #60a5fa;
  margin: 0 0 6px 0;
}
.acc-report-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 0 0 20px 0;
  line-height: 1.3;
}
.acc-report-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 24px 0;
}
.acc-report-tag {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #162e4d;
  border: 1px solid #2563eb44;
  border-radius: 10px;
  padding: 12px 16px;
}
.acc-report-tag-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}
.acc-report-tag-text {}
.acc-report-tag-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #93c5fd;
  margin: 0 0 2px 0;
}
.acc-report-tag-desc {
  font-size: 0.78rem;
  color: #7ea8d8;
  margin: 0;
  line-height: 1.4;
}
.acc-report-cta { flex-shrink: 0; padding-top: 4px; }
.acc-report-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  padding: 14px 26px;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.15s;
}
.acc-report-btn:hover { background: #1d4ed8; }
.acc-report-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.acc-report-example-note {
  font-size: 0.75rem;
  color: #60a5fa;
  background: #162e4d;
  border: 1px solid #2563eb44;
  border-radius: 6px;
  padding: 5px 10px;
  margin: -12px 0 20px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-style: italic;
}
.acc-report-example-icon {
  font-style: normal;
}
.shb-warning {
display: block;
  margin-top: 6px;
  padding: 5px 10px;
  background-color: rgba(255, 180, 0, 0.15);
  border-left: 3px solid #f0a500;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 400;
  color: #ccc;
}
ul.url-warnings {
    margin: 4px 0 0 0;
    padding: 6px 10px;
    background: #fff8e1;
    border-left: 3px solid #f9a825;
    border-radius: 3px;
    font-size: 0.82em;
    list-style: none;
    color: #5d4037;
}
ul.url-warnings li + li {
    margin-top: 4px;
}
ul.url-warnings a {
    color: #1565c0;
}

.page-badges {
    display: inline-flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 0.72em;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.6;
    opacity: 0.85;
}

.badge-login {
    background: #e8eaf6;
    color: #3949ab;
    border: 1px solid #c5cae9;
}

.badge-search {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}


/* ===================================================
   chapters.css  –  Aufklappbare Zusammenfassungsblöcke
   =================================================== */
.ch-container {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    margin-bottom: 1.25rem;
    overflow: hidden;
  }

  .ch-container-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 1rem;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
  }
  .ch-container-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
  }
  .ch-container-title {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    flex: 1;
  }
  .ch-container-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: 20px;
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
  }

  .ch-container-body {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  
.ch-block {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 8px;
  background: #ffffff;
  overflow: hidden;
}

/* Farbakzente je Typ */
.ch-neutral { border-left: 3px solid #94a3b8; }
.ch-ok      { border-left: 3px solid #16a34a; }
.ch-crit    { border-left: 3px solid #dc2626; }
.ch-warn    { border-left: 3px solid #d97706; }

.ch-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  background: #f8fafc;
}
.ch-summary::-webkit-details-marker { display: none; }
.ch-summary:hover { background: #f1f5f9; }

.ch-icon  { font-size: 16px; flex-shrink: 0; }
.ch-title { flex: 1; font-size: 13px; font-weight: 600; color: #0f172a; }
.ch-arrow {
  font-size: 10px;
  color: #94a3b8;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.ch-block[open] .ch-arrow { transform: rotate(90deg); }

.ch-body {
  padding: 0.875rem 1rem 1rem 1rem;
  border-top: 1px solid #e2e8f0;
}

.ch-p {
  font-size: 13px;
  color: #334155;
  line-height: 1.65;
  margin: 0 0 0.5rem;
}
.ch-p:last-child { margin-bottom: 0; }

.ch-list {
  margin: 0;
  padding-left: 1.25rem;
}
.ch-list li {
  font-size: 13px;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 0.4rem;
  padding-left: 0.25rem;
}
.ch-list li:last-child { margin-bottom: 0; }
.ch-list li strong { color: #0f172a; font-weight: 600; }
.ch-list li em     { color: #475569; }

/* Farbige Marker-Punkte je Typ */
.ch-ok   .ch-list { list-style: none; padding-left: 0; }
.ch-crit .ch-list { list-style: none; padding-left: 0; }
.ch-warn .ch-list { list-style: none; padding-left: 0; }

.ch-ok   .ch-list li::before { content: '✓ '; color: #16a34a; font-weight: 700; }
.ch-crit .ch-list li::before { content: '✗ '; color: #dc2626; font-weight: 700; }
.ch-warn .ch-list li::before { content: '! '; color: #d97706; font-weight: 700; }

.ch-no-top-border {
border-top: 0px;
}
.mt16 {
margin-top: 16px;
}
.flexdis {
display: flex; align-items: flex-start;
}



/* Banner / Hinweisboxen */
.banner-dev {
    background: repeating-linear-gradient(-45deg, #422006, #422006 14px, #78350f 14px, #78350f 28px);
    border: 3px solid #f59e0b;
    border-radius: 12px;
    padding: 18px 28px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 0 0 4px #f59e0b44;
    width: 100%;
}
.banner-demo {
    background: repeating-linear-gradient(-45deg, #1e3a5f, #1e3a5f 14px, #1e4976 14px, #1e4976 28px);
    border: 3px solid #60a5fa;
    border-radius: 12px;
    padding: 18px 28px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 0 0 4px #60a5fa44;
    width: 100%;
}
.banner-no-ssl {
    background: linear-gradient(135deg, #450a0a 0%, #7f1d1d 100%);
    border: 2px solid #ef4444;
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.banner-title { font-size: 1rem; font-weight: 700; }
.banner-dev .banner-title    { color: #fca5a5; }
.banner-demo .banner-title   { color: #bfdbfe; }
.banner-no-ssl .banner-title { color: #fca5a5; }
.banner-text { font-size: 0.82rem; margin-top: 4px; }
.banner-dev .banner-text     { color: #fcd34d; }
.banner-demo .banner-text    { color: #93c5fd; }
.banner-no-ssl .banner-text  { color: #f87171; }
.banner-icon { font-size: 2.2rem; flex-shrink: 0; }

/* Bot-Schutz-Hinweis */
.bot-protection-box {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 2px solid #f59e0b;
    border-radius: 14px;
    padding: 20px 26px;
    margin-top: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 0 0 3px #f59e0b22;
}
.bot-protection-box__title {
    font-size: 1rem; font-weight: 700; color: #fde68a; margin-bottom: 6px;
}
.bot-protection-box__body {
    font-size: 0.85rem; color: #fcd34d; line-height: 1.6;
}
.bot-protection-box__link {
    display: inline-flex; align-items: center; gap: 6px;
    color: #fbbf24; font-size: 0.82rem; font-weight: 600;
    text-decoration: none; border: 1px solid #f59e0b;
    border-radius: 6px; padding: 4px 12px; margin-top: 10px;
    transition: background 0.15s;
}
.bot-protection-box__link:hover { background: #78350f; }

/* Export-Leiste */
.export-bar {
    background: #1e293b;
    border-radius: 16px;
    padding: 20px 28px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    border: 1px solid #334155;
}
.export-bar__btn-print {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #1e3a5f 0%, #1e4976 100%);
    border: 1px solid #3b82f6; border-radius: 10px;
    color: #93c5fd; font-size: 0.875rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s ease;
}
.export-bar__btn-print:hover { background: linear-gradient(135deg, #1e4976 0%, #1e5f96 100%); color: #bfdbfe; }
.export-bar__btn-pdf {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #1a3a1a 0%, #14532d 100%);
    border: 1px solid #22c55e; border-radius: 10px;
    color: #86efac; font-size: 0.875rem; font-weight: 600;
    text-decoration: none; transition: all 0.2s ease;
}
.export-bar__btn-pdf:hover { background: linear-gradient(135deg, #14532d 0%, #166534 100%); color: #bbf7d0; }

/* Quick-Access-Links */
.quicklink {
    display: flex; align-items: center; gap: 12px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 2px solid #334155; border-radius: 12px;
    text-decoration: none; color: white; font-weight: 600;
    transition: all 0.3s ease;
}
.quicklink:hover { border-color: #64748b; }
.quicklink__icon { font-size: 1.5rem; flex-shrink: 0; }

/* CMS-Sicherheit */
.cms-security-summary {
    border-radius: 6px; padding: 10px 14px; margin-bottom: 16px;
}

/* Score-Strip Hilfsklassen */
.metric-row span:first-child { flex: 1; }

/* Portscan / Software-Karte */
.port-service-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
}
.port-service-card--vuln { border-left: 4px solid #ef4444; }
.port-service-card--ok   { border-left: 4px solid #10b981; }

/* HTTP-Timing Werte */
.timing-value-ok   { color: #10b981; }
.timing-value-warn { color: #f59e0b; }
.timing-value-crit { color: #ef4444; }

/* Netzwerk-Sicherheit */
.network-check-ok   { border-left-color: #10b981; }
.network-check-warn { border-left-color: #f59e0b; }

/* Accessibility-Seite */
.acc-section-bar {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 18px; margin-bottom: 16px;
    background: #162e4d; border-left: 4px solid #3b82f6;
    border-radius: 0 8px 8px 0;
}

/* Besuchte URLs */
.url-table-warning { color: #fca5a5; font-size: 0.8rem; }

/* ── Fetch-Fehler-Box ── */
.fetch-error-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    width: 100%;
    margin-top: 10px;
}
.fetch-error-card {
    background: linear-gradient(135deg, #10b98122 0%, #10b98111 100%);
    border: 2px solid #b91081;
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.fetch-error-card__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
}
.fetch-error-card__value {
    font-size: 1.2rem;
    font-weight: 800;
    color: red;
    line-height: 1;
}

/* ── Score-Strip Segmente: Metriken ── */
.metric-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.7);
}

/* ── V2-Banner (Kurzbericht-Hinweis) ── */
.v2-banner {
    background: #1e3a5f;
    border: 3px solid #fff;
    border-radius: 10px;
    padding: 12px 20px;
    margin: 0 0 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 17px;
}
.v2-banner__text { color: #fff; }
.v2-banner__links { display: flex; gap: 8px; flex-shrink: 0; }
.v2-banner__btn {
    background: #1e4976;
    border: 1px solid #3b82f6;
    border-radius: 7px;
    color: #fff;
    padding: 6px 14px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}
.v2-banner__btn--medium {
    background: #1a3a2a;
    border: 1px solid #2d6a4f;
    border-radius: 7px;
    color: #86efac;
    padding: 6px 14px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

/* ── Zusammenfassungs-Section ── */
.summary-section {
    margin-bottom: 28px;
}
.summary-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
}
.summary-card-inner {
    background: #1e293b;
    border-radius: 14px;
    padding: 20px 22px;
}
.summary-card-inner__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 10px;
}
.summary-card-inner__count-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.summary-card-inner__hint {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 6px;
}

/* ── CVE-Gruppen-Header ── */
.cve-group-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #1e293b;
    border-radius: 10px;
    margin-bottom: 8px;
    cursor: pointer;
}
.cve-group-header__name  { font-weight: 700; font-size: 1rem; }
.cve-group-header__count { font-size: 0.85rem; color: #94a3b8; }
.cve-group-header__arrow { color: #64748b; font-size: 0.85rem; margin-left: auto; }

/* ── CVE-Karte ── */
.cve-links {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.cve-link {
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.875rem;
}

/* ── DOM XSS ── */
.dom-xss-snippet {
    white-space: pre-wrap;
    font-size: 0.75rem;
    background: #1f2937;
    color: #f3f4f6;
    padding: 10px;
    border-radius: 6px;
    margin-top: 8px;
    overflow-x: auto;
}

/* ── Formular-Analyse ── */
.form-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    background: #0f172a;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}
.login-form-detail {
    margin-top: 12px;
    padding: 10px 14px;
    background: #f8faff;
    border: 1px solid #dde3f5;
    border-radius: 7px;
    font-size: 0.85em;
}
.login-form-detail__title { color: #2d3a8c; font-weight: 600; }
.newsletter-hint {
    margin-top: 8px;
    padding: 8px 12px;
    background: #fffbea;
    border-left: 4px solid #f59e0b;
    border-radius: 5px;
    font-size: 0.83em;
    color: #78350f;
}

/* ── Login-Info-Box ── */
.login-info-box {
    margin-top: 8px;
    padding: 12px 14px;
    background: #f0f4ff;
    border-left: 4px solid #4a6cf7;
    border-radius: 6px;
    font-size: 0.85em;
    color: #444;
    line-height: 1.6;
}
.login-info-box__title { color: #2d3a8c; font-weight: 600; }

/* ── Seitentypen-Grid ── */
.page-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.page-type-card {
    background: #1e293b;
    border-radius: 12px;
    padding: 20px;
}
.page-type-card--contact  { border-left: 4px solid #3b82f6; }
.page-type-card--impressum { border-left: 4px solid #a78bfa; }
.page-type-card--datenschutz { border-left: 4px solid #34d399; }
.page-type-card__title {
    margin: 0 0 14px 0;
    font-size: 1rem;
}

/* ── Visited URLs ── */
.visited-urls-section {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #334155;
}

/* ── Cookies ── */
.cookie-section-help {
    margin-bottom: 16px;
}
.no-cookies-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
}
.no-cookies-box__icon { font-size: 1.8rem; }
.no-cookies-box__title { color: #10b981; font-weight: 600; }
.no-cookies-box__text  { font-size: 0.85rem; color: #a4b4cb; margin-top: 4px; }

/* ── Repeat-Badge (Formular-Fingerprint) ── */
.repeat-badge {
    display: inline-block;
    margin-left: 5px;
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: default;
    vertical-align: middle;
    letter-spacing: 0.02em;
}
.repeat-badge--cookie   { background: #f59e0b; color: #1a1a1a; }
.repeat-badge--search   { background: #6366f1; color: #fff; }
.repeat-badge--login    { background: #ef4444; color: #fff; }
.repeat-badge--repeated { background: #94a3b8; color: #1a1a1a; }

/* ── Wiederholungs-Hinweis unter Kontaktformular-Tabelle ── */
.repeat-hint {
    margin-top: 12px;
    padding: 10px 14px;
    background: #1a2535;
    border-left: 3px solid #6366f1;
    border-radius: 6px;
    font-size: 0.78rem;
    color: #94a3b8;
}
.repeat-hint__label { color: #6366f1; font-weight: 600; }

/* ── Hoster / Hosting-Info ── */
.redirect-warning {
    /* nutzt bereits .warning-box, kein extra Style nötig */
}

/* ── Portscan CVE-Karte ── */
.port-cve-links {
    margin-top: 8px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ── HTTP-Timings ── */
.timing-section__status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    background: #0f172a;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

/* ── Große Ressourcen ── */
.large-resource-size {
    color: #ef4444;
    font-weight: 600;
}

/* ── Analytics / Tracking ── */
.analytics-ids-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

/* ── WAF-Box ── */
.waf-detected   { /* nutzt .success-box */ }
.waf-missing    { /* nutzt .warning-box */ }

/* ── Farbanalyse ── */
.color-analysis-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}
.color-analysis-item { text-align: center; }
.color-analysis-item__hex  { font-size: 0.75rem; margin-top: 5px; }
.color-analysis-item__pct  { font-size: 0.75rem; color: #6b7280; }

/* ── SEO Score-Ring Wrapper ── */
.score-ring-wrapper {
    text-align: center;
    margin: 20px 0;
}
.score-ring-sub {
    margin-top: 10px;
    color: #6b7280;
}

/* ── SEO CTA ── */
.seo-cta {
    margin-top: 20px;
    text-align: center;
}
.seo-cta__btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* ── Tech-Filter-Bar ── */
.tech-filter-bar {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tech-filter-input {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #334155;
    background: #0f172a;
    color: #f1f5f9;
    font-size: 0.875rem;
    width: 220px;
}
.tech-filter-reset {
    padding: 6px 12px;
    border-radius: 8px;
    border: none;
    background: #334155;
    color: #94a3b8;
    font-size: 0.8rem;
    cursor: pointer;
}
.tech-hidden-hint {
    width: 100%;
    margin-top: 4px;
    font-size: 0.8rem;
    color: #64748b;
    font-style: italic;
}
.tech-hidden-toggle {
    margin-left: 6px;
    padding: 2px 10px;
    border-radius: 6px;
    border: 1px solid #334155;
    background: #1e293b;
    color: #94a3b8;
    font-size: 0.78rem;
    cursor: pointer;
}

/* ── Impressum/Datenschutz-Warnliste ── */
.legal-warn-list {
    margin: 4px 0 0 0;
    padding: 6px 10px;
    background: #fff8e1;
    border-left: 3px solid #f9a825;
    border-radius: 3px;
    font-size: 0.82em;
    list-style: none;
    color: #5d4037;
}
.legal-warn-list li + li { margin-top: 4px; }
.legal-warn-list a       { color: #1565c0; }

/* ── dedup-hint ── */
.dedup-hint {
    font-size: 0.82rem;
    color: #94a3b8;
    font-style: italic;
    margin: 4px 0 8px;
}

/* Seitentypen Info-Box */
.page-types-infobox { margin-top: 8px; }
.page-types-infobox__title { color: #2d3a8c; font-weight: 600; }

/* Tabellenzellen */
.page-type-url  { color: #3b82f6; font-size: 0.8rem; }
.prob-cell      { font-weight: 700; white-space: nowrap; }
.prob-ok        { color: #10b981; }
.prob-warn      { color: #f59e0b; }
.itf-cell       { color: #94a3b8; font-size: 0.8rem; white-space: nowrap; }
.row-dimmed     { opacity: 0.6; }

/* Repeat-Hint Links */
.repeat-hint__link  { color: #6366f1; font-size: 0.75rem; margin-right: 8px; }
.repeat-hint__links { margin-top: 6px; line-height: 1.8; }

/* bereits vorhanden: .quicklink für einzelne Links */
/* Container-Klasse ergänzen: */
.quicklink-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.dns-diag-list {
    display: flex;
    flex-direction: column;
    gap: .6em;
}

.dns-diag-item {
    border-radius: 0 6px 6px 0;
    padding: .6em .9em;
}
.dns-diag-item--ok   { background: #1a3a2a; border-left: 4px solid #2d6a4f; }
.dns-diag-item--info { background: #1a2a3a; border-left: 4px solid #2d5a8a; }
.dns-diag-item--warn { background: #3a2e1a; border-left: 4px solid #8a6a2d; }
.dns-diag-item--error{ background: #3a1a1a; border-left: 4px solid #8a2d2d; }

.dns-diag-item__header {
    display: flex;
    align-items: center;
    gap: .5em;
}
.dns-diag-item__icon { font-size: 1.1em; }
.dns-diag-item__rtype {
    background: #1e2a3a;
    color: #7eb8f7;
    font-size: .72em;
    padding: 1px 6px;
    border-radius: 4px;
    font-family: monospace;
    letter-spacing: .04em;
}
.dns-diag-item__title { color: #eee; }

.dns-diag-item__detail {
    margin-top: .35em;
    color: #ccc;
    font-size: .88em;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .3em;
}

.dns-help-link {
    display: inline-flex;
    align-items: center;
    gap: .25em;
    margin-left: .6em;
    font-size: .8em;
    color: #7eb8f7;
    text-decoration: none;
    border: 1px solid #2a4a6a;
    border-radius: 4px;
    padding: 1px 7px;
    white-space: nowrap;
    vertical-align: middle;
    transition: background .15s;
    background: transparent;
}
.dns-help-link:hover { background: #1a2a3a; }



.tech-cve-badge {
    background: #ef4444;
    color: #fff;
    border-radius: 10px;
    padding: 1px 7px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 4px;
    vertical-align: middle;
}


.quickaccess-box {
    background: #1e293b;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 20px;
}
.quickaccess-box__title {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 20px;
    font-size: 1.5rem;
}


.export-bar__info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.export-bar__icon {
    font-size: 1.5rem;
}
.export-bar__title {
    font-weight: 700;
    color: #f1f5f9;
    font-size: 1rem;
}
.export-bar__subtitle {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 2px;
}
.export-bar__buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.risk-score-row {
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 4px;
}
.risk-score-row__value {
    color: #cbd5e1;
    font-weight: 700;
}
.risk-score-row__ip {
    color: #94a3b8;
    font-family: monospace;
}

.dns-diag-item__detail-inner {
    margin-top: .35em;
    color: #ccc;
    font-size: .88em;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .3em;
}


h Filter Bar ─────────────────────────────────────── */

/* Shared / Dark-Mode (Default) */
.tech-filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.tech-filter-input {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #334155;
    background: #0f172a;
    color: #f1f5f9;
    font-size: 0.875rem;
    width: 220px;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.tech-filter-input::placeholder {
    color: #64748b;
}

.tech-filter-input:focus {
    outline: none;
    border-color: #60a5fa;
}

.tech-filter-reset {
    padding: 6px 12px;
    border-radius: 8px;
    border: none;
    background: #334155;
    color: #94a3b8;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.tech-filter-reset:hover {
    background: #475569;
    color: #f1f5f9;
}

.tech-filter-count {
    font-size: 0.8rem;
    color: #64748b;
}