/* מחשבון הטבות מס לעצמאים – באותה שפה של האתר החדש */
.se-hero h1 { max-width: 760px; }
.se-section { padding-top: clamp(36px, 5vw, 64px); background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.se-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.se-card-title { font-size: 1.35rem; margin: 0 0 14px; color: var(--navy); }

/* נתונים */
.se-inputs { position: sticky; top: calc(var(--header-h) + 18px); background: #fff; border-radius: 28px; padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.se-hint { font-weight: 500; color: var(--muted); font-size: .85rem; }
.se-money { position: relative; }
.se-money input { font-size: 1.6rem !important; font-weight: 900; color: var(--navy); padding-inline-end: 44px !important; direction: ltr; text-align: right; font-variant-numeric: tabular-nums; }
.se-money span { position: absolute; inset-inline-end: 16px; top: 50%; translate: 0 -50%; font-weight: 800; color: var(--muted); }
.se-inputs input[type="range"] { width: 100%; accent-color: var(--purple); height: 30px; margin-top: 6px; }
.se-sub { margin: 0; font-size: .92rem; color: var(--muted); }
.se-sub b { color: var(--purple); }
.se-note { font-size: .85rem; color: var(--muted); margin: 6px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); }

/* סיכום */
.se-results { display: grid; gap: 18px; min-width: 0; }
.se-total { position: relative; overflow: hidden; border-radius: 30px; padding: 28px 30px 24px; color: #fff; background: var(--grad); box-shadow: 0 30px 60px rgb(42 40 80 / .25); }
.se-total-hex { position: absolute; width: 260px; aspect-ratio: 1; inset-inline-start: -70px; top: -60px; background: rgb(129 195 237 / .22); clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); }
.js .se-total-hex { animation: se-spin 14s linear 1; }
@keyframes se-spin { to { rotate: 60deg; } }
.se-total-label { position: relative; margin: 0; font-weight: 700; color: #DCDBF2; }
.se-total-num { position: relative; margin: 4px 0 14px; font-size: clamp(2.6rem, 7vw, 4.2rem); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.se-split { position: relative; display: flex; gap: 4px; height: 12px; border-radius: 99px; overflow: hidden; background: rgb(255 255 255 / .15); direction: ltr; }
.se-split i { display: block; flex: 1 1 0; transition: flex-grow .6s var(--ease); }
.s-h { background: var(--sky); } .s-p { background: var(--cta); }
.se-split-legend { position: relative; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 10px 0 0; font-size: .92rem; color: #E7E6F7; }
.se-split-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 6px; }
.lg-h::before { background: var(--sky); } .lg-p::before { background: var(--cta); }

/* כרטיסים */
.se-card { position: relative; background: #fff; border-radius: 28px; padding: 26px 26px 22px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgb(42 40 80 / .05); }
.se-card .se-card-title { padding-inline-start: 50px; min-height: 38px; display: flex; align-items: center; }
.se-tag { position: absolute; inset-inline-start: 22px; top: 24px; width: 38px; height: 40px; display: grid; place-items: center; color: #fff; font-weight: 900; background: var(--purple); clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); }
.se-rows { margin: 0; display: grid; }
.se-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.se-rows dt { font-weight: 700; color: var(--ink); }
.se-rows dt small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.se-rows dd { margin: 0; font-weight: 900; font-size: 1.15rem; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.se-rows dd.good { color: var(--good); }
.se-rows .sub dt { padding-inline-start: 16px; font-weight: 600; font-size: .95rem; color: var(--muted); }
.se-rows .sub dd { font-size: 1rem; color: var(--muted); }
.se-rows .sum { border-bottom: 0; margin-top: 4px; padding: 14px 16px; border-radius: 16px; background: #EAF6F0; }
.se-rows .sum dd { font-size: 1.4rem; }
.se-insight { margin: 14px 0 0; font-size: .95rem; color: var(--muted); }
.se-insight b { color: var(--purple); }

/* כיסוי ביטוחי – העמודות עולות משמאל לימין */
.se-cover-lead { color: var(--muted); margin: 0 0 18px; }
.se-bars { direction: ltr; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end; height: 230px; padding: 0 4px; border-bottom: 2px solid var(--navy); }
.se-bar { direction: rtl; position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; }
.se-bar-fill { display: block; width: min(100%, 120px); height: calc(var(--h, .05) * 100% - 46px); min-height: 8px; border-radius: 14px 14px 4px 4px; transition: height .7s var(--ease); order: 2; }
.se-bar b { order: 1; font-size: 1.05rem; font-weight: 900; color: var(--navy); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.se-bar small { position: absolute; bottom: -30px; inset-inline: 0; font-size: .8rem; font-weight: 700; color: var(--muted); line-height: 1.2; }
.b1 .se-bar-fill { background: #F1C9C3; } .b2 .se-bar-fill { background: var(--sky); } .b3 .se-bar-fill { background: var(--purple); }
.se-bars-note { margin: 40px 0 0; font-size: .8rem; color: var(--muted); text-align: center; }
.se-reco { margin-top: 14px; padding: 18px 20px; border-radius: 20px; background: var(--bg-soft); border-inline-start: 5px solid var(--purple); }
.se-reco p { margin: 0; }
.se-reco b { color: var(--purple); }
.se-reco-sub { margin-top: 6px !important; font-size: .92rem; color: var(--muted); }
.se-gap { margin: 12px 0 0; font-weight: 700; color: var(--bad); }
.se-cta { margin: 0; }
.se-disclaimer { margin: 0; font-size: .74rem; line-height: 1.6; color: var(--muted); }

@media (max-width: 980px) {
  .se-grid { grid-template-columns: 1fr; }
  .se-inputs { position: static; }
}
@media (max-width: 560px) {
  .se-total { padding: 22px 20px; }
  .se-card { padding: 22px 18px 18px; }
  .se-tag { inset-inline-start: 16px; top: 20px; }
  .se-rows > div { flex-wrap: wrap; }
  .se-bars { height: 200px; gap: 8px; }
  .se-bar b { font-size: .9rem; }
}
