/* ============================================
   OptimizeBiomarkers - Clean Professional Design
   Copyright 2026 Ocean Path Ventures LLC
   ============================================ */

/* CSS Variables - Warm Neutral Palette */
:root {
    /* Core colors - warm neutrals */
    --color-primary: #2D2A26;
    --color-secondary: #3D3935;

    /* Accent - muted teal */
    --color-accent: #2A7C7C;
    --color-accent-light: #3D9494;
    --color-accent-subtle: #E8F4F4;
    --color-accent-border: rgba(42, 124, 124, 0.25);
    /* Legacy aliases for cyan (maps to accent) */
    --color-cyan: var(--color-accent-light);
    --color-cyan-dark: var(--color-accent);

    /* Semantic colors - muted versions */
    --color-success: #2D7A4F;
    --color-success-bg: rgba(45, 122, 79, 0.08);
    --color-success-border: rgba(45, 122, 79, 0.25);
    --color-warning: #B8860B;
    --color-warning-bg: rgba(184, 134, 11, 0.08);
    --color-warning-border: rgba(184, 134, 11, 0.3);
    --color-warning-text: #7A5C12;
    --color-danger: #B84040;
    --color-danger-bg: rgba(184, 64, 64, 0.08);
    --color-danger-border: rgba(184, 64, 64, 0.25);
    --color-danger-text: #8B2020;

    /* Category colors */
    --color-pink: #A83279;
    --color-pink-bg: rgba(168, 50, 121, 0.08);

    /* Text colors - warm, not pure black, WCAG AA compliant */
    --color-text: #2D2A26;
    --color-text-light: #595551;  /* 5.5:1 contrast on white */
    --color-text-muted: #6B6560;  /* 4.5:1 contrast on white */

    /* Border colors - warm */
    --color-border: #E8E6E3;
    --color-border-light: #F0EEEB;
    --color-border-strong: #D4D0CC;

    /* Background colors - warm off-white */
    --color-bg: #FFFFFF;
    --color-bg-subtle: #FAFAF8;
    --color-bg-muted: #F5F4F2;
    --color-bg-dark: #2D2A26;

    /* Typography - Inter with matched fallback to reduce CLS */
    --font-sans: 'Inter', 'Inter-fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Shadows - warm tinted */
    --shadow-sm: 0 1px 2px rgba(45, 42, 38, 0.04);
    --shadow-md: 0 2px 8px rgba(45, 42, 38, 0.08);
    --shadow-lg: 0 8px 24px rgba(45, 42, 38, 0.12);
    --shadow-up-sm: 0 -4px 12px rgba(45, 42, 38, 0.05);

    /* Focus ring */
    --focus-ring: 0 0 0 3px rgba(42, 124, 124, 0.15);

    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Transitions */
    --transition: 150ms ease;

    /* Spacing scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
}

/* Font fallback with size adjustment to reduce CLS */
@font-face {
    font-family: 'Inter-fallback';
    src: local('Arial');
    size-adjust: 107%;
    ascent-override: 90%;
    descent-override: 25%;
    line-gap-override: 0%;
}

/* Accessibility utilities */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Reset and Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg-subtle);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    background: var(--color-bg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-primary);
}

h1 { font-size: 2.25rem; letter-spacing: -0.025em; }
h2 { font-size: 1.75rem; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
h4 { font-size: 1.1rem; letter-spacing: -0.005em; }

p {
    color: var(--color-text-light);
    line-height: 1.7;
}

a {
    color: var(--color-accent-light);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-accent);
}

/* Header */
.site-header {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Hero Section - Clean, no gradients */
.hero-section {
    background: var(--color-bg-subtle);
    color: var(--color-text);
    padding: var(--space-16) var(--space-8);
    text-align: center;
    border-bottom: 1px solid var(--color-border-light);
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero-section .subtitle {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--color-text-light);
    max-width: 580px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.hero-stats > div {
    text-align: center;
}

.hero-stats .stat-value {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-text);
}

.hero-stats .stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 0.25rem;
}

/* Buttons - Solid colors, no gradients */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-secondary);
    color: white;
}

.btn-secondary {
    background: var(--color-accent);
    color: white;
}

.btn-secondary:hover {
    background: var(--color-accent-light);
    color: white;
}

.btn-cta {
    background: var(--color-accent);
    color: white;
}

.btn-cta:hover {
    background: var(--color-accent-light);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid var(--color-border-strong);
}

.btn-outline:hover {
    border-color: var(--color-text);
    background: var(--color-bg-subtle);
}

