/* LAUSD Contract Watch - Styles */
:root {
    --navy: #1a2332;
    --navy-light: #243044;
    --navy-mid: #2c3e50;
    --blue: #2980b9;
    --blue-light: #3498db;
    --blue-bright: #4fa3d1;
    --gold: #d4a843;
    --gold-light: #e8c96a;
    --red: #c0392b;
    --red-light: #e74c3c;
    --green: #27ae60;
    --orange: #e67e22;
    --bg: #f5f6f8;
    --bg-alt: #ebedf0;
    --white: #ffffff;
    --text: #2c3e50;
    --text-light: #6c7a89;
    --text-muted: #95a5a6;
    --border: #dce1e8;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 10px;
    --radius-sm: 6px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue-bright); }

img { max-width: 100%; }

/* Navigation */
.main-nav {
    background: var(--navy);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
}
.nav-brand:hover { color: var(--gold-light); }
.nav-icon { font-size: 1.5rem; }
.nav-title { letter-spacing: -0.3px; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-links a {
    color: rgba(255,255,255,0.8);
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
}
.nav-links a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

/* Nav Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
    color: rgba(255,255,255,0.8);
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    display: flex;
    align-items: center;
}
.nav-dropdown-trigger:hover,
.nav-dropdown.open .nav-dropdown-trigger {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}
.nav-dropdown-trigger svg { transition: transform 0.2s; }
.nav-dropdown.open .nav-dropdown-trigger svg { transform: rotate(180deg); }

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    min-width: 240px;
    padding: 0.5rem 0;
    z-index: 200;
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }

.nav-dropdown-menu a {
    display: block;
    padding: 0.6rem 1.25rem;
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.15s;
    white-space: nowrap;
}
.nav-dropdown-menu a:hover {
    background: var(--bg);
    color: var(--blue);
}
.nav-dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.35rem 0;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #1a3a5c 100%);
    color: var(--white);
    padding: 4rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-block;
    background: rgba(212,168,67,0.15);
    color: var(--gold-light);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(212,168,67,0.3);
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* Hero Search */
.hero-search {
    max-width: 600px;
    margin: 0 auto 2.5rem;
}
.search-form-hero {
    display: flex;
    gap: 0;
    background: var(--white);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    position: relative;
}
.search-input-hero {
    flex: 1;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-family: var(--font);
    outline: none;
    background: transparent;
    color: var(--text);
}
.search-input-hero::placeholder { color: var(--text-muted); }
.btn-search {
    border-radius: 0 50px 50px 0;
    padding: 1rem 2rem;
    white-space: nowrap;
}

/* Search Dropdown */
.search-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 50;
    max-height: 400px;
    overflow-y: auto;
}
.search-dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    transition: background 0.15s;
}
.search-dropdown-item:hover { background: var(--bg); }
.search-dropdown-item:last-child { border-bottom: none; }
.sdi-title { display: block; font-weight: 600; font-size: 0.9rem; }
.sdi-meta { display: block; font-size: 0.8rem; color: var(--text-light); margin-top: 2px; }
.search-dropdown-all {
    text-align: center;
    font-weight: 600;
    color: var(--blue);
    background: var(--bg);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.stat-pill {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 0.75rem 1.25rem;
    min-width: 150px;
    backdrop-filter: blur(4px);
}
.stat-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--gold-light);
    font-family: var(--mono);
}
.stat-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Hero CTA Boxes */
/* Spotlight Cards */
.hero-spotlight {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: left;
}
.spotlight-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 14px;
    padding: 2rem;
    color: var(--text);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.spotlight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}
