:root{
            /* Washburn brand — shared with the Clinical Affiliate Questionnaire */
            /* Primary */
            --wu-blue:#002E5E; --wu-blue-med:#598DB6; --wu-blue-pale:#B9CFE2; --white:#FFFFFF;
            --wu-blue-light:#003E7A; --wu-blue-dark:#001F3D;
            /* Accents — small amounts only */
            --wu-gold:#F0C256; --wu-gold-light:#FFD97A; --wu-gold-dark:#D9A93E;
            --wu-green:#82B541; --wu-orange:#E95626;
            /* Grayscale */
            --gray-light:#D7D7D7; --gray-med:#A5A7AA; --gray-dark:#77787B; --text:#000000;
            /* --gray-text: brand dark gray nudged to clear WCAG AA on white (4.41 -> 4.74) */
            --gray-text:#727376;
            --med-gray:#D7D7D7; --border:#A5A7AA; --text-light:#727376;
            /* Surfaces */
            --page-bg:#EFF3F8; --panel:#F4F7FA; --light-blue:#EAF1F8;
            --warning-bg:#FDF6E6; --info-bg:#EAF1F8;
            --danger:#E95626; --danger-bg:#FDEDE7; --danger-text:#9C3A15;
        }


        /* CSS Reset & Base Styles */

        /* Skip Link - ADA Requirement */
        .skip-link {
            position: absolute;
            top: -40px;
            left: 0;
            background: var(--wu-blue);
            color: white;
            padding: 8px 16px;
            text-decoration: none;
            font-weight: bold;
            z-index: 100;
        }

        .skip-link:focus {
            top: 0;
            outline: 3px solid var(--wu-gold);
            outline-offset: 2px;
        }

        /* Focus Indicators - Critical for Keyboard Navigation */
        *:focus {
            outline: 3px solid var(--wu-blue);
            outline-offset: 2px;
        }

        button:focus,
        input:focus,
        select:focus {
            outline: 3px solid var(--wu-blue);
            outline-offset: 2px;
        }

        /* Container */
        /* ── BUILT-IN HEADER (shared with the Questionnaire) ── */
        .doc-header {
            background: var(--wu-blue);
            padding: 30px 40px 24px;
            position: relative;
            overflow: hidden;
        }
        .doc-header::after {
            content: '';
            position: absolute;
            bottom: 0; left: 0; right: 0;
            height: 4px;
            background: var(--wu-gold);
        }
        .wordmark {
             
            color: var(--white);
            font-size: 26px;
            font-weight: 700;
            letter-spacing: .4px;
            line-height: 1.15;
        }
        .wordmark span { color: var(--wu-gold); }
        .unit-line {
            color: rgba(255,255,255,.78);
            font-size: 13px;
            font-weight: 300;
            letter-spacing: .4px;
            margin-top: 5px;
        }
        .doc-title {
            font-size: 15px;
            font-weight: 700;
            color: var(--wu-gold);
            letter-spacing: .5px;
            margin-top: 14px;
            padding-top: 12px;
            border-top: 1px solid rgba(255,255,255,.18);
        }

        .doc-body { padding: 28px 40px 40px; }

        .doc-footer {
            background: var(--wu-blue);
            padding: 18px 40px;
            text-align: center;
            color: rgba(255,255,255,.6);
            font-size: 12px;
        }
        .doc-footer a { color: var(--wu-gold); text-decoration: none; }

        /* Header */

        /* Alert Boxes for Disclaimers */
        .alert {
            padding: 14px 18px;
            margin-bottom: 14px;
            border-left: 4px solid;
            border-radius: 4px;
            font-size: 13.5px;
            line-height: 1.6;
            background: #fff;
        }

        .alert-danger {
            border-color: var(--danger);
            background: var(--danger-bg);
            color: var(--danger-text);
        }

        .alert-info {
            border-color: var(--wu-blue);
            background: var(--info-bg);
            color: #2a4a6a;
        }

        .alert-warning {
            border-color: var(--wu-gold);
            background: var(--warning-bg);
            color: #5a4a20;
        }

        .alert h2 {
            font-size: 13px;
            font-weight: 700;
            letter-spacing: .6px;
            text-transform: uppercase;
            margin-bottom: 6px;
            color: inherit;
        }

        /* Search and Filter Controls */
        .controls {
            margin-bottom: 30px;
            padding: 20px;
            background: var(--panel);
            border-radius: 4px;
            border: 1px solid var(--med-gray);
            border-left: 4px solid var(--wu-blue-med);
        }

        .controls h2 {
            font-size: 1.1rem;
            margin-bottom: 15px;
            color: var(--wu-blue);
        }

        .search-group {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
            align-items: end;
        }

        .form-group {
            flex: 1;
            min-width: 200px;
        }

        label {
            display: block;
            font-weight: 600;
            margin-bottom: 5px;
            color: #1a1a1a;
            font-size: 0.95rem;
        }

        input[type="text"],
        select {
            width: 100%;
            padding: 10px 12px;
            border: 2px solid var(--border);
            border-radius: 4px;
            font-size: 1rem;
            transition: border-color 0.2s;
        }

        input[type="text"]:hover,
        select:hover {
            border-color: var(--wu-blue-med);
        }

        button {
            padding: 10px 20px;
            background: var(--wu-blue);
            color: white;
            border: none;
            border-radius: 4px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
        }

        button:hover {
            background: var(--wu-blue-light);
        }

        button:active {
            transform: translateY(1px);
        }

        /* Results Summary */
        .results-summary {
            margin: 20px 0;
            padding: 15px;
            background: rgba(185,207,226,0.35);
            border-left: 4px solid var(--wu-blue-med);
            border-radius: 4px;
            font-weight: 600;
            color: var(--wu-blue);
        }

        /* Table Styles - ENHANCED FOR BETTER VISIBILITY */
        .table-container {
            overflow-x: auto;
            margin-top: 20px;
            border: 2px solid var(--wu-blue);
            border-radius: 4px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

        table {
            width: 100%;
            border-collapse: collapse;
            background: white;
        }

        thead {
            background: linear-gradient(135deg, #002E5E 0%, #003E7A 100%);
            color: white;
            position: sticky;
            top: 0;
            z-index: 10;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        th {
            padding: 15px 12px;
            text-align: left;
            font-weight: 600;
            border-right: 1px solid rgba(255,255,255,0.2);
            border-bottom: 2px solid var(--wu-blue-dark);
        }

        th:last-child {
            border-right: none;
        }

        td {
            padding: 12px;
            border-bottom: 1px solid var(--med-gray);
            border-right: 1px solid #f0f0f0;
        }

        td:last-child {
            border-right: none;
        }

        /* Zebra Striping - Alternating Row Colors */
        tbody tr:nth-child(odd) {
            background: #ffffff;
        }

        tbody tr:nth-child(even) {
            background: var(--panel);
        }

        /* Enhanced Hover Effect - More Visible */
        tbody tr:hover {
            background: rgba(185,207,226,0.35) !important;
            transform: scale(1.01);
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
            cursor: pointer;
            border-left: 4px solid var(--wu-blue-med);
        }

        tbody tr:focus-within {
            background: var(--light-blue) !important;
            outline: 3px solid var(--wu-blue);
            outline-offset: -3px;
        }

        /* Active/Click Effect */
        tbody tr:active {
            background: #B9CFE2 !important;
        }

        /* Special Rows */
        .no-sites {
            font-style: italic;
            color: var(--text-light);
            background: #F0F2F5 !important;
        }

        .no-sites:hover {
            background: var(--med-gray) !important;
        }

        .has-notes {
            border-left: 4px solid var(--wu-gold);
        }

        .has-notes:hover {
            border-left: 4px solid var(--wu-gold-dark);
        }

/* Advisory rows: hardened against host-site table CSS (zebra, first-child, hover, focus) */

table tbody tr.state-advisory,

table tbody tr.state-advisory:first-child,

table tbody tr.state-advisory:nth-child(odd),

table tbody tr.state-advisory:nth-child(even),

table tbody tr.state-advisory:hover,

table tbody tr.state-advisory:focus-within,

table tbody tr.state-advisory:active {

background: var(--wu-blue) !important;

transform: none !important;

box-shadow: none !important;

cursor: default !important;

border-left: 0 !important;

}


table tbody tr.state-advisory td,

table tbody tr.state-advisory:first-child td,

table tbody tr.state-advisory:hover td,

table tbody tr.state-advisory:focus-within td {

background: var(--wu-blue) !important;

color: #ffffff !important;

padding: 14px 18px;

border-left: 6px solid var(--wu-gold) !important;

border-top: 3px solid var(--wu-blue);

-webkit-print-color-adjust: exact;

print-color-adjust: exact;}

        .state-advisory .advisory-heading {
            display: block;
            font-weight: 700;
            font-size: 0.95rem;
            letter-spacing: 0.02em;
            margin-bottom: 4px;
            color: var(--wu-gold) !important;
        }

        .state-advisory .advisory-body {
            display: block;
            line-height: 1.5;
            color: #ffffff !important;
        }

        .state-advisory .advisory-body ol {
            margin: 6px 0 0 20px;
            padding: 0;
        }

        .state-advisory .advisory-body li {
            margin-bottom: 3px;
        }

        .state-advisory .advisory-body a {
            color: var(--wu-gold);
            font-weight: 600;
            text-decoration: underline;
        }

        .alert a {
            color: var(--wu-blue);
            font-weight: 600;
            text-decoration: underline;
        }

        .alert a:hover {
            color: var(--wu-gold);
        }

        .state-advisory .advisory-body a:hover {
            color: #ffffff;
        }

        .state-advisory .advisory-body a:focus {
            outline: 3px solid var(--wu-gold);
            outline-offset: 2px;
        }

        .notes-cell {
            font-size: 1.4rem;
            color: var(--text-light);
            max-width: 300px;
            font-weight: 500;
            background: rgba(240, 194, 86, 0.05);
        }

        /* Cell Highlighting on Hover */
        td:hover {
            background: rgba(0, 46, 94, 0.05);
        }

        /* Facility Name Bold & Colored */
        .facility-name {
            color: var(--wu-blue);
            font-weight: 600;
            font-size: 1.05rem;
        }

        tbody tr:hover .facility-name {
            color: var(--wu-blue);
        }

        /* State Column Styling */
        .state-cell {
            font-weight: 600;
            color: var(--text-light);
            background: rgba(0, 46, 94, 0.03);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .doc-header { padding: 24px 18px 20px; }
            .doc-body { padding: 20px 18px 30px; }
            .doc-footer { padding: 16px 18px; }

            h1 {
                font-size: 1.5rem;
            }

            .search-group {
                flex-direction: column;
            }

            .form-group {
                width: 100%;
            }

            table {
                font-size: 0.9rem;
            }

            th, td {
                padding: 8px;
            }

            .notes-cell {
                max-width: 200px;
            }

            tbody tr:hover {
                transform: none;
            }
        }

        /* Print Styles */
        @media print {
            body {
                background: white;
                padding: 0;
            }

            .container {
                box-shadow: none;
                max-width: 100%;
                margin: 0;
                border-radius: 0;
            }

            .doc-header, .doc-footer {
                -webkit-print-color-adjust: exact;
                print-color-adjust: exact;
            }

            .doc-header { padding: 20px 26px 16px; }
            .wordmark { font-size: 21px; }
            .doc-body { padding: 18px 26px 26px; }

            .controls {
                display: none;
            }

            .skip-link {
                display: none;
            }

            button {
                display: none;
            }

            tbody tr:hover {
                background: white !important;
                transform: none;
                box-shadow: none;
            }
        }

        /* Loading State */
        .loading {
            text-align: center;
            padding: 40px;
            color: var(--text-light);
        }

        /* No Results */
        .no-results {
            text-align: center;
            padding: 40px;
            color: var(--text-light);
            font-size: 1.1rem;
        }

        /* Legend for visual indicators */
        .legend {
            margin: 20px 0;
            padding: 15px;
            background: var(--panel);
            border-radius: 4px;
            border: 1px solid var(--med-gray);
        }

        .legend h3 {
            font-size: 0.95rem;
            color: var(--wu-blue);
            margin-bottom: 10px;
        }

        .legend-item {
            display: inline-flex;
            align-items: center;
            margin-right: 20px;
            margin-bottom: 8px;
            font-size: 0.9rem;
        }

        .legend-color {
            width: 20px;
            height: 20px;
            margin-right: 8px;
            border: 1px solid var(--med-gray);
            border-radius: 2px;
        }

        .legend-stripe {
            background: repeating-linear-gradient(
                45deg,
                #ffffff,
                #ffffff 10px,
                var(--panel) 10px,
                var(--panel) 20px
            );
        }

        .legend-highlight {
            background: rgba(185,207,226,0.35);
        }

        .legend-notes {
            border-left: 4px solid var(--wu-gold);
        }
    
        .capacity-cell { text-align:center; font-weight:600; color:var(--wu-blue);
            background: rgba(0,46,94,0.03); white-space:nowrap; }
        .capacity-cell .cap-none { color:var(--border); font-weight:400; }
        /* Solid divider when a new state begins */
        tbody tr.state-start td { border-top: 3px solid var(--wu-blue); }
        .page-title { color:var(--wu-blue); font-size:1.6rem; margin:0 0 4px; }
        .page-subtitle { color:var(--text-light); font-size:.95rem; margin-bottom:22px;
            padding-bottom:16px; border-bottom:1px solid var(--med-gray); }
        
        thead { background: linear-gradient(135deg,#002E5E 0%,#003E7A 100%) !important; }