/* Home card layout only. Use Pocket's existing palette; grow rather than clip at large text sizes. */
.home-cards{margin:12px 0 10px;min-width:0}
.home-cards .hc-track{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;position:relative;overflow:hidden;border-radius:24px;outline-offset:4px;touch-action:pan-y;max-width:100%;isolation:isolate}

.home-cards .hc-card{grid-area:1/1;width:100%;min-width:0;box-sizing:border-box;border-radius:24px;background:var(--green);color:#fff;padding:18px 20px;display:flex;flex-direction:column;position:relative;overflow:hidden;isolation:isolate;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .38s ease-in-out,visibility 0s linear .38s;z-index:0}
.home-cards .hc-card.is-active{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .38s ease-in-out,visibility 0s;z-index:1}
@media(prefers-reduced-motion:reduce){.home-cards .hc-card,.home-cards .hc-card.is-active{transition:none;transform:none}}
.home-cards .hc-card:before{content:"";position:absolute;right:-54px;top:-62px;width:150px;height:150px;border:22px solid #ffffff05;border-radius:50%;z-index:-1;pointer-events:none}
.hc-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.hc-top>p{font-size:9px;letter-spacing:1.45px;text-transform:uppercase;font-weight:750;line-height:1.5;color:var(--lime);max-width:65%}
.hc-chip{font-size:9px;line-height:1.3;border-radius:99px;background:#ffffff12;border:1px solid #ffffff18;padding:5px 8px;text-align:center;color:#fff}
.hc-main{display:flex;flex:1;flex-direction:column;justify-content:center;text-align:center;padding:12px 0 14px;min-width:0}
.hc-main .hc-amount{font-size:clamp(28px,7.5vw,38px);font-weight:650;letter-spacing:-1.25px;line-height:1.12;margin:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;color:#fff}
.hc-main .hc-caption{font-size:11px;line-height:1.45;margin:8px 0 0;color:#e4eddf}
.hc-progress{height:5px;background:#ffffff25;border-radius:6px;overflow:hidden}
.hc-progress>span{height:100%;display:block;background:var(--lime);border-radius:inherit}
.hc-budget-labels{display:flex;justify-content:space-between;gap:10px;margin-top:7px;font-size:10px;line-height:1.5;color:#e4eddf}
.hc-budget-labels>span{min-width:0;overflow-wrap:anywhere}
.hc-budget-labels>span:last-child{text-align:right}
.hc-budget-labels b{color:#fff;font-weight:650}
.hc-utility{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:11px;margin-top:11px;border-top:1px solid #ffffff25;text-align:center}
.hc-metric{min-width:0}
.hc-metric>span{display:block;color:#dbe6d4;font-size:10px;line-height:1.45}
.hc-metric>strong{display:block;color:#fff;font-size:13px;font-weight:650;margin-top:4px;line-height:1.3;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.hc-set-budget>button{font:inherit;background:transparent;border:0;padding:3px 8px 0;color:var(--lime);font-size:13px;font-weight:700;min-height:32px;cursor:pointer}
.hc-bars{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin:0;min-width:0}
.hc-bar-col{display:flex;align-items:center;flex-direction:column;gap:6px;min-width:0}
.hc-bar-track{height:44px;width:100%;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid #ffffff30}
.hc-bar-track>span{display:block;width:16px;max-width:75%;background:var(--lime);border-radius:4px 4px 0 0}
.hc-bar-col>span{font-size:9px;color:#eef2e9;line-height:1.2}
.hc-trend .hc-main{padding:10px 0}
.hc-trend-footer{border-top:1px solid #ffffff25;display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px;padding-top:10px;margin-top:11px;font-size:10px;line-height:1.4;color:#e4eddf}
.hc-trend-footer>strong{color:#fff;font-weight:650;overflow-wrap:anywhere}
.hc-cash-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
.hc-cash-note{font-size:9px;line-height:1.5;text-align:center;color:#dbe6d4;margin-top:10px}
.hc-controls{position:relative;display:flex;flex-direction:column;align-items:center;padding-top:2px}
.hc-dots{display:flex;gap:0;align-items:center;justify-content:center}
.hc-dots .hc-dot{display:flex;align-items:center;justify-content:center;width:30px;height:26px;padding:0;border:0;background:transparent;border-radius:10px;cursor:pointer}
.hc-dot>span{height:6px;width:6px;background:#aab8a5;border-radius:9px}
.hc-dot.active>span{background:var(--green);width:18px}

@media(max-width:360px){.home-cards .hc-card{padding:16px}.hc-top>p{font-size:8px;letter-spacing:1px}.hc-chip{font-size:8px;padding:4px 6px}.hc-main .hc-amount{font-size:28px}.hc-main .hc-caption{font-size:10px}.hc-metric>strong{font-size:12px}.hc-budget-labels{font-size:9px}}