.spotlight-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1;
}
.spotlight-title-row {
    margin-bottom: 1rem;
}
.spotlight-title-row h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a2332;
    margin-bottom: 0.3rem;
    line-height: 1.35;
}
.spotlight-title-row h3 a {
    color: #1a2332;
    text-decoration: none;
}
.spotlight-title-row h3 a:hover {
    color: var(--blue);
    text-decoration: underline;
}
.spotlight-amount {
    font-family: var(--mono);
    font-weight: 800;
    color: #c0392b;
    font-size: 1rem;
    white-space: nowrap;
}
.spotlight-vendor {
    display: block;
    font-size: 0.82rem;
    color: #95a5a6;
    font-weight: 500;
    text-decoration: none;
}
.spotlight-vendor:hover {
    color: var(--blue);
    text-decoration: underline;
}
.spotlight-card p {
    font-size: 0.88rem;
    color: #5a6a7a;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    flex: 1;
}
.spotlight-comparison {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
    font-size: 0.82rem;
    color: #6c7a89;
    background: #f5f6f8;
    border-radius: 8px;
    padding: 0.75rem 1rem;
}
.spotlight-pays strong { color: #c0392b; }
.spotlight-alt strong { color: #27ae60; }
.spotlight-savings strong { color: #8a6d00; }
.spotlight-cta {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #2980b9;
    text-decoration: none;
    transition: color 0.2s;
}
.spotlight-cta:hover {
    color: #1a6da0;
    text-decoration: underline;
}
.spotlight-more {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}
.spotlight-more a {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s;
}
.spotlight-more a:hover { color: #ffffff; text-decoration: underline; }

/* Sections */
.section { padding: 3rem 1.5rem; }
.section-alt { background: var(--bg-alt); }
.container { max-width: 1200px; margin: 0 auto; }
.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}
.section-subtitle {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Page Headers */
.page-header {
    background: var(--navy);
    color: var(--white);
    padding: 2rem 1.5rem;
}
.page-header-compact { padding: 1.5rem 1.5rem; }
.page-header h1 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}
.page-header p { color: rgba(255,255,255,0.7); margin-top: 0.25rem; }
.back-link {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 0.75rem;
}
.back-link:hover { color: var(--white); }
.vendor-name-large {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    margin-top: 0.25rem;
}

/* Context Cards */
.context-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.context-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.context-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.context-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.context-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }

/* Tables */
.contracts-table-wrap {
    overflow-x: auto;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.contracts-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.contracts-table th {
    background: var(--navy);
    color: var(--white);
    padding: 0.85rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}
.contracts-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.contracts-table tbody tr:last-child td { border-bottom: none; }
.contracts-table tbody tr:hover { background: #f8f9fb; }
.clickable-row { cursor: pointer; }
.col-right { text-align: right; }
.amount-cell { font-family: var(--mono); font-weight: 600; color: var(--navy); white-space: nowrap; }
.date-cell { white-space: nowrap; color: var(--text-light); font-size: 0.85rem; }
.contract-link { font-weight: 600; color: var(--blue); }
.contract-link:hover { color: var(--blue-bright); text-decoration: underline; }
.contract-num { font-size: 0.75rem; color: var(--text-muted); font-family: var(--mono); margin-top: 2px; }
.contract-id-label { font-family: var(--mono); font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.table-note { font-size: 0.8rem; color: var(--text-muted); padding: 0.75rem 1rem; border-top: 1px solid var(--border); }
.categories-cell { font-size: 0.8rem; color: var(--text-light); max-width: 200px; }

/* Category Tags */
.category-tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-active { background: #d4edda; color: #155724; }
.badge-expired { background: #f8d7da; color: #721c24; }
.badge-pending { background: #fff3cd; color: #856404; }
.badge-cancelled { background: #e2e3e5; color: #383d41; }
.badge-amended { background: #cce5ff; color: #004085; }

/* Verification badges */
.badge-verified   { background: #d4edda; color: #155724; }
.badge-reported   { background: #cce5ff; color: #004085; }
.badge-estimated  { background: #fff3cd; color: #856404; }
.badge-unverified { background: #f8d7da; color: #721c24; }

/* Verification banner */
.verification-banner {
    padding: 0.6rem 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}
.verification-banner.vb-unverified {
    background: #fff5f5;
    border: 1px solid #f5c6cb;
    color: #721c24;
}
.verification-banner.vb-estimated {
    background: #fff9e6;
    border: 1px solid #ffeeba;
    color: #856404;
}
.verification-banner.vb-reported {
    background: #e8f4fd;
    border: 1px solid #b8daff;
    color: #004085;
}
.verification-banner.vb-verified {
    background: #eaf7ed;
    border: 1px solid #c3e6cb;
    color: #155724;
}

/* Connection Badge */
.connection-badge {
    display: inline-block;
    background: #fff3cd;
    color: #856404;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 4px;
}

/* Percentage Bar */
.pct-bar-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
}
.pct-bar-fill {
    height: 6px;
    background: var(--blue);
    border-radius: 3px;
    min-width: 2px;
    flex-shrink: 0;
}
.pct-bar-inline span {
    font-size: 0.8rem;
    font-family: var(--mono);
    color: var(--text-light);
    white-space: nowrap;
}

/* Category Bars */
.category-bars { max-width: 900px; }
.category-bar-row { margin-bottom: 1rem; }
.category-bar-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}
.category-bar-count { font-size: 0.8rem; color: var(--text-muted); }
.category-bar-track {
    background: var(--bg-alt);
    border-radius: 6px;
    height: 32px;
    overflow: hidden;
}
.category-bar-fill {
    height: 100%;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    min-width: fit-content;
    transition: width 0.8s ease-out;
}
.category-bar-amount {
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--mono);
    white-space: nowrap;
}

/* CTA Grid */
.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.cta-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}
.cta-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.cta-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.cta-card p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    text-decoration: none;
    line-height: 1.4;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-bright); color: var(--white); }
.btn-secondary { background: var(--navy); color: var(--white); }
.btn-secondary:hover { background: var(--navy-light); color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-block { display: block; width: 100%; }

/* Search & Filters */
.search-filters { margin-bottom: 1.5rem; }
.filter-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
    flex-wrap: wrap;
}
.filter-advanced { margin-top: 0.75rem; }
.filter-group { flex: 1; min-width: 150px; }
.filter-main { flex: 3; min-width: 250px; }
.filter-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.search-input, .filter-group select, .filter-group input {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: var(--font);
    background: var(--white);
    color: var(--text);
    transition: border-color 0.2s;
}
.search-input:focus, .filter-group select:focus, .filter-group input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(41,128,185,0.1);
}
textarea.search-input { resize: vertical; }

.results-summary {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    font-size: 0.9rem;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.page-link {
    padding: 0.5rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    background: var(--white);
}
.page-link.active {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}
.page-link:hover:not(.active) { background: var(--bg-alt); }

/* Contract Detail */
.contract-detail-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.25rem;
    align-items: start;
}
.contract-header-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

/* Detail Cards */
.detail-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    margin-bottom: 1rem;
}
.detail-card h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1rem;
}
.detail-item {}
.detail-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 1px;
}
.detail-value {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
}
.detail-value-large {
    font-size: 1.25rem;
    color: var(--navy);
    font-family: var(--mono);
}

/* Sidebar */
.sidebar-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    margin-bottom: 0.75rem;
}
.sidebar-card h4 {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border);
}
.sidebar-card-highlight {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    border-color: transparent;
}
.sidebar-card-highlight h4 { color: var(--gold-light); border-color: rgba(255,255,255,0.1); }
.sidebar-card-highlight .qf-label { color: rgba(255,255,255,0.6); }
.sidebar-card-highlight .qf-value { color: var(--white); }
.sidebar-card-alert { border-color: #f5c6cb; background: #fff5f5; }

.quick-fact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.quick-fact:last-child { border-bottom: none; }
.qf-label { font-size: 0.75rem; color: var(--text-muted); }
.qf-value { font-weight: 700; font-family: var(--mono); font-size: 0.85rem; }

.sidebar-list { list-style: none; }
.sidebar-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a { font-size: 0.85rem; font-weight: 500; }
.sidebar-amount { font-family: var(--mono); font-size: 0.8rem; color: var(--text-light); white-space: nowrap; }

/* Equivalents Strip */
.equiv-strip {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    margin-bottom: 1rem;
}
.equiv-strip-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.equiv-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}
.equiv-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.4rem 0.25rem;
    border-radius: 6px;
    background: var(--bg);
    border: 1px solid var(--border);
    transition: background 0.15s;
}
.equiv-tile:hover { background: #eef2f7; }
.equiv-tile-icon { font-size: 1.1rem; line-height: 1; }
.equiv-tile-count { font-size: 0.85rem; font-weight: 800; color: var(--navy); font-family: var(--mono); line-height: 1.3; }
.equiv-tile-label { font-size: 0.6rem; color: var(--text-light); line-height: 1.2; }

/* Equivalents Grid */
.equivalents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}
.equivalent-card {
    background: var(--bg);
    border-radius: 8px;
    padding: 1rem 0.75rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.15s, box-shadow 0.15s;
}
.equivalent-card:hover { transform: translateY(-2px); box-shadow: 0 3px 8px rgba(0,0,0,0.08); }
.eq-icon { font-size: 1.8rem; margin-bottom: 0.3rem; }
.eq-count { font-size: 1.3rem; font-weight: 800; color: var(--navy); font-family: var(--mono); line-height: 1.3; }
.eq-label { font-size: 0.75rem; color: var(--text-light); line-height: 1.3; }

/* Plain English Explainer */
.card-plain-english {
    background: linear-gradient(135deg, #fffbf0 0%, #fff 50%);
    border-left: 4px solid var(--orange);
}
.card-plain-english h3 { color: var(--orange); border-color: #f0d9b5; }
.plain-english-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
}

/* Why It Matters Card */
.card-why-matters {
    background: linear-gradient(135deg, #fef9f0 0%, #fff 50%);
    border-left: 4px solid var(--gold);
}
.why-matters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.wm-stat {
    text-align: center;
    padding: 0.75rem;
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.wm-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy);
    font-family: var(--mono);
}
.wm-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-light);
    margin-top: 2px;
}
.wm-company-snapshot {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1rem;
}
.wm-company-snapshot h4 {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}
.wm-snapshot-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.75rem;
}
.wm-snap-item { }
.wm-snap-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.wm-snap-value {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--navy);
}
.wm-snap-detail {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
}
.wm-context-note {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}
.wm-connections-inline {
    background: #fff5f5;
    border: 1px solid #f5c6cb;
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1rem;
}
.wm-connections-inline h4 {
    font-size: 0.85rem;
    color: var(--red);
    margin-bottom: 0.5rem;
}
.wm-conn-row {
    font-size: 0.85rem;
    padding: 0.25rem 0;
    color: var(--text);
}
.wm-deep-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue);
}

