.sds-report {
    background: #f7f9fb;
    color: #172033;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    margin: 0 auto;
    max-width: 1180px;
    padding: 22px;
}

.sds-report * {
    box-sizing: border-box;
}

.sds-hero {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    box-shadow: 0 22px 70px rgba(23, 32, 51, 0.08);
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) 240px;
    margin: 0 0 16px;
    overflow: hidden;
    padding: 38px;
    position: relative;
}

.sds-hero::before {
    background: #16794c;
    content: "";
    inset: 0 auto 0 0;
    position: absolute;
    width: 6px;
}

.sds-score-low::before {
    background: #c5362f;
}

.sds-score-mid::before {
    background: #b7791f;
}

.sds-eyebrow {
    color: #2f6fbb;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.sds-hero h1 {
    color: #111827;
    font-size: 42px;
    line-height: 1.12;
    margin: 0 0 12px;
}

.sds-verdict-line {
    color: #172033;
    font-size: 21px;
    font-weight: 800;
    margin: 0 0 10px;
}

.sds-summary {
    color: #3d4b5f;
    font-size: 17px;
    margin: 0;
    max-width: 820px;
}

.sds-score-card {
    background: #fbfcfe;
    border: 1px solid #dce3ed;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(23, 32, 51, 0.08);
    padding: 22px;
    text-align: center;
}

.sds-anchor-nav {
    background: #ffffff;
    border: 1px solid #dce3ed;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 16px;
    padding: 8px;
}

.sds-nav-button {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #314158;
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    min-height: 38px;
    padding: 8px 12px;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease;
}

.sds-nav-button:hover,
.sds-nav-button:focus {
    background: #edf4fb;
    color: #1f5f99;
}

.sds-score-label {
    color: #57657a;
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.sds-score-card strong {
    display: block;
    font-size: 52px;
    line-height: 1;
}

.sds-score-card span {
    color: #65758d;
    font-size: 18px;
}

.sds-score-card p {
    color: #3d4b5f;
    font-weight: 700;
    margin: 12px 0 0;
}

.sds-progress {
    background: #e8edf4;
    border-radius: 999px;
    height: 10px;
    margin-top: 16px;
    overflow: hidden;
}

.sds-progress span {
    background: #16794c;
    display: block;
    height: 100%;
}

.sds-score-low .sds-progress span {
    background: #c5362f;
}

.sds-score-mid .sds-progress span {
    background: #b7791f;
}

.sds-grid {
    display: grid;
    gap: 18px;
    margin-bottom: 18px;
}

.sds-top-grid {
    align-items: stretch;
}

.sds-status-strip {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0 0 18px;
}

.sds-status-card {
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #dce3ed;
    border-top: 4px solid #65758d;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(23, 32, 51, 0.05);
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr);
    min-height: 86px;
    padding: 14px;
}

.sds-status-copy {
    min-width: 0;
}

.sds-status-copy em {
    color: #65758d;
    display: block;
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 4px;
}

