/* Color is supported by the existing textual status badges and this legend. */
:root{--document-received-bg:#fff8d9;--document-received-accent:#997112;--document-accepted-bg:#e9f7ed;--document-accepted-accent:#287b48;--document-missing-bg:#fff0f0;--document-missing-accent:#ad4853}
:root[data-theme="dark"]{--document-received-bg:#3d351e;--document-received-accent:#e5c765;--document-accepted-bg:#193d31;--document-accepted-accent:#85d8a6;--document-missing-bg:#422a34;--document-missing-accent:#f1a6b0}
@media(prefers-color-scheme:dark){:root:not([data-theme]){--document-received-bg:#3d351e;--document-received-accent:#e5c765;--document-accepted-bg:#193d31;--document-accepted-accent:#85d8a6;--document-missing-bg:#422a34;--document-missing-accent:#f1a6b0}}
.document-review-row--received{--document-row-bg:var(--document-received-bg);--document-row-accent:var(--document-received-accent)}
.document-review-row--accepted{--document-row-bg:var(--document-accepted-bg);--document-row-accent:var(--document-accepted-accent)}
.document-review-row--missing{--document-row-bg:var(--document-missing-bg);--document-row-accent:var(--document-missing-accent)}
.data-table tbody tr.document-review-row>td{background:var(--document-row-bg);color:var(--ink);transition:background-color .16s ease}
.data-table tbody tr.document-review-row>td:first-child{box-shadow:inset 3px 0 var(--document-row-accent)}
.data-table tbody tr.document-review-row:hover>td{background:var(--document-row-bg)}
.data-table tbody tr.document-review-row:focus-within>td:first-child{box-shadow:inset 4px 0 var(--document-row-accent)}
.document-receipt-progress{margin-bottom:20px}
.document-receipt-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:22px}
.document-receipt-heading h2{margin:0;font-size:17px;line-height:1.5}
.document-receipt-description{font-size:12px;line-height:1.7;color:var(--muted);margin:7px 0 0;max-width:620px}
.document-receipt-percentage{font-size:26px;line-height:1.4;color:var(--ink);white-space:nowrap;font-variant-numeric:tabular-nums;}
.document-receipt-count{font-size:12px;line-height:1.7;margin:17px 0 9px;color:var(--ink)}
.document-receipt-meter{display:block;width:100%;height:8px;border:0;border-radius:var(--ux-radius-surface,2px);overflow:hidden;appearance:none;background:var(--surface-raised);color:var(--brand-navy,#264977);accent-color:var(--brand-navy,#264977)}
.document-receipt-meter::-webkit-progress-bar{background:var(--surface-raised);border-radius:var(--ux-radius-surface,2px)}
.document-receipt-meter::-webkit-progress-value{background:var(--brand-navy,#264977);border-radius:var(--ux-radius-surface,2px)}
.document-receipt-meter::-moz-progress-bar{background:var(--brand-navy,#264977);border-radius:var(--ux-radius-surface,2px)}
:root[data-theme="dark"] .document-receipt-meter{color:var(--brand-gold,#dcab2f);accent-color:var(--brand-gold,#dcab2f)}
:root[data-theme="dark"] .document-receipt-meter::-webkit-progress-value{background:var(--brand-gold,#dcab2f)}
:root[data-theme="dark"] .document-receipt-meter::-moz-progress-bar{background:var(--brand-gold,#dcab2f)}
.document-review-legend{display:flex;flex-wrap:wrap;gap:10px 22px;list-style:none;padding:0;margin:15px 0 0;font-size:11px;line-height:1.6;color:var(--muted)}
.document-review-legend li{display:flex;align-items:center;gap:7px}
.document-review-legend li>span{width:9px;height:9px;border-radius:50%;flex-shrink:0}
.document-review-legend--received>span{background:var(--document-received-accent)}
.document-review-legend--accepted>span{background:var(--document-accepted-accent)}
.document-review-legend--missing>span{background:var(--document-missing-accent)}
@media(max-width:560px){.document-receipt-heading{gap:12px}.document-receipt-percentage{font-size:25px}.document-receipt-description{font-size:11px}.document-review-legend{gap:9px 14px}}
@media(prefers-reduced-motion:reduce){.data-table tbody tr.document-review-row>td{transition:none}}
