/* EemFinance rekentools – witte kaarten op de donkere pagina met bewegende achtergrond. */
.eem-tool {
  --t-ink: #1f2828; --t-muted: #5d6b6b; --t-line: #d9e0de; --t-soft: #f2f5f4; --t-mint: #73d99f; --t-green: #1f7a4d; --t-dark: #334040;
  --t-btw: #a86a12; --t-ib: #3b5a9c; --t-warn: #9a4a12;
  color: var(--t-ink); font-size: 16px; line-height: 1.45; display: flex; flex-direction: column; gap: 16px;
  font-variant-numeric: lining-nums tabular-nums;
}
.eem-tool * { box-sizing: border-box; }
.eem-tool [hidden] { display: none !important; }
.eem-tool .t-card { background: #fff; border-radius: 12px; padding: 22px; box-shadow: 0 12px 40px rgba(0, 0, 0, .25); min-width: 0; }
.eem-tool h2, .eem-tool h3, .eem-tool h4 { color: var(--t-dark); margin: 0; }
.eem-tool h2 { font-size: 22px; }
.eem-tool .t-muted { color: var(--t-muted); font-size: 14px; }
.eem-tool .t-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--t-muted); font-weight: 700; }

.eem-tool .t-seg { display: inline-flex; border: 1px solid var(--t-line); border-radius: 8px; padding: 3px; background: var(--t-soft); gap: 3px; flex-wrap: wrap; }
.eem-tool .t-seg button { font: inherit; font-size: 14px; font-weight: 600; border: 0; background: transparent; color: var(--t-muted); padding: 8px 14px; border-radius: 6px; cursor: pointer; }
.eem-tool .t-seg button[aria-pressed=true] { background: var(--t-dark); color: #fff; }

.eem-tool .t-progress { display: flex; gap: 6px; margin: 14px 0 18px; }
.eem-tool .t-progress i { flex: 1; height: 5px; border-radius: 3px; background: var(--t-line); }
.eem-tool .t-progress i.on { background: var(--t-mint); }
.eem-tool fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.eem-tool legend { font-family: var(--display, inherit); font-weight: 700; font-size: 19px; color: var(--t-dark); padding: 0; margin-bottom: 12px; }
.eem-tool .t-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 480px) { .eem-tool .t-row { grid-template-columns: minmax(0, 1fr); } }
.eem-tool label.f { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; min-width: 0; }
.eem-tool label.f small, .eem-tool .t-veld small { font-weight: 400; color: var(--t-muted); font-size: 12.5px; }
.eem-tool input[type=number], .eem-tool input[type=text], .eem-tool input[type=email], .eem-tool input[type=password], .eem-tool select {
  font: inherit; font-size: 16px; width: 100%; padding: 10px 11px; border: 1px solid var(--t-line); border-radius: 7px; background: var(--t-soft); color: var(--t-ink);
}
.eem-tool input:focus-visible, .eem-tool select:focus-visible, .eem-tool button:focus-visible { outline: 2px solid var(--t-green); outline-offset: 1px; }
.eem-tool .t-check { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; }
.eem-tool .t-check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--t-green); flex: none; }
.eem-tool .t-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; }
.eem-tool .t-btn { font: inherit; font-family: var(--display, inherit); font-weight: 700; font-size: 15px; border: 1px solid var(--t-mint); background: var(--t-mint); color: var(--t-ink); padding: 11px 20px; border-radius: 7px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.eem-tool .t-btn:hover { background: #4fbf82; border-color: #4fbf82; }
.eem-tool .t-btn.ghost { background: transparent; border-color: var(--t-line); color: var(--t-dark); }
.eem-tool .t-btn.ghost:hover { background: var(--t-soft); }
.eem-tool .t-btn.dark { background: var(--t-dark); border-color: var(--t-dark); color: #fff; }
.eem-tool .t-link { background: none; border: 0; padding: 4px 0; color: var(--t-muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; align-self: flex-start; }

/* Uitkomst autotool */
.eem-tool .t-verdict { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.eem-tool .t-plate { display: inline-flex; align-items: stretch; border-radius: 6px; overflow: hidden; border: 2px solid #121212; background: #f5c400; color: #121212; height: 56px; }
.eem-tool .t-plate .eu { background: #1f3f99; color: #fff; font-weight: 700; font-size: 12px; display: flex; align-items: flex-end; justify-content: center; padding: 0 7px 6px; width: 30px; }
.eem-tool .t-plate .txt { font-family: var(--display, inherit); font-weight: 800; font-size: 28px; letter-spacing: .06em; padding: 0 16px; display: flex; align-items: center; }
.eem-tool .t-vtext { min-width: 0; flex: 1 1 220px; }
.eem-tool .t-vtext .big { font-family: var(--display, inherit); font-weight: 700; font-size: 21px; line-height: 1.2; color: var(--t-dark); }
.eem-tool .t-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
@media (max-width: 520px) { .eem-tool .t-cols { grid-template-columns: minmax(0, 1fr); } }
.eem-tool .t-opt { border: 1px solid var(--t-line); border-radius: 8px; padding: 12px; min-width: 0; }
.eem-tool .t-opt.win { border-color: var(--t-green); background: #e6f6ed; }
.eem-tool .t-opt h3 { font-size: 14px; letter-spacing: .05em; text-transform: uppercase; }
.eem-tool .t-opt .tot { font-family: var(--display, inherit); font-weight: 800; font-size: 26px; }
.eem-tool table.bd { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 8px; }
.eem-tool table.bd td { padding: 4px 0; border-top: 1px solid var(--t-line); vertical-align: top; }
.eem-tool table.bd td:last-child { text-align: right; white-space: nowrap; padding-left: 8px; }
.eem-tool table.bd tr.neg td:last-child { color: var(--t-green); }
.eem-tool table.bd tr.sum td { font-weight: 700; border-top: 2px solid var(--t-ink); }
.eem-tool .t-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.eem-tool .t-chip { font-size: 12.5px; background: var(--t-soft); border-radius: 999px; padding: 3px 10px; }
.eem-tool .t-warnline { color: var(--t-warn); font-size: 13px; margin: 10px 0 0; }
.eem-tool .t-chart { margin-top: 18px; }
.eem-tool .t-chart svg { width: 100%; height: auto; display: block; }
.eem-tool .t-legend { display: flex; gap: 14px; font-size: 12.5px; color: var(--t-muted); flex-wrap: wrap; margin: 4px 0; }
.eem-tool .t-legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 5px; }
.eem-tool .t-notes { font-size: 13.5px; color: var(--t-muted); }
.eem-tool .t-notes ul { margin: 6px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.eem-tool .t-notes summary { cursor: pointer; font-weight: 700; color: var(--t-dark); font-size: 15px; }

/* Betaalmuur */
.eem-tool .t-lock { border: 2px dashed var(--t-mint); border-radius: 10px; padding: 20px; background: #f1fbf5; display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.eem-tool .t-lock h3 { font-size: 19px; }
.eem-tool .t-lock ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 5px; font-size: 14.5px; }
.eem-tool .t-lock li::before { content: "✓"; color: var(--t-green); font-weight: 700; margin-right: 8px; }
.eem-tool .t-lock .t-btn { align-self: flex-start; margin-top: 4px; }
.eem-tool .t-teaser { font-family: var(--display, inherit); font-weight: 800; font-size: clamp(34px, 8vw, 46px); line-height: 1; color: var(--t-green); }
.eem-tool .t-blur { filter: blur(7px); user-select: none; }

/* Opnamewijzer */
.eem-tool .t-kop { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.eem-tool .t-jaar { display: inline-flex; align-items: center; border: 1px solid var(--t-line); border-radius: 999px; }
.eem-tool .t-jaar button { border: 0; background: none; width: 34px; height: 34px; border-radius: 999px; cursor: pointer; font-size: 18px; color: var(--t-ink); }
.eem-tool .t-jaar button:disabled { opacity: .3; cursor: default; }
.eem-tool .t-jaar span { font-weight: 700; padding-inline: 4px; }
.eem-tool .t-status { font-size: 13px; color: var(--t-muted); display: inline-flex; align-items: center; gap: 6px; }
.eem-tool .t-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--t-btw); }
.eem-tool .t-status[data-s=ok]::before { background: var(--t-green); }
.eem-tool .t-maanden { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
.eem-tool .t-maanden button { border: 1px solid var(--t-line); background: #fff; border-radius: 6px; padding: 8px 0 6px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; font: inherit; font-size: 13px; color: var(--t-ink); }
.eem-tool .t-maanden button::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: transparent; }
.eem-tool .t-maanden button[data-vol="1"]::after { background: var(--t-green); }
.eem-tool .t-maanden button[aria-pressed=true] { background: var(--t-dark); border-color: var(--t-dark); color: #fff; font-weight: 700; }
.eem-tool .t-maanden button[aria-pressed=true][data-vol="1"]::after { background: var(--t-mint); }
.eem-tool .t-maanden button:disabled { opacity: .4; cursor: not-allowed; }
.eem-tool .t-velden { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.eem-tool .t-paar { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 10px; }
@media (max-width: 420px) { .eem-tool .t-paar { grid-template-columns: minmax(0, 1fr); } }
.eem-tool .t-veld { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.eem-tool .t-veld label { font-weight: 600; font-size: 14px; }
.eem-tool .t-geld { display: flex; align-items: center; border: 1px solid var(--t-line); border-radius: 7px; background: var(--t-soft); }
.eem-tool .t-geld:focus-within { outline: 2px solid var(--t-green); outline-offset: 1px; }
.eem-tool .t-geld span { padding-left: 11px; color: var(--t-muted); }
.eem-tool .t-geld input { border: 0; background: none; text-align: right; outline: none; min-width: 0; flex: 1; }
.eem-tool .t-groot { font-family: var(--display, inherit); font-weight: 800; font-size: clamp(38px, 9vw, 54px); line-height: 1; color: var(--t-green); margin-top: 6px; overflow-wrap: anywhere; }
.eem-tool .t-groot.min { color: var(--t-warn); }
.eem-tool .t-balk { display: flex; height: 24px; border-radius: 5px; overflow: hidden; margin-top: 18px; gap: 2px; }
.eem-tool .t-balk i { display: block; min-width: 3px; }
.eem-tool .s-btw { background: var(--t-btw); } .eem-tool .s-ib { background: var(--t-ib); } .eem-tool .s-prive { background: var(--t-green); }
.eem-tool .t-potjes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
@media (max-width: 460px) { .eem-tool .t-potjes { grid-template-columns: minmax(0, 1fr); } }
.eem-tool .t-potje { border-top: 3px solid var(--t-line); padding-top: 8px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.eem-tool .t-potje.p-btw { border-color: var(--t-btw); } .eem-tool .t-potje.p-ib { border-color: var(--t-ib); } .eem-tool .t-potje.p-prive { border-color: var(--t-green); }
.eem-tool .t-potje b { font-size: 17px; overflow-wrap: anywhere; }
.eem-tool .t-potje span { font-size: 13px; color: var(--t-muted); }
.eem-tool .t-staat { margin-top: 18px; display: flex; flex-direction: column; font-size: 15px; }
.eem-tool .t-staat div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--t-line); }
.eem-tool .t-staat div span:last-child { white-space: nowrap; }
.eem-tool .t-staat .som { font-weight: 700; border-bottom: 2px solid var(--t-ink); }
.eem-tool .t-staat .eind { font-weight: 700; border-bottom: 0; }
.eem-tool .t-notities { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--t-muted); }
.eem-tool .t-notities strong { color: var(--t-ink); }
.eem-tool .t-tabelwrap { overflow-x: auto; border: 1px solid var(--t-line); border-radius: 8px; margin-top: 12px; }
.eem-tool table.jaar { border-collapse: collapse; width: 100%; min-width: 700px; font-size: 13.5px; }
.eem-tool table.jaar th, .eem-tool table.jaar td { padding: 8px 10px; text-align: right; border-bottom: 1px solid var(--t-line); white-space: nowrap; }
.eem-tool table.jaar th:first-child, .eem-tool table.jaar td:first-child { text-align: left; }
.eem-tool table.jaar thead th { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--t-muted); }
.eem-tool table.jaar tr[data-sel="1"] { background: var(--t-soft); }
.eem-tool table.jaar tr.dun td { color: var(--t-muted); }
.eem-tool table.jaar tbody button { border: 0; background: none; padding: 0; cursor: pointer; text-decoration: underline; text-transform: capitalize; font: inherit; color: inherit; }
.eem-tool table.jaar tfoot td { font-weight: 700; border-bottom: 0; border-top: 2px solid var(--t-ink); }
.eem-tool .k-btw { color: var(--t-btw); } .eem-tool .k-ib { color: var(--t-ib); } .eem-tool .k-prive { color: var(--t-green); }
.eem-tool .t-jaarcijfers { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 10px; }
.eem-tool .t-jaarcijfers div { display: flex; flex-direction: column; }
.eem-tool .t-jaarcijfers b { font-size: 17px; }
.eem-tool .t-instel { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 20px; margin-top: 12px; }
.eem-tool .t-melding { border-left: 3px solid var(--t-warn); background: #fff7ee; padding: 10px 14px; font-size: 14px; border-radius: 0 6px 6px 0; }
.eem-tool .t-melding.ok { border-color: var(--t-green); background: #e6f6ed; }

/* Account */
.eem-account { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.eem-account form { display: flex; flex-direction: column; gap: 12px; }
