.hist-section{margin-top:42px}
.hist-toolbar{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center;margin:16px 0}
.hist-cats{display:flex;flex-wrap:wrap;gap:6px}
.hist-cats button{border:1px solid var(--line,#d8e1dd);background:var(--surface,#fff);color:var(--ink,#1f2d28);padding:6px 11px;border-radius:999px;font-size:13px;cursor:pointer;display:inline-flex;gap:5px;align-items:center}
.hist-cats button small{opacity:.65;font-size:11px}
.hist-cats button.active{background:#1f7a57;border-color:#1f7a57;color:#fff}
#hist-search{min-width:210px;padding:7px 12px;border:1px solid var(--line,#d8e1dd);border-radius:8px;font-size:13px;background:var(--surface,#fff);color:var(--ink,#1f2d28)}
.hist-focus{margin-bottom:16px;padding:20px}
.hist-focus-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px}
.hist-focus-head h3{margin:4px 0 0;font-size:20px}
.hist-focus-stats{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:3px}
.hist-focus-stats strong{font-size:24px;color:#1f7a57}
.hist-focus-stats span{font-size:12px;color:var(--muted,#5a6b63)}
.hist-toggle{font-size:12px;color:var(--muted,#5a6b63);display:inline-flex;gap:6px;align-items:center;margin-top:4px;cursor:pointer}
.hist-chart svg{width:100%;height:auto;display:block}
.hist-chart text{font-size:11px;fill:#647181}
.hist-empty-chart{padding:36px 20px;text-align:center;background:#f7faf8;border-radius:10px;display:flex;flex-direction:column;gap:6px}
.hist-empty-chart strong{font-size:28px;color:#1f7a57}
.hist-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:12px;margin-top:12px}
.hist-card{text-align:left;background:var(--surface,#fff);border:1px solid var(--line,#d8e1dd);border-radius:12px;padding:13px;cursor:pointer;display:flex;flex-direction:column;gap:6px;transition:border-color .15s,box-shadow .15s;color:var(--ink,#1f2d28)}
.hist-card:hover,.hist-card.chosen{border-color:#1f7a57;box-shadow:0 3px 12px rgba(31,122,87,.1)}
.hist-card-top{display:flex;justify-content:space-between;font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted,#5a6b63)}
.hist-card h4{margin:0;font-size:13.5px;line-height:1.3;font-weight:600}
.hist-card-val{display:flex;justify-content:space-between;align-items:baseline;font-size:12px;color:var(--muted,#5a6b63)}
.hist-card-val b{font-size:16px;color:var(--ink,#1f2d28)}
.hist-card svg{width:100%;height:42px;color:#1f7a57}
.hist-single{font-size:11px;color:var(--muted,#5a6b63);padding:10px 0}
