/* Agreement reports. Colours: signed green, waiting blue, closed unsigned grey; every text colour passes WCAG AA. */
.report-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:14px}
.report-periods{display:inline-flex;flex-wrap:wrap;gap:4px;padding:4px;border:1px solid #dbe3ef;border-radius:11px;background:#fff}
.report-period{padding:8px 12px;border:0;border-radius:8px;background:transparent;color:#33476a;font-weight:650;font-size:13px}
.report-period:hover{background:#eef3fb}
.report-period[aria-pressed=true]{background:#0d4bb5;color:#fff}
.report-period:focus-visible{outline:3px solid #8db7f5;outline-offset:1px}
.report-custom{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px}
.report-custom[hidden]{display:none}
.report-custom label{display:grid;gap:4px;font-size:12px;font-weight:650;color:#33476a}
.report-custom input{padding:7px 9px;border:1px solid #c9d3e3;border-radius:8px;background:#fff;color:#10264c}
.report-actions{display:flex;gap:8px;margin-left:auto}
.report-loading{padding:40px;text-align:center;color:#4f5d75}
#report-body[aria-busy=true]>:not(.report-loading){opacity:.55;transition:opacity .2s}
.report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}
.report-kpi{display:grid;gap:4px;padding:18px 18px 16px;border:1px solid #e1e8f2;border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(6,29,66,.05)}
.report-kpi span{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#4f5d75}
.report-kpi strong{font-size:30px;line-height:1.1;letter-spacing:-.03em;color:#061d42}
.report-kpi small{font-size:12.5px;color:#4f5d75}
.report-kpi.is-good strong{color:#17663a}
.report-kpi.is-alert{border-color:#f0b4b8}
.report-alert{color:#a4222a}
.report-card h2{margin:0 0 4px;font-size:17px}
.report-card-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.report-card-head h2{margin:0}
.report-sub{margin:0 0 14px;font-size:12.5px;line-height:1.5;color:#4f5d75}
.report-wide{margin-bottom:16px}
.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
svg.report-chart{display:block;width:100%;height:auto;overflow:visible}
.report-sr{position:absolute!important;width:1px!important;height:1px!important;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.report-chart .grid{stroke:#e6ecf5;stroke-width:1}
.report-chart .axis{fill:#4f5d75;font-size:11px;font-family:inherit}
.report-chart .hit{fill:transparent}
.report-chart g:hover .hit{fill:#f1f5fb}
.bar-completed{fill:#1f8a4c}
.bar-open{fill:#1d61c5}
.bar-closed{fill:#a3afc2}
.report-legend{display:flex;flex-wrap:wrap;gap:14px;font-size:12px;color:#33476a}
.report-legend span{display:inline-flex;align-items:center;gap:6px}
.report-legend span:before{width:10px;height:10px;border-radius:3px;content:""}
.report-legend .bar-completed:before{background:#1f8a4c}.report-legend .bar-open:before{background:#1d61c5}.report-legend .bar-closed:before{background:#a3afc2}
.report-foot{margin:12px 0 0;font-size:12px;color:#4f5d75}
.report-funnel{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.report-funnel-label{display:flex;align-items:baseline;gap:8px;margin-bottom:5px;font-size:13px;color:#10264c}
.report-funnel-label span{flex:1}
.report-funnel-label small{min-width:42px;text-align:right;color:#4f5d75}
.report-funnel-track,.report-spread-track{height:10px;border-radius:6px;background:#edf2f9;overflow:hidden}
.report-funnel-track span{display:block;height:100%;border-radius:6px;background:linear-gradient(90deg,#0d4bb5,#2f7be0)}
.report-funnel li:last-child .report-funnel-track span{background:#1f8a4c}
.report-drop{margin:5px 0 0;font-size:12px;color:#8a3b12}
.report-spread{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.report-spread li{display:grid;grid-template-columns:110px minmax(0,1fr) 34px;align-items:center;gap:10px;font-size:13px;color:#10264c}
.report-spread li b{text-align:right}
.report-spread-track span{display:block;height:100%;border-radius:6px;background:#1f8a4c}
.report-list{display:grid;margin:0;padding:0;list-style:none}
.report-list li{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #edf2f9}
.report-list li:first-child{border-top:0;padding-top:2px}
.report-list strong{display:block;font-size:13.5px;color:#10264c}
.report-list small{display:block;margin-top:2px;font-size:12px;color:#4f5d75}
.report-list q{display:block;margin-top:5px;font-size:12.5px;font-style:italic;color:#33476a}
.report-table{width:100%;border-collapse:collapse;font-size:13px}
.report-table th,.report-table td{padding:8px 6px;border-top:1px solid #edf2f9;text-align:right}
.report-table thead th{border-top:0;font-size:11.5px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:#4f5d75}
.report-table th:first-child{text-align:left}
.report-table tbody th{font-weight:600;color:#10264c;overflow-wrap:anywhere}
.report-empty-note{margin:0;font-size:13px;color:#4f5d75}
.report-warning{margin:0 0 14px;padding:10px 14px;border:1px solid #f1d29b;border-radius:10px;background:#fff8e8;color:#6d4300;font-size:13px}
.report-empty{padding:42px 24px;text-align:center}
@media (max-width:1100px){.report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.report-grid{grid-template-columns:1fr}.report-actions{margin-left:0}.report-spread li{grid-template-columns:96px minmax(0,1fr) 28px}}
@media (max-width:460px){.report-kpis{grid-template-columns:1fr}}
.report-kind{display:block;font-size:10.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#4f5d75}
