/* V10.30 Goal-based SIP planner */
.gp{display:grid;gap:clamp(18px,3vw,30px);margin-top:8px}
.gp-cols{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(18px,3vw,34px);align-items:start}
#planner .calc-actions{display:none!important}
.gp-goals{display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:10px}
.gp-goal{display:grid;justify-items:center;gap:8px;padding:14px 8px 12px;border-radius:16px;cursor:pointer;font:700 13px/1.2 system-ui,sans-serif;color:#d7e7d9;background:rgba(255,255,255,.04);border:1px solid rgba(247,200,77,.28);transition:transform .2s,border-color .2s,background .2s}
.gp-goal svg{width:28px;height:28px;stroke:#f7c84d;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.gp-goal:hover{transform:translateY(-2px);border-color:#f7c84d}
.gp-goal.on{background:linear-gradient(145deg,rgba(247,200,77,.22),rgba(247,200,77,.06));border-color:#f7c84d;color:#fff3c4;box-shadow:0 8px 22px rgba(0,0,0,.22)}
.gp-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.gp-form .gpf,.gp-cta-row .gpf{display:grid;gap:6px;font:600 13.5px/1.3 system-ui,sans-serif;color:#d7e7d9}
.gp-form .gpf.wide{grid-column:1/-1}
.gp-form input,.gp-form select,.gp-cta-row input,.gp-cta-row select{width:100%;box-sizing:border-box;padding:12px 14px;border-radius:12px;font:600 16px system-ui,sans-serif;color:#fff;background:rgba(0,0,0,.25);border:1px solid rgba(247,200,77,.35)}
.gp-form input:focus,.gp-form select:focus,.gp-cta-row input:focus,.gp-cta-row select:focus{outline:2px solid #f7c84d;outline-offset:1px}
.gp-cta-row .gpf,.gp-form .gpf{display:grid;gap:6px}
.gpl{font:600 13.5px/1.3 system-ui,sans-serif}
.gp-form small{font-weight:500;color:#a9c3b0;font-size:12px}
.gp-res{position:sticky;top:calc(var(--sc-nav-h,86px) + 18px);padding:clamp(18px,2.4vw,28px);border-radius:22px;background:linear-gradient(150deg,rgba(247,200,77,.14),rgba(6,69,43,.45));border:1px solid rgba(247,200,77,.45);box-shadow:0 18px 44px rgba(0,0,0,.28)}
.gp-kicker{font:700 12px/1 system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#f7c84d}
.gp-big{display:block;margin:10px 0 4px;font:700 clamp(34px,4.6vw,50px)/1.05 Georgia,"Times New Roman",serif;color:#fff3c4}
.gp-sub{margin:0 0 14px;color:#d7e7d9;font-size:15px;line-height:1.55}
.gp-sub b{color:#f7c84d}
.gp-bar{height:12px;border-radius:99px;overflow:hidden;display:flex;background:rgba(255,255,255,.1);margin:6px 0 8px}
.gp-bar i{display:block;height:100%}
.gp-bar .inv{background:#7bd88f}.gp-bar .sav{background:#4fa3d9}.gp-bar .gain{background:linear-gradient(90deg,#f7c84d,#ffe58f)}
.gp-legend{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12.5px;color:#d7e7d9;margin-bottom:16px}
.gp-legend span:before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px;background:var(--c)}
.gp-scn{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 14px}
.gp-scn div{padding:10px 8px;border-radius:12px;text-align:center;background:rgba(0,0,0,.2);border:1px solid rgba(247,200,77,.22)}
.gp-scn div.base{border-color:#f7c84d;background:rgba(247,200,77,.12)}
.gp-scn small{display:block;font-size:11.5px;color:#a9c3b0;margin-bottom:4px}
.gp-scn b{font:700 15px system-ui,sans-serif;color:#fff3c4}
.gp-delay{margin:0 0 14px;padding:11px 14px;border-radius:12px;border-left:3px solid #f59b3c;background:rgba(245,155,60,.1);font-size:14px;line-height:1.5;color:#f3e3c8}
.gp-note{margin:0;font-size:12px;line-height:1.5;color:#a9c3b0}
.gp-cta{margin-top:0;padding:clamp(18px,2.4vw,28px);border-radius:22px;background:rgba(255,255,255,.04);border:1px dashed rgba(247,200,77,.5)}
.gp-cta h3{margin:0 0 6px;font:700 clamp(20px,2.2vw,26px)/1.25 Georgia,serif;color:#f1d27a}
.gp-cta>p{margin:0 0 16px;color:#d7e7d9;font-size:15px;line-height:1.55}
.gp-cta-row{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:12px}
.gp-btns{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.gp-btns .btn{width:100%;min-height:50px;border-radius:14px;font-weight:800;cursor:pointer;border:0}
.gp-btns .gp-save{background:linear-gradient(135deg,#ffe58f,#e0a82e);color:#2b1c00}
.gp-btns .gp-wa{background:linear-gradient(135deg,#1fb85a,#128c3e);color:#fff}
.gp-btns .btn:disabled{opacity:.55;cursor:wait}
.gp-status{min-height:22px;margin:12px 0 0;font-size:14px;color:#ffe58f}
.gp-status a{color:#ffe58f;font-weight:800;text-decoration:underline}
.gp-cta .hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
@media(max-width:900px){.gp-cols{grid-template-columns:1fr}.gp-res{position:static}.gp-cta-row{grid-template-columns:1fr}}
@media(max-width:520px){.gp-form{grid-template-columns:1fr}.gp-btns{grid-template-columns:1fr}.gp-scn{gap:6px}}
html[data-theme="light"] .gp-goal{background:#fff;color:#27493a;border-color:rgba(138,92,3,.35)}
html[data-theme="light"] .gp-goal svg{stroke:#8a5c03}
html[data-theme="light"] .gp-goal.on{background:#fff3c8;color:#5b3d00;border-color:#b8860b}
html[data-theme="light"] .gp-form .gpf,html[data-theme="light"] .gp-cta-row .gpf,html[data-theme="light"] .gp-sub,html[data-theme="light"] .gp-legend,html[data-theme="light"] .gp-cta>p{color:#27493a}
html[data-theme="light"] .gp-form small,html[data-theme="light"] .gp-note,html[data-theme="light"] .gp-scn small{color:#4d6a5a}
html[data-theme="light"] .gp-form input,html[data-theme="light"] .gp-form select,html[data-theme="light"] .gp-cta-row input,html[data-theme="light"] .gp-cta-row select{background:#fff;color:#143521;border-color:rgba(138,92,3,.4)}
html[data-theme="light"] .gp-res{background:linear-gradient(150deg,#fff8dc,#e9f7dc);border-color:rgba(138,92,3,.45);box-shadow:0 14px 34px rgba(0,60,30,.14)}
html[data-theme="light"] .gp-kicker,html[data-theme="light"] .gp-sub b{color:#7a5200}
html[data-theme="light"] .gp-big,html[data-theme="light"] .gp-scn b{color:#143521}
html[data-theme="light"] .gp-scn div{background:#fff;border-color:rgba(138,92,3,.25)}
html[data-theme="light"] .gp-scn div.base{background:#fff3c8;border-color:#b8860b}
html[data-theme="light"] .gp-delay{background:#fff1dc;color:#5b3a10}
html[data-theme="light"] .gp-cta{background:#fff;border-color:rgba(138,92,3,.45)}
html[data-theme="light"] .gp-cta h3{color:#7a5200}
html[data-theme="light"] .gp-status,html[data-theme="light"] .gp-status a{color:#7a5200}
html[data-theme="light"] .gp-bar{background:rgba(0,0,0,.1)}
