/* Approved chart presentation; independent of navigation and icon experiments. */
.gc-chart{--chart-ink:#102d38;--chart-muted:#607986;--chart-grid:#e7ede9;color:var(--chart-ink);font-variant-numeric:tabular-nums}
.gc-chart-pie>svg{display:block;width:100%;height:auto;aspect-ratio:1;max-width:260px;margin:auto;stroke:none}
.gc-chart-pie .pie-details{font-size:11px;line-height:1.5;color:var(--chart-muted)}
.gc-chart-legend .legend-item{border-radius:8px}
.gc-chart-legend .legend-item>svg{stroke:none}
.gc-chart-pie .pie-toolbar{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.gc-chart-pie .pie-mode,.gc-chart-pie .pie-back{font:inherit;font-size:12px;min-height:40px;padding:8px 12px;border:1px solid #cbded5;border-radius:8px;color:#087960;background:#fff;cursor:pointer}
.gc-chart-pie .pie-mode[aria-pressed=true]{background:#eaf7ef;border-color:#087960;box-shadow:inset 0 0 0 1px #087960}
.gc-chart-pie .pie-navigation{margin-bottom:8px;text-align:center}
.gc-chart-pie .pie-context{font-size:11px;color:var(--chart-muted);margin-top:8px;overflow-wrap:anywhere}
.gc-chart-pie .pie-slice{cursor:pointer;transform-origin:0 0;transition:transform .12s,opacity .12s;stroke:none}
.gc-chart-pie .pie-slice.is-dimmed{opacity:.3}
.gc-chart-pie .pie-slice:focus-visible{outline:none;stroke:#087960;stroke-width:1.5}
.gc-chart-legend .legend-item{transition:opacity .12s,background-color .12s}
.gc-chart-legend .legend-item.is-dimmed{opacity:.5}
.gc-chart-legend .legend-item.is-highlighted{background:#eaf7ef;opacity:1;color:var(--chart-ink,#102d38)}
.gc-chart-legend .legend-name{min-width:0;white-space:normal;overflow-wrap:anywhere}
.gc-chart-legend .extra-chart-categories{grid-column:1/-1;width:100%;padding:8px;border:1px solid #dce9e4;border-radius:8px;background:#f7faf8}
@media(max-width:700px){.gc-chart-pie .pie-mode,.gc-chart-pie .pie-back,.gc-chart-legend .legend-item{min-height:44px}}
@media(prefers-reduced-motion:reduce){.gc-chart-pie .pie-slice,.gc-chart-legend .legend-item{transition:none}.gc-chart-pie .pie-slice.is-highlighted{transform:none}}
.gc-chart-line .movement-legend-item{border-radius:8px}
.gc-chart-line .chart-point-values [data-series=income]{color:#087960}
.gc-chart-line .chart-point-values [data-series=expense]{color:#102d38}
.gc-chart-line .chart-point-values [data-series=debt_income]{color:#1379af}
.gc-chart-line .chart-point-values [data-series=debt_expense]{color:#7954b2}
#app .family-spending-chart{display:grid;grid-template-columns:minmax(180px,.9fr) minmax(0,1.1fr);align-items:center;gap:12px;margin-bottom:16px}
#app #family-pie svg{display:block;width:100%;height:auto;aspect-ratio:1;max-width:260px;margin:auto;stroke:none}
#app #family-pie .pie-details{font-size:11px;line-height:1.5;color:var(--muted)}
#app #family-pie-legend .legend-item{font-size:12px;padding:10px 4px}
#app #family-pie-legend .legend-item strong{font-size:11px}
@media(min-width:701px){#app .family-spending{grid-column:1/-1}}
@media(min-width:1000px){
 #app .family-spending-chart{grid-template-columns:260px minmax(0,1fr);gap:24px}
 #app #family-pie-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px}
}
@media(max-width:999px){#app .family-spending-chart{grid-template-columns:minmax(160px,.9fr) minmax(0,1.1fr)}}
@media(max-width:700px){#app .family-spending-chart{grid-template-columns:minmax(0,1fr)}#app #family-pie svg{max-width:230px}#app .family-spending{order:3}}
/* One centered explorer; immutable hit geometry, animated visual sectors only. */
.explorer-amount .gc-money{pointer-events:auto}
.explorer-amount:has(.gc-money-compact){font-size:23px}
.gc-chart-explorer{min-width:0;color:#102d38;font-variant-numeric:tabular-nums}
.explorer-heading{display:flex;flex-direction:column;gap:8px;margin-bottom:8px}.explorer-navigation{display:flex;align-items:center;flex-wrap:wrap;gap:4px}.explorer-crumb{font:inherit;font-size:11px;min-height:36px;padding:6px;border:0;border-radius:6px;background:transparent;color:#607986;max-width:100%;overflow-wrap:anywhere}.explorer-crumb[aria-current=page]{font-weight:600;color:#102d38}.explorer-divider{font-size:10px;color:#9bafb8}.explorer-modes{display:flex;gap:8px;justify-content:center}.explorer-context{font-size:10px;line-height:1.6;color:#607986;margin:8px 0;text-align:center;min-height:32px}.explorer-ring{position:relative;width:100%;max-width:360px;margin:auto}.gc-chart-explorer .explorer-base>svg,#app #family-pie .explorer-base>svg{max-width:none;width:100%;height:auto;overflow:visible}.explorer-base .pie-details,.explorer-base .pie-toolbar,.explorer-base>svg>text{display:none}.gc-chart-explorer .pie-slice{pointer-events:none;stroke:none!important;outline:none!important;transition:transform .18s ease-out,opacity .16s;transform-origin:0 0}.gc-chart-explorer .pie-slice:focus-visible{stroke:none!important;outline:none!important}.gc-chart-explorer .pie-slice.is-highlighted{opacity:1;filter:drop-shadow(0 3px 4px #174e4512)}.gc-chart-explorer .pie-slice.is-dimmed{opacity:.24}.explorer-center{position:absolute;inset:0;margin:auto;width:54%;height:54%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;text-align:center;pointer-events:none}.explorer-label{font-size:13px;line-height:1.35;overflow-wrap:anywhere;max-width:100%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.explorer-amount{font-size:25px;line-height:1.25;font-weight:650;letter-spacing:-.7px;max-width:100%;overflow-wrap:anywhere}.explorer-share{font-size:10px;line-height:1.5;color:#607986}.explorer-center button{pointer-events:auto}.explorer-action{font:inherit;font-size:11px;min-height:40px;border:0;border-radius:20px;background:#edf8f5;color:#087960;padding:8px 12px}.explorer-center .explorer-back{background:none;border:0;font-size:10px;color:#607986;min-height:30px;padding:4px 8px}.explorer-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 8px;font-size:10px;color:#607986;min-height:60px;padding-top:8px;text-align:center}.explorer-pinned{color:#087960;max-width:100%;overflow-wrap:anywhere}.explorer-clear,.explorer-journal{border:0;background:none;color:#087960;font:inherit;font-size:10px;min-height:36px;padding:6px}.explorer-journal{width:100%;text-decoration:underline;text-underline-offset:3px}.explorer-hint{max-width:260px;line-height:1.7}.explorer-status{font-size:10px;color:#607986}.explorer-error{width:100%;color:#a14237;line-height:1.6}.explorer-pagination{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center}.explorer-pagination>span{width:100%;line-height:1.6}.explorer-operation:not(:empty){padding:16px;background:#f4f9fa;border-radius:10px;margin-top:12px;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.explorer-operation-heading{display:flex;align-items:baseline;gap:12px;justify-content:space-between;margin-bottom:12px}.explorer-operation-heading strong{font-size:18px}.explorer-operation p>span{color:#607986;font-size:10px;display:block}.explorer-operation .explorer-operation-heading>span{display:inline}.explorer-operation>p:not(:first-child){margin-bottom:8px}.explorer-announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.gc-chart-explorer+.gc-chart-legend .extra-chart-categories{display:none}
#app .family-spending-chart:has(>.gc-chart-explorer){grid-template-columns:minmax(280px,.9fr) minmax(0,1.1fr);align-items:center}
@media(max-width:700px){#app .family-spending-chart:has(>.gc-chart-explorer){grid-template-columns:minmax(0,1fr)}.explorer-action,.explorer-crumb,.explorer-clear,.explorer-journal,.explorer-center .explorer-back{min-height:44px}.explorer-ring{max-width:320px}.explorer-center{gap:4px}.explorer-label{font-size:12px}.explorer-amount{font-size:23px}.explorer-share{font-size:9px}.explorer-center .explorer-back{min-height:28px;padding:2px 6px}.explorer-action{font-size:10px;padding:6px 10px}}
@media(prefers-reduced-motion:reduce){.gc-chart-explorer .pie-slice{transition:none!important;transform:none!important}}
.explorer-operation.has-operations{min-height:176px}
.gc-chart-explorer .explorer-top-back{display:none}
@media(max-width:700px){.gc-chart-explorer .explorer-top-back{display:inline-flex;align-items:center;min-height:44px}.gc-chart-explorer .explorer-center .explorer-back{display:none}}
