:root {
    --ink: #0f172a;
    --ink-rgb: 15, 23, 42;
    --muted: #64748b;
    --muted-rgb: 100, 116, 139;
    --soft: #f1f5f9;
    --canvas: #f8fafc;
    --paper: #ffffff;
    --line: #e2e8f0;
    --teal: #0d9488;
    --teal-dark: #0f766e;
    --teal-light: #14b8a6;
    --teal-glow: rgba(13, 148, 136, 0.15);
    --coral: #e05a3a;
    --coral-light: #f97360;
    --gold: #e4ad2c;
    --blue: #3157d5;
    --blue-light: #4f74e0;
    --green: #16a34a;
    --red: #dc2626;
    --purple: #8b5cf6;
    --pink: #ec4899;
    --amber: #f59e0b;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 48px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 24px 64px rgba(15, 23, 42, 0.16);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

.dark {
    --ink: #e2e8f0;
    --ink-rgb: 226, 232, 240;
    --muted: #94a3b8;
    --muted-rgb: 148, 163, 184;
    --soft: #1e293b;
    --canvas: #0f172a;
    --paper: #1a2332;
    --line: #2d3a4e;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.5);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--canvas);
    color: var(--ink);
    font-family: var(--font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    border: 0;
    border-radius: var(--radius);
    background: var(--teal);
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
}

button:hover {
    background: var(--teal-dark);
    box-shadow: 0 12px 30px var(--teal-glow);
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
    box-shadow: none;
}

input {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--ink);
    padding: 0 14px;
    outline: none;
    transition: var(--transition);
}

input:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px var(--teal-glow);
    background: var(--paper);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding: 12px clamp(18px, 4vw, 54px);
    border-bottom: 1px solid var(--line);
    background: rgba(248, 250, 252, 0.88);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
}

