/* Relatórios → Clientes 1.4.143 (CNPJ na Receita). */
.cr-root{display:grid;gap:16px;min-width:0}.cr-root>*{min-width:0}
.cr-head{padding:22px 24px;border-radius:20px;background:linear-gradient(120deg,#2a0c74,#3b198d 60%,#5520c9);color:#fff;box-shadow:0 16px 40px rgba(48,16,128,.18)}
.cr-head h2{margin:6px 0 6px;font-size:clamp(22px,2.4vw,28px);font-weight:900}.cr-head p{margin:0;color:#dcd0ff;max-width:760px;line-height:1.5}
.cr-eyebrow{font-size:11px;font-weight:900;letter-spacing:.14em;text-transform:uppercase;color:#c9b8ff}
.cr-tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.cr-tile{background:#fff;border:1px solid #ece8f5;border-radius:16px;padding:14px 16px;border-left:4px solid #b9a9ec}
.cr-tile span{display:block;color:#77719d;font-weight:800;font-size:12.5px}.cr-tile strong{display:block;font-size:26px;font-weight:900;margin-top:4px;color:#27166b}
.cr-tile.ok{border-left-color:#19a974}.cr-tile.bad{border-left-color:#d82b6b}.cr-tile.wait{border-left-color:#e0a100}.cr-tile.muted{border-left-color:#9aa1b8}
.cr-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;background:#fff;border:1px solid #ece8f5;border-radius:16px;padding:14px 16px}
.cr-filters label{display:grid;gap:5px;font-size:12px;font-weight:800;color:#4b3a86;flex:1 1 150px;min-width:0}.cr-filters select,.cr-filters input{width:100%}.cr-filters select,.cr-filters input{height:40px;border:1px solid #ded8f1;border-radius:10px;padding:0 10px;font:inherit;font-size:14px;background:#fff;color:#27166b}
.cr-search{flex:1;min-width:200px}
.cr-table td{vertical-align:top}.cr-cnpj{font-variant-numeric:tabular-nums;letter-spacing:.01em;white-space:nowrap}.cr-table{min-width:860px}
.cr-sit{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:900;padding:4px 10px 4px 5px;border-radius:999px;white-space:nowrap}
.cr-sit i{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;font-style:normal;font-size:11px;color:#fff}
.cr-sit.ok{background:#e7f8ee;color:#127045}.cr-sit.ok i{background:#19a974}.cr-sit.bad{background:#fff0f4;color:#b0184f}.cr-sit.bad i{background:#d82b6b}
.cr-sit.wait{background:#fff6dc;color:#8a5a00}.cr-sit.wait i{background:#e0a100}.cr-sit.muted{background:#eef0f6;color:#4a5370}.cr-sit.muted i{background:#9aa1b8}
.cr-chips{display:flex;flex-wrap:wrap;gap:5px}.cr-chips span{font-size:11.5px;font-weight:800;padding:3px 8px;border-radius:999px;background:#f3eeff;color:#5b21d1}
.cr-pages{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:10px;color:#77719d;font-size:13px;font-weight:700}
.cr-loading{color:#77719d}
.cr-detail-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}.cr-detail-head .cr-cnpj{font-size:18px}
.cr-detail dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin:0}.cr-detail dl div{border-bottom:1px solid #f0ecf8;padding:6px 0}
.cr-detail dt{font-size:11.5px;font-weight:800;color:#77719d}.cr-detail dd{margin:2px 0 0;font-weight:700;color:#27166b;overflow-wrap:anywhere}
.cr-detail h4{margin:16px 0 6px}.cr-where{margin:0;padding-left:18px;display:grid;gap:4px;font-size:13px}.cr-where small{color:#77719d}
.cr-note{color:#77719d;font-size:12px}
@media(max-width:1000px){.cr-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.cr-tiles{grid-template-columns:1fr 1fr}.cr-detail dl{grid-template-columns:1fr}}
