:root {
    --site-bg: #ffffff;
    --site-surface: #ffffff;
    --site-text: #181818;
    --site-muted: #606060;
    --site-border: #cccccc;
    --site-accent: #d93b22;
    --site-neutral: #f5f5f5;
    --site-dark: #202020;
    --site-grid: #e4e4e4;
    --site-transition: 200ms ease-out;
}

body {
    background: var(--site-bg);
    color: var(--site-text);
    font-family: Archivo, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
}

.container {
    max-width: 1280px;
}

.navbar {
    min-height: 72px;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    display: block;
    width: auto;
    height: 2.25rem;
}

.nav-link {
    border-radius: .5rem;
    color: var(--site-muted);
    font-size: .95rem;
    padding-inline: .8rem !important;
}

.nav-link:hover,
.nav-link.active {
    background: #f2f2ef;
    color: var(--site-text) !important;
}

.hero-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 18%, rgba(223, 243, 106, .7), transparent 26rem),
        linear-gradient(180deg, #fff 0%, var(--site-bg) 100%);
    border-bottom: 1px solid var(--site-border);
}

.hero-section h1 {
    max-width: 12ch;
    letter-spacing: -.055em;
    line-height: 1.02;
}

.hero-section .lead {
    max-width: 40rem;
}

.url-test-form {
    max-width: 46rem;
    padding: .75rem;
    background: rgba(255, 255, 255, .9);
    border: 1px solid var(--site-border);
    border-radius: .75rem;
    box-shadow: 0 1rem 3rem rgba(20, 20, 20, .07);
}

.url-test-form-row {
    display: flex;
    gap: .65rem;
}

.url-test-form .form-control {
    min-width: 0;
    border-color: transparent;
    background: #f5f5f2;
    font-size: 1rem;
}

.url-test-form .form-control:focus {
    border-color: #b7c957;
    background: #fff;
    box-shadow: 0 0 0 .2rem rgba(164, 189, 28, .16);
}

.form-hint {
    padding: .55rem .35rem 0;
    color: var(--site-muted);
    font-size: .78rem;
}

.eyebrow {
    display: inline-block;
    color: #5d5d55;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero-card,
.feature-card,
.contact-card,
.dashboard-card,
.auth-card,
.info-panel,
.legal-content {
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-radius: .75rem;
    box-shadow: 0 1rem 3rem rgba(20, 20, 20, .035);
}

.hero-card {
    padding: 2rem;
    transform: rotate(1.5deg);
}

.ai-output-card {
    position: relative;
    padding: 1.5rem;
    transform: none;
    box-shadow: 0 1.5rem 4rem rgba(20, 20, 20, .08);
}

.ai-output-heading {
    display: flex;
    align-items: center;
    gap: .85rem;
}

.ai-output-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: .75rem;
    background: var(--site-accent);
}

.ai-output-list {
    display: grid;
    margin: 0;
    padding: 0;
    gap: .55rem;
    list-style: none;
}

.ai-output-list li {
    display: grid;
    grid-template-columns: 1.5rem minmax(0, 1fr);
    align-items: start;
    gap: .5rem;
    color: #44443f;
    font-size: .9rem;
}

.ai-output-list li span {
    display: grid;
    width: 1.35rem;
    height: 1.35rem;
    place-items: center;
    border-radius: .75rem;
    background: #f0f5d3;
    color: #59650c;
    font-size: .68rem;
    font-weight: 800;
}

.ai-output-compatibility {
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid var(--site-border);
    color: var(--site-muted);
    font-size: .78rem;
    font-weight: 650;
}

.feature-card {
    padding: 1.75rem;
}

.home-workflow-section {
    background: var(--site-bg);
}

.home-process-card {
    position: relative;
}

.home-process-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.home-step-badge {
    padding: .3rem .55rem;
    border: 1px solid #d9dfae;
    border-radius: .75rem;
    background: #f8fadf;
    color: #626c1d;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.feature-number {
    color: #94948a;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
}

.home-content-section {
    border-top: 1px solid var(--site-border);
}

.home-section-heading {
    max-width: 46rem;
}

.home-section-heading h2,
.home-content-section > .container > .row h2 {
    letter-spacing: -.045em;
    line-height: 1.08;
}

.home-audit-card {
    padding: 1.5rem;
    border: 1px solid var(--site-border);
    border-radius: .75rem;
    background: var(--site-surface);
}

.home-audit-card-heading {
    display: flex;
    margin-bottom: .85rem;
    align-items: center;
    gap: .8rem;
}

.home-audit-card-heading .feature-number {
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: .6rem;
    background: #f1f4df;
    color: #65720f;
}

.home-check-list {
    display: grid;
    padding: 0;
    gap: .5rem;
    list-style: none;
}

.home-check-list li {
    position: relative;
    padding-left: 1.15rem;
    color: #44443f;
    font-size: .9rem;
}

.home-check-list li::before {
    position: absolute;
    top: .58em;
    left: 0;
    width: .38rem;
    height: .38rem;
    border-radius: .75rem;
    background: #a9bd32;
    content: "";
}

.home-step-number {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border-radius: .75rem;
    background: var(--site-accent);
    font-size: .85rem;
    font-weight: 800;
}

.home-report-panel {
    overflow: hidden;
    border: 1px solid var(--site-border);
    border-radius: .75rem;
    background: var(--site-bg);
}

.home-report-item {
    display: grid;
    padding: 1.15rem;
    grid-template-columns: 2rem minmax(0, 1fr);
    align-items: start;
    gap: .8rem;
    border-bottom: 1px solid var(--site-border);
}

.home-report-item:last-child {
    border-bottom: 0;
}

.home-report-marker {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: .75rem;
    background: var(--site-accent);
    font-size: .8rem;
    font-weight: 800;
}

.ai-provider-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.ai-provider-list span {
    padding: .45rem .75rem;
    border: 1px solid var(--site-border);
    border-radius: .75rem;
    background: var(--site-surface);
    color: #484843;
    font-size: .8rem;
    font-weight: 700;
}

.home-faq-list {
    overflow: hidden;
    border: 1px solid var(--site-border);
    border-radius: .75rem;
    background: var(--site-surface);
}

.home-faq-item {
    border-bottom: 1px solid var(--site-border);
}

.home-faq-item:last-child {
    border-bottom: 0;
}

.home-faq-item summary {
    display: flex;
    padding: 1.2rem 1.35rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    font-weight: 650;
    list-style: none;
}

.home-faq-item summary::-webkit-details-marker {
    display: none;
}

.home-faq-item summary:hover {
    background: #fafaf7;
}

.home-faq-item > p {
    max-width: 60rem;
    padding: 0 3.75rem 1.25rem 1.35rem;
    font-size: .95rem;
}

.home-faq-toggle {
    color: #77776e;
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1;
    transition: transform .18s ease;
}

.home-faq-item[open] .home-faq-toggle {
    transform: rotate(45deg);
}

.home-cta {
    display: flex;
    padding: 1.5rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border: 1px solid #cedd76;
    border-radius: .75rem;
    background: linear-gradient(135deg, #f7fadf, #eef5b8);
}

.page-header {
    background: #fff;
    border-bottom: 1px solid var(--site-border);
}

.page-header h1 {
    letter-spacing: -.04em;
}

.report-header-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 400px);
    align-items: center;
    gap: clamp(1rem, 3vw, 2.5rem);
}

.report-header-copy {
    min-width: 0;
}

.report-title {
    margin: 0;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    letter-spacing: -.04em;
    line-height: 1.05;
}

.report-domain-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
}

.domain-rating-badge {
    display: inline-flex;
    min-height: 2rem;
    padding: .3rem .55rem;
    align-items: center;
    gap: .4rem;
    border: 1px solid #d8dfac;
    border-radius: .6rem;
    background: #f7f9e9;
    color: var(--site-text);
    font-size: .75rem;
    line-height: 1;
    text-decoration: none;
}

.domain-rating-badge:hover {
    border-color: #aebc53;
    background: #f1f5d4;
    color: var(--site-text);
}

.domain-rating-label {
    color: #697515;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.domain-rating-badge strong {
    font-size: .95rem;
}

.domain-rating-source {
    padding-left: .4rem;
    border-left: 1px solid #d8dfac;
    color: var(--site-muted);
    font-size: .62rem;
}

.report-url {
    font-size: .9rem;
}

.report-action-panel {
    display: grid;
    padding: .75rem;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: .55rem;
    border: 1px solid var(--site-border);
    border-radius: .7rem;
    background: #f8f8f5;
}

.report-status-row {
    display: flex;
    flex-wrap: wrap;
    align-self: start;
    gap: .45rem;
}