.dark .site-header {
    background: rgba(15, 23, 42, 0.88);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.brand-mark {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: var(--radius);
    background: var(--ink);
    color: #ffffff;
    font-size: 0.82rem;
}

.brand-logo {
    display: block;
    height: 32px;
    width: auto;
}

.feature-icon {
    display: block;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.about-card .feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
}

.hero-svg {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.intro-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.intro-content {
    flex: 1;
    min-width: 0;
}
.intro-visual {
    flex: 0 0 440px;
    max-width: 100%;
}
.intro-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.about-banner {
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.about-banner-img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 800px) {
    .intro-layout {
        flex-direction: column;
    }
    .intro-visual {
        flex: none;
        width: 100%;
    }
    .about-banner {
        margin-bottom: 16px;
    }
}

.header-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.header-nav a {
    border-radius: 8px;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 750;
    padding: 10px 12px;
}

.header-nav a:hover {
    background: #ffffff;
    color: var(--ink);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    max-width: 1220px;
    margin: 0 auto;
    min-height: calc(100vh - 72px);
    padding: clamp(42px, 7vw, 82px) clamp(18px, 4vw, 34px);
}

.hero-copy h1 {
    margin: 0;
    background: linear-gradient(135deg, var(--ink) 0%, var(--teal-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(4.2rem, 11vw, 8.8rem);
    line-height: 0.88;
    letter-spacing: -0.04em;
}

.dark .hero-copy h1 {
    background: linear-gradient(135deg, var(--ink) 0%, var(--teal-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-subtitle {
    max-width: 720px;
    margin: 20px 0 0;
    color: var(--ink);
    font-size: clamp(1.35rem, 3vw, 2.25rem);
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-text {
    max-width: 690px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.65;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--coral);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.domain-search {
    display: grid;
    gap: 10px;
    max-width: 760px;
    margin: 30px 0 0;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--paper);
    box-shadow: var(--shadow-lg);
}

.domain-search label {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 850;
}

.search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.search-row button {
    padding: 0 22px;
}

.button-icon {
    position: relative;
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.button-icon::after {
    content: "";
    position: absolute;
    right: -6px;
    bottom: -5px;
    width: 8px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: rotate(45deg);
}

.form-error {
    margin: 2px 0 0;
    color: var(--red);
    font-weight: 800;
}

.quick-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 0;
}

.quick-steps span,
.report-tags span,
.category-cloud span,
.primary-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 800;
    padding: 7px 10px;
}

.hero-visual {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--paper);
    box-shadow: var(--shadow-xl);
    padding: 18px;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(49, 87, 213, 0.06) 1px, transparent 1px),
        linear-gradient(180deg, rgba(49, 87, 213, 0.06) 1px, transparent 1px);
    background-size: 42px 42px;
    pointer-events: none;
}

.hero-visual::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -25%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
    pointer-events: none;
}

.hero-visual > * {
    position: relative;
    border-radius: var(--radius);
}

.visual-topline,
.panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.visual-topline span,
.metric-card span,
.score-panel span,
.channel-row span,
.compact-list span,
.tech-grid span,
.geo-list span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.visual-topline strong {
    color: var(--blue);
}

.visual-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 22px 0;
}

.visual-metrics div {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.85);
    padding: 14px;
}

.visual-metrics span,
.visual-metrics em {
    display: block;
    color: var(--muted);
    font-size: 0.74rem;
    font-style: normal;
    font-weight: 750;
}

.visual-metrics strong {
    display: block;
    margin: 4px 0;
    font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.preview-chart {
    display: grid;
    grid-template-columns: repeat(6, minmax(28px, 1fr));
    align-items: end;
    gap: 10px;
    height: 180px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(246, 247, 251, 0.8);
    padding: 16px;
}

.preview-chart span {
    min-height: 24px;
    height: var(--h);
    border-radius: 7px 7px 0 0;
    background: var(--teal);
}

.preview-chart span:nth-child(2n) {
    background: var(--blue);
}

.preview-chart span:nth-child(3n) {
    background: var(--gold);
}

.channel-preview {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
}

.channel-preview div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
    border-bottom: 1px solid var(--line);
}

.section,
.cta-section,
.report-main {
    max-width: 1220px;
    margin: 0 auto;
    padding: clamp(54px, 7vw, 86px) clamp(18px, 4vw, 34px);
}

.muted-section {
    max-width: none;
    background: linear-gradient(180deg, var(--canvas) 0%, rgba(13, 148, 136, 0.03) 50%, var(--canvas) 100%);
}

.dark .muted-section {
    background: linear-gradient(180deg, var(--canvas) 0%, rgba(13, 148, 136, 0.06) 50%, var(--canvas) 100%);
}

.muted-section > * {
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 30px;
}

.section-heading h2,
.split-section h2,
.panel h2,
.cta-section h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
}

.section-heading p:not(.eyebrow),
.split-section p,
.panel p,
.faq-list p {
    color: var(--muted);
}

.step-grid,
.feature-grid,
.guide-grid,
.opportunity-grid,
.metric-grid {
    display: grid;
    gap: 16px;
}

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

.feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-item,
.feature-tile,
.guide-card,
.metric-card,
.panel,
.opportunity-card,
.ranking-panel,
.score-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--paper);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.step-item:hover,
.feature-tile:hover,
.guide-card:hover,
.metric-card:hover,
.opportunity-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--teal);
}

.metric-card:hover {
    border-color: var(--blue);
}

.panel:hover {
    box-shadow: var(--shadow-lg);
}

.step-item,
.feature-tile,
.guide-card,
.metric-card,
.panel,
.opportunity-card,
.ranking-panel {
    padding: 22px;
}

.step-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--gold), var(--amber));
    color: #ffffff;
    font-weight: 900;
    font-size: 1.1rem;
}

.step-item h3,
.feature-tile h3,
.guide-card h3,
.opportunity-card h3 {
    margin: 16px 0 8px;
    font-size: 1.05rem;
}

.step-item p,
.feature-tile p,
.guide-card p,
.opportunity-card p {
    margin: 0;
    color: var(--muted);
}

