/* Metas y Ahorros */
.goals .g-pots{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.goals .g-pot{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:16px 12px;color:#fff;width:100%}
.goals .g-pot:hover{background:var(--high)}
.goals .g-pot b{font-weight:600;font-size:15px;line-height:1.25}
.goals .g-pot .muted{font-size:15px}
.g-pot-ic{width:70px;height:70px;border-radius:18px;background:var(--high);display:flex;align-items:center;justify-content:center;
  color:var(--muted);box-shadow:0 0 0 6px var(--stroke2);margin:6px 0 6px}
.g-pot-ic.on{color:var(--accent)}
.g-pot-ic svg{width:28px;height:28px}
.goals .g-row{padding:4px 8px 4px 0}
.goals .g-main{flex:1;min-width:0;display:flex;align-items:center;gap:14px;padding:8px 8px 8px 16px;text-align:left;border-radius:14px}
.goals .g-main:hover{background:rgba(255,255,255,.025)}
.goals .g-main .t{font-size:17px}
.goals .g-main .s{font-size:14px}
.goals .g-saved{color:#fff;font-weight:600}
.g-ring{position:relative;flex:none;display:inline-flex;align-items:center;justify-content:center}
.g-ring svg{position:absolute;inset:0;width:100%;height:100%}
.g-ring circle{fill:none;stroke-width:8}
.g-ring circle.bg{stroke:var(--stroke2)}
.g-ring circle.fg{stroke:currentColor;stroke-linecap:round}
.g-ring .ic{position:relative;display:flex;color:#fff}
.g-ring .ic svg.i{position:static;width:22px;height:22px}
.g-pct{flex:none;font-weight:700;font-size:15px;border-radius:10px;padding:5px 10px}
.goals .g-edit{flex:none;width:40px;height:40px;border-radius:12px;color:var(--muted)}
.goals .g-edit:hover{color:#fff}
.g-hist.in{background:rgba(46,211,160,.15);color:var(--income)}
.g-hist.out{background:rgba(255,107,107,.15);color:var(--expense)}
.g-icons{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;padding:12px 16px}
.g-icons button{aspect-ratio:1;max-width:48px;width:100%;justify-self:center;border-radius:14px;background:var(--high);color:#fff;display:flex;align-items:center;justify-content:center}
.g-icons button.on{background:var(--accent);color:#111}
@media (max-width:520px){
  .goals .g-hide-sm{display:none}
  .goals .g-pots{grid-template-columns:1fr 1fr}
  .goals .g-main{gap:10px;padding-left:12px}
  .goals .g-main .t{font-size:16px}
  .g-ring{transform:scale(.9)}
}
.goals .g-main .s{white-space:normal}