/* Share Card */
.card-share {
    border: none;
    background: var(--navy);
    color: var(--white);
    padding: 0;
    overflow: hidden;
}
.card-share h3 {
    color: var(--gold-light);
    border: none;
    margin: 0;
    padding: 0;
}
.share-header {
    padding: 1.25rem 1.5rem 1rem;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.share-header p {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}
.share-builder {
    display: flex;
    flex-direction: column;
}

/* Option toggles */
.share-options {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: rgba(255,255,255,0.08);
}
.share-checkbox-hidden,
.share-radio-hidden { position: absolute; opacity: 0; pointer-events: none; }
.share-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--navy-light);
    cursor: pointer;
    transition: background 0.15s;
    user-select: none;
}
.share-option:hover { background: var(--navy-mid); }
.share-option-locked {
    cursor: default;
    opacity: 0.7;
}
.share-option-locked:hover { background: var(--navy-light); }

/* Custom checkboxes */
.share-check {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid rgba(255,255,255,0.3);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    background: transparent;
}
.share-check::after {
    content: '';
    width: 10px;
    height: 6px;
    border-left: 2px solid transparent;
    border-bottom: 2px solid transparent;
    transform: rotate(-45deg) translateY(-1px);
    transition: border-color 0.15s;
}
.share-check-on,
.share-checkbox-hidden:checked ~ .share-check {
    background: var(--blue);
    border-color: var(--blue);
}
.share-check-on::after,
.share-checkbox-hidden:checked ~ .share-check::after {
    border-left-color: #fff;
    border-bottom-color: #fff;
}
.share-option-text { flex: 1; min-width: 0; }
.share-option-text strong {
    display: block;
    font-size: 0.88rem;
    color: var(--white);
    font-weight: 600;
}
.share-option-text small {
    display: block;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Comparison picker - the grid of resource options */
.share-comparison-picker {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
    gap: 6px;
    padding: 0.75rem 1.5rem;
    background: rgba(0,0,0,0.15);
}
.share-comparison-picker.picker-open {
    display: grid;
}
.share-comp-item {
    cursor: pointer;
}
.share-comp-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.6rem 0.5rem;
    background: var(--navy-light);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    transition: all 0.15s;
    gap: 2px;
}
.share-comp-item:hover .share-comp-content {
    border-color: rgba(255,255,255,0.2);
    background: var(--navy-mid);
}
.share-radio-hidden:checked ~ .share-comp-content {
    border-color: var(--gold);
    background: rgba(212,168,67,0.12);
}
.comp-icon { font-size: 1.4rem; line-height: 1; }
.comp-count {
    font-size: 1rem;
    font-weight: 800;
    color: var(--gold-light);
    font-family: var(--mono);
    line-height: 1.2;
}
.comp-label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.2;
}