.feature-tile {
    border-top: 3px solid var(--line);
}

.feature-tile:nth-child(2n) {
    border-top-color: var(--teal);
}

.feature-tile:nth-child(3n) {
    border-top-color: var(--coral);
}

.feature-tile:nth-child(4n) {
    border-top-color: var(--blue);
}

.feature-tile:nth-child(5n) {
    border-top-color: var(--purple);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll:nth-child(1) { animation-delay: 0s; }
.animate-on-scroll:nth-child(2) { animation-delay: 0.08s; }
.animate-on-scroll:nth-child(3) { animation-delay: 0.16s; }
.animate-on-scroll:nth-child(4) { animation-delay: 0.24s; }
.animate-on-scroll:nth-child(5) { animation-delay: 0.32s; }
.animate-on-scroll:nth-child(6) { animation-delay: 0.4s; }
.animate-on-scroll:nth-child(7) { animation-delay: 0.48s; }
.animate-on-scroll:nth-child(8) { animation-delay: 0.56s; }

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    gap: 28px;
    align-items: center;
}

.source-demo {
    display: grid;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    padding: 22px;
}

.source-demo div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 50px;
    gap: 10px;
    align-items: center;
}

.source-demo em,
.geo-list em {
    grid-column: 1 / -1;
    display: block;
    width: var(--w);
    height: 8px;
    border-radius: 999px;
    background: var(--teal);
}

.ranking-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ranking-panel h3 {
    margin: 0 0 8px;
}

.ranking-panel details,
.faq-list details {
    border-top: 1px solid var(--line);
    padding: 14px 0;
}

.ranking-panel summary,
.faq-list summary {
    cursor: pointer;
    font-weight: 900;
}

.ranking-panel ol {
    margin: 12px 0 0;
    padding-left: 24px;
}

.ranking-panel li + li {
    margin-top: 8px;
}

.ranking-panel a {
    color: var(--blue);
    font-weight: 800;
}

.category-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.guide-card span {
    color: var(--coral);
    font-size: 0.8rem;
    font-weight: 900;
}

.guide-card a {
    display: inline-flex;
    margin-top: 18px;
    color: var(--teal);
    font-weight: 900;
}

.faq-list {
    max-width: 900px;
}

.cta-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: 24px;
    align-items: center;
    margin-bottom: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #0f172a 0%, #1a2332 50%, #0d9488 150%);
    color: #ffffff;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -30%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2,
.cta-section .eyebrow {
    color: #ffffff;
    position: relative;
}

.mini-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    position: relative;
}

.mini-search input {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.mini-search input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.mini-search input:focus {
    border-color: var(--teal-light);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.mini-search button {
    background: var(--coral);
    padding: 0 20px;
}

.mini-search button:hover {
    background: var(--coral-light);
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    padding: 28px clamp(18px, 4vw, 54px);
    background: var(--paper);
}

.site-footer a {
    color: var(--teal);
    font-weight: 900;
    transition: var(--transition);
}

.site-footer a:hover {
    color: var(--teal-light);
}

.report-nav {
    align-items: center;
}

.header-search {
    display: grid;
    grid-template-columns: minmax(160px, 260px) minmax(170px, 320px) auto;
    gap: 8px;
    width: min(760px, 100%);
}

.header-search button {
    min-height: 44px;
    padding: 0 18px;
}

.header-search input {
    min-height: 44px;
}

.report-main {
    display: grid;
    gap: 22px;
}

.report-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 18px;
    align-items: stretch;
}

.report-hero h1 {
    margin: 0;
    font-size: clamp(2.4rem, 7vw, 5rem);
    line-height: 1;
    overflow-wrap: anywhere;
    letter-spacing: -0.03em;
}

.report-hero .live-title {
    margin: 6px 0 0;
    font-size: 1.08rem;
    color: var(--teal);
    font-weight: 750;
    font-style: italic;
}

.report-hero p:not(.eyebrow) {
    max-width: 800px;
    color: var(--muted);
}

.report-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.score-panel {
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 22px;
    border-color: var(--teal);
    background: linear-gradient(135deg, var(--paper) 0%, rgba(13, 148, 136, 0.04) 100%);
}

.score-panel strong {
    font-size: 4rem;
    line-height: 1;
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark .score-panel strong {
    background: linear-gradient(135deg, var(--teal-light), var(--teal));
    -webkit-background-clip: text;
    background-clip: text;
}

.score-panel em,
.metric-card em,
.visual-metrics em {
    color: var(--muted);
    font-style: normal;
    font-weight: 800;
}

.metric-card {
    min-height: 150px;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--blue));
    opacity: 0;
    transition: var(--transition);
}