.btn-white {
    background: white;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-white:hover {
    background: var(--color-bg-subtle);
    border-color: var(--color-border-strong);
}

/* Cards - Light with subtle shadows */
.card {
    background: var(--color-bg);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-border);
}

.card-header {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.card-body {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    line-height: 1.65;
}

/* Section Styling */
.section {
    padding: 4rem 2rem;
}

.section-header {
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.section-subheader {
    font-size: 1rem;
    text-align: center;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* Tables - Clean Design */
.provider-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-bg);
    font-size: 0.9rem;
}

.provider-table thead {
    position: sticky;
    top: 0;
    z-index: 10;
}

.provider-table th {
    background: var(--color-bg-muted);
    color: var(--color-text);
    padding: 0.875rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--color-border);
}

.provider-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--color-border-light);
    vertical-align: top;
    color: var(--color-text-light);
}

.provider-table tr:hover {
    background: var(--color-bg-subtle);
}

.provider-table .provider-name {
    font-weight: 600;
    color: var(--color-text);
}

.provider-table .provider-name a {
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.provider-table .provider-name a img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.provider-table .provider-name a:hover {
    color: var(--color-accent-light);
}

.provider-table .price {
    font-weight: 600;
    color: var(--color-primary);
    white-space: nowrap;
}

.provider-table .highlight {
    background: var(--color-bg-subtle);
}

/* Biomarker Grid - Clean Design */
.biomarker-grid {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-bg);
    font-size: 0.875rem;
}

.biomarker-grid th {
    background: var(--color-primary);
    color: white;
    padding: 0.75rem 0.625rem;
    text-align: center;
    font-weight: 500;
    font-size: 0.75rem;
    position: sticky;
    top: 0;
    z-index: 10;
}

.biomarker-grid th.category-header {
    text-align: left;
    padding-left: 1rem;
    min-width: 220px;
}

.biomarker-grid td {
    padding: 0.625rem;
    border-bottom: 1px solid var(--color-border-light);
    text-align: center;
    color: var(--color-text-light);
}

.biomarker-grid td:first-child {
    text-align: left;
    padding-left: 1rem;
    font-weight: 500;
    color: var(--color-text);
}

.biomarker-grid tr:hover {
    background: var(--color-bg-subtle);
}

.biomarker-grid .category-row {
    background: var(--color-bg-muted);
}

.biomarker-grid .category-row td {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-top: 2px solid var(--color-border);
}

.check {
    color: var(--color-success);
    font-weight: 600;
}

.no-check {
    color: var(--color-border);
}

/* Filter Controls - Simplified */
.filter-controls {
    padding: 1.5rem 2rem;
    background: var(--color-bg-subtle);
    border-bottom: 1px solid var(--color-border);
}

.filter-group {
    margin-bottom: 1.25rem;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.provider-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.provider-checkbox {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.provider-checkbox:hover {
    border-color: var(--color-accent-light);
}

.provider-checkbox input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--color-accent-light);
}

.provider-checkbox input[type="checkbox"]:checked + span {
    font-weight: 500;
    color: var(--color-text);
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-chip {
    padding: 0.375rem 0.875rem;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    color: var(--color-text-light);
    border-radius: 100px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all var(--transition);
}

.category-chip:hover {
    border-color: var(--color-accent-light);
    color: var(--color-accent-light);
}

.category-chip.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* Highlight Box */
.highlight-box {
    background: var(--color-bg-subtle);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--color-accent-light);
}

/* Provider Grid */
.provider-grid {
    padding: 2rem;
}

/* Summary Table */
.summary-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin: 2rem 0;
}

.summary-table th {
    background: var(--color-primary);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 500;
}

.summary-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--color-border-light);
    color: var(--color-text-light);
}

.summary-table tr:hover {
    background: var(--color-bg-subtle);
}

/* Footer - Clean */
footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 2rem 2rem;
}

.footer-heading {
    display: block;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: color var(--transition);
}

footer a:hover {
    color: white;
}

footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

/* Disclaimer */
.disclaimer {
    background: var(--color-warning-bg);
    padding: 1.25rem 2rem;
    border-left: 3px solid var(--color-warning);
    font-size: 0.875rem;
    color: var(--color-warning-text);
    margin-bottom: 3rem;
}

.disclaimer-title {
    display: block;
    color: var(--color-warning-text);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Navigation */
.nav-link {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    transition: color var(--transition);
}

.nav-link:hover {
    color: var(--color-accent-light);
}

.dropdown-content {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
}

.dropdown-content a {
    display: block;
    padding: 0.625rem 1rem;
    color: var(--color-text-light);
    font-size: 0.875rem;
}

.dropdown-content a:hover {
    background: var(--color-bg-subtle);
    color: var(--color-text);
}

/* Product Cards */
.product-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    background: var(--color-bg);
    transition: all var(--transition);
}