.sds-status-copy strong {
    color: #111827;
    display: block;
    font-size: 18px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.sds-status-badge {
    align-self: end;
    border-radius: 999px;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    justify-self: start;
    line-height: 1;
    padding: 7px 9px;
    text-transform: uppercase;
}

.sds-status-good {
    border-top-color: #16794c;
}

.sds-status-good .sds-status-badge {
    background: #e8f6ef;
    color: #12613e;
}

.sds-status-warn {
    border-top-color: #b7791f;
}

.sds-status-warn .sds-status-badge {
    background: #fff5df;
    color: #8a5617;
}

.sds-status-danger {
    border-top-color: #c5362f;
}

.sds-status-danger .sds-status-badge {
    background: #fff0ef;
    color: #9c2721;
}

.sds-status-neutral {
    border-top-color: #65758d;
}

.sds-status-neutral .sds-status-badge {
    background: #f0f3f7;
    color: #4d5c70;
}

.sds-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sds-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sds-panel {
    border: 1px solid #dce3ed;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(23, 32, 51, 0.04);
    padding: 22px;
}

.sds-verdict-panel {
    border-color: #cddbd5;
    background: #fbfdfc;
}

.sds-panel h2 {
    color: #111827;
    font-size: 21px;
    line-height: 1.25;
    margin: 0 0 14px;
}

.sds-panel h3 {
    color: #111827;
    font-size: 17px;
    margin: 18px 0 10px;
}

.sds-lead {
    color: #27364a;
    font-size: 17px;
    font-weight: 600;
}

.sds-recommendation {
    background: #eef7f3;
    border: 1px solid #cae4d7;
    border-radius: 8px;
    margin-top: 18px;
    padding: 14px;
}

.sds-score-low .sds-recommendation {
    background: #fff4f3;
    border-color: #f0c4bf;
}

.sds-recommendation span {
    color: #57657a;
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.sds-recommendation strong {
    display: block;
    font-weight: 700;
}

.sds-screenshot-panel img {
    aspect-ratio: 16 / 10;
    background: #eef2f7;
    border: 1px solid #dce3ed;
    border-radius: 8px;
    display: block;
    object-fit: cover;
    object-position: top center;
    width: 100%;
}

.sds-screenshot-panel p {
    color: #65758d;
    font-size: 14px;
    margin: 10px 0 0;
}

.sds-seo-section {
    background: #ffffff;
    border: 1px solid #dce3ed;
    border-radius: 8px;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
    margin: 0 0 18px;
    padding: 26px;
}

.sds-seo-section h2,
.sds-seo-section h3 {
    color: #111827;
    margin-top: 0;
}

.sds-seo-section p {
    color: #3d4b5f;
}

.sds-seo-section aside {
    background: #f4f7fb;
    border: 1px solid #e0e7f0;
    border-radius: 8px;
    padding: 18px;
}

.sds-seo-section ul {
    margin: 0;
    padding-left: 20px;
}

.sds-seo-section li {
    margin: 8px 0;
}

.sds-rows {
    margin: 0;
}

.sds-row {
    border-top: 1px solid #edf1f6;
    display: grid;
    gap: 12px;
    grid-template-columns: 150px minmax(0, 1fr);
    padding: 10px 0;
}

.sds-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.sds-row dt {
    color: #57657a;
    font-weight: 700;
}

.sds-row dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.sds-factor-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sds-factor-list li {
    border-top: 1px solid #edf1f6;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 11px 0;
}

.sds-factor-list li:first-child {
    border-top: 0;
    padding-top: 0;
}

.sds-factor-list span {
    font-weight: 700;
}

.sds-factor-list strong {
    border-radius: 999px;
    color: #fff;
    min-width: 42px;
    padding: 2px 8px;
    text-align: center;
}

.sds-factor-list small {
    color: #57657a;
    grid-column: 1 / -1;
}

.sds-signal-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.sds-signal-grid li {
    background: #f6faf8;
    border: 1px solid #dce9e3;
    border-radius: 8px;
    padding: 14px;
}

.sds-section-heading {
    margin: 28px 0 16px;
    max-width: 850px;
}

.sds-section-heading h2 {
    color: #111827;
    font-size: 26px;
    margin: 0 0 8px;
}

.sds-section-heading p {
    color: #57657a;
    margin: 0;
}

.sds-action-list,
.sds-comparison-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sds-action-list li,
.sds-comparison-list li {
    border-top: 1px solid #edf1f6;
    padding: 12px 0 12px 30px;
    position: relative;
}

.sds-action-list li:first-child,
.sds-comparison-list li:first-child {
    border-top: 0;
}

.sds-action-list li::before,
.sds-comparison-list li::before {
    border-radius: 999px;
    color: #fff;
    content: "!";
    font-size: 12px;
    font-weight: 900;
    height: 20px;
    left: 0;
    line-height: 20px;
    position: absolute;
    text-align: center;
    top: 14px;
    width: 20px;
}

.sds-action-list .sds-ok::before,
.sds-comparison-list li::before {
    background: #16794c;
    content: "✓";
}

.sds-action-list .sds-warn::before {
    background: #b7791f;
}

.sds-action-list .sds-danger::before {
    background: #c5362f;
}

.sds-source-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sds-source-cloud span {
    background: #f2f6fa;
    border: 1px solid #dce3ed;
    border-radius: 999px;
    color: #26364a;
    font-size: 13px;
    font-weight: 800;
    padding: 7px 10px;
}

.sds-signal-grid span {
    color: #16794c;
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 5px;
}

.sds-signal-grid strong {
    display: block;
    font-size: 15px;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.sds-popularity-meter {
    background: #e8edf4;
    border-radius: 999px;
    height: 14px;
    margin: 0 0 16px;
    overflow: hidden;
}

.sds-popularity-meter span {
    background: #2f6fbb;
    display: block;
    height: 100%;
}

.sds-popularity-score {
    align-items: end;
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.sds-popularity-score strong {
    color: #2f6fbb;
    font-size: 42px;
    line-height: 1;
}

.sds-popularity-score span {
    color: #57657a;
    font-weight: 800;
    padding-bottom: 5px;
}

.sds-history-chart {
    align-items: end;
    border-bottom: 1px solid #dce3ed;
    display: grid;
    gap: 7px;
    grid-template-columns: repeat(12, minmax(10px, 1fr));
    height: 120px;
    margin: 4px 0 18px;
    padding-top: 8px;
}

.sds-history-chart div {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-end;
    min-width: 0;
}

.sds-history-chart div > span {
    background: #2f6fbb;
    border-radius: 5px 5px 0 0;
    display: block;
    min-height: 6px;
    width: 100%;
}

.sds-history-chart small {
    color: #65758d;
    font-size: 11px;
    margin-top: 5px;
    white-space: nowrap;
}

.sds-table-wrap {
    overflow-x: auto;
}

.sds-table {
    border-collapse: collapse;
    min-width: 680px;
    width: 100%;
}

.sds-table th,
.sds-table td {
    border-top: 1px solid #edf1f6;
    padding: 10px;
    text-align: left;
    vertical-align: top;
}

.sds-table th {
    color: #57657a;
    font-size: 13px;
    text-transform: uppercase;
}

.sds-raw-details {
    margin-top: 16px;
}

.sds-raw-details summary {
    cursor: pointer;
    font-weight: 800;
}

.sds-raw-details textarea {
    border: 1px solid #dce3ed;
    border-radius: 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    margin-top: 10px;
    padding: 12px;
    width: 100%;
}

.sds-faq {
    background: #ffffff;
    border: 1px solid #dce3ed;
    border-radius: 8px;
    margin-top: 18px;
    padding: 24px;
}

.sds-faq h2 {
    color: #111827;
    font-size: 24px;
    margin: 0 0 14px;
}

.sds-faq details {
    border-top: 1px solid #edf1f6;
    padding: 14px 0;
}

.sds-faq details:first-of-type {
    border-top: 0;
}

.sds-faq summary {
    color: #172033;
    cursor: pointer;
    font-weight: 800;
}

.sds-faq p {
    color: #3d4b5f;
    margin: 10px 0 0;
}

.sds-positive strong {
    background: #16794c;
}

.sds-negative strong {
    background: #c5362f;
}

.sds-redirects {
    margin: 0;
    padding-left: 22px;
}

.sds-redirects li {
    overflow-wrap: anywhere;
    padding: 5px 0;
}

.sds-footer {
    color: #57657a;
    font-size: 14px;
    margin-top: 18px;
}

@media (max-width: 900px) {
    .sds-hero,
    .sds-grid-two,
    .sds-grid-three,
    .sds-status-strip,
    .sds-signal-grid,
    .sds-seo-section {
        grid-template-columns: 1fr;
    }

    .sds-report {
        padding: 12px;
    }

    .sds-hero {
        padding: 22px;
    }
}

@media (max-width: 560px) {
    .sds-hero h1 {
        font-size: 27px;
    }

    .sds-verdict-line {
        font-size: 18px;
    }

    .sds-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .sds-anchor-nav a {
        width: 100%;
    }

    .sds-status-card {
        min-height: 72px;
    }
}