.metric-card:hover::before {
    opacity: 1;
}

.metric-card strong {
    display: block;
    margin: 10px 0 6px;
    font-size: clamp(1.65rem, 3vw, 2.4rem);
    line-height: 1;
}

.dashboard-section {
    display: grid;
    gap: 18px;
}

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

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

.panel {
    min-width: 0;
}

.panel h2 {
    font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.panel-heading {
    margin-bottom: 18px;
}

.panel-heading > span,
.positive,
.negative {
    white-space: nowrap;
    font-weight: 900;
}

.positive {
    color: var(--green);
}

.negative {
    color: var(--red);
}

.trend-svg {
    display: block;
    width: 100%;
    min-height: 220px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.trend-svg line {
    stroke: var(--line);
    stroke-width: 2;
}

.trend-svg polyline {
    fill: none;
    stroke: var(--blue);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 6;
}

.trend-svg circle {
    fill: #ffffff;
    stroke: var(--blue);
    stroke-width: 4;
}

.trend-labels {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.trend-labels span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
}

.trend-labels strong {
    display: block;
    color: var(--ink);
}

.channel-list,
.compact-list,
.geo-list {
    display: grid;
    gap: 14px;
}

.channel-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.channel-row strong {
    display: block;
}

.bar-track,
.inline-bar {
    grid-column: 1 / -1;
    overflow: hidden;
    height: 9px;
    border-radius: 999px;
    background: var(--soft);
}

.bar-track span,
.inline-bar span {
    display: block;
    width: var(--w);
    height: 100%;
    border-radius: inherit;
    background: var(--teal);
}

.channel-row:nth-child(2n) .bar-track span,
.inline-bar.referral span {
    background: var(--blue);
}

.channel-row:nth-child(3n) .bar-track span {
    background: var(--coral);
}

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

table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
}

th,
td {
    border-bottom: 1px solid var(--line);
    padding: 14px 12px;
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--soft);
}

td {
    color: var(--ink);
    font-weight: 650;
}

tr:hover td {
    background: rgba(13, 148, 136, 0.03);
}

td strong {
    display: inline-block;
    margin-right: 8px;
}

.primary-pill {
    min-height: 26px;
    background: var(--teal-glow);
    color: var(--teal);
    padding: 4px 8px;
    border-radius: var(--radius);
}

.stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.stat-card {
    flex: 1;
    min-width: 120px;
    display: grid;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--paper);
    padding: 16px 18px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-1px);
    border-color: var(--teal);
}

.stat-card strong {
    font-size: 1.65rem;
    line-height: 1;
    color: var(--ink);
}

.stat-card span {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 800;
}

.inline-bar {
    width: 180px;
    margin-top: 8px;
}

.compact-list > div,
.geo-list > div {
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
}

.compact-list strong {
    display: block;
    margin-bottom: 5px;
}

.tech-grid {
    display: grid;
    gap: 10px;
}

.tech-grid span {
    display: grid;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    padding: 12px;
}

.tech-grid strong {
    color: var(--ink);
    font-size: 0.95rem;
}

.geo-list div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.opportunity-card {
    box-shadow: none;
}

.opportunity-card div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.opportunity-card div span {
    border-radius: 8px;
    background: #edf3f4;
    color: var(--teal);
    font-size: 0.75rem;
    font-weight: 900;
    padding: 5px 8px;
}