/* Preview area */
.share-output {
    padding: 1rem 1.5rem 1.25rem;
    background: rgba(0,0,0,0.1);
}
.share-preview {
    background: rgba(0,0,0,0.25);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 0.75rem;
    position: relative;
    border: 1px solid rgba(255,255,255,0.08);
}
.share-preview-label {
    position: absolute;
    top: -8px;
    left: 12px;
    background: var(--navy-mid);
    color: var(--gold-light);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 1px 8px;
    font-weight: 700;
    border-radius: 3px;
}
.share-preview-text {
    font-size: 0.82rem;
    line-height: 1.65;
    white-space: pre-wrap;
    font-family: var(--font);
    color: rgba(255,255,255,0.85);
}

/* Share buttons */
.share-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}
.btn-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    color: #fff;
}
.btn-share svg { flex-shrink: 0; }
.btn-share:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.3); color: #fff; }
.btn-share-copy { background: rgba(255,255,255,0.15); }
.btn-share-copy:hover { background: rgba(255,255,255,0.25); }
.btn-share-copied { background: var(--green) !important; }
.btn-share-twitter { background: #000; }
.btn-share-twitter:hover { background: #333; }
.btn-share-email { background: #6c7a89; }
.btn-share-email:hover { background: #7f8c8d; }
.btn-share-fb { background: #1877f2; }
.btn-share-fb:hover { background: #4293f5; }
.btn-gold { background: var(--gold); color: var(--navy); font-weight: 700; }
.btn-gold:hover { background: var(--gold-light); color: var(--navy); }

/* Impact Grid (Compare page) */
.compare-form { margin-bottom: 2rem; }
.compare-selectors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.compare-select-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--navy);
}
.compare-contract-summary {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
}
.compare-contract-summary h2 { font-size: 1.3rem; margin-bottom: 0.25rem; }
.compare-contract-summary .vendor-name-large { margin-bottom: 1.25rem; }
.compare-amounts {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.compare-amount {
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    flex: 1;
    min-width: 200px;
}
.compare-amount-highlight { background: rgba(212,168,67,0.2); border: 1px solid rgba(212,168,67,0.3); }
.compare-amount-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.compare-amount-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--mono);
    color: var(--gold-light);
    margin-top: 2px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}
.impact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: transform 0.2s;
}
.impact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.impact-icon { font-size: 2.5rem; flex-shrink: 0; }
.impact-content { flex: 1; }
.impact-item-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.5rem; }
.impact-numbers { margin-bottom: 0.25rem; }
.impact-total { margin-bottom: 0.25rem; }
.impact-count { font-size: 1.75rem; font-weight: 800; color: var(--navy); font-family: var(--mono); margin-right: 0.25rem; }
.impact-unit { font-size: 0.8rem; color: var(--text-light); }
.impact-per-school { background: var(--bg); border-radius: 4px; padding: 0.25rem 0.5rem; display: inline-block; }
.impact-count-sm { font-weight: 700; color: var(--blue); font-family: var(--mono); margin-right: 0.15rem; }
.impact-unit-sm { font-size: 0.75rem; color: var(--text-light); }
.impact-cost { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; }
.impact-desc { font-size: 0.75rem; color: var(--text-muted); font-style: italic; margin-top: 0.15rem; }

/* Board Grid */
.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}
.board-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    text-align: center;
}
.board-card-inactive { opacity: 0.6; }
.board-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 0.75rem;
}
.board-card h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.board-info { font-size: 0.85rem; color: var(--text-light); margin-bottom: 0.25rem; }
.board-district { font-weight: 600; }
.board-term { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.board-connections-summary { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--border); }
.conn-total { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }

/* Connections */
.connections-list { display: grid; gap: 1rem; }
.connection-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
}
.conn-header { padding: 0.75rem 1.25rem; background: var(--bg-alt); }
.conn-type-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    background: #fff3cd;
    color: #856404;
}
.conn-type-campaign-donor { background: #cce5ff; color: #004085; }
.conn-type-former-employer { background: #d4edda; color: #155724; }
.conn-type-family { background: #f8d7da; color: #721c24; }
.conn-body { padding: 1.25rem; }
.conn-parties {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}
.conn-party { flex: 1; min-width: 200px; }
.conn-role {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.conn-party strong { font-size: 1rem; }
.conn-party span { display: block; font-size: 0.85rem; color: var(--text-light); }
.conn-arrow { font-size: 1.5rem; color: var(--text-muted); }
.conn-contracts { margin-top: 0.5rem; display: flex; flex-direction: column; gap: 0.3rem; }
.conn-contract-link {
    display: inline-block;
    font-size: 0.82rem;
    color: var(--blue);
    background: #eef5fb;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid #d0e3f0;
    transition: background 0.15s, color 0.15s;
}
.conn-contract-link:hover { background: var(--blue); color: #fff; }
.conn-desc { font-size: 0.9rem; color: var(--text-light); margin-bottom: 0.5rem; font-style: italic; }

/* Tabs */
.tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 1.25rem;
}
.tab {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.15s, border-color 0.15s;
}
.tab:hover { color: var(--blue); }
.tab-active {
    color: var(--blue);
    border-bottom-color: var(--blue);
}
.tab-badge {
    display: inline-block;
    background: var(--bg-alt);
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.1rem 0.5rem;
    border-radius: 10px;
    margin-left: 0.3rem;
}
.tab-active .tab-badge {
    background: var(--blue);
    color: #fff;
}
.tab-summary {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    padding: 0.6rem 1rem;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
}
.tab-summary strong { color: var(--text); }

/* News Alert Banner */
.news-alert {
    background: linear-gradient(90deg, #c0392b, #e74c3c);
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.5;
}
.news-alert .container { max-width: 1200px; margin: 0 auto; }
.news-alert strong { color: #ffd700; }
.news-alert a { color: #ffd700; font-weight: 600; margin-left: 0.5rem; text-decoration: underline; }
.news-alert a:hover { color: #fff; }

/* Alert Banner */
.alert-banner {
    background: #fff3cd;
    border-bottom: 2px solid #ffc107;
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
    color: #856404;
}
.alert-banner .container { max-width: 1200px; margin: 0 auto; }
.alert-banner span { display: block; margin-top: 0.25rem; }

/* Info Box */
.info-box {
    background: #e8f4fd;
    border: 1px solid #b8daff;
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: #004085;
}
.info-box h4 { margin-bottom: 0.5rem; }

/* Flags */
.flag-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}
.flag-item:last-child { border-bottom: none; }
.flag-type {
    display: inline-block;
    background: #f8d7da;
    color: #721c24;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.flag-item p { font-size: 0.85rem; color: var(--text-light); margin: 0.25rem 0; }
.flag-date { font-size: 0.75rem; color: var(--text-muted); }

/* Forms */
.flag-form, .compare-form { }
.form-group { margin-bottom: 1rem; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--text);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Messages */
.success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}
.success-message h3 { margin-bottom: 0.5rem; }
.error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}
.empty-icon { font-size: 4rem; margin-bottom: 1rem; opacity: 0.4; }
.empty-state h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.empty-state p { color: var(--text-light); }

/* About Content */
.about-content h2 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}
.about-content h2:first-child { margin-top: 0; }
.about-content p { margin-bottom: 0.75rem; line-height: 1.7; color: var(--text-light); }
.about-content ul { margin: 0.5rem 0 1rem 1.25rem; }
.about-content li { margin-bottom: 0.5rem; line-height: 1.6; color: var(--text-light); }

/* Vendor Links on Contract Page */
.vendor-links { margin-top: 1rem; }
.btn-vendor-know {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(212,168,67,0.3);
}
.btn-vendor-know:hover {
    background: var(--gold-light);
    color: var(--navy);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212,168,67,0.4);
}

/* Vendor Profile Page */
.vendor-page-subtitle { font-size: 1.05rem; opacity: 0.9; }
.vendor-profile-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
}
.vendor-main { min-width: 0; }
.vendor-sidebar { position: sticky; top: 80px; }
.vendor-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.vo-item { }
.vo-label { display: block; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.3px; }
.vo-value { font-size: 0.95rem; font-weight: 600; color: var(--text); }
.vo-value a { color: var(--blue); }

/* Executive Cards */
.exec-card { margin-bottom: 1rem; }
.exec-main {
    background: var(--bg-alt);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
}
.exec-role { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 0.15rem; }
.exec-name { display: block; font-size: 1.1rem; margin-bottom: 0.2rem; }
.exec-comp { display: block; font-size: 1rem; color: var(--red); font-weight: 700; }
.exec-context {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    color: #5d4037;
    line-height: 1.6;
}
.exec-others { margin-top: 1rem; }
.exec-others h4 { font-size: 0.85rem; color: var(--text-light); margin-bottom: 0.5rem; }
.exec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
    flex-wrap: wrap;
    gap: 0.25rem;
}
.exec-row:last-child { border-bottom: none; }
.exec-row-name { font-weight: 600; }
.exec-row-title { color: var(--text-light); flex: 1; text-align: center; }
.exec-row-comp { color: var(--red); font-weight: 600; }

/* Cost Analysis */
.vendor-cost-card { position: relative; }
.cost-analysis-badge {
    display: inline-block;
    background: #fff3cd;
    color: #856404;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.cost-breakdown-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin: 1rem 0;
}
.cost-breakdown-table th,
.cost-breakdown-table td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}
.cost-breakdown-table th { font-size: 0.75rem; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.3px; }
.cost-breakdown-table .cost-est { color: var(--text-muted); font-style: italic; }
.cost-breakdown-table .cost-verified { color: var(--green); font-weight: 600; }
.cost-breakdown-table tr.cost-total { font-weight: 700; border-top: 2px solid var(--text); }
.cost-breakdown-table tr.cost-total td { padding-top: 0.85rem; }
.cost-note { font-size: 0.85rem; color: var(--text-light); margin-top: 0.5rem; line-height: 1.6; }
.cost-savings-box {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    margin-top: 1rem;
}
.cost-savings-box h4 { color: #2e7d32; margin-bottom: 0.5rem; font-size: 0.95rem; }
.cost-savings-box p { color: #33691e; font-size: 0.88rem; line-height: 1.6; margin-bottom: 0.5rem; }
.cost-savings-box p:last-child { margin-bottom: 0; }

/* Vendor Alternative */
.vendor-alt-card p { font-size: 0.9rem; line-height: 1.7; color: var(--text-light); margin-bottom: 0.75rem; }
.vendor-alt-card p:last-child { margin-bottom: 0; }

/* Vendor Controversy */
.vendor-controversy-card { border-left: 4px solid var(--red); }
.vendor-controversy-card p,
.vendor-controversy-card li { font-size: 0.9rem; line-height: 1.7; color: var(--text-light); }
.vendor-controversy-card ul { margin: 0.5rem 0 0.75rem 1.25rem; }

/* Political Spending */
.political-item {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}
.political-item:last-child { border-bottom: none; }
.political-label { color: var(--text-light); }
.political-value { font-weight: 600; }

/* Vendor Contracts List */
.contract-list-heading { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.3px; margin: 1rem 0 0.5rem; }
.contract-list-heading:first-child { margin-top: 0; }
.vendor-contracts-list { display: flex; flex-direction: column; gap: 0.5rem; }
.vendor-contracts-past { opacity: 0.7; }
.vendor-contract-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text);
    transition: background 0.15s;
}
.vendor-contract-row:hover { background: var(--bg-alt); }
.vcr-info strong { display: block; font-size: 0.9rem; color: var(--blue); }
.vcr-meta { font-size: 0.8rem; color: var(--text-muted); }
.vcr-amount { font-size: 1rem; font-weight: 700; color: var(--text); white-space: nowrap; }

/* Sources */
.vendor-sources-card { }
.source-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.source-tag {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--blue);
    text-decoration: none;
}
.source-tag:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* PRA Template / Disclaimer */
.vendor-disclaimer {
    background: #fef3e2;
    border: 1px solid #f0c674;
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
}
.vendor-disclaimer h4 { color: #8a6d3b; margin-bottom: 0.75rem; font-size: 1.05rem; }
.vendor-disclaimer p { color: #6d5a3a; font-size: 0.9rem; line-height: 1.7; margin-bottom: 0.75rem; }
.pra-template {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-top: 1rem;
    overflow: hidden;
}
.pra-template-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1rem;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}
.pra-template-header strong { font-size: 0.85rem; }
.btn-sm { padding: 0.3rem 0.75rem; font-size: 0.78rem; }
.pra-template pre {
    padding: 1rem 1.25rem;
    font-size: 0.82rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: var(--text);
    font-family: var(--mono);
    max-height: 400px;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .vendor-profile-grid { grid-template-columns: 1fr; }
    .vendor-sidebar { position: static; }
    .vendor-overview-grid { grid-template-columns: 1fr; }
    .exec-row { flex-direction: column; align-items: flex-start; }
    .exec-row-title { text-align: left; }
    .btn-vendor-know { display: block; text-align: center; }
}

/* Footer */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    padding: 3rem 1.5rem 0;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
}
.footer-col h4 {
    color: var(--white);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-col p { font-size: 0.85rem; line-height: 1.6; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.35rem; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.25rem 0;
    text-align: center;
    font-size: 0.8rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.75rem; }
.mt-2 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1.5rem; }

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        padding: 0.5rem 1rem 1rem;
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 0.65rem 1rem; }

    /* Mobile dropdown - expand inline */
    .nav-dropdown { width: 100%; }
    .nav-dropdown-trigger { width: 100%; justify-content: space-between; padding: 0.65rem 1rem; }
    .nav-dropdown-menu {
        position: static;
        background: rgba(255,255,255,0.05);
        box-shadow: none;
        border-radius: var(--radius-sm);
        min-width: 0;
        padding: 0.25rem 0;
        margin-bottom: 0.25rem;
    }
    .nav-dropdown-menu a {
        color: rgba(255,255,255,0.75);
        padding: 0.5rem 1.5rem;
    }
    .nav-dropdown-menu a:hover { background: rgba(255,255,255,0.08); color: var(--white); }
    .nav-dropdown-divider { background: rgba(255,255,255,0.1); }

    .hero { padding: 2.5rem 1rem; }
    .hero h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-spotlight { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .hero-stats { gap: 0.5rem; }
    .stat-pill { min-width: 130px; padding: 0.5rem 0.75rem; }
    .stat-number { font-size: 1.1rem; }

    .search-form-hero {
        flex-direction: column;
        border-radius: var(--radius);
    }
    .btn-search { border-radius: 0 0 var(--radius) var(--radius); }

    .contract-detail-grid { grid-template-columns: 1fr; }
    .compare-selectors { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .filter-row { flex-direction: column; }
    .filter-group { min-width: 100%; }
    .filter-main { min-width: 100%; }

    .contracts-table th,
    .contracts-table td { padding: 0.6rem 0.5rem; font-size: 0.8rem; }

    .equiv-strip-grid { grid-template-columns: repeat(2, 1fr); }
    .equivalents-grid { grid-template-columns: repeat(2, 1fr); }
    .why-matters-grid { grid-template-columns: 1fr 1fr; }
    .wm-snapshot-row { grid-template-columns: 1fr; }
    .share-buttons { grid-template-columns: 1fr 1fr; }
    .share-comparison-picker { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
    .impact-grid { grid-template-columns: 1fr; }
    .compare-amounts { flex-direction: column; }

    .board-grid { grid-template-columns: 1fr 1fr; }
    .conn-parties { flex-direction: column; gap: 0.75rem; }
    .conn-arrow { transform: rotate(90deg); }
}

@media (max-width: 480px) {
    .board-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; align-items: center; }
    .stat-pill { width: 100%; max-width: 250px; }
}

/* ── Priority Review Page ── */
.priority-disclaimer {
    background: #fff8e1;
    border: 1px solid #f0d060;
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--navy-mid);
}
.priority-disclaimer a { color: var(--blue); }

