:root{--ink:#173042;--muted:#6f8190;--brand:#0f5e7a;--brand2:#0b7fa4;--line:#dbe5eb;--soft:#f4f8fa;--input:#edf7ff;--auto:#eff9f1;--warning:#fff5dc;--danger:#fff0f0;--shadow:0 18px 48px rgba(25,63,85,.10)}
*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,"Noto Sans Hebrew",sans-serif;color:var(--ink);background:linear-gradient(180deg,#f8fbfd 0,#eef5f8 100%);min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}.topbar{min-height:76px;padding:13px clamp(18px,4vw,48px);display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.brand{display:flex;gap:13px;align-items:center}.brand-mark{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;color:#fff;font-weight:800;background:linear-gradient(135deg,var(--brand),var(--brand2));box-shadow:0 10px 25px rgba(15,94,122,.22)}h1{font-size:clamp(19px,2.3vw,28px);margin:0}.brand p{margin:3px 0 0;color:var(--muted);font-size:14px}.lang-switch{display:flex;gap:6px;direction:ltr}.lang-switch button{border:1px solid var(--line);background:#fff;color:var(--muted);border-radius:999px;padding:8px 12px}.lang-switch button.active{background:var(--brand);color:#fff;border-color:var(--brand)}.page-shell{width:min(1180px,calc(100% - 28px));margin:22px auto 54px}.ad-slot{height:90px;max-width:728px;margin:0 auto 20px;border:1px dashed #9fb6c3;border-radius:16px;background:rgba(255,255,255,.8);display:grid;place-items:center;color:#7a909d}.ad-slot span{font-size:22px;font-weight:800;line-height:1}.ad-slot small{margin-top:-24px}.hero-card,.step-card,.product-workspace,.summary-card{background:rgba(255,255,255,.97);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}.hero-card{padding:clamp(21px,3.5vw,38px);display:grid;grid-template-columns:1.5fr .7fr;gap:26px;align-items:center}.eyebrow,.workspace-kicker{color:var(--brand2);font-weight:800;font-size:13px}.hero-card h2{font-size:clamp(25px,3.7vw,43px);line-height:1.1;margin:8px 0 13px}.hero-card p{margin:0;color:var(--muted);max-width:720px;line-height:1.7}.status-card{background:var(--soft);border-radius:18px;padding:20px}.status-card span{color:var(--muted);display:block}.status-card strong{font-size:34px;display:block;margin:8px 0}.progress{height:10px;background:#dfe9ee;border-radius:999px;overflow:hidden}.progress i{display:block;width:0;height:100%;background:linear-gradient(90deg,var(--brand),#3ca6c7);transition:width .25s ease}.step-card,.product-workspace,.summary-card{margin-top:22px;padding:clamp(20px,3vw,32px)}.section-heading,.workspace-head,.form-footer{display:flex;align-items:center;justify-content:space-between;gap:18px}.section-heading>div{display:flex;align-items:center;gap:12px}.step-index{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:var(--brand);color:#fff;font-weight:800}h3{margin:0;font-size:24px}.section-heading p{color:var(--muted);margin:0}.type-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:24px}.type-tile{border:2px solid transparent;background:#fff;border-radius:19px;padding:21px 13px;min-height:142px;display:flex;flex-direction:column;justify-content:center;align-items:center;box-shadow:0 10px 26px rgba(30,65,87,.08);color:var(--ink);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.type-tile:hover,.type-tile:focus-visible{transform:translateY(-3px);border-color:var(--brand2);box-shadow:0 16px 34px rgba(30,65,87,.14);outline:none}.type-tile.unsure{background:var(--warning)}.tile-icon{font-size:32px;margin-bottom:10px}.type-tile strong{font-size:17px;text-align:center}.type-tile small{color:var(--muted);margin-top:5px}.hidden{display:none!important}.workspace-actions{display:flex;gap:10px;flex-wrap:wrap}.secondary,.ghost,.primary{border-radius:14px;padding:12px 18px;font-weight:800}.secondary{border:1px solid var(--brand);background:#fff;color:var(--brand)}.ghost{border:1px solid var(--line);background:var(--soft);color:var(--ink)}.primary{border:0;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;box-shadow:0 10px 24px rgba(15,94,122,.22)}.form-section{margin-top:25px}.form-section h4{margin:0 0 14px;font-size:18px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.field{display:flex;flex-direction:column;gap:7px}.label-line{display:flex;align-items:center;gap:7px}.field label{font-weight:800;font-size:14px}.info-button{width:24px;height:24px;border:1px solid #9ec7da;border-radius:50%;background:#fff;color:var(--brand);font-weight:900;padding:0;line-height:1}.field input,.field select{min-height:51px;border:2px solid #a8d2ea;background:var(--input);border-radius:14px;padding:0 14px;color:var(--ink);outline:none}.field input:focus,.field select:focus{border-color:var(--brand2);box-shadow:0 0 0 4px rgba(11,127,164,.10)}.field-note{font-size:12px;color:var(--muted);line-height:1.45}.form-footer{margin-top:24px;padding-top:19px;border-top:1px solid var(--line)}.helper-text{color:var(--muted);font-size:14px}.form-errors{margin-top:18px;padding:14px 16px;border:1px solid #efb0b0;background:var(--danger);border-radius:14px;color:#8a2929;line-height:1.6}.saved-products{display:grid;gap:10px;margin-top:18px}.saved-product{display:flex;justify-content:space-between;gap:14px;padding:14px 16px;background:var(--soft);border-radius:14px}.saved-product span{color:var(--muted)}.summary-add{margin-top:18px}.info-dialog{max-width:520px;width:calc(100% - 32px);border:0;border-radius:20px;padding:28px;box-shadow:0 28px 80px rgba(15,47,66,.25);color:var(--ink)}.info-dialog::backdrop{background:rgba(15,37,52,.45)}.dialog-close{position:absolute;top:12px;inset-inline-end:14px;border:0;background:transparent;font-size:28px;color:var(--muted)}.info-dialog h3{margin-bottom:16px}.info-dialog p{line-height:1.65;color:#415867}.info-dialog strong{color:var(--ink)}footer{text-align:center;color:var(--muted);padding:0 20px 28px;font-size:13px}
@media(max-width:900px){.hero-card{grid-template-columns:1fr}.type-grid{grid-template-columns:repeat(2,1fr)}.topbar{position:static;align-items:flex-start;gap:12px}}
@media(max-width:640px){.topbar,.section-heading,.workspace-head,.form-footer{flex-direction:column;align-items:stretch}.lang-switch{justify-content:flex-start}.type-grid,.form-grid{grid-template-columns:1fr}.ad-slot{height:74px}}
.breadcrumb{display:flex;gap:.6rem;align-items:center;color:#60758a;margin-bottom:1rem}.text-button{border:0;background:transparent;color:#0f7192;font-weight:800;cursor:pointer;font-size:1rem}.footer-actions,.next-actions{display:flex;gap:.75rem;flex-wrap:wrap;align-items:center}.summary-card p{color:#62788f}.national{border-color:#8bc9c0;background:linear-gradient(180deg,#fff,#f0fbf8)}
.calculation-card,.results-card{background:#fff;border:1px solid #d7e4ec;border-radius:24px;padding:2rem;box-shadow:0 18px 45px rgba(15,63,86,.11);margin-top:1.5rem}.calculation-card{text-align:center}.calculation-icon{font-size:3rem;animation:spin 1.8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.calc-progress{height:14px;background:#e7eef2;border-radius:99px;overflow:hidden;margin:1.2rem auto .6rem;max-width:720px}.calc-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,#0d6683,#43abc6);transition:width .35s ease}.calculation-steps{list-style:none;padding:0;max-width:720px;margin:1.5rem auto;text-align:start}.calculation-steps li{padding:.7rem 1rem;border-bottom:1px solid #edf2f5;color:#687d90}.calculation-steps li.done{color:#18754a;font-weight:700}.calculation-steps li.active{color:#0b6584;font-weight:800}.results-head{display:flex;justify-content:space-between;align-items:center;gap:1rem}.result-hero{margin:1.5rem 0;padding:1.8rem;border-radius:20px;background:linear-gradient(135deg,#e9faf3,#edf8fd);text-align:center}.result-hero span,.result-hero small{display:block;color:#60758a}.result-hero strong{display:block;font-size:clamp(2.4rem,7vw,4.5rem);color:#086b49;margin:.4rem 0}.result-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.result-grid article{padding:1.2rem;border-radius:16px;background:#f4f8fa}.result-grid span{display:block;color:#657b8d;margin-bottom:.5rem}.result-grid strong{font-size:1.4rem}.result-grid .attention{background:#fff7df}.quality-note{border-inline-start:5px solid #e4a62b;background:#fff9ea;padding:1rem 1.2rem;border-radius:12px;margin:1.4rem 0}.field-help-text{display:none}.info-dialog p{line-height:1.65}
@media(max-width:820px){.result-grid{grid-template-columns:1fr 1fr}.results-head{align-items:flex-start}}@media(max-width:520px){.result-grid{grid-template-columns:1fr}.next-actions,.footer-actions{flex-direction:column}.next-actions button,.footer-actions button{width:100%}}

/* v5 retirement planning profile */
.profile-card{background:#fff;border:1px solid #d6e3ea;border-radius:24px;padding:28px 32px;margin:24px 0;box-shadow:0 18px 42px rgba(16,55,75,.08)}
.profile-card .section-heading{margin-bottom:18px}
.profile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.profile-field{display:flex;flex-direction:column;gap:8px}
.profile-field label{font-weight:800;color:#102f43}
.profile-field input{width:100%;min-height:52px;border:2px solid #9ed5f3;border-radius:14px;background:#eef8ff;padding:0 16px;font-size:17px;color:#102f43;box-sizing:border-box}
.profile-field input:focus{outline:3px solid rgba(15,111,143,.15);border-color:#0f6f8f}
.profile-note{margin-top:16px;padding:14px 16px;border-radius:12px;background:#eef8f5;color:#315e54;display:flex;gap:10px;align-items:flex-start}
.profile-result{margin-top:16px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.profile-result article{background:#f3f7f9;border-radius:14px;padding:14px 16px}
.profile-result span{display:block;color:#67808f;font-size:14px}
.profile-result strong{display:block;font-size:22px;color:#0f4962;margin-top:4px}
.field-wide{grid-column:1/-1}
@media(max-width:800px){.profile-grid,.profile-result{grid-template-columns:1fr}.profile-card{padding:22px 18px}}