.opportunity-card strong {
    display: block;
    margin-top: 12px;
    color: var(--ink);
}

.method-note {
    border-left: 5px solid var(--gold);
    border-radius: 8px;
    background: #fff8df;
    color: #5f5128;
    padding: 18px 20px;
}

@media (max-width: 1060px) {
    .hero,
    .split-section,
    .report-hero,
    .two-column,
    .three-column,
    .ranking-layout,
    .cta-section {
        grid-template-columns: 1fr;
    }

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

    .hero {
        min-height: auto;
    }

    .score-panel {
        max-width: 320px;
    }
}

@media (max-width: 760px) {
    .site-header,
    .report-nav {
        position: static;
        align-items: stretch;
        flex-direction: column;
    }

    .header-nav {
        justify-content: flex-start;
    }

    .header-search,
    .search-row,
    .mini-search,
    .step-grid,
    .feature-grid,
    .guide-grid,
    .metric-grid,
    .opportunity-grid,
    .visual-metrics {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        font-size: clamp(3.4rem, 18vw, 5.4rem);
    }

    .hero-visual {
        padding: 16px;
    }

    .preview-chart {
        height: 150px;
    }

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

    .panel-heading {
        display: grid;
    }

    .inline-bar {
        width: 140px;
    }
}

@media (max-width: 480px) {
    .section,
    .cta-section,
    .report-main {
        padding-left: 14px;
        padding-right: 14px;
    }

    .quick-steps span,
    .report-tags span,
    .category-cloud span {
        width: 100%;
    }

    .score-panel strong {
        font-size: 3.2rem;
    }

    table {
        min-width: 620px;
    }
}

/* ===== DARK MODE OVERRIDES ===== */
.dark .site-header,
.dark .report-nav {
    background: rgba(26, 31, 46, 0.94);
    border-bottom-color: var(--line);
}
.dark .domain-search,
.dark .hero-visual,
.dark .source-demo,
.dark .step-item,
.dark .feature-tile,
.dark .guide-card,
.dark .metric-card,
.dark .panel,
.dark .opportunity-card,
.dark .ranking-panel,
.dark .score-panel,
.dark .visual-metrics div,
.dark .preview-chart,
.dark input,
.dark .trend-svg {
    background: var(--paper);
    border-color: var(--line);
}
.dark .hero-visual::before {
    background:
        linear-gradient(90deg, rgba(98, 112, 132, 0.06) 1px, transparent 1px),
        linear-gradient(180deg, rgba(98, 112, 132, 0.06) 1px, transparent 1px);
    background-size: 42px 42px;
}
.dark .muted-section {
    background: #1e2537;
}
.dark .opportunity-card div span {
    background: var(--soft);
}
.dark .cta-section {
    background: var(--ink);
}
.dark .method-note {
    background: #2a2a1a;
    color: #d4c97a;
    border-color: var(--gold);
}
.dark .trend-svg {
    background: var(--paper);
}
.dark .header-nav a:hover {
    background: var(--soft);
}
.dark .btn-outline {
    border-color: var(--line);
    color: var(--ink);
}
.dark .btn-outline:hover {
    background: var(--soft);
}
.dark .site-footer {
    border-top-color: var(--line);
}

/* ===== ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

.step-item,
.feature-tile,
.guide-card {
    animation: fadeInUp 0.4s ease forwards;
}
.step-item:nth-child(1) { animation-delay: 0.05s; }
.step-item:nth-child(2) { animation-delay: 0.1s; }
.step-item:nth-child(3) { animation-delay: 0.15s; }

/* ===== TYPEAHEAD ===== */
.typeahead-list {
    position: absolute;
    z-index: 30;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
}
.typeahead-list span {
    display: block;
    cursor: pointer;
    padding: 10px 14px;
    font-size: 0.9rem;
    font-weight: 650;
    color: var(--ink);
}
.typeahead-list span:hover {
    background: var(--soft);
    color: var(--teal);
}
.domain-search,
.header-search {
    position: relative;
}

