/* the council file index page.
   Extracted verbatim from generate_councilfile_pages.py, which used to
   inline this block into every generated page -- 5,838 copies of the same
   bytes. The rules are unchanged; only where they live has changed. */

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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            line-height: 1.6;
            color: #1a1a1a;
            background: #f5f5f5;
            padding-bottom: 2rem;
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        header {
            background: #fff;
            border-bottom: 1px solid #e0e0e0;
            padding: 1.5rem 0;
            margin-bottom: 1.5rem;
        }

        .breadcrumb {
            font-size: 0.875rem;
            color: #666;
            margin-bottom: 0.75rem;
        }

        .breadcrumb a {
            color: #0066cc;
            text-decoration: none;
        }

        .breadcrumb a:hover {
            text-decoration: underline;
        }

        h1 {
            font-size: 1.75rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: #1a1a1a;
        }

        .subtitle {
            font-size: 1rem;
            color: #666;
        }

        .filters {
            background: #fff;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            padding: 1rem;
            margin-bottom: 1.5rem;
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            align-items: center;
        }

        .filter-group {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .filter-group label {
            font-size: 0.875rem;
            font-weight: 600;
            color: #666;
        }

        .filter-group input,
        .filter-group select {
            padding: 0.5rem;
            border: 1px solid #e0e0e0;
            border-radius: 4px;
            font-size: 0.875rem;
        }

        .stats {
            font-size: 0.875rem;
            color: #666;
            margin-bottom: 1.5rem;
        }

        .file-card {
            background: #fff;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            padding: 1.25rem;
            margin-bottom: 1rem;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            transition: box-shadow 0.2s;
        }

        .file-card:hover {
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .file-header {
            display: flex;
            justify-content: space-between;
            align-items: start;
            margin-bottom: 0.75rem;
        }

        .file-number {
            font-size: 1rem;
            font-weight: 600;
            color: #0066cc;
        }

        .file-number a {
            color: inherit;
            text-decoration: none;
        }

        .file-number a:hover {
            text-decoration: underline;
        }

        .file-badges {
            display: flex;
            gap: 0.5rem;
        }

        .badge {
            font-size: 0.75rem;
            font-weight: 600;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .badge-district {
            background: #f0f0f0;
            color: #666;
        }

        .badge-summary {
            background: #e8f4f8;
            color: #0066cc;
        }

        .file-title {
            font-size: 0.9375rem;
            color: #333;
            margin-bottom: 0.5rem;
            line-height: 1.5;
        }

        .file-meta {
            display: flex;
            gap: 1.5rem;
            font-size: 0.875rem;
            color: #666;
        }

        @media (max-width: 640px) {
            .filters {
                flex-direction: column;
                align-items: stretch;
            }

            .file-header {
                flex-direction: column;
                gap: 0.5rem;
            }

            .file-meta {
                flex-direction: column;
                gap: 0.25rem;
            }
        }

        /* Design layer — the clerk's ledger. Appended so it wins at equal
           specificity without rewriting this page's bespoke layout CSS. */
        :root {
            --paper:#F2F4EF; --bar:#E4EBDF; --ink:#14180F; --ink-2:#5A6353;
            --rule:#C3CDBB; --aye:#2F6B3F; --nay:#A3372B; --stamp:#2A4B8D;
            --surface:#FBFCFA;
            --font-display:'Archivo Narrow','Helvetica Neue',Arial,sans-serif;
            --font-body:'Source Serif 4',Georgia,serif;
            --font-data:'IBM Plex Mono',ui-monospace,Menlo,monospace;
        }
        body { background:var(--paper); color:var(--ink);
                font-family:var(--font-display); -webkit-font-smoothing:antialiased; }
        a { color:var(--stamp); }
        h1,h2,h3 { font-family:var(--font-display); letter-spacing:-0.01em; color:var(--ink); }
        h1 { font-size:2rem; font-weight:700; letter-spacing:-0.02em; }
        header { background:var(--surface); border-bottom:2px solid var(--ink); }
        .breadcrumb { color:var(--ink-2); }
        p, li { font-family:var(--font-body); }
        table { background:var(--surface); }
        th { background:var(--ink); color:var(--paper); font-family:var(--font-display);
              font-size:0.75rem; letter-spacing:0.08em; text-transform:uppercase; }
        td, th { border-color:var(--rule); }
        tbody tr:nth-child(even) { background:var(--bar); }
        code, .cf-number, .council-file, time { font-family:var(--font-data);
              font-variant-numeric:tabular-nums; }
        :focus-visible { outline:2px solid var(--stamp); outline-offset:2px; }
        @media (prefers-reduced-motion: reduce) { * { transition:none !important; } }
