.med-analytics{grid-column:1/-1;background:#fff;border:1px solid #eadde3;border-radius:20px;padding:22px;margin-top:18px;box-shadow:0 10px 30px rgba(9,41,70,.04)}
.med-analytics-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.med-analytics h2{margin:0;color:#082c50;font-size:22px}.med-analytics-subtitle{margin:5px 0 0;color:#766477;font-size:14px}
.med-filters{display:flex;align-items:end;justify-content:flex-end;gap:10px;flex-wrap:wrap}.med-filter{display:grid;gap:5px;color:#67566b;font-size:12px;font-weight:700}.med-filter select,.med-filter input{height:40px;border:1px solid #c9d2dd;border-radius:10px;background:#fff;color:#122d4c;padding:0 11px;font:inherit;min-width:135px}.med-filter[hidden]{display:none}
.med-analytics-body{display:grid;grid-template-columns:minmax(220px,.6fr) minmax(360px,1.4fr);gap:18px}.med-total-card{background:linear-gradient(145deg,#c9165a,#e64076);color:#fff;border-radius:18px;padding:24px;display:flex;flex-direction:column;justify-content:center;min-height:190px}.med-total-card small{font-weight:700;opacity:.85}.med-total-card strong{font-size:52px;line-height:1;margin:14px 0 8px}.med-total-card span{font-size:14px;opacity:.9}
.med-chart{border:1px solid #edf0f3;border-radius:18px;padding:18px}.med-chart-title{display:flex;justify-content:space-between;color:#082c50;font-weight:800;margin-bottom:16px}.med-bars{display:grid;gap:13px}.med-row{display:grid;grid-template-columns:minmax(90px,150px) 1fr 42px;align-items:center;gap:10px;font-size:13px;color:#253b57}.med-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.med-track{height:12px;border-radius:99px;background:#f4e8ed;overflow:hidden}.med-bar{display:block;height:100%;min-width:3px;border-radius:99px;background:linear-gradient(90deg,#cb175a,#20b9d4)}.med-count{text-align:right;font-weight:800;color:#c9165a}.med-empty,.med-error{margin:25px 0;text-align:center;color:#7a6876}.med-error{color:#c91638}.med-loading{opacity:.55;pointer-events:none}
@media(max-width:900px){.med-analytics-head{display:grid}.med-filters{justify-content:flex-start}.med-analytics-body{grid-template-columns:1fr}.med-total-card{min-height:130px}.med-total-card strong{font-size:42px}}
@media(max-width:600px){.med-analytics{padding:15px;border-radius:15px}.med-filters{display:grid;grid-template-columns:1fr 1fr;width:100%}.med-filter select,.med-filter input{width:100%;min-width:0}.med-row{grid-template-columns:90px 1fr 28px}.med-analytics h2{font-size:19px}}