.product-card:hover {
    border-color: var(--color-accent-light);
    box-shadow: var(--shadow-md);
}

/* Discount badge */
.discount-badge {
    display: inline-block;
    background: var(--color-success-bg);
    color: var(--color-success);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.45rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-success-border);
    letter-spacing: 0.01em;
    white-space: nowrap;
    vertical-align: middle;
}
.discount-badge a {
    color: inherit;
    text-decoration: none;
}
.discount-badge a:hover {
    text-decoration: underline;
}

/* FAQ */
.faq-section {
    padding: 3rem 2rem;
    background: var(--color-bg);
    max-width: 900px;
    margin: 0 auto;
}

.faq-section h2 {
    text-align: center;
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    transition: border-color var(--transition);
}

.faq-item:hover {
    border-color: var(--color-border-strong);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 500;
    color: var(--color-text);
    font-size: 1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--color-text-muted);
    transition: transform var(--transition), color var(--transition);
}

.faq-item[open] summary::after {
    content: '−';
    color: var(--color-accent);
}

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

.faq-item[open] summary {
    margin-bottom: 0.75rem;
    color: var(--color-accent);
}

.faq-item p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    z-index: 1000;
    box-shadow: var(--shadow-up-sm);
}

/* Focus States */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--color-accent-light);
    outline-offset: 2px;
}

/* Fallback for older browsers */
button:focus,
a:focus,
input:focus,
select:focus {
    outline: 2px solid var(--color-accent-light);
    outline-offset: 2px;
}

@supports selector(:focus-visible) {
    button:focus,
    a:focus,
    input:focus,
    select:focus {
        outline: none;
    }
}

/* Hamburger */
#hamburger-btn {
    display: none;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .hero-section {
        padding: 4rem 1.5rem;
    }

    .hero-section h1 {
        font-size: 2.25rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
        background: var(--color-bg);
    }

    .container {
        border-radius: 0;
    }

    #hamburger-btn {
        display: block;
    }

    #desktop-nav {
        display: none !important;
    }

    .hero-section {
        padding: 3rem 1.25rem;
    }

    .hero-section h1 {
        font-size: 1.75rem;
    }

    .hero-section .subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-stats > div {
        flex: 1 1 45%;
    }

    .hero-stats .stat-value {
        font-size: 1.5rem;
    }

    .section {
        padding: 2.5rem 1.25rem;
    }

    .section-header {
        font-size: 1.5rem;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }

    /* Mobile Provider Table - Card Layout */
    .provider-grid {
        padding: 1.25rem;
    }

    .provider-table {
        display: block;
    }

    .provider-table thead {
        display: none;
    }

    .provider-table tbody {
        display: block;
    }

    .provider-table tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid var(--color-border);
        border-radius: var(--radius-md);
        padding: 0;
        background: var(--color-bg);
    }

    .provider-table td {
        display: block;
        padding: 0.875rem 1rem;
        border: none;
        text-align: left;
    }

    .provider-table td:not(:last-child) {
        border-bottom: 1px solid var(--color-border-light);
    }

    .provider-table td::before {
        content: attr(data-label);
        display: block;
        font-weight: 600;
        color: var(--color-text-muted);
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 0.25rem;
    }

    .provider-table .provider-name {
        background: var(--color-bg-subtle);
        border-radius: var(--radius-md) var(--radius-md) 0 0;
    }

    .provider-table .provider-name::before {
        display: none;
    }

    .provider-table .price {
        font-size: 1.125rem;
    }

    /* Mobile Filter Controls */
    .filter-controls {
        padding: 1.25rem;
    }

    .provider-checkboxes {
        gap: 0.375rem;
    }

    .provider-checkbox {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }

    .category-chip {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }

    /* Mobile Biomarker Grid */
    .biomarker-grid {
        font-size: 0.8rem;
    }

    .biomarker-grid th {
        padding: 0.625rem 0.5rem;
        font-size: 0.7rem;
    }

    .biomarker-grid th.category-header {
        min-width: 160px;
    }

    .biomarker-grid td {
        padding: 0.5rem 0.375rem;
    }

    .biomarker-grid td:first-child {
        min-width: 160px;
    }

    /* Mobile Footer */
    footer {
        padding: 2rem 1.25rem;
    }

    /* Mobile Sticky CTA */
    .sticky-cta {
        flex-direction: column;
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .sticky-cta button,
    .sticky-cta a {
        width: 100%;
        padding: 0.75rem !important;
        font-size: 0.875rem !important;
    }

    /* Hide columns on mobile */
    .provider-table td:nth-child(5),
    .provider-table td:nth-child(6),
    .provider-table td:nth-child(7) {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }

    .hero-stats > div {
        flex: 1 1 100%;
    }

    .hero-stats .stat-value {
        font-size: 1.25rem;
    }

    .section-header {
        font-size: 1.25rem;
    }

    .filter-controls {
        padding: 1rem;
    }
}