/* ===== TAB SYSTEM ===== */
.tab-container .tab-bar {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 0;
    overflow-x: auto;
}
.tab-btn {
    all: unset;
    cursor: pointer;
    white-space: nowrap;
    padding: 12px 18px;
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--muted);
    border-bottom: 3px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}
.tab-btn:hover {
    color: var(--ink);
}
.tab-btn.active {
    color: var(--teal);
    border-bottom-color: var(--teal);
}
.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
}

/* ===== BUTTON VARIANTS ===== */
.btn-outline {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
    min-height: 42px;
    padding: 0 16px;
    font-weight: 750;
}
.btn-outline:hover {
    background: var(--soft);
    border-color: var(--muted);
    box-shadow: none;
    transform: none;
}
.btn-sm {
    min-height: 36px;
    font-size: 0.82rem;
    padding: 0 12px;
}
.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.copy-btn {
    cursor: pointer;
}
.export-btn {
    cursor: pointer;
}

/* ===== COMPARISON CHIPS ===== */
.comparison-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}
.comparison-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    padding: 6px 12px;
    font-size: 0.84rem;
    font-weight: 750;
}
.comparison-chip .remove-compare {
    cursor: pointer;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--muted);
    transition: background var(--transition);
}
.comparison-chip .remove-compare:hover {
    background: var(--red);
    color: #ffffff;
}

/* ===== PAGE HEADER ===== */
.page-header {
    max-width: 1220px;
    margin: 0 auto;
    padding: 42px clamp(18px, 4vw, 34px) 0;
}
.page-header h1 {
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}
.page-header p {
    max-width: 780px;
    color: var(--muted);
    margin: 12px 0 0;
}

/* ===== ABOUT PAGE ===== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.about-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--paper);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.about-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--teal);
}
.about-card h3 {
    margin: 0 0 10px;
}
.about-card p {
    margin: 0;
    color: var(--muted);
}

/* ===== API PAGE ===== */
.api-endpoint {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    margin-bottom: 16px;
    overflow: hidden;
}
.api-endpoint-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 800;
}
.api-endpoint-head:hover {
    background: var(--soft);
}
.api-method {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
}
.api-method.get { background: var(--teal); }
.api-method.post { background: var(--blue); }
.api-endpoint-body {
    padding: 0 20px 20px;
    display: none;
}
.api-endpoint.open .api-endpoint-body {
    display: block;
}
.api-endpoint-body pre {
    background: var(--soft);
    border-radius: var(--radius);
    padding: 16px;
    overflow-x: auto;
    font-size: 0.84rem;
    line-height: 1.6;
}
.api-endpoint-body table {
    min-width: 0;
    width: auto;
}
.api-endpoint-body th,
.api-endpoint-body td {
    padding: 10px 12px;
}

/* ===== PAGE NAV ===== */
.page-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 clamp(18px, 4vw, 34px);
}
.page-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--muted);
    font-weight: 750;
    font-size: 0.88rem;
    padding: 10px 16px;
    transition: all var(--transition);
}
.page-nav a:hover {
    border-color: var(--teal);
    color: var(--teal);
}

/* ===== STAT CARD ===== */
.stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin: 22px 0;
}
.stat-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    padding: 16px;
    text-align: center;
}
.stat-card strong {
    display: block;
    font-size: 1.6rem;
    line-height: 1.1;
    margin-bottom: 4px;
}
.stat-card span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
}

