/* Shared look for the Enterprise report pages.

   These were originally styled per page, copied from whichever report was
   nearest to hand. Seven copies of the same rules is seven pages that drift
   apart, and a reports section where every page looks slightly different reads
   as unfinished even when every number on it is right. */
:root{
  --teal:#0f9a8d;--green:#22c55e;--red:#e2574c;--amber:#f59e0b;--violet:#8e44ad;
  --ink:#0b1220;--muted:#667085;--bg:#f6f9fc;--card:#fff;--line:#e6edf3;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);
     font:16px/1.35 system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial}
.wrap{max-width:1280px;margin:0 auto;padding:18px 14px 64px;overflow-x:hidden}
h1{margin:6px 0 4px;font-size:30px}
.sub{color:var(--muted);font-size:14px;margin-bottom:12px;max-width:78ch}
.row{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:10px 0}
select,input{border:1px solid var(--line);border-radius:12px;padding:9px 12px;background:#fff;font:inherit}
.pill{border:0;border-radius:999px;padding:8px 14px;background:#e8f3f1;color:#0c756b;font-weight:800;cursor:pointer}
.pill.active{background:var(--teal);color:#fff}
.kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:6px}
@media(min-width:760px){.kpis{grid-template-columns:repeat(4,minmax(0,1fr))}}
.card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:12px 14px;
      box-shadow:0 2px 10px rgba(15,23,42,.04)}
.k{font-size:13px;color:var(--muted)}
.v{font-size:24px;font-weight:900;margin-top:4px}
.v.pos{color:#15803d}.v.neg{color:var(--red)}.v.warn{color:#b45309}
.sect{margin:22px 0 8px;font-size:20px;font-weight:900}
.tableCard{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:10px;margin-top:8px}
.tableWrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
table{border-collapse:separate;border-spacing:0;width:100%;min-width:680px}
th,td{padding:11px 13px;border-bottom:1px solid var(--line);white-space:nowrap}
th{font-size:13px;color:var(--muted);text-align:left;background:var(--card)}
tr:last-child td{border-bottom:0}
.right{text-align:right}
.note{color:var(--muted);font-size:13px;margin-top:6px;max-width:82ch}
.locked{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px;text-align:center;margin-top:20px}
.locked b{display:block;font-size:19px;margin-bottom:6px}
a.back{color:#0c756b;font-weight:800;text-decoration:none;font-size:14px}
.tag{display:inline-block;font-size:10.5px;font-weight:900;text-transform:uppercase;
     letter-spacing:.04em;padding:2px 7px;border-radius:99px;background:#eef2f7;color:#475569}
.tag.ok{background:#dcfce7;color:#166534}
.tag.warn{background:#fef3c7;color:#92400e}
.tag.bad{background:#fee2e2;color:#991b1b}
.split{display:flex;height:12px;border-radius:99px;overflow:hidden;margin-top:10px;border:1px solid var(--line)}
.split span{display:block;height:100%}
.bars span{display:inline-block;width:9px;margin-right:2px;background:var(--teal);border-radius:2px 2px 0 0;vertical-align:bottom}
