/* M16.17.6 native Spending by trip modal and shared Recipe review */
.m176-chart-modal{width:min(760px,95vw)!important;max-height:min(92dvh,850px)!important;overflow:auto!important;padding:20px!important;background:#f8faf7!important;border-radius:23px!important}
.m176-chart-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:13px}
.m176-chart-head h2{font-size:clamp(18px,3.7vw,24px);margin:0;line-height:1.2;flex:1;min-width:135px;color:#273b30}
.m176-month-select{width:auto!important;min-width:150px;max-width:190px;font-weight:650;background:#edf3ee;border-radius:12px;border:1px solid #dbe7df;padding:10px}
.m176-close{border:0;background:#e9f0ea;color:#355748;width:36px;height:36px;border-radius:12px;display:grid;place-items:center;cursor:pointer}
.m176-total{display:flex;flex-direction:column;gap:2px;margin:10px 0 4px}.m176-total>span{font-size:12px;color:#789183;font-weight:600}.m176-total strong{font-size:clamp(27px,5vw,36px);font-weight:800;color:#254c3c;line-height:1.24;font-variant-numeric:tabular-nums}.m176-total small{font-size:12px;color:#82968a}
.m176-chart-wrap{width:100%;margin:6px auto 9px}.m176-bar-svg{display:block;width:100%;height:auto;overflow:visible}.m176-grid{stroke:#dce7df;stroke-width:1}.m176-axis{fill:#78897e;font-size:12px;font-weight:550}.m176-bar{fill:#88ae9a;cursor:pointer;transition:fill .12s,opacity .12s;outline:none}.m176-bar.active,.m176-bar:focus{fill:#356951}.m176-bar.missing{fill:#bbc9bd;stroke:#77917f;stroke-dasharray:3 2}.m176-bar:focus-visible{stroke:#183e2f;stroke-width:3}
.m176-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.m176-metrics>div{display:flex;flex-direction:column;gap:4px;padding:12px;background:#edf3ee;border-radius:14px;min-width:0}.m176-metrics small{color:#74877c;font-size:11px;font-weight:650}.m176-metrics strong{font-size:clamp(14px,2.8vw,19px);font-variant-numeric:tabular-nums;color:#253e31}
.m176-selected{border:1px solid #dfeadf;border-radius:13px;margin-top:12px;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:7px;flex-wrap:wrap}.m176-selected>div{display:flex;flex-direction:column;gap:4px}.m176-selected span{font-size:12px;color:#7a8b81}.m176-selected strong{font-size:17px}.m176-history-link{font-size:12px;font-weight:700;color:#32674d;text-decoration:underline;text-underline-offset:2px}.m176-warning{font-size:11px;color:#7f7650;margin:10px 0 0}
@media(max-width:520px){.m176-chart-modal{padding:14px!important}.m176-month-select{min-width:110px;max-width:144px;font-size:12px}.m176-metrics>div{padding:10px 8px}.m176-chart-head{gap:7px}}