/* ===== RESPONSIVE additions ===== */
@media (max-width: 760px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .stat-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .tab-btn {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 16px 0;
    font-size: 0.82rem;
    font-weight: 750;
}
.breadcrumbs a {
    color: var(--muted);
    transition: color var(--transition);
}
.breadcrumbs a:hover {
    color: var(--teal);
}
.breadcrumbs .sep {
    color: var(--line);
    font-weight: 400;
}
.breadcrumbs span:last-child {
    color: var(--ink);
}

/* ===== AUTH PAGES ===== */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 160px);
    padding: 40px clamp(18px, 4vw, 34px);
}
.auth-card {
    width: 100%;
    max-width: 460px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    box-shadow: var(--shadow);
    padding: 36px;
}
.auth-card-header {
    text-align: center;
    margin-bottom: 24px;
}
.auth-card-header h1 {
    margin: 14px 0 6px;
    font-size: 1.5rem;
}
.auth-card-header p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}
.auth-form {
    display: grid;
    gap: 14px;
}
.auth-form label {
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--ink);
}
.auth-form input {
    width: 100%;
}
.auth-form button {
    margin-top: 6px;
}
.auth-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 750;
    font-size: 0.85rem;
    color: var(--muted);
}
.checkbox-label input {
    width: auto;
    min-height: auto;
}
.auth-link {
    color: var(--teal);
    font-weight: 800;
    font-size: 0.85rem;
}
.auth-link:hover {
    text-decoration: underline;
}
.auth-footer-text {
    text-align: center;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}
.auth-footer-text a {
    color: var(--teal);
    font-weight: 800;
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast {
    padding: 14px 18px;
    border-radius: var(--radius);
    font-weight: 800;
    font-size: 0.88rem;
    margin-bottom: 16px;
    animation: slideDown 0.3s ease;
}
.toast-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.toast-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.dark .toast-error {
    background: #3b1a1a;
    color: #fca5a5;
    border-color: #5c2a2a;
}
.dark .toast-success {
    background: #1a3b1a;
    color: #86efac;
    border-color: #2a5c2a;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== KEYBOARD SHORTCUT INDICATOR ===== */
kbd {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid var(--line);
    background: var(--soft);
    font-size: 0.75rem;
    font-weight: 800;
    font-family: inherit;
    color: var(--muted);
}

/* ===== RESPONSIVE AUTH ===== */
@media (max-width: 480px) {
    .auth-card {
        padding: 24px;
    }
    .auth-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== MAINTENANCE BANNER ===== */
.maintenance-banner {
    background: var(--coral);
    color: #ffffff;
    text-align: center;
    padding: 12px;
    font-weight: 800;
    font-size: 0.88rem;
}

/* ===== SELECT STYLING ===== */
select {
    font: inherit;
    cursor: pointer;
    outline: none;
}
select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(17, 125, 119, 0.12);
}

/* ===== SMOOTH TRANSITIONS ===== */
.site-header,
.panel,
.metric-card,
.opportunity-card,
.domain-search,
.auth-card {
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* ===== SNAPSHOT PREVIEW ===== */
.snapshot-preview {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--paper);
}
.snapshot-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--soft);
    border-bottom: 1px solid var(--line);
    font-size: 0.82rem;
}
.snapshot-favicon {
    width: 20px;
    height: 20px;
    border-radius: 3px;
}
.snapshot-url {
    flex: 1;
    color: var(--muted);
    font-family: 'SF Mono', 'Consolas', monospace;
}
.snapshot-ssl {
    font-size: 0.9rem;
    opacity: 0.7;
}
.snapshot-og {
    max-height: 200px;
    overflow: hidden;
    background: var(--soft);
    text-align: center;
}
.snapshot-og img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}
.snapshot-body {
    padding: 14px;
}
.snapshot-title {
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: var(--ink);
    line-height: 1.4;
}
.snapshot-desc {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 8px;
    line-height: 1.5;
}
.snapshot-h1 {
    font-size: 0.82rem;
    margin-bottom: 8px;
    color: var(--muted);
}
.snapshot-h1 .label {
    font-weight: 600;
    color: var(--ink);
}
.snapshot-h1 code {
    background: var(--soft);
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.78rem;
}
.snapshot-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: var(--muted);
}
.snapshot-meta span {
    background: var(--soft);
    padding: 2px 8px;
    border-radius: 4px;
}
.snapshot-placeholder {
    padding: 24px;
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
}

