        * { box-sizing: border-box; margin: 0; padding: 0; }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
            background: #f3f5f4; color: #0f172a; line-height: 1.6; padding: 24px 20px 60px;
        }
        .container { max-width: 1160px; margin: 0 auto; }
        .page-header { text-align: center; margin-bottom: 20px; }
        .page-header h1 { color: #1b3a2b; font-size: 2rem; margin-bottom: 6px; }
        .page-header .subtitle { color: #64748b; font-size: 1rem; }
        .section {
            background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px;
            margin-bottom: 16px; padding: 18px 22px 22px;
        }
        .section h2 { font-size: 1.05rem; font-weight: 600; color: #14251c; margin-bottom: 14px; }
        .doc-list { display: grid; gap: 8px; }
        .doc-item {
            display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px;
            border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px 14px; cursor: pointer;
        }
        .doc-item:hover { border-color: #94a3b8; }
        .doc-item.active { border-color: #2e7d32; background: #f0fdf4; }
        .doc-item .doc-name { font-weight: 600; font-size: 13.5px; }
        .doc-item .doc-counts { font-size: 12px; color: #64748b; }
        .pill { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 600; }
        .pill.needs-review { background: #fef9c3; color: #854d0e; }
        .pill.raw { background: #e2e8f0; color: #475569; }
        .reviewer-bar {
            display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap;
        }
        .reviewer-bar label { font-size: 13px; color: #475569; font-weight: 600; }
        .reviewer-bar input {
            border: 1.5px solid #cbd5e1; border-radius: 6px; padding: 7px 10px; font-size: 14px; min-width: 220px;
        }
        .reviewer-bar input:focus { outline: none; border-color: #2e7d32; }
        table { width: 100%; border-collapse: collapse; font-size: 13px; }
        th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #eef2f0; vertical-align: top; }
        th { color: #64748b; font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.03em; }
        td.fact-value input {
            width: 100%; border: 1.5px solid #cbd5e1; border-radius: 6px; padding: 5px 8px; font-size: 13px;
        }
        td.fact-value input:focus { outline: none; border-color: #2e7d32; }
        .fact-meta { font-size: 11.5px; color: #94a3b8; margin-top: 3px; }
        .fact-reason { font-size: 11.5px; color: #a1461c; margin-top: 3px; }
        .row-actions { display: flex; gap: 6px; white-space: nowrap; }
        button {
            padding: 7px 14px; border: none; border-radius: 6px; font-size: 12.5px;
            font-weight: 600; cursor: pointer;
        }
        button.btn-accept { background: #dcfce7; color: #166534; }
        button.btn-accept:hover { background: #bbf7d0; }
        button.btn-reject { background: #fee2e2; color: #991b1b; }
        button.btn-reject:hover { background: #fecaca; }
        button.btn-secondary { background: #e2e8f0; color: #334155; }
        button.btn-secondary:hover { background: #cbd5e1; }
        button:disabled { opacity: 0.5; cursor: not-allowed; }
        tr.row-decided { opacity: 0.45; }
        tr.row-decided .row-actions { display: none; }
        .row-comment input {
            width: 100%; border: 1px solid #e2e8f0; border-radius: 6px; padding: 5px 8px; font-size: 12px;
        }
        .pagination { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 13px; }
        .empty-note { color: #94a3b8; font-size: 13.5px; }
        .status-message { padding: 8px 12px; border-radius: 6px; font-size: 12.5px; margin-top: 8px; }
        .status-message.error { background: #fee2e2; color: #991b1b; }
        .status-message.ok { background: #dcfce7; color: #166534; }
        .decisions-list { font-size: 12.5px; color: #475569; }
        .decisions-list .decision-row { padding: 6px 0; border-bottom: 1px solid #f1f5f9; }
        .decisions-list .decision-row:last-child { border-bottom: none; }
        details summary { cursor: pointer; font-weight: 600; color: #334155; font-size: 13px; }