/* Desktop Enhancements */
@media (min-width: 769px) {
    .provider-table {
        font-size: 0.9rem;
    }

    .provider-table th,
    .provider-table td {
        padding: 1rem 1.25rem;
    }

    .provider-table thead {
        box-shadow: 0 2px 4px rgba(45, 42, 38, 0.05);
    }

    /* Sticky first column for biomarker grid */
    .biomarker-grid th:first-child,
    .biomarker-grid td:first-child {
        position: sticky;
        left: 0;
        background: var(--color-bg);
        z-index: 5;
        box-shadow: 2px 0 4px rgba(45, 42, 38, 0.03);
    }

    .biomarker-grid th:first-child {
        z-index: 15;
        background: var(--color-primary);
    }

    .biomarker-grid .category-row td:first-child {
        background: var(--color-bg-muted);
    }

    .biomarker-grid tr:hover td:first-child {
        background: var(--color-bg-subtle);
    }
}

/* Print Styles */
@media print {
    .sticky-cta,
    #mobile-nav,
    #hamburger-btn,
    .filter-controls {
        display: none !important;
    }

    body {
        background: white;
    }

    .hero-section {
        background: none !important;
        color: black !important;
        padding: 1rem !important;
    }

    .hero-section h1,
    .hero-section p {
        color: black !important;
    }
}

/* ============================================
   Utility Classes - Clean Design
   ============================================ */

/* Accent Bar - Solid color */
.accent-bar {
    height: 3px;
    background: var(--color-accent);
    margin-bottom: 2rem;
}

/* Score Bars */
.score-bar {
    height: 6px;
    background: var(--color-bg-muted);
    border-radius: 3px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: var(--color-accent);
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* Badges - Muted colors */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.badge-accent {
    background: var(--color-accent-subtle);
    color: var(--color-accent);
}

.badge-success {
    background: rgba(45, 122, 79, 0.1);
    color: var(--color-success);
}

.badge-warning {
    background: rgba(184, 134, 11, 0.1);
    color: var(--color-warning);
}

.badge-muted {
    background: var(--color-bg-muted);
    color: var(--color-text-muted);
}

/* Legacy badge classes - mapped to new system */
.badge-cyan { background: var(--color-accent-subtle); color: var(--color-accent); }
.badge-green { background: rgba(45, 122, 79, 0.1); color: var(--color-success); }
.badge-orange { background: rgba(184, 134, 11, 0.1); color: var(--color-warning); }
.badge-amber { background: rgba(184, 134, 11, 0.1); color: var(--color-warning); }

/* Highlight Text */
.highlight-accent { color: var(--color-accent); font-weight: 600; }
.highlight-success { color: var(--color-success); font-weight: 600; }

/* Legacy highlight classes */
.highlight-cyan { color: var(--color-accent); font-weight: 600; }
.highlight-green { color: var(--color-success); font-weight: 600; }
.highlight-orange { color: var(--color-warning); font-weight: 600; }

/* Card accent borders */
.card-accent { border-top: 3px solid var(--color-accent); }
.card-success { border-top: 3px solid var(--color-success); }

/* Legacy card accent classes */
.card-cyan { border-top: 3px solid var(--color-accent); }
.card-green { border-top: 3px solid var(--color-success); }
.card-orange { border-top: 3px solid var(--color-warning); }

/* Verified badge */
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    background: var(--color-bg-muted);
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-sm);
}

/* Table notes */
.table-note {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-top: 0.75rem;
}

/* Search */
.search-container {
    position: relative;
    margin-left: 1rem;
}

.search-input {
    width: 200px;
    padding: 0.5rem 0.875rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    background: var(--color-bg);
    color: var(--color-text);
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: var(--focus-ring);
    width: 280px;
}

.search-input::placeholder {
    color: var(--color-text-muted);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.25rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

.search-results.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 0.875rem;
    text-decoration: none;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border-light);
    transition: background 0.15s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--color-bg-subtle);
}

.search-result-name {
    font-weight: 500;
    font-size: 0.875rem;
}

.search-result-type {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    background: var(--color-bg-muted);
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-sm);
}

.search-no-results {
    padding: 1rem;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .search-container {
        display: none;
    }
}