.report-header-retest {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: .25rem;
}

.report-header-retest .btn {
    width: 100%;
}

.report-action-button {
    display: flex;
    padding: .7rem .85rem;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    font-size: .86rem;
    font-weight: 700;
    line-height: 1.2;
}

.report-action-button svg {
    flex: 0 0 auto;
}

.report-export-button {
    grid-column: 1 / -1;
    width: 100%;
    border: 1px solid #b8ce3e;
    background: var(--site-accent);
    color: var(--site-text);
    text-align: left;
}

.report-export-button:hover,
.report-export-button:focus-visible {
    border-color: #9eb620;
    background: #d6ed55;
    color: var(--site-text);
}

.report-export-button span,
.report-export-button strong,
.report-export-button small {
    display: block;
}

.report-export-button strong {
    font-size: inherit;
}

.report-export-button small {
    margin-top: .05rem;
    color: #5a631e;
    font-size: .68rem;
    font-weight: 600;
}

.gsc-export-modal {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--site-border);
    border-radius: .75rem;
}

.gsc-download-overlay {
    position: absolute;
    z-index: 20;
    inset: 0;
    display: flex;
    min-height: 16rem;
    padding: 2rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .65rem;
    background: rgba(255, 255, 255, .94);
    text-align: center;
    cursor: wait;
}

.gsc-download-overlay[hidden] {
    display: none;
}

.gsc-download-overlay strong {
    font-size: 1rem;
}

.gsc-download-overlay span:last-child {
    max-width: 22rem;
    color: var(--site-muted);
    font-size: .78rem;
}

.gsc-download-spinner {
    width: 2.25rem;
    height: 2.25rem;
    border: .2rem solid #e3e3dc;
    border-top-color: var(--site-text);
    border-radius: .75rem;
    animation: gsc-download-spin .75s linear infinite;
}

@keyframes gsc-download-spin {
    to {
        transform: rotate(360deg);
    }
}

.gsc-connection-state {
    display: flex;
    padding: .75rem;
    align-items: center;
    gap: .65rem;
    border: 1px solid var(--site-border);
    border-radius: .7rem;
    background: #f8f8f5;
}

.gsc-connection-state strong,
.gsc-connection-state small {
    display: block;
}

.gsc-connection-state strong {
    font-size: .85rem;
}

.gsc-connection-state small {
    margin-top: .1rem;
    color: var(--site-muted);
    font-size: .72rem;
}

.gsc-status-dot {
    width: .7rem;
    height: .7rem;
    flex: 0 0 .7rem;
    border-radius: .75rem;
    background: #9a9a94;
    box-shadow: 0 0 0 .25rem rgba(104, 104, 104, .1);
}

.gsc-status-dot.connected {
    background: #6f9d22;
    box-shadow: 0 0 0 .25rem rgba(111, 157, 34, .13);
}

.gsc-export-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: .5rem;
}

.gsc-export-actions > * {
    width: 100%;
    min-width: 0;
    margin: 0;
}

.ai-export-result {
    padding-block: 2rem;
    text-align: center;
}

.ai-export-ready-mark {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0 auto 1rem;
    place-items: center;
    border-radius: 50%;
    background: rgba(217, 59, 34, .12);
    color: var(--site-accent);
    font-size: 1.2rem;
    font-weight: 800;
}

.ai-export-expiry {
    color: var(--site-muted);
    font-size: .72rem;
    font-weight: 600;
}

.gsc-connection-management {
    border-top: 1px solid var(--site-border);
    background: #fafaf8;
}

.gsc-connection-management summary {
    padding: .65rem 1rem;
    color: var(--site-muted);
    cursor: pointer;
    font-size: .72rem;
    text-align: right;
}

.gsc-connection-management .gsc-connection-controls {
    padding-top: 0;
    border-top: 0;
}

.gsc-connection-controls {
    display: flex;
    padding: .65rem 1rem;
    justify-content: flex-end;
    gap: 1rem;
    border-top: 1px solid var(--site-border);
    background: #fafaf8;
    font-size: .72rem;
}

.gsc-connection-controls a,
.gsc-connection-controls button {
    padding: 0;
    border: 0;
    background: none;
    color: var(--site-muted);
    text-decoration: underline;
}

.gsc-connection-controls button:hover,
.gsc-connection-controls a:hover {
    color: var(--site-text);
}

.problem-report-trigger {
    position: fixed;
    z-index: 1030;
    right: 1.25rem;
    bottom: 1.25rem;
    display: flex;
    padding: .65rem .85rem;
    align-items: center;
    gap: .5rem;
    border-radius: .75rem;
    box-shadow: 0 .65rem 1.75rem rgba(20, 20, 20, .2);
    font-size: .8rem;
    font-weight: 700;
}

.problem-report-trigger svg {
    flex: 0 0 auto;
}

.problem-report-modal {
    overflow: hidden;
    border: 1px solid var(--site-border);
    border-radius: .75rem;
}

.problem-report-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.report-privacy-action {
    display: grid;
    grid-column: 1 / -1;
    padding-top: .55rem;
    grid-template-columns: minmax(0, 1fr) minmax(7.5rem, auto);
    align-items: end;
    gap: .5rem;
    border-top: 1px solid var(--site-border);
}

.report-privacy-action strong,
.report-privacy-action span {
    display: block;
}

.report-privacy-action strong {
    margin-bottom: .15rem;
    font-size: .82rem;
}

.report-privacy-action span {
    color: var(--site-muted);
    font-size: .72rem;
    line-height: 1.45;
}

.report-layout.container {
    display: grid;
    max-width: 1440px;
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
}

.report-content {
    min-width: 0;
}

.report-sidebar {
    position: sticky;
    z-index: 1000;
    top: 5rem;
    max-height: calc(100vh - 6rem);
    margin-top: 2rem;
    overflow: hidden;
    border: 1px solid var(--site-border);
    border-radius: .7rem;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 .45rem 1.4rem rgba(20, 20, 20, .06);
    backdrop-filter: blur(12px);
}

.report-sidebar-inner {
    display: flex;
    max-height: inherit;
    padding: .75rem;
    flex-direction: column;
}

.report-toolbar-heading {
    display: grid;
    margin-bottom: .5rem;
    gap: .18rem;
}