.priority-card {
    display: flex;
    gap: 1.5rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--red);
}
.priority-rank {
    font-size: 2rem;
    font-weight: 800;
    color: var(--red);
    line-height: 1;
    flex-shrink: 0;
    width: 50px;
    text-align: center;
    padding-top: 0.25rem;
}
.priority-content { flex: 1; min-width: 0; }
.priority-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}
.priority-header h2 { margin: 0; font-size: 1.25rem; }
.priority-header h2 a { color: var(--navy); text-decoration: none; }
.priority-header h2 a:hover { color: var(--blue); }
.priority-meta { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.4rem; font-size: 0.85rem; color: var(--text-light); flex-wrap: wrap; }
.priority-amount { text-align: right; flex-shrink: 0; }
.priority-dollar { display: block; font-size: 1.5rem; font-weight: 800; color: var(--red); }
.priority-per-school { font-size: 0.8rem; color: var(--text-light); }

.priority-explanation {
    background: #fff5f5;
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1rem;
}
.priority-explanation h4 { margin: 0 0 0.5rem; font-size: 0.85rem; color: var(--red); text-transform: uppercase; letter-spacing: 0.05em; }
.priority-explanation p { margin: 0; font-size: 0.9rem; line-height: 1.6; }

.priority-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}
.priority-detail-box {
    border-radius: var(--radius-sm);
    padding: 1rem;
    font-size: 0.85rem;
    line-height: 1.5;
}
.priority-detail-box h4 { margin: 0 0 0.5rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.priority-detail-box ul { margin: 0.25rem 0; padding-left: 1.25rem; }
.priority-detail-concerns { background: #fff0f0; }
.priority-detail-concerns h4 { color: var(--red); }
.priority-detail-cost { background: #f0f4ff; }
.priority-detail-cost h4 { color: var(--blue); }
.priority-detail-alt { background: #f0fff4; }
.priority-detail-alt h4 { color: var(--green); }

.priority-connections {
    background: #f8f0ff;
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1rem;
}
.priority-connections h4 { margin: 0 0 0.5rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: #9b59b6; }
.priority-conn-item { font-size: 0.85rem; padding: 0.3rem 0; }

.priority-exec {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}
.priority-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ── Conflicts of Interest Section (contract page) ── */
.card-conflicts {
    border: 2px solid #e8d4f0;
    background: #faf5ff;
}
.card-conflicts h3 { color: #7b2d8e; }
.conflicts-disclaimer {
    background: #fff8e1;
    border: 1px solid #f0d060;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--navy-mid);
}
.conflicts-list { display: flex; flex-direction: column; gap: 1rem; }
.conflict-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 1rem;
    border: 1px solid #e8d4f0;
}
.conflict-type-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    margin-bottom: 0.75rem;
    background: #9b59b6;
    color: white;
}
.conflict-parties {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.conflict-party {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.conflict-role {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
}
.conflict-arrow {
    font-size: 1.25rem;
    color: var(--text-muted);
    flex-shrink: 0;
}
.conflict-desc {
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}
.conflicts-help {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e8d4f0;
    font-size: 0.8rem;
    color: var(--text-light);
}
.conflicts-help p { margin: 0; }
.conflicts-help a { color: var(--blue); }

@media (max-width: 768px) {
    .priority-card { flex-direction: column; gap: 0.5rem; padding: 1rem; }
    .priority-rank { width: auto; font-size: 1.25rem; }
    .priority-header { flex-direction: column; }
    .priority-amount { text-align: left; }
    .priority-details-grid { grid-template-columns: 1fr; }
    .conflict-parties { flex-direction: column; align-items: flex-start; }
    .conflict-arrow { transform: rotate(90deg); }
}

/* ── Vendor Page: Service Details ── */
.vendor-service-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}
.vendor-service-item:last-child { border-bottom: none; }
.vendor-service-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}
.vendor-service-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0.25rem 0;
}
.vendor-service-plain {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.6;
    margin: 0.5rem 0 0.25rem;
    padding: 0.75rem;
    background: #fff5f0;
    border-left: 3px solid var(--orange);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.vendor-service-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
}

/* ── Vendor Page: Overlap / Redundancy ── */
.vendor-overlap-card { border: 2px solid #fff3cd; background: #fffdf5; }
.vendor-overlap-card h3 { color: var(--orange); }
.overlap-cat-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin: 1rem 0 0.4rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid var(--border);
}
.vendor-overlap-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    margin: 0.25rem 0;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text);
    transition: background 0.15s;
}
.vendor-overlap-row:hover { background: rgba(0,0,0,0.04); color: var(--text); }
.overlap-info { display: flex; flex-direction: column; gap: 0.1rem; }
.overlap-info strong { font-size: 0.85rem; }
.overlap-title { font-size: 0.8rem; color: var(--text-light); }
.overlap-amount { font-size: 0.9rem; font-weight: 700; color: var(--red); white-space: nowrap; }

/* ── Vendor Page: Questions ── */
.vendor-questions-card { border: 2px solid #d4edda; background: #f8fff9; }
.vendor-questions-card h3 { color: var(--green); }
.vendor-questions-list {
    margin: 0.75rem 0 0;
    padding-left: 1.25rem;
}
.vendor-questions-list li {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.6rem;
    color: var(--text);
}

/* ── Vendor Chat ── */
.vendor-chat-card {
    border: 2px solid var(--blue-light);
    background: #f7fbff;
}
.vendor-chat-card h3 { color: var(--blue); }

.chat-messages {
    min-height: 120px;
    max-height: 400px;
    overflow-y: auto;
    padding: 0.75rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
}

.chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.chat-suggestion {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    color: var(--blue);
    cursor: pointer;
    font-family: var(--font);
    transition: all 0.15s;
}
.chat-suggestion:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.chat-msg {
    margin-bottom: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    line-height: 1.55;
    max-width: 85%;
    white-space: pre-wrap;
}
.chat-msg-user {
    background: var(--blue);
    color: var(--white);
    margin-left: auto;
    border-bottom-right-radius: 2px;
}
.chat-msg-ai {
    background: var(--bg);
    color: var(--text);
    border-bottom-left-radius: 2px;
}
.chat-msg-error {
    background: #fff0f0;
    color: var(--red);
}
.chat-msg-loading {
    color: var(--text-muted);
}

.chat-dots span {
    animation: chatDot 1.4s infinite;
    font-size: 1.5rem;
    line-height: 1;
}
.chat-dots span:nth-child(2) { animation-delay: 0.2s; }
.chat-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatDot {
    0%, 80%, 100% { opacity: 0.2; }
    40% { opacity: 1; }
}

.chat-input-row {
    display: flex;
    gap: 0.5rem;
}
.chat-input {
    flex: 1;
    padding: 0.6rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: var(--font);
    outline: none;
    transition: border-color 0.2s;
}
.chat-input:focus { border-color: var(--blue); }
.chat-send {
    flex-shrink: 0;
    padding: 0.6rem 1.25rem;
}
.chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========== Find Problems Pages ========== */
.problems-disclaimer {
    background: #fff8e1;
    border: 1px solid #f0e0a0;
    border-left: 4px solid var(--gold);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text);
}
.problems-disclaimer strong { color: #8a6d00; }

.problem-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--border);
}
.problem-card-header {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.problem-card-header h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    flex: 1;
    min-width: 200px;
}
.problem-amount {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    white-space: nowrap;
}
.problem-header-redundancy { background: var(--navy); }
.problem-header-overpriced { background: #b7472a; }
.problem-header-tech { background: #6c3483; }
.problem-header-connections { background: var(--navy); }
.problem-header-critical { background: #b7472a; }
.problem-header-high { background: #c0392b; }
.problem-header-medium { background: #d4770a; }

.problem-card-body {
    padding: 1.5rem;
}
.problem-vendor-line {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.problem-vendor-line a {
    font-weight: 600;
    color: var(--blue);
    text-decoration: none;
}
.problem-vendor-line a:hover { text-decoration: underline; }

.problem-explanation {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 1.25rem;
}
.problem-contracts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.problem-contract-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    background: var(--bg);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text);
    transition: background 0.15s, box-shadow 0.15s;
    border: 1px solid transparent;
}
.problem-contract-row:hover {
    background: var(--white);
    border-color: var(--blue-light);
    box-shadow: var(--shadow);
}
.pcr-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.pcr-info strong { font-size: 0.95rem; }
.pcr-vendor { font-size: 0.85rem; color: var(--text-light); }
.pcr-vendor a {
    color: var(--blue);
    text-decoration: none;
}
.pcr-vendor a:hover { text-decoration: underline; }
.pcr-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}
.pcr-amount {
    font-weight: 700;
    font-size: 1rem;
    color: var(--red);
    font-family: var(--mono);
}

.problem-comparison {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}
.comparison-item {
    flex: 1;
    min-width: 200px;
    padding: 1rem;
    border-radius: var(--radius-sm);
    background: var(--bg);
}
.comparison-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 0.35rem;
    font-weight: 600;
}
.comparison-value {
    font-size: 1.1rem;
    font-weight: 700;
}
.comparison-high { color: var(--red); }
.comparison-low { color: var(--green); }

.problem-savings {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: #e8f5e9;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.savings-label {
    font-size: 0.9rem;
    color: #2e7d32;
    font-weight: 500;
}
.savings-amount {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1b5e20;
    font-family: var(--mono);
}

.problem-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.problems-total-savings {
    background: linear-gradient(135deg, #1b5e20, #2e7d32);
    color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 2rem;
}
.problems-total-savings h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.9;
}
.total-savings-amount {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--mono);
    margin-bottom: 0.75rem;
}
.problems-total-savings p {
    font-size: 1rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
}

/* Severity tags */
.problem-severity-tag, .problem-concern-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}
.severity-critical { background: #fff; color: #b7472a; }
.severity-high { background: rgba(255,255,255,0.2); color: #fff; }
.severity-medium { background: rgba(255,255,255,0.2); color: #fff; }
.problem-concern-tag { background: rgba(255,255,255,0.2); color: #fff; }

/* Tech overview */
.tech-overview {
    margin-bottom: 2.5rem;
}
.tech-overview h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.tech-total-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
}
.tech-total-label { font-weight: 500; }
.tech-total-amount {
    font-size: 1.35rem;
    font-weight: 800;
    font-family: var(--mono);
    color: var(--gold-light);
}
.section-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

/* Board connections */
.connection-vendor {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}
.connection-vendor:last-child { border-bottom: none; }
.connection-vendor h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.connection-vendor h3 a {
    color: var(--blue);
    text-decoration: none;
}
.connection-vendor h3 a:hover { text-decoration: underline; }
.connection-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}
.connection-member {
    font-weight: 600;
    color: var(--text);
    min-width: 150px;
}
.connection-detail p {
    flex: 1;
    min-width: 200px;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Responsive for problem pages */
@media (max-width: 768px) {
    .problem-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .problem-contract-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .pcr-right { width: 100%; justify-content: space-between; }
    .problem-comparison { flex-direction: column; gap: 0.75rem; }
    .total-savings-amount { font-size: 2rem; }
    .tech-total-bar { flex-direction: column; gap: 0.5rem; text-align: center; }
    .problem-savings { flex-direction: column; text-align: center; }
    .pe-total-bar { flex-direction: column; gap: 0.75rem; }
    .pe-explainer ul { padding-left: 1.25rem; }
}

/* ========== Private Equity Page ========== */
.pe-explainer {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}
.pe-explainer h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 1rem;
}
.pe-explainer p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 1rem;
}
.pe-explainer p:last-child { margin-bottom: 0; }
.pe-explainer ul {
    margin: 0.75rem 0 1.25rem;
    padding-left: 1.5rem;
    list-style: none;
}
.pe-explainer ul li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.6rem;
    font-size: 0.93rem;
    line-height: 1.6;
    color: var(--text);
}
.pe-explainer ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
}
.pe-total-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}
.pe-total-item {
    flex: 1;
    background: var(--navy);
    color: var(--white);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-sm);
    text-align: center;
}
.pe-total-label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
    margin-bottom: 0.35rem;
    font-weight: 600;
}
.pe-total-amount {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--mono);
    color: var(--gold-light);
}
.problem-header-pe {
    background: #2c1810;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pe-owner-tag {
    display: inline-block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
    margin-top: 0.2rem;
}

.analysis-content p { margin-bottom: 0.75rem; }
.analysis-content p:last-child { margin-bottom: 0; }