/* ===== STRUCTURE TREE ===== */
.structure-tree {
    max-height: 320px;
    overflow-y: auto;
    font-size: 0.82rem;
}
.tree-list {
    list-style: none;
    margin: 0;
    padding-left: 18px;
}
.tree-item {
    margin: 2px 0;
}
.tree-node {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.15s;
}
.tree-node:hover {
    background: var(--soft);
}
.tree-path {
    font-family: 'SF Mono', 'Consolas', monospace;
    color: var(--teal);
    font-size: 0.78rem;
    min-width: 30px;
}
.tree-title {
    flex: 1;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tree-count {
    font-size: 0.72rem;
    color: var(--muted);
    background: var(--soft);
    padding: 1px 6px;
    border-radius: 10px;
}
.structure-pages-table td {
    font-size: 0.82rem;
}
.structure-pages-table code {
    font-size: 0.78rem;
    background: var(--soft);
    padding: 1px 5px;
    border-radius: 3px;
}

/* ===== GATE BANNER ===== */
.gate-banner {
    display: flex;
    gap: 24px;
    padding: 20px 0;
    flex-wrap: wrap;
}
.gate-content {
    flex: 1;
    min-width: 240px;
}
.gate-content h3 {
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.gate-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}
.gate-content ul li {
    padding: 5px 0 5px 22px;
    position: relative;
    font-size: 0.85rem;
    color: var(--muted);
}
.gate-content ul li:before {
    content: '>';
    position: absolute;
    left: 4px;
    color: var(--teal);
    font-weight: 750;
}
.gate-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.gate-actions a {
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}
.gate-preview {
    flex: 0 0 280px;
    min-width: 200px;
}
.gate-metric {
    background: var(--bg2);
    border-radius: var(--radius);
    padding: 14px;
}
.gate-label {
    font-size: 0.78rem;
    color: var(--muted);
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.gate-table {
    font-size: 0.78rem;
}
.gate-table div {
    display: grid;
    grid-template-columns: 1fr 60px 50px 40px;
    gap: 4px;
    padding: 3px 0;
    border-bottom: 1px solid var(--line);
}
.gate-table div:last-child {
    border-bottom: none;
}
.gate-table .gate-th {
    font-weight: 700;
    color: var(--ink);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.gate-table span {
    color: var(--muted);
}
.gate-table span:first-child {
    color: var(--ink);
}

/* ===== UPGRADE BANNER ===== */
.upgrade-banner {
    animation: fadeUp 0.4s ease;
}
.confidence-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 10px;
    border-radius: 20px;
    background: var(--teal-glow);
    color: var(--teal);
}

/* ===== GA CONNECT FORM ===== */
.ga-connect-form {
    padding: 10px 0;
}
.form-group {
    margin-bottom: 12px;
}
.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--ink);
}
.form-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 0.85rem;
    background: var(--paper);
    color: var(--ink);
    transition: border-color 0.15s;
    box-sizing: border-box;
}
.form-input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px var(--teal-glow);
}
.ga-status {
    padding: 10px 0;
}
.ga-detail {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.85rem;
}
.ga-detail span {
    color: var(--muted);
}
.ga-detail strong {
    color: var(--ink);
}
.csv-import-form {
    padding: 10px 0;
}

/* ===== ALERT ===== */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}
.alert-success {
    background: #dcfce7;
    color: #166534;
}
.alert-error {
    background: #fee2e2;
    color: #991b1b;
}
.alert-info {
    background: var(--soft);
    color: var(--ink);
}

/* ===== DARK MODE ADJUSTMENTS ===== */
@media (prefers-color-scheme: dark) {
    .snapshot-preview {
        border-color: var(--line);
    }
    .snapshot-header {
        background: var(--bg2);
    }
    .tree-node:hover {
        background: var(--bg2);
    }
    .alert-success {
        background: rgba(22, 101, 52, 0.15);
        color: #86efac;
    }
    .alert-error {
        background: rgba(153, 27, 27, 0.15);
        color: #fca5a5;
    }
}