.report-toolbar-heading > strong {
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.report-toolbar-heading > span {
    color: var(--site-muted);
    font-size: .7rem;
}

.report-search {
    margin-bottom: .45rem;
}

.report-search .form-control {
    min-height: 2rem;
    padding: .3rem .55rem;
    border-color: var(--site-border);
    border-radius: .5rem;
    background: #fff;
    font-size: .72rem;
}

.report-search .form-control:focus {
    border-color: #aebe52;
    box-shadow: 0 0 0 .15rem rgba(182, 203, 54, .18);
}

.report-search-empty {
    margin: .5rem 0 0;
    color: var(--site-muted);
    font-size: .68rem;
    line-height: 1.35;
}

.report-status-filters {
    display: grid;
    padding-bottom: .6rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .3rem;
    border-bottom: 1px solid var(--site-border);
}

.report-status-filter {
    display: inline-flex;
    min-width: 0;
    padding: .32rem .45rem;
    align-items: center;
    gap: .4rem;
    border: 1px solid transparent;
    border-radius: .55rem;
    background: #f4f4f1;
    color: var(--site-muted);
    font-size: .68rem;
    font-weight: 750;
    line-height: 1.2;
    text-align: left;
    text-transform: uppercase;
    transition: opacity .15s ease, background-color .15s ease, border-color .15s ease;
}

.report-status-filter::before {
    width: .48rem;
    height: .48rem;
    flex: 0 0 .48rem;
    border-radius: .75rem;
    background: currentColor;
    content: '';
}

.report-status-filter-fail[aria-pressed="true"] {
    border-color: #ebc0c0;
    background: #fff0f0;
    color: #9a2828;
}

.report-status-filter-warn[aria-pressed="true"] {
    border-color: #ead48c;
    background: #fff7d8;
    color: #725800;
}

.report-status-filter-pass[aria-pressed="true"] {
    border-color: #cee3ab;
    background: #eef8df;
    color: #3a6714;
}

.report-status-filter-info[aria-pressed="true"] {
    border-color: #cad8e7;
    background: #edf3fa;
    color: #35516f;
}

.report-status-filter[aria-pressed="false"] {
    border-color: #e6e6e1;
    background: #fff;
    color: #8c8c84;
    opacity: .48;
}

.report-status-filter:hover,
.report-status-filter:focus-visible {
    opacity: 1;
}

.report-toolbar-links {
    display: flex;
    min-height: 0;
    padding-top: .5rem;
    flex: 1 1 auto;
    flex-direction: column;
    gap: .15rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.report-toolbar-links a {
    display: block;
    width: 100%;
    padding: .3rem .45rem;
    border-radius: .5rem;
    color: var(--site-muted);
    font-size: .72rem;
    font-weight: 650;
    line-height: 1.25;
    text-decoration: none;
}

.report-toolbar-links a:hover,
.report-toolbar-links a.active {
    background: #eff3d5;
    color: #344000;
}

.report-nav-group-label {
    display: block;
    padding: .55rem .45rem .18rem;
    color: #99998f;
    font-size: .61rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

[data-report-anchor] {
    scroll-margin-top: 5.5rem;
}

.report-filter-hidden {
    display: none !important;
}

.contact-card {
    display: flex;
    min-height: 160px;
    padding: 1.5rem;
    flex-direction: column;
    justify-content: space-between;
}

.contact-label {
    color: var(--site-muted);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contact-value {
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
}

a.contact-value:hover,
.footer-link:hover {
    text-decoration: underline;
}

.info-panel {
    display: flex;
    padding: 1.5rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.legal-content {
    max-width: 820px;
    padding: clamp(1.5rem, 4vw, 3.5rem);
}

.legal-content section + section {
    padding-top: 1.75rem;
    margin-top: 1.75rem;
    border-top: 1px solid var(--site-border);
}

.legal-content h2 {
    margin-bottom: .75rem;
    font-size: 1.15rem;
}

.legal-content p {
    margin-bottom: 0;
    color: var(--site-muted);
    line-height: 1.8;
}

.legal-content p + p,
.legal-content p + ul,
.legal-content ul + p {
    margin-top: .85rem;
}

.legal-content ul {
    padding-left: 1.25rem;
    margin-bottom: 0;
    color: var(--site-muted);
}

.legal-content li + li {
    margin-top: .45rem;
}

.auth-section {
    display: grid;
    min-height: calc(100vh - 145px);
    place-items: center;
    background: radial-gradient(circle at 50% 15%, rgba(223, 243, 106, .45), transparent 24rem);
}

.error-page {
    display: grid;
    min-height: calc(100vh - 145px);
    padding: 2rem 0;
    place-items: center;
    background: radial-gradient(circle at 50% 20%, rgba(223, 243, 106, .38), transparent 22rem);
}

.error-card {
    max-width: 680px;
    padding: clamp(1.5rem, 5vw, 3rem);
    text-align: center;
}

.error-code {
    margin: .7rem 0 .9rem;
    color: #b6cb36;
    font-size: clamp(4.5rem, 16vw, 8rem);
    font-weight: 800;
    letter-spacing: -.09em;
    line-height: .9;
}

.error-card h1 {
    margin-bottom: .65rem;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    letter-spacing: -.035em;
}

.error-card p {
    max-width: 34rem;
    margin: 0 auto;
    color: var(--site-muted);
}

.error-actions {
    display: flex;
    margin-top: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
}

.auth-card {
    max-width: 470px;
    padding: clamp(1.5rem, 5vw, 3rem);
}

.oauth-button {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    border-radius: .7rem;
    font-weight: 600;
}

.oauth-google {
    background: #fff;
    border-color: #d7d7d2;
}

.oauth-google:hover {
    background: #f6f6f3;
    border-color: #bcbcb5;
}

.oauth-github,
.oauth-github:hover {
    background: #171717;
    border-color: #171717;
    color: #fff;
}

.oauth-demo {
    border-color: #9fb723;
    background: var(--site-accent);
}

.oauth-demo:hover {
    border-color: #8aa00e;
    background: #d4e95d;
}

.oauth-mark {
    display: inline-flex;
    width: 1.4rem;
    height: 1.4rem;
    flex: 0 0 1.4rem;
    align-items: center;
    justify-content: center;
}

.oauth-mark svg {
    display: block;
    width: 100%;
    height: 100%;
}

.oauth-mark-text {
    display: inline-grid;
    width: 1.75rem;
    height: 1.75rem;
    flex-basis: 1.75rem;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: .75rem;
    font-size: .65rem;
    font-weight: 800;
}

.dashboard-card {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.profile-avatar {
    display: grid;
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    place-items: center;
    border: 1px solid var(--site-border);
    border-radius: .75rem;
    object-fit: cover;
}

.profile-avatar-fallback {
    background: var(--site-accent);
    font-size: 1.5rem;
    font-weight: 800;
}

.provider-row {
    display: flex;
    padding: .9rem 0;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--site-border);
}

.provider-row {
    justify-content: flex-start;
}

.dashboard-danger-zone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border-color: #eccaca;
    background: #fffafa;
}

.dashboard-danger-label {
    color: #a03232;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-heading {
    min-height: 7.5rem;
}

.admin-totals {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.admin-totals span {
    padding: .45rem .7rem;
    border: 1px solid var(--site-border);
    border-radius: .65rem;
    background: #fff;
    color: var(--site-muted);
    font-size: .78rem;
}

.admin-totals strong {
    color: var(--site-text);
}

.admin-tabs {
    display: flex;
    margin-top: 1.25rem;
    flex-wrap: wrap;
    gap: .35rem;
}

.admin-tab {
    padding: .55rem .8rem;
    border-radius: .6rem;
    color: var(--site-muted);
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
}

.admin-tab:hover,
.admin-tab.active {
    background: var(--site-text);
    color: #fff;
}

.admin-toolbar {
    display: flex;
    max-width: 48rem;
    gap: .5rem;
}

.admin-toolbar .form-control {
    min-width: 14rem;
}

.admin-test-toolbar {
    max-width: none;
}

.admin-test-toolbar .form-select {
    width: auto;
    min-width: 10rem;
}

.admin-list {
    overflow: hidden;
    border: 1px solid var(--site-border);
    border-radius: .75rem;
    background: #fff;
}

.admin-list-head,
.admin-list-row {
    display: grid;
    padding: .75rem 1rem;
    align-items: center;
    gap: 1rem;
}

.admin-list-head {
    background: #f3f3f0;
    color: var(--site-muted);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.admin-list-row {
    min-height: 4.35rem;
    border-top: 1px solid var(--site-border);
    font-size: .86rem;
}

.admin-user-grid {
    grid-template-columns: minmax(15rem, 2fr) minmax(9rem, 1fr) 5rem 9rem;
}

.admin-test-grid {
    grid-template-columns: minmax(14rem, 1.8fr) minmax(11rem, 1.1fr) minmax(10rem, auto) 8.5rem auto;
}

.admin-problem-grid {
    grid-template-columns: minmax(12rem, 1.2fr) minmax(16rem, 2fr) minmax(11rem, 1fr) 8.5rem auto;
    align-items: start;
}

.admin-problem-message {
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    line-height: 1.45;
}

.admin-reply-badge {
    display: inline-block;
    padding: .25rem .45rem;
    border: 1px solid #cbdc6c;
    border-radius: .75rem;
    background: #f5fad5;
    color: #59650d;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.admin-identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: .7rem;
}

.admin-identity > img,
.admin-identity > span {
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 2.25rem;
    place-items: center;
    border-radius: .75rem;
    background: var(--site-accent);
    font-size: .8rem;
    font-weight: 800;
    object-fit: cover;
}

.admin-provider-list,
.admin-test-state {
    display: flex;
    align-items: center;
    gap: .35rem;
    flex-wrap: wrap;
}

.admin-provider {
    padding: .25rem .45rem;
    border: 1px solid var(--site-border);
    border-radius: .75rem;
    background: #fafaf8;
    font-size: .7rem;
    font-weight: 700;
}

.admin-report-url {
    color: var(--site-text);
}

.admin-list-row time {
    color: var(--site-muted);
    font-size: .78rem;
}

.admin-empty {
    padding: 2.5rem 1rem;
    color: var(--site-muted);
    text-align: center;
}

.admin-pagination {
    display: flex;
    margin-top: 1rem;
    align-items: center;
    justify-content: flex-end;
    gap: .75rem;
}

.min-w-0 {
    min-width: 0;
}

.provider-dot {
    width: .65rem;
    height: .65rem;
    border-radius: .75rem;
    background: #222;
}

.provider-dot-google {
    background: #4285f4;
}

.provider-dot-demo {
    background: #a4bd1c;
}

.test-summary-card {
    max-width: 860px;
    padding: clamp(1.25rem, 4vw, 2.5rem);
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-radius: .75rem;
    box-shadow: 0 1rem 3rem rgba(20, 20, 20, .035);
}

.test-status-row {
    display: flex;
    padding-bottom: 1.25rem;
    align-items: center;
    gap: .65rem;
    border-bottom: 1px solid var(--site-border);
}

.test-status-dot {
    width: .7rem;
    height: .7rem;
    border-radius: .75rem;
    background: #a4bd1c;
    box-shadow: 0 0 0 .3rem rgba(164, 189, 28, .13);
}

.test-details > div {
    display: grid;
    padding: 1rem 0;
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: 1rem;
    border-bottom: 1px solid var(--site-border);
}

.test-details dt {
    color: var(--site-muted);
    font-weight: 500;
}

.test-details dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    font-weight: 600;
}

.test-history-row {
    display: grid;
    padding: 1rem 0;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--site-border);
    text-decoration: none;
}

.test-history-row:hover span {
    text-decoration: underline;
}

.test-history-row time {
    color: var(--site-muted);
    font-size: .85rem;
}

.privacy-badge,
.visibility-status,
.run-status {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    border: 1px solid #ddddda;
    border-radius: .75rem;
    background: #f2f2ef;
    color: #686868;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: .28rem .55rem;
    text-transform: uppercase;
}

.visibility-status {
    padding: .38rem .65rem;
}

.run-status {
    padding: .38rem .65rem;
}

.run-status-pending,
.run-status-running {
    border-color: #d9c579;
    background: #fff6cf;
    color: #6e5900;
}

.run-status-completed {
    border-color: #bcd889;
    background: #edf8dc;
    color: #3e641b;
}

.run-status-failed {
    border-color: #e4aaaa;
    background: #fff0f0;
    color: #922c2c;
}

.privacy-badge-public,
.visibility-status-public {
    border-color: #cbdc6b;
    background: #eff8bc;
    color: #536000;
}

.share-panel {
    display: grid;
    margin-top: .75rem;
    padding: .9rem;
    gap: .75rem;
    border: 1px solid #d7d7d1;
    border-radius: .75rem;
    background: #f7f7f4;
}

.share-panel {
    border-color: #d5e284;
    background: #f8fbdc;
}

.publish-panel-label {
    color: var(--site-muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.share-link-row {
    display: flex;
    gap: .6rem;
}

.analysis-progress-card,
.analysis-error-card {
    display: flex;
    max-width: 860px;
    padding: 1rem;
    align-items: center;
    gap: .8rem;
    border: 1px solid var(--site-border);
    border-radius: .75rem;
    background: #fff;
}

.analysis-error-card {
    display: block;
    border-color: #ebc0c0;
    background: #fffafa;
}

.analysis-spinner {
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 2.5rem;
    border: .25rem solid #ecefcf;
    border-top-color: #879d0d;
    border-radius: .75rem;
    animation: analysis-spin .85s linear infinite;
}

@keyframes analysis-spin {
    to { transform: rotate(360deg); }
}

.result-summary-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: .55rem;
}

.summary-card {
    display: flex;
    min-height: 98px;
    padding: .8rem;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid var(--site-border);
    border-radius: .7rem;
    background: #fff;
}

.summary-card-main {
    justify-content: space-between;
    background: #191919;
    color: #fff;
}

.summary-card strong {
    font-size: 1.25rem;
    line-height: 1.1;
}

.summary-card span:last-child {
    margin-top: .2rem;
    color: #77776f;
    font-size: .82rem;
}

.summary-card-main span:last-child {
    color: #aaa;
}

.result-section {
    margin-top: .65rem;
    padding: .9rem;
    border: 1px solid var(--site-border);
    border-radius: .75rem;
    background: #fff;
}

.result-section-heading {
    display: flex;
    margin-bottom: .8rem;
    align-items: flex-start;
    gap: .65rem;
}

.result-section-heading h2 {
    font-size: 1.05rem;
    line-height: 1.25;
}

.result-section-heading p {
    font-size: .78rem;
    line-height: 1.4;
}

.result-section-number {
    display: grid;
    width: 1.9rem;
    height: 1.9rem;
    flex: 0 0 1.9rem;
    place-items: center;
    border-radius: .5rem;
    background: #f0f2dc;
    color: #647300;
    font-size: .64rem;
    font-weight: 800;
}

.result-pill {
    display: inline-flex;
    width: max-content;
    align-items: center;
    border-radius: .75rem;
    padding: .2rem .45rem;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.result-pill-pass,
.result-pill-passed {
    background: #e8f6d8;
    color: #3a6714;
}

.result-pill-warn,
.result-pill-warning {
    background: #fff1bf;
    color: #725800;
}

.result-pill-fail,
.result-pill-failed {
    background: #ffe1e1;
    color: #9a2828;
}

.result-pill-info {
    background: #e7eef8;
    color: #35516f;
}

.result-highlight {
    display: flex;
    padding: .7rem;
    align-items: flex-start;
    gap: .6rem;
    border: 1px solid var(--site-border);
    border-radius: .6rem;
    background: #f8f8f5;
}

.result-highlight-pass {
    border-color: #cee3ab;
    background: #f5faed;
}

.result-highlight-warn {
    border-color: #ead48c;
    background: #fffbec;
}

.result-highlight-fail {
    border-color: #ebc0c0;
    background: #fff6f6;
}

.result-highlight-info {
    border-color: #cad8e7;
    background: #f5f8fc;
}

.variant-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
}

.variant-card {
    min-width: 0;
    padding: .7rem;
    border: 1px solid var(--site-border);
    border-radius: .6rem;
    background: #fafaf8;
}

.redirect-chain {
    display: grid;
    gap: .3rem;
}

.redirect-hop {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: .6rem;
    color: var(--site-muted);
    font-size: .8rem;
}

.http-code {
    display: inline-grid;
    min-width: 2.8rem;
    padding: .18rem .35rem;
    place-items: center;
    border-radius: .4rem;
    background: #e8f6d8;
    color: #3a6714;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-weight: 700;
}

.http-code-bad {
    background: #ffe1e1;
    color: #9a2828;
}

.variant-meta {
    display: grid;
    margin-top: .6rem;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
}

.variant-meta > div {
    padding-top: .45rem;
    border-top: 1px solid var(--site-border);
}

.variant-meta dt {
    color: var(--site-muted);
    font-size: .68rem;
    font-weight: 500;
}

.variant-meta dd {
    margin: .15rem 0 0;
    font-size: .78rem;
    font-weight: 700;
}

.result-table-wrap {
    border: 1px solid var(--site-border);
    border-radius: .6rem;
}

.result-table-wrap .table > :not(caption) > * > * {
    padding: .5rem .65rem;
    border-color: var(--site-border);
}

.result-table-wrap thead th {
    color: var(--site-muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.header-importance {
    color: var(--site-muted);
    font-size: .78rem;
}

.header-value {
    max-width: 28rem;
    overflow-wrap: anywhere;
    font-size: .82rem;
}

.check-list {
    border: 1px solid var(--site-border);
    border-radius: .6rem;
    overflow: hidden;
}

.result-check {
    display: grid;
    padding: .6rem .7rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .55rem;
}

.result-check + .result-check {
    border-top: 1px solid var(--site-border);
}

.result-check strong,
.result-check span:not(.result-pill, .result-dot) {
    display: block;
}

.result-check span:not(.result-pill, .result-dot) {
    margin-top: .15rem;
    color: var(--site-muted);
    font-size: .8rem;
}

.result-dot {
    width: .65rem;
    height: .65rem;
    border-radius: .75rem;
    background: #6a7e91;
}

.result-dot-pass { background: #77a63d; }
.result-dot-warn { background: #d9a91e; }
.result-dot-fail { background: #ce5151; }
.result-dot-info { background: #6a7e91; }

.certificate-meta {
    display: grid;
    margin-top: .65rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .5rem;
}

.certificate-meta > div {
    padding: .6rem;
    border-radius: .55rem;
    background: #f6f6f3;
}

.certificate-meta dt {
    color: var(--site-muted);
    font-size: .7rem;
    font-weight: 500;
}

.certificate-meta dd {
    margin: .25rem 0 0;
    overflow-wrap: anywhere;
    font-size: .82rem;
    font-weight: 700;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
}

.metric-grid > div {
    display: flex;
    min-height: 76px;
    padding: .65rem;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: .6rem;
    background: #f5f5f2;
}

.metric-grid strong {
    font-size: 1rem;
}

.metric-grid span {
    margin-top: .25rem;
    color: var(--site-muted);
    font-size: .75rem;
}

.preview-report {
    overflow: hidden;
}

.serp-preview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
    align-items: start;
    gap: .65rem;
}

.preview-device {
    min-width: 0;
    padding: .65rem;
    border: 1px solid #deded9;
    border-radius: .7rem;
    background: #f8f8f6;
}

.preview-device-mobile {
    max-width: 390px;
}

.preview-device-label,
.social-preview-platform {
    display: flex;
    margin-bottom: .5rem;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    color: var(--site-muted);
    font-size: .72rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.preview-device-label strong,
.social-preview-platform strong {
    color: var(--bs-body-color);
}

.google-result-preview {
    min-height: 150px;
    padding: .85rem;
    border: 1px solid #e7e7e4;
    border-radius: .6rem;
    background: #fff;
    font-family: Arial, sans-serif;
}

.preview-device-mobile .google-result-preview {
    min-height: 180px;
    padding: .8rem;
}

.google-result-source {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: .65rem;
    color: #202124;
}

.google-result-source > span:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.google-result-source strong,
.google-result-source small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.google-result-source strong {
    font-size: .86rem;
    font-weight: 400;
}

.google-result-source small {
    color: #4d5156;
    font-size: .72rem;
}

.google-result-favicon {
    display: grid;
    width: 1.75rem;
    height: 1.75rem;
    flex: 0 0 1.75rem;
    overflow: hidden;
    place-items: center;
    border-radius: .75rem;
    background: #f1f3f4;
    color: #5f6368;
    font-size: .75rem;
    font-weight: 700;
}

.google-result-favicon img {
    width: 1rem;
    height: 1rem;
    object-fit: contain;
}

.google-result-preview h3 {
    display: -webkit-box;
    margin: .7rem 0 .3rem;
    overflow: hidden;
    color: #1a0dab;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.preview-device-mobile .google-result-preview h3 {
    font-size: 1.15rem;
    -webkit-line-clamp: 2;
}

.google-result-preview p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #4d5156;
    font-size: .88rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.preview-device-mobile .google-result-preview p {
    -webkit-line-clamp: 3;
}

.preview-notice {
    margin-top: .6rem;
    color: var(--site-muted);
    font-size: .75rem;
}

.social-preview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    justify-items: start;
    gap: .75rem;
}

.social-preview-card {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #deded9;
    border-radius: .7rem;
    background: #fff;
}

.social-preview-facebook {
    max-width: 500px;
}

.social-preview-x {
    max-width: 550px;
}

.social-preview-discord {
    max-width: 520px;
}

.social-preview-platform {
    margin: 0;
    padding: .55rem .75rem;
    border-bottom: 1px solid #e4e4df;
    background: #f8f8f6;
}

.social-preview-image {
    display: grid;
    aspect-ratio: 1.91 / 1;
    overflow: hidden;
    place-items: center;
    background: #ecece8;
    color: var(--site-muted);
    font-size: .78rem;
    text-align: center;
}

.social-preview-image img,
.social-preview-discord-body > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-preview-content {
    display: flex;
    min-height: 105px;
    padding: .65rem .75rem;
    flex-direction: column;
    gap: .3rem;
    background: #f2f3f5;
}

.social-preview-content small,
.social-preview-discord-body small {
    color: #65676b;
    font-size: .68rem;
    letter-spacing: .03em;
}

.social-preview-content strong,
.social-preview-discord-body strong {
    display: -webkit-box;
    overflow: hidden;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.social-preview-content p,
.social-preview-discord-body p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #65676b;
    font-size: .8rem;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.social-preview-x .social-preview-content {
    background: #fff;
}

.social-preview-discord {
    border-color: #34363c;
    background: #313338;
}

.social-preview-discord .social-preview-platform {
    border-color: #41434a;
    background: #2b2d31;
}

.social-preview-discord .social-preview-platform strong,
.social-preview-discord .social-preview-platform span {
    color: #f2f3f5;
}

.social-preview-discord-body {
    display: flex;
    margin: .7rem;
    padding: .65rem;
    flex-direction: column;
    gap: .35rem;
    border-left: .22rem solid #5865f2;
    border-radius: .25rem;
    background: #2b2d31;
    color: #f2f3f5;
}

.social-preview-discord-body small,
.social-preview-discord-body p {
    color: #b5bac1;
}

.social-preview-discord-body > img,
.social-preview-image-inline {
    height: auto;
    margin-top: .45rem;
    aspect-ratio: 1.91 / 1;
    border-radius: .35rem;
}

.social-metadata-audit {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--bs-border-color);
}

.social-metadata-audit-heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: .7rem;
    margin-bottom: .7rem;
}

.social-metadata-audit-heading > span {
    padding: .28rem .45rem;
    border-radius: 999px;
    background: #f1f3f5;
    color: var(--bs-secondary-color);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.social-metadata-audit-heading h3 {
    margin: 0 0 .15rem;
    font-size: 1rem;
}

.social-metadata-audit-heading p {
    margin: 0;
    color: var(--bs-secondary-color);
    font-size: .8rem;
}

.social-metadata-section-list {
    gap: .55rem;
}

.seo-mode-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
}

.seo-mode-grid > div {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding: .65rem;
    border: 1px solid var(--bs-border-color);
    border-radius: .65rem;
    background: #fff;
}

.seo-mode-grid strong {
    font-size: 1rem;
}

.seo-mode-grid span:not(.seo-mode-label) {
    color: var(--bs-secondary-color);
    font-size: .75rem;
}

.seo-mode-label {
    color: var(--bs-secondary-color);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.seo-section-list {
    display: grid;
    gap: .45rem;
}

.seo-section-card {
    overflow: hidden;
    border: 1px solid var(--bs-border-color);
    border-radius: .65rem;
    background: #fff;
}

.seo-section-card > summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: .6rem;
    padding: .6rem .7rem;
    cursor: pointer;
    list-style: none;
}

.seo-section-card > summary::-webkit-details-marker {
    display: none;
}

.seo-section-card[open] > summary {
    border-bottom: 1px solid var(--bs-border-color);
    background: #fafbf4;
}

.seo-section-card > summary:hover {
    background: #f8f9f1;
}

.seo-section-index {
    display: grid;
    width: 1.75rem;
    height: 1.75rem;
    place-items: center;
    border-radius: .75rem;
    background: #f1f3f5;
    color: #495057;
    font-size: .65rem;
    font-weight: 800;
}

.seo-section-title,
.seo-section-summary,
.seo-item-row > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: .15rem;
}

.seo-section-title small,
.seo-section-summary small,
.seo-item-row span:not(.result-pill) {
    color: var(--bs-secondary-color);
}

.seo-section-summary {
    align-items: flex-end;
}

.seo-section-toggle {
    width: .58rem;
    height: .58rem;
    margin: 0 .15rem .2rem .1rem;
    border-right: 2px solid #687400;
    border-bottom: 2px solid #687400;
    transform: rotate(45deg);
    transition: transform .18s ease;
}

.seo-section-card[open] .seo-section-toggle {
    margin-bottom: -.1rem;
    transform: rotate(225deg);
}

.seo-section-body {
    padding: .65rem;
}

.seo-metric-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .45rem;
    margin: 0 0 .65rem;
}

.seo-metric-list > div {
    min-width: 0;
    padding: .5rem;
    border-radius: .5rem;
    background: #f8f9fa;
}

.seo-metric-list dt {
    color: var(--bs-secondary-color);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.seo-metric-list dd {
    margin: .15rem 0 0;
    font-weight: 650;
}

.seo-item-list {
    overflow: hidden;
    border: 1px solid var(--bs-border-color);
    border-radius: .6rem;
}

.seo-item-row {
    display: grid;
    grid-template-columns: minmax(5rem, auto) minmax(0, 1fr);
    align-items: start;
    gap: .5rem;
    padding: .5rem .6rem;
}

.seo-item-row + .seo-item-row {
    border-top: 1px solid var(--bs-border-color);
}

.seo-favicon-gallery {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: .75rem;
}

.seo-favicon-card {
    display: flex;
    width: max-content;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--bs-border-color);
    border-radius: .75rem;
    flex: 0 0 auto;
    flex-direction: column;
    background: var(--bs-body-bg);
}

.seo-favicon-preview {
    display: flex;
    min-width: 4rem;
    min-height: 4rem;
    max-width: 100%;
    padding: 1rem;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: auto;
    background-color: #fff;
    background-image:
        linear-gradient(45deg, rgb(0 0 0 / 4%) 25%, transparent 25%),
        linear-gradient(-45deg, rgb(0 0 0 / 4%) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgb(0 0 0 / 4%) 75%),
        linear-gradient(-45deg, transparent 75%, rgb(0 0 0 / 4%) 75%);
    background-position: 0 0, 0 8px, 8px -8px, -8px 0;
    background-size: 16px 16px;
}

.seo-favicon-preview img {
    display: block;
    width: auto;
    max-width: none;
    height: auto;
    flex: 0 0 auto;
}

.seo-favicon-preview > span {
    max-width: 12rem;
    color: var(--bs-secondary-color);
    font-size: .8rem;
}

.seo-favicon-card figcaption {
    display: flex;
    width: 100%;
    max-width: min(32rem, 100%);
    padding: .65rem;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    border-top: 1px solid var(--bs-border-color);
}

.seo-favicon-card figcaption > span:not(.result-pill) {
    color: var(--bs-secondary-color);
    font-size: .78rem;
}

.empty-state {
    padding: 2rem 1rem;
    border-top: 1px solid var(--site-border);
    text-align: center;
}

.footer-link {
    color: var(--site-muted);
    font-size: .85rem;
    text-decoration: none;
}

.language-link {
    color: var(--site-muted);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-decoration: none;
}

.language-link:hover,
.language-link.active {
    color: var(--bs-dark);
}

@media (max-width: 991.98px) {
    .report-header-grid {
        grid-template-columns: 1fr;
        gap: .85rem;
    }

    .report-layout.container {
        display: block;
        max-width: 1120px;
    }

    .report-sidebar {
        top: 72px;
        max-height: none;
        margin: 0 calc(var(--bs-gutter-x) * -.5);
        overflow: visible;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        box-shadow: 0 .35rem 1rem rgba(20, 20, 20, .08);
    }

    .report-sidebar-inner {
        max-height: none;
        padding: .5rem calc(var(--bs-gutter-x) * .5);
    }

    .report-toolbar-heading {
        display: none;
    }

    .report-status-filters {
        display: flex;
        padding-bottom: .4rem;
        gap: .35rem;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
    }

    .report-status-filter {
        min-width: max-content;
        flex: 0 0 auto;
        padding: .38rem .6rem;
    }

    .report-toolbar-links {
        padding-top: .5rem;
        flex-direction: row;
        gap: .3rem;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-inline: contain;
    }

    .report-toolbar-links a {
        width: auto;
        flex: 0 0 auto;
        padding: .35rem .55rem;
        white-space: nowrap;
    }

    .report-nav-group-label {
        display: none;
    }

    .report-content {
        padding-top: 1rem !important;
    }

    [data-report-anchor] {
        scroll-margin-top: 11rem;
    }
}

@media (max-width: 767.98px) {
    .home-audit-card {
        padding: 1.25rem;
    }

    .home-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .home-cta .btn {
        width: 100%;
    }

    .serp-preview-grid,
    .social-preview-grid {
        grid-template-columns: 1fr;
    }

    .preview-device-mobile {
        max-width: none;
    }

    .page-header .display-5 {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .report-action-panel,
    .report-header-retest,
    .report-privacy-action form {
        width: 100%;
    }

    .error-actions .btn {
        width: 100%;
    }

    .report-action-panel,
    .report-privacy-action {
        grid-template-columns: 1fr;
    }

    .report-header-retest,
    .report-privacy-action {
        grid-column: 1;
    }

    .result-section {
        padding: .75rem;
    }

    .result-section-heading {
        gap: .55rem;
    }

    .seo-mode-grid,
    .seo-metric-list {
        grid-template-columns: 1fr;
    }

    .seo-section-card > summary {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .seo-section-summary {
        grid-column: 2;
        align-items: flex-start;
    }

    .seo-section-toggle {
        grid-column: 3;
        grid-row: 1;
    }
    .hero-card {
        transform: none;
    }

    .info-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .url-test-form-row {
        flex-direction: column;
    }

    .test-details > div {
        grid-template-columns: 1fr;
        gap: .35rem;
    }

    .test-history-row {
        grid-template-columns: 1fr;
        gap: .25rem;
    }

    .dashboard-danger-zone {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-danger-zone .btn {
        width: 100%;
    }

    .admin-heading {
        min-height: 0;
    }

    .admin-toolbar,
    .admin-test-toolbar {
        max-width: none;
        align-items: stretch;
        flex-direction: column;
    }

    .admin-test-toolbar .form-select {
        width: 100%;
    }

    .admin-list-head {
        display: none;
    }

    .admin-list-row,
    .admin-user-grid,
    .admin-test-grid,
    .admin-problem-grid {
        grid-template-columns: 1fr;
        gap: .65rem;
    }

    .admin-list-row:first-of-type {
        border-top: 0;
    }

    .admin-list-row > [data-label]::before {
        display: block;
        margin-bottom: .15rem;
        color: var(--site-muted);
        content: attr(data-label);
        font-size: .62rem;
        font-weight: 800;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    .admin-list-row > .btn {
        width: 100%;
    }

    .admin-pagination {
        justify-content: space-between;
    }

    .share-link-row {
        align-items: stretch;
        flex-direction: column;
    }

    .variant-grid,
    .certificate-meta,
    .metric-grid {
        grid-template-columns: 1fr;
    }

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

    .summary-card-main {
        grid-column: 1 / -1;
    }

    .result-summary-grid .summary-card:not(.summary-card-main) {
        min-height: 78px;
        padding: .65rem;
    }

    .result-highlight,
    .analysis-progress-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .result-check {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .result-check .result-pill {
        grid-column: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .seo-section-toggle {
        transition: none;
    }
}

/* Swiss Modern redesign */
::selection {
    background: var(--site-accent);
    color: #fff;
}

body {
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-4,
.display-5,
.display-6 {
    color: var(--site-text);
    font-family: Archivo, ui-sans-serif, system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: -.045em;
}

p,
li {
    max-width: 72ch;
}

code,
pre,
kbd,
samp,
.feature-number,
.report-nav-group-label,
.domain-rating-label,
.run-status,
.privacy-badge,
.visibility-status {
    font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.text-secondary {
    color: var(--site-muted) !important;
}

.container {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

a,
button,
input,
select,
summary {
    transition: color var(--site-transition), background-color var(--site-transition), border-color var(--site-transition), box-shadow var(--site-transition), transform var(--site-transition), opacity var(--site-transition);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--site-accent);
    outline-offset: 3px;
}

.navbar {
    z-index: 100;
    min-height: 76px;
    border-color: var(--site-border) !important;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: none;
    backdrop-filter: blur(12px);
}

.brand-logo {
    height: 2rem;
    filter: grayscale(1) contrast(1.35);
}

.navbar-toggler {
    border: 1px solid var(--site-text);
    border-radius: .75rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--site-accent);
}

.nav-link {
    position: relative;
    border-radius: 0;
    color: var(--site-muted);
    font-size: .875rem;
    font-weight: 400;
}

.nav-link::after {
    position: absolute;
    right: .8rem;
    bottom: .25rem;
    left: .8rem;
    height: 2px;
    background: var(--site-accent);
    content: "";
    opacity: 0;
    transform: scaleX(.35);
    transition: opacity var(--site-transition), transform var(--site-transition);
}

.nav-link:hover,
.nav-link.active {
    background: transparent;
    color: var(--site-text) !important;
    font-weight: 500;
}

.nav-link:hover::after,
.nav-link.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.language-link {
    font-family: "JetBrains Mono", ui-monospace, monospace;
}

.language-link:hover,
.language-link.active {
    color: var(--site-accent);
}

.btn {
    border-radius: .75rem;
    font-weight: 600;
    transition: color var(--site-transition), background-color var(--site-transition), border-color var(--site-transition), box-shadow var(--site-transition), transform var(--site-transition);
}

.btn-dark {
    border-color: var(--site-accent);
    background: var(--site-accent);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.btn-dark:hover,
.btn-dark:focus-visible,
.btn-dark:active,
.btn-dark.active {
    border-color: #b92f1b !important;
    background: #b92f1b !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    transform: translateY(-1px);
}

.btn-dark:active {
    transform: translateY(1px);
}

.btn-outline-dark {
    border: 1.5px solid var(--site-text);
    background: #fff;
    color: var(--site-text);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus-visible,
.btn-outline-dark:active,
.btn-outline-dark.active {
    border-color: var(--site-text) !important;
    background: var(--site-neutral) !important;
    color: var(--site-text) !important;
}

.form-control,
.form-select {
    min-height: 2.75rem;
    border: 1px solid var(--site-border);
    border-radius: .75rem;
    background: #fff;
    color: var(--site-text);
}

textarea.form-control {
    min-height: auto;
    border-radius: .75rem;
    resize: vertical;
}

.form-control:hover,
.form-select:hover {
    border-color: #8f8f8f;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--site-accent);
    box-shadow: none;
    outline: 2px solid var(--site-accent);
    outline-offset: 2px;
}

.form-check-input:checked {
    border-color: var(--site-accent);
    background-color: var(--site-accent);
}

.eyebrow {
    color: var(--site-accent);
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .14em;
}

.hero-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-color: var(--site-border);
    background-color: #fff;
    background-image:
        linear-gradient(var(--site-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--site-grid) 1px, transparent 1px);
    background-size: 80px 80px;
}

.hero-section::before {
    position: absolute;
    z-index: -1;
    top: 7rem;
    right: -7rem;
    width: 22rem;
    height: 22rem;
    border: 4rem solid var(--site-accent);
    border-radius: .75rem;
    content: "";
    opacity: .95;
}

.hero-section > .container {
    position: relative;
    z-index: 1;
    padding-top: clamp(4rem, 8vw, 7rem) !important;
    padding-bottom: clamp(4rem, 8vw, 7rem) !important;
}

.hero-section > .container::after {
    position: absolute;
    top: 2.5rem;
    left: 1.5rem;
    width: 5rem;
    height: .75rem;
    background: var(--site-dark);
    content: "";
}

.hero-section .row {
    display: grid;
    margin: 0;
    padding: 0 !important;
    grid-template-columns: minmax(0, 7fr) minmax(22rem, 5fr);
    gap: clamp(2rem, 5vw, 5rem);
}

.hero-section .row > * {
    width: auto;
    padding: 0;
}

.hero-section h1 {
    max-width: 12ch;
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -.065em;
    line-height: .98;
}

.hero-section .lead {
    max-width: 38rem;
    font-size: 1rem;
    line-height: 1.7;
}

.url-test-form {
    max-width: 48rem;
    padding: .5rem;
    border: 1.5px solid var(--site-text);
    border-radius: .75rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.url-test-form-row {
    gap: .5rem;
}

.url-test-label {
    display: block;
    margin: .2rem .75rem .45rem;
    color: var(--site-muted);
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.url-test-form .form-control {
    min-height: 3.25rem;
    border-color: transparent;
    background: var(--site-neutral);
}

.url-test-form .form-control:focus {
    border-color: var(--site-accent);
    background: #fff;
    box-shadow: none;
}

.url-test-form .btn {
    min-width: 10rem;
}

.form-hint {
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: .68rem;
}

.form-hint code {
    color: var(--site-accent);
}

.hero-card,
.feature-card,
.contact-card,
.dashboard-card,
.auth-card,
.info-panel,
.legal-content,
.test-summary-card,
.site-card {
    border: 1px solid var(--site-border);
    border-radius: .75rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.ai-output-card {
    padding: 2rem;
    border: 0;
    border-radius: .75rem;
    background: var(--site-dark);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    transform: none;
}

.ai-output-card h2,
.ai-output-card .h5 {
    color: #fff;
}

.ai-output-card .text-secondary,
.ai-output-card .ai-output-compatibility {
    color: #d1d1d1 !important;
}

.ai-output-icon {
    border-radius: .75rem;
    background: var(--site-accent);
    color: #fff;
}

.ai-output-list li {
    color: #f2f2f2;
}

.ai-output-list li span {
    background: var(--site-accent);
    color: #fff;
}

.ai-output-compatibility {
    border-color: #535353;
}

.home-workflow-section,
.home-content-section {
    border-color: var(--site-border);
}

.home-workflow-section {
    background-color: var(--site-neutral);
    background-image:
        linear-gradient(var(--site-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--site-grid) 1px, transparent 1px);
    background-size: 80px 80px;
}

.home-workflow-section > .container,
.home-content-section > .container {
    padding-top: clamp(4rem, 8vw, 7rem) !important;
    padding-bottom: clamp(4rem, 8vw, 7rem) !important;
}

.home-section-heading {
    max-width: 50rem;
    margin-bottom: clamp(2rem, 5vw, 4rem) !important;
}

.home-section-heading h2,
.home-content-section > .container > .row h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.home-workflow-section ol.row {
    display: grid;
    margin: 0;
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .8fr);
    gap: 1rem;
}

.home-workflow-section ol.row > li {
    width: auto;
    padding: 0;
}

.home-workflow-section ol.row > li:first-child {
    grid-row: span 2;
}

.feature-card {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: .75rem;
}

.home-workflow-section li:first-child .feature-card {
    display: flex;
    min-height: 100%;
    overflow: hidden;
    flex-direction: column;
    justify-content: flex-end;
    border-color: var(--site-dark);
    border-radius: .75rem;
    background: var(--site-dark);
    color: #fff;
}

.home-workflow-section li:first-child .feature-card::after {
    position: absolute;
    top: -5rem;
    right: -4rem;
    width: 16rem;
    height: 16rem;
    border: 3.25rem solid var(--site-accent);
    border-radius: .75rem;
    content: "";
}

.home-workflow-section li:first-child .feature-card > * {
    position: relative;
    z-index: 1;
}

.home-workflow-section li:first-child h3 {
    color: #fff;
}

.home-workflow-section li:first-child .text-secondary {
    color: #cfcfcf !important;
}

.home-workflow-section li:nth-child(2) .feature-card {
    border-radius: .75rem;
}

.home-workflow-section li:nth-child(3) .feature-card {
    border-radius: .75rem;
}

.home-step-number,
.home-report-marker {
    background: var(--site-accent);
    color: #fff;
}

.home-step-badge {
    border-color: var(--site-border);
    background: #fff;
    color: var(--site-text);
    font-family: "JetBrains Mono", ui-monospace, monospace;
}

.home-audit-grid {
    display: grid;
    margin: 0;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1rem;
}

.home-audit-grid > * {
    width: auto;
    padding: 0;
    grid-column: span 7;
}

.home-audit-grid > :nth-child(2),
.home-audit-grid > :nth-child(3) {
    grid-column: span 5;
}

.home-audit-card {
    padding: 2rem;
    border-color: var(--site-border);
    border-radius: .75rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.home-audit-grid > :nth-child(1) .home-audit-card,
.home-audit-grid > :nth-child(4) .home-audit-card {
    border-radius: .75rem;
}

.home-audit-card-heading .feature-number {
    background: var(--site-accent);
    color: #fff;
}

.home-check-list li::before {
    background: var(--site-accent);
}

.home-report-section {
    background: var(--site-neutral);
}

.home-report-section .row {
    display: grid;
    margin: 0;
    grid-template-columns: minmax(0, 5fr) minmax(22rem, 7fr);
    gap: clamp(2rem, 6vw, 6rem);
}

.home-report-section .row > * {
    width: auto;
    padding: 0;
}

.home-report-panel {
    overflow: hidden;
    border: 0;
    border-radius: .75rem;
    background: var(--site-dark) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.home-report-item {
    border-color: #505050;
    color: #fff;
}

.home-report-item h3 {
    color: #fff;
}

.home-report-item .text-secondary {
    color: #cfcfcf !important;
}

.ai-provider-list span {
    border-color: var(--site-text);
    border-radius: .75rem;
    background: #fff;
    color: var(--site-text);
}

.home-faq-list {
    border-color: var(--site-border);
    border-radius: .75rem;
    background: #fff;
}

.home-faq-item {
    border-color: var(--site-border);
}

.home-faq-item summary:hover {
    background: var(--site-neutral);
}

.home-faq-item[open] summary {
    color: var(--site-accent);
}

.home-faq-toggle {
    color: var(--site-accent);
}

.home-cta {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 0;
    border-radius: .75rem;
    background: var(--site-dark);
    color: #fff;
}

.home-cta h2 {
    color: #fff;
}

.home-cta .text-secondary {
    color: #cfcfcf !important;
}

.page-header {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-color: var(--site-border);
    background-color: #fff;
    background-image:
        linear-gradient(var(--site-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--site-grid) 1px, transparent 1px);
    background-size: 80px 80px;
}

.page-header::after {
    position: absolute;
    z-index: -1;
    top: -5rem;
    right: 7vw;
    width: 12rem;
    height: 12rem;
    border-radius: .75rem;
    background: var(--site-accent);
    content: "";
}

.page-header h1 {
    max-width: 18ch;
    font-size: clamp(2.25rem, 5vw, 4rem);
    letter-spacing: -.06em;
}

.contact-card {
    min-height: 180px;
    border-radius: .75rem;
}

.contact-grid {
    display: grid;
    margin: 0;
    grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
    gap: 1.5rem;
}

.contact-grid > * {
    width: auto;
    padding: 0;
}

.contact-grid > :nth-child(2) .contact-card {
    border-radius: .75rem;
}

.contact-grid > :nth-child(3) .contact-card {
    border-radius: .75rem;
}

.contact-card::before {
    width: 2.5rem;
    height: .4rem;
    background: var(--site-accent);
    content: "";
}

.contact-label {
    color: var(--site-accent);
    font-family: "JetBrains Mono", ui-monospace, monospace;
}

.contact-value:hover,
.legal-content a,
.footer-link:hover {
    color: var(--site-accent);
}

.info-panel {
    border-radius: .75rem;
    background: var(--site-neutral);
}

.legal-content {
    max-width: 900px;
    border-radius: .75rem;
}

.legal-content section + section {
    border-color: var(--site-border);
}

.auth-section,
.error-page {
    background-color: var(--site-neutral);
    background-image:
        linear-gradient(var(--site-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--site-grid) 1px, transparent 1px);
    background-size: 80px 80px;
}

.auth-card,
.error-card {
    border-radius: .75rem;
}

.auth-card {
    border-top: .5rem solid var(--site-accent);
}

.oauth-button {
    border-radius: .75rem;
}

.oauth-github,
.oauth-github:hover {
    border-color: var(--site-dark);
    background: var(--site-dark);
}

.oauth-demo {
    border-color: var(--site-accent);
    background: #fff;
    color: var(--site-accent);
}

.oauth-demo:hover {
    border-color: var(--site-accent);
    background: #fff0ec;
}

.error-code {
    color: var(--site-accent);
    font-family: Archivo, sans-serif;
}

.dashboard-card {
    border-radius: .75rem;
}

.profile-avatar,
.profile-avatar-fallback {
    border-color: var(--site-text);
}

.profile-avatar-fallback,
.admin-identity > span {
    background: var(--site-accent);
    color: #fff;
}

.provider-row,
.test-history-row,
.empty-state {
    border-color: var(--site-border);
}

.test-history-row {
    margin-inline: -.75rem;
    padding-inline: .75rem;
    border-radius: .75rem;
}

.test-history-row:hover {
    background: var(--site-neutral);
}

.dashboard-danger-zone {
    border-color: #d2a19a;
    background: #fff7f5;
}

.dashboard-danger-label {
    color: var(--site-accent);
}

.admin-tab {
    position: relative;
    border-radius: .75rem;
}

.admin-tab:hover,
.admin-tab.active {
    background: var(--site-dark);
    color: #fff;
}

.admin-list,
.admin-toolbar .form-control,
.admin-toolbar .form-select {
    border-color: var(--site-border);
}

.admin-list {
    border-radius: .75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

.admin-list-head {
    background: var(--site-dark);
    color: #fff;
    font-family: "JetBrains Mono", ui-monospace, monospace;
}

.admin-list-row {
    border-color: var(--site-border);
}

.admin-list-row:hover {
    background: var(--site-neutral);
}

.admin-reply-badge,
.privacy-badge-public,
.visibility-status-public {
    border-color: #d2a19a;
    background: #fff0ec;
    color: #8f2415;
}

.provider-dot-demo,
.test-status-dot {
    background: var(--site-accent);
}

.test-status-dot {
    box-shadow: 0 0 0 .3rem rgba(217, 59, 34, .12);
}

.share-panel {
    border-color: #d2a19a;
    background: #fff7f5;
}

.analysis-spinner,
.gsc-download-spinner {
    width: 3rem;
    height: .5rem;
    flex: 0 0 3rem;
    border: 0;
    border-radius: .75rem;
    background: var(--site-accent);
    animation: swiss-pulse .9s ease-in-out infinite alternate;
}

@keyframes swiss-pulse {
    from { opacity: .28; transform: scaleX(.55); }
    to { opacity: 1; transform: scaleX(1); }
}

.summary-card-main {
    background: var(--site-dark);
}

.summary-card,
.result-section,
.variant-card,
.preview-device,
.report-action-panel,
.gsc-connection-state,
.report-sidebar,
.seo-section-card,
.seo-mode-grid > div {
    border-color: var(--site-border);
}

.summary-card,
.result-section,
.variant-card,
.preview-device {
    border-radius: .75rem;
    box-shadow: none;
}

.result-section-number {
    background: var(--site-accent);
    color: #fff;
}

.report-action-panel,
.gsc-connection-state,
.variant-card,
.preview-device {
    background: var(--site-neutral);
}

.report-export-button {
    border-color: var(--site-accent);
    border-radius: .75rem;
    background: var(--site-accent);
    color: #fff;
}

.report-export-button:hover,
.report-export-button:focus-visible {
    border-color: #b92f1b;
    background: #b92f1b;
    color: #fff;
}

.report-export-button small {
    color: #fff;
}

.report-sidebar {
    z-index: 100;
    border-radius: .75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.report-search .form-control:focus {
    border-color: var(--site-accent);
    box-shadow: none;
}

.report-toolbar-links a {
    border-radius: .75rem;
}

.report-toolbar-links a:hover,
.report-toolbar-links a.active {
    background: #fff0ec;
    color: #8f2415;
}

.domain-rating-badge {
    border-color: var(--site-text);
    border-radius: .75rem;
    background: #fff;
}

.domain-rating-badge:hover {
    border-color: var(--site-accent);
    background: #fff0ec;
}

.domain-rating-label {
    color: var(--site-accent);
}

.domain-rating-source {
    border-color: var(--site-border);
}

.seo-section-card[open] > summary,
.seo-section-card > summary:hover {
    background: var(--site-neutral);
}

.seo-section-toggle {
    border-right-color: var(--site-accent);
    border-bottom-color: var(--site-accent);
}

.modal {
    z-index: 1055;
}

.modal-backdrop {
    z-index: 1050;
}

.modal-content {
    overflow: hidden;
    border-color: var(--site-border);
    border-radius: .75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.modal-header,
.modal-footer {
    border-color: var(--site-border);
}

.modal-header {
    background: var(--site-neutral);
}

.alert {
    z-index: 500;
    border-radius: .75rem;
}

footer {
    border-color: var(--site-border) !important;
}

.footer-link,
.language-link {
    font-size: .75rem;
}

@keyframes swiss-enter {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-section .col-lg-7,
.hero-section .col-lg-5,
.home-workflow-section ol > li,
.home-audit-grid > * {
    animation: swiss-enter 420ms ease-out both;
}

.hero-section .col-lg-5,
.home-workflow-section ol > li:nth-child(2),
.home-audit-grid > :nth-child(2) {
    animation-delay: 80ms;
}

.home-workflow-section ol > li:nth-child(3),
.home-audit-grid > :nth-child(3) {
    animation-delay: 160ms;
}

.home-audit-grid > :nth-child(4) {
    animation-delay: 240ms;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: .75rem 0 1rem;
    }

    .navbar-nav {
        align-items: stretch !important;
    }

    .navbar-nav .btn {
        width: 100%;
        margin-top: .35rem;
    }

    .nav-link::after {
        right: auto;
        width: 2rem;
    }

    .hero-section .row,
    .home-report-section .row {
        grid-template-columns: 1fr;
    }

    .hero-section::before {
        top: auto;
        right: -9rem;
        bottom: 4rem;
        width: 18rem;
        height: 18rem;
    }

    .report-layout.container {
        max-width: 1280px;
    }
}

@media (max-width: 767.98px) {
    .container {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .hero-section,
    .home-workflow-section,
    .page-header,
    .auth-section,
    .error-page {
        background-size: 48px 48px;
    }

    .hero-section > .container::after {
        left: 1rem;
    }

    .hero-section h1 {
        font-size: clamp(2.5rem, 12vw, 3.5rem);
    }

    .hero-section::before,
    .page-header::after {
        opacity: .12;
    }

    .url-test-form-row {
        flex-direction: column;
    }

    .url-test-form .btn {
        min-width: 0;
        width: 100%;
    }

    .home-workflow-section ol.row,
    .home-audit-grid,
    .home-report-section .row,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .home-workflow-section ol.row > li:first-child,
    .home-audit-grid > *,
    .home-audit-grid > :nth-child(2),
    .home-audit-grid > :nth-child(3) {
        grid-row: auto;
        grid-column: auto;
    }

    .ai-output-card,
    .home-workflow-section li:first-child .feature-card,
    .home-audit-grid > :nth-child(1) .home-audit-card,
    .home-audit-grid > :nth-child(4) .home-audit-card,
    .home-report-panel,
    .home-cta,
    .auth-card,
    .error-card,
    .legal-content {
        border-radius: .75rem;
    }

    .page-header h1 {
        font-size: clamp(2.25rem, 11vw, 3.25rem);
    }

    .alert {
        border-radius: .75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
