/* ============================================================
   FVE kalkulačka — 1:1 port of the original React component styles
   (colors, radii, shadows and proportions preserved exactly)
   ============================================================ */

:root {
  --c-bg: #F5F5F4; --c-surface: #FFFFFF; --c-ink: #1A1614; --c-soft: #6E665F; --c-faint: #756C63;
  --c-line: #EAE7E2; --c-line-soft: #F3F1ED;
  --c-accent: #EE7C1B; --c-accent-soft: #FCEAD4; --c-accent-bright: #FFB54A;
  --c-solar: #F4B400; --c-solar-soft: #FCEBBF; --c-before: #5B524A; --c-grid: #C8C1B8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* Miesto pre posuvník je rezervované vždy, inak by sa obsah pri prechode
   medzi krokmi posúval do strany podľa toho, či posuvník práve je alebo nie je. */
html { scrollbar-gutter: stable both-edges; }
body.calc-body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--c-bg); color: var(--c-ink);
  -webkit-font-smoothing: antialiased;
}
.calc-root { min-height: 100svh; width: 100%; display: flex; flex-direction: column; }
img, svg { max-width: 100%; }
button { font-family: inherit; color: inherit; }
input, select { font-family: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

.mono { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-variant-numeric: tabular-nums; }
.eyebrow { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; text-transform: uppercase; letter-spacing: .09em; font-size: 10.5px; font-weight: 500; }

.fcard { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 18px; box-shadow: 0 1px 2px rgba(15,19,23,.04); }

.fin { width: 100%; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 10px; padding: 11px 12px; color: var(--c-ink); outline: none; font-size: 15px; transition: border-color .12s, box-shadow .12s; }
.fin:focus { border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(238,124,27,.16); }
.fin::-webkit-outer-spin-button, .fin::-webkit-inner-spin-button,
.bignum::-webkit-outer-spin-button, .bignum::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bignum { -moz-appearance: textfield; appearance: textfield; }

.frng { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; outline: none; cursor: pointer; border: none; }
.frng::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--c-surface); border: 3px solid var(--c-accent); box-shadow: 0 1px 4px rgba(15,19,23,.24); transition: transform .1s; }
.frng::-webkit-slider-thumb:active { transform: scale(1.15); }
.frng::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--c-surface); border: 3px solid var(--c-accent); box-shadow: 0 1px 4px rgba(15,19,23,.24); }

.pill { border: 1px solid var(--c-line); background: var(--c-surface); border-radius: 9px; padding: 7px 13px; font-size: 13px; color: var(--c-soft); cursor: pointer; transition: all .12s; white-space: nowrap; }
.pill:hover { border-color: var(--c-grid); color: var(--c-ink); }
.pill-on, .pill-on:hover { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }

.uchip { border: 1px solid var(--c-line); background: var(--c-surface); border-radius: 9px; padding: 8px 12px; font-size: 13px; color: var(--c-soft); cursor: pointer; transition: all .12s; display: inline-flex; align-items: center; gap: 6px; }
.uchip:hover { border-color: var(--c-grid); color: var(--c-ink); }
.uchip-on, .uchip-on:hover { border-color: var(--c-accent); background: var(--c-accent-soft); color: var(--c-accent); font-weight: 600; }


.navod-cta { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 13px; background: var(--c-accent-soft); border: 1px solid rgba(238,124,27,.33); cursor: pointer; transition: all .14s; }
.navod-cta:hover { border-color: var(--c-accent); box-shadow: 0 4px 14px rgba(238,124,27,.16); }
.navod-cta:active { transform: scale(.99); }
.navod-ico { width: 40px; height: 40px; border-radius: 11px; background: var(--c-accent); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.ocard { border: 1px solid var(--c-line); background: var(--c-surface); border-radius: 13px; padding: 14px; cursor: pointer; transition: all .14s; text-align: left; width: 100%; }
.ocard:hover { border-color: var(--c-grid); }
.ocard-on, .ocard-on:hover { border-color: var(--c-accent); background: var(--c-accent-soft); box-shadow: 0 0 0 3px rgba(238,124,27,.12); }

.btn { font-size: 14.5px; font-weight: 600; padding: 11px 20px; border-radius: 11px; cursor: pointer; transition: all .14s; border: 1px solid transparent; display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.btn-primary { background: var(--c-accent); color: #fff; box-shadow: 0 4px 14px rgba(238,124,27,.30); }
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--c-soft); border-color: var(--c-line); }
.btn-ghost:hover { color: var(--c-ink); border-color: var(--c-grid); }

.prog { height: 4px; background: var(--c-line); }
.prog > div { height: 100%; background: var(--c-accent); transition: width .4s cubic-bezier(.16,.84,.44,1); }

/* 24×24 hit area (WCAG target size); the visible dot is the ::after */
.dot { height: 24px; width: 24px; border-radius: 99px; background: transparent; cursor: pointer; border: none; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.dot::after { content: ""; height: 8px; width: 8px; border-radius: 99px; background: var(--c-line); transition: all .25s; }
.dot-on::after { background: var(--c-accent); width: 22px; }
.dot-done::after { background: var(--c-grid); }

@keyframes slideIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.slide-in { animation: slideIn .42s cubic-bezier(.16,.84,.44,1) both; }

/* ------------------------------ topbar ------------------------------ */
.calc-topbar { background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.calc-topbar-inner { max-width: 1152px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 12px; }
@media (min-width: 640px) { .calc-topbar-inner { padding: 0 32px; } }
.calc-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.calc-brand img { height: 24px; width: auto; }
.calc-brand .t { font-weight: 600; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; }
.calc-brand .t span { color: var(--c-accent); }
.calc-steps { display: flex; align-items: center; gap: 14px; }
.calc-dots { display: none; align-items: center; gap: 0; }
@media (min-width: 640px) { .calc-dots { display: flex; } }
.calc-back-link { font-size: 12.5px; color: var(--c-soft); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.calc-back-link:hover { color: var(--c-ink); }

/* ------------------------------ stage ------------------------------ */
.calc-stage { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 36px 20px; }
@media (min-width: 640px) { .calc-stage { padding: 56px 32px; } }
/* Automatické okraje zvisle vycentrujú obsah, keď je preň dosť miesta;
   pri vyššom obsahu sa zmenšia na nulu, takže sa nikdy neoreže zhora. */
.calc-frame { width: 100%; max-width: 600px; margin-block: auto; }
.calc-frame.wide { max-width: 1040px; }

/* intro */
.calc-intro { max-width: 448px; margin: 0 auto; text-align: center; padding: 24px 0; }
@media (min-width: 640px) { .calc-intro { padding: 56px 0; } }
.calc-intro .mark { display: inline-flex; margin-bottom: 24px; }
.calc-intro .mark img { height: 56px; width: auto; }
.calc-intro h1 { font-size: clamp(28px, 6vw, 40px); font-weight: 600; letter-spacing: -.025em; line-height: 1.06; }
.calc-intro .p1 { margin-top: 16px; font-size: 15.5px; color: var(--c-soft); line-height: 1.5; }
.calc-intro .p1 strong { color: var(--c-ink); font-weight: 600; }
.calc-intro .p2 { margin-top: 12px; font-size: 13.5px; color: var(--c-soft); line-height: 1.5; }
.calc-intro .btn { margin: 28px auto 0; padding: 13px 26px; font-size: 15px; }
.calc-intro .meta { margin-top: 20px; color: var(--c-faint); }

/* step head */
.step-head { margin-bottom: 28px; }
.step-head .eyebrow { color: var(--c-accent); }
.step-head h1 { margin-top: 10px; font-size: clamp(23px, 4vw, 30px); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; color: var(--c-ink); }
.step-head p { margin-top: 10px; font-size: 14.5px; color: var(--c-soft); }

/* cards & paddings */
.card-p8 { padding: 24px; }
@media (min-width: 640px) { .card-p8 { padding: 32px; } }
.card-p7 { padding: 24px; }
@media (min-width: 640px) { .card-p7 { padding: 28px; } }
.card-p6 { padding: 20px; }
@media (min-width: 640px) { .card-p6 { padding: 24px; } }

/* big slider */
.bigslider-val { display: flex; align-items: flex-end; justify-content: center; gap: 8px; margin-bottom: 24px; }
.bigslider-val .bignum { font-size: clamp(34px, 7vw, 46px); font-weight: 600; letter-spacing: -.02em; color: var(--c-ink); border: none; outline: none; background: transparent; text-align: center; }
.bigslider-val .unit { font-size: 14px; color: var(--c-soft); margin-bottom: 9px; }
/* Prepočet na GWh/TWh pod veľkým číslom. Výška je rezervovaná vždy, aby
   posuvník neposkakoval, keď sa riadok pri malých hodnotách skryje. */
.bigslider-alt { margin: -18px 0 16px; min-height: 16px; text-align: center; font-size: 12.5px; color: var(--c-faint); }

/* option grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.grid-2-3 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .grid-2-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-cols2-g16 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.optcard-val { font-size: 16px; font-weight: 600; color: var(--c-ink); line-height: 1; }
.optcard-lbl { font-size: 11px; color: var(--c-faint); margin-top: 4px; }
.ocard-on .optcard-lbl { color: var(--c-accent); }

/* labels */
.lbl-eyebrow { color: var(--c-faint); display: block; }
.mt-28 { margin-top: 28px; } .mt-24 { margin-top: 24px; } .mt-20 { margin-top: 20px; } .mt-16 { margin-top: 16px; }
.mb-12 { margin-bottom: 12px; } .mb-10 { margin-bottom: 10px; }

/* roof / tilt */
.tilt-row { display: flex; align-items: center; gap: 20px; }
.tilt-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.tilt-val { font-size: 18px; font-weight: 600; color: var(--c-ink); }
.range-scale { display: flex; justify-content: space-between; margin-top: 8px; color: var(--c-faint); }

/* yield summary */
.yield-box { margin-top: 28px; border-radius: 12px; padding: 16px; display: flex; align-items: center; justify-content: space-between; background: var(--c-accent-soft); border: 1px solid rgba(238,124,27,.13); }
.yield-box .l1 { color: var(--c-accent); }
.yield-box .v1 { font-size: 22px; font-weight: 600; color: var(--c-accent); margin-top: 4px; }
.yield-box .v1 small { font-size: 13px; font-weight: 600; }
.yield-box .right { text-align: right; }
.yield-box .l2 { color: var(--c-soft); }
.yield-box .v2 { font-size: 18px; font-weight: 600; color: var(--c-ink); margin-top: 4px; }

/* zones */
.zones-svg {
  display: block;
  width: 100%;
  padding: 18px;
  overflow: visible;
  border: 1px solid rgba(29,29,31,.12);
  border-radius: 14px;
  background: #edf0ef;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 24px 54px -40px rgba(20,31,43,.62);
}
.zone-region { cursor: pointer; opacity: .2; transition: opacity .2s ease; }
.zone-region:hover { opacity: .72; }
.zone-region.is-selected { opacity: 1; }
.map-contour { fill: none; stroke: rgba(35,49,57,.16); stroke-width: 1.2; stroke-dasharray: 5 8; pointer-events: none; }
/* Mestá na mape. Rozmery sú v jednotkách viewBoxu (1016 širokého), nie v
   pixeloch — na užšej obrazovke sa mapa zmenší, preto sa písmo nižšie zväčšuje. */
.citypin { cursor: pointer; }
.citypin-leader { stroke: rgba(38,49,59,.5); stroke-width: 1.4; stroke-dasharray: 3 3; pointer-events: none; }
.citypin-halo { fill: rgba(238,124,27,.1); stroke: rgba(238,124,27,.22); stroke-width: 1.5; transition: fill .2s, transform .2s; transform-box: fill-box; transform-origin: center; }
.citypin-ring { fill: rgba(255,255,255,.92); stroke: #e96f12; stroke-width: 2.4; transition: transform .2s; transform-box: fill-box; transform-origin: center; }
.citypin-dot { fill: #e96f12; stroke: none; transition: transform .2s; transform-box: fill-box; transform-origin: center; }
.citypin:hover .citypin-halo,
.citypin.is-selected .citypin-halo { fill: rgba(238,124,27,.26); transform: scale(1.3); }
.citypin:hover .citypin-ring,
.citypin.is-selected .citypin-ring { transform: scale(1.08); }
.citypin:hover .citypin-dot,
.citypin.is-selected .citypin-dot { transform: scale(1.25); }
.citypin text {
  font-size: 19px; font-weight: 720; fill: #17212a;
  stroke: rgba(255,255,255,.98); stroke-width: 6; paint-order: stroke fill;
}
@media (max-width: 639px) {
  /* mapa má na telefóne ~290 px — zobrazí sa len šesť miest, zato čitateľne */
  .citypin:not(.citypin-sm) { display: none; }
  .zones-svg { padding: 8px; border-radius: 10px; }
  .citypin-halo { r: 20; }
  .citypin-ring { r: 12; }
  .citypin-dot { r: 5; }
  .citypin text { font-size: 33px; stroke-width: 7; }
}
.zones-source { margin-top: 10px; font-size: 10.5px; line-height: 1.45; color: var(--c-faint); }

/* ---- krok 3: náš návrh --------------------------------------------------- */
.prop-card { border-color: rgba(238, 124, 27, .38); }
.prop-eyebrow { color: var(--c-accent); margin-bottom: 14px; }
.prop-hero { text-align: center; padding-bottom: 20px; border-bottom: 1px solid var(--c-line-soft); }
.prop-hero-v { font-size: clamp(36px, 8vw, 52px); font-weight: 600; letter-spacing: -.02em; color: var(--c-ink); line-height: 1.05; }
.prop-hero-s { margin-top: 6px; font-size: 14px; color: var(--c-soft); }
.prop-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 18px 0 4px; }
.prop-stats .prop-stat { text-align: center; }
.prop-stat .prop-v { margin-top: 6px; font-size: 17px; font-weight: 600; color: var(--c-ink); line-height: 1.2; }
.prop-stat .prop-sub { margin-top: 3px; font-size: 10.5px; color: var(--c-faint); line-height: 1.3; }
@media (max-width: 767px) { .prop-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 359px) { .prop-stats { grid-template-columns: 1fr; } }
/* upozornenie, ked navrh orezala plocha strechy */
.prop-capped { color: var(--c-accent); }
.prop-capped svg { color: var(--c-accent); }

/* porovnanie sieť vs. FVE */
.cmp-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; }
.cmp-row .l { font-size: 13.5px; color: var(--c-soft); }
.cmp-row .v { font-size: 15px; font-weight: 600; color: var(--c-ink); white-space: nowrap; }
.cmp-row.cmp-bad .v { color: var(--c-before); }
.cmp-row.cmp-good .v { color: #46A86A; }
.cmp-sep { height: 1px; background: var(--c-line); margin: 6px 0; }
.cmp-row.cmp-total .l { font-size: 14px; font-weight: 600; color: var(--c-ink); }
.cmp-row.cmp-total .v { font-size: 20px; color: var(--c-accent); }
.save-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.save-grid > div {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 11px 6px; border-radius: 12px; background: var(--c-accent-soft);
}
.save-grid .mono { font-size: 15px; font-weight: 700; color: var(--c-accent); }

/* návratnosť */
.payback-card { background: var(--c-ink); border-color: var(--c-ink); }
.payback-card .lbl-eyebrow, .payback-card .note-tiny { color: rgba(255, 255, 255, .55); }
.payback-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; }
.payback-v { font-size: clamp(26px, 6vw, 34px); font-weight: 600; color: var(--c-accent-bright); letter-spacing: -.01em; }
.payback-s { font-size: 13px; color: rgba(255, 255, 255, .72); }

/* ručná úprava výkonu */
.adjust-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.adjust-note { margin-top: 12px; font-size: 11.5px; line-height: 1.45; color: var(--c-faint); }
.invest-hint { margin-top: 8px; font-size: 11.5px; line-height: 1.45; color: var(--c-faint); }
.link-btn {
  background: none; border: none; padding: 0; cursor: pointer;
  font-size: 12px; font-weight: 600; color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--c-ink); }
.zones-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.zone-dot { width: 12px; height: 12px; border-radius: 4px; flex-shrink: 0; display: inline-block; }
.zone-name-row { display: flex; align-items: center; gap: 8px; }
.zone-name { font-size: 14px; font-weight: 600; color: var(--c-ink); }
.zone-yield { font-size: 11px; color: var(--c-soft); margin-top: 6px; }
.ocard-on .zone-yield { color: var(--c-accent); }
.zone-ex { font-size: 10.5px; color: var(--c-faint); line-height: 1.3; margin-top: 2px; }

/* VSD import card */
.vsd-title { color: var(--c-accent); margin-bottom: 8px; }
.vsd-p { font-size: 13px; color: var(--c-soft); line-height: 1.45; }
.vsd-btn { width: 100%; justify-content: center; font-size: 14px; padding: 12px 16px; margin-top: 16px; }
.import-msg { margin-top: 10px; font-size: 12.5px; }
.import-msg.ok { color: var(--c-accent); font-weight: 600; }
.import-msg.err { color: var(--c-before); }
.import-msg.busy { color: var(--c-soft); }
.vsd-navod { margin-top: 16px; border-top: 1px solid var(--c-line-soft); padding-top: 14px; }
.vsd-navod .hint { font-size: 12.5px; color: var(--c-soft); margin-bottom: 9px; }
.navod-cta .txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.navod-cta .t1 { font-size: 14px; font-weight: 700; color: var(--c-ink); line-height: 1.2; }
.navod-cta .t2 { font-size: 12px; color: var(--c-accent); margin-top: 2px; }
/* výber distribučnej spoločnosti (VSD / ZSD / SSD) */
.dso-lbl { margin: 16px 0 10px; }
.dso-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.dso-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  padding: 10px 6px; text-align: center; cursor: pointer; transition: all .14s;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 12px;
}
.dso-btn:hover { border-color: var(--c-accent); }
.dso-btn .dso-abbr { font-size: 14px; font-weight: 700; color: var(--c-ink); letter-spacing: .02em; }
.dso-btn .dso-name { font-size: 10.5px; line-height: 1.25; color: var(--c-soft); }
.dso-on { background: var(--c-accent-soft); border-color: var(--c-accent); }
.dso-on .dso-abbr, .dso-on .dso-name { color: var(--c-accent); }
.vsd-portal { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12.5px; color: var(--c-soft); text-decoration: none; }
.vsd-portal:hover { color: var(--c-ink); }
.note-tiny { margin-top: 12px; display: flex; gap: 8px; font-size: 11px; color: var(--c-faint); line-height: 1.45; }
.note-tiny svg { flex-shrink: 0; margin-top: 2px; }
.note-sm { display: flex; gap: 8px; font-size: 12px; color: var(--c-faint); line-height: 1.5; }
.note-sm svg { flex-shrink: 0; margin-top: 2px; }

/* uses (step 4) */

/* numfield */
.numfield label { display: block; margin-bottom: 6px; font-size: 13.5px; color: var(--c-soft); }
.numfield .wrap { position: relative; }
.numfield .fin { padding-right: 76px; }
.numfield .unit { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 11.5px; color: var(--c-faint); }

/* modes (step 5) */

/* assumptions toggle (step 6) */
.assump-toggle { margin-top: 24px; background: none; border: none; cursor: pointer; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; color: var(--c-accent); font-weight: 600; padding: 0; }
.assump-toggle .ar { transition: transform .15s; display: inline-block; }
.assump-toggle .ar.open { transform: rotate(180deg); }
.years-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 12px; }
.years-head label { font-size: 14px; color: var(--c-soft); }
.years-head .v { font-size: 18px; font-weight: 600; color: var(--c-ink); }

/* nav */
.calc-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 32px; }

/* ------------------------------ results ------------------------------ */
.res-head { margin-bottom: 24px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.res-head .eyebrow { color: var(--c-accent); }
.res-head h1 { margin-top: 8px; font-size: clamp(24px, 4vw, 32px); font-weight: 600; letter-spacing: -.02em; }
.res-head .actions { display: flex; gap: 8px; }
.res-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.res-chips span { font-size: 11.5px; color: var(--c-soft); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 8px; padding: 5px 10px; }
.res-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 1024px) { .res-grid { grid-template-columns: 1fr 1fr; } .res-span2 { grid-column: span 2; } }
.res-col { display: flex; flex-direction: column; gap: 20px; }

.res-hero { border-radius: 18px; padding: 24px; position: relative; overflow: hidden; background: var(--c-ink); color: #fff; }
@media (min-width: 640px) { .res-hero { padding: 28px; } }
.res-hero .bgsun { position: absolute; right: -30px; top: -34px; color: #fff; opacity: .05; }
.res-hero .lbl { color: #868D97; display: flex; align-items: center; gap: 6px; }
.res-hero .big { margin-top: 12px; line-height: 1; font-size: clamp(38px, 8vw, 58px); font-weight: 600; letter-spacing: -.025em; }
.res-hero .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.10); }
.res-hero .stats .l { color: #868D97; }
.res-hero .stats .v { margin-top: 6px; font-size: 18px; font-weight: 600; }

.cmp-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.cmp-head .l { font-size: 13.5px; font-weight: 500; color: var(--c-ink); }
.cmp-head .v { font-size: 19px; font-weight: 600; }
.cmp-track { border-radius: 99px; overflow: hidden; height: 10px; background: var(--c-line-soft); }
.cmp-track > div { height: 100%; border-radius: 99px; transition: width .35s ease; }
.cmp-note { margin-top: 6px; font-size: 12px; }
.cmp-gap { height: 14px; }

.flow-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.flow-head .l { font-size: 13.5px; font-weight: 500; color: var(--c-ink); }
.flow-head .v { font-size: 13px; color: var(--c-soft); }
.flow-track { display: flex; border-radius: 99px; overflow: hidden; height: 12px; background: var(--c-line-soft); }
.flow-track > div { transition: width .35s ease; }
.flow-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; }
.flow-legend span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--c-soft); }
.flow-legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.flow-legend b { color: var(--c-ink); font-weight: 600; margin-left: 2px; }
.flow-gap { height: 16px; }

.ministat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
.ministat { border-radius: 12px; padding: 16px; background: var(--c-bg); border: 1px solid var(--c-line); }
.ministat .l { color: var(--c-faint); margin-bottom: 8px; }
.ministat .v { font-size: 21px; font-weight: 600; line-height: 1; }
.netprofit { font-size: 12px; color: var(--c-soft); margin-bottom: 16px; }
.netprofit b { font-weight: 600; }

/* chart */
.chart-box { height: 200px; position: relative; }
.chart-box svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart-tip { position: absolute; pointer-events: none; background: #fff; border: 1px solid var(--c-line); border-radius: 11px; box-shadow: 0 4px 16px rgba(15,19,23,.08); padding: 8px 11px; font-size: 13px; display: none; z-index: 5; min-width: 120px; }
.chart-tip .t { color: var(--c-soft); font-size: 12px; margin-bottom: 2px; }
.chart-tip .v { font-weight: 600; }

.res-disclaimer { font-size: 12px; line-height: 1.6; display: flex; gap: 8px; margin-top: 20px; color: var(--c-faint); }
.res-disclaimer svg { flex-shrink: 0; margin-top: 2px; }
.res-bottom { display: flex; justify-content: center; margin-top: 20px; }

/* výzva na konzultáciu pod výsledkom */
.res-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 24px; padding: 22px 24px; border-radius: 18px;
  background: var(--c-accent-soft); border: 1px solid rgba(238, 124, 27, .33);
}
.res-cta-t { font-size: 17px; font-weight: 700; color: var(--c-ink); line-height: 1.25; }
.res-cta-p { margin-top: 6px; max-width: 60ch; font-size: 13px; line-height: 1.5; color: var(--c-soft); }
.res-cta-btn { flex-shrink: 0; text-decoration: none; }
@media (max-width: 639px) {
  .res-cta { padding: 18px; }
  .res-cta-btn { width: 100%; justify-content: center; }
}

/* ------------------------------ modal ------------------------------ */
.navod-overlay { position: fixed; inset: 0; z-index: 50; background: rgba(20,16,12,.74); display: flex; }
.navod-modal { background: var(--c-surface); margin: auto; width: min(880px, 94vw); max-height: 92vh; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.navod-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--c-line); flex-shrink: 0; }
.navod-head .ttl { display: flex; align-items: center; gap: 8px; min-width: 0; }
.navod-head .ttl img { height: 20px; width: auto; }
.navod-head .ttl span { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.navod-head .acts { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.navod-head .acts .btn { font-size: 12.5px; padding: 7px 11px; }
.navod-x { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--c-line); background: var(--c-surface); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.navod-body { overflow-y: auto; padding: 14px; background: var(--c-bg); }
.navod-body img { width: 100%; display: block; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.14); }
.navod-body img + img { margin-top: 14px; }

@media print {
  .no-print { display: none !important; }
  body.calc-body { background: #fff; }
}


/* Review imported measurements before changing the annual consumption. */
.import-mapping { min-width:0; margin:20px 0; padding:16px; border:1px solid #d5d0ca; border-radius:12px; }
.import-mapping legend { font-weight:600; padding:0 6px; }
.import-mapping p { font-size:14px; line-height:1.5; }
.import-mapping label { display:block; margin:12px 0 6px; font-size:14px; }
.import-mapping select,.import-mapping input[type="number"] { width:100%; min-width:0; box-sizing:border-box; padding:12px; border:1px solid #a39b92; border-radius:6px; background:white; color:#1a1614; font:inherit; }
.import-mapping .import-confirm { display:flex; gap:10px; align-items:flex-start; }
.import-confirm input { flex:none; margin-top:4px; }
#import-error { color:#a42418; }
@media (max-width: 480px) {
  .dso-pick { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .dso-btn { min-width:0; overflow-wrap:anywhere; }
  .calc-brand > span { display:none; }
}

/* Approved premium polish — presentation only. The calculator structure,
   field names, validation, calculations and navigation remain untouched. */
body.calc-body {
  background:
    radial-gradient(circle at 12% 2%, rgba(238,124,27,.085), transparent 31rem),
    radial-gradient(circle at 92% 76%, rgba(255,181,74,.07), transparent 28rem),
    #f5f5f7;
  color: #1d1d1f;
}
.calc-root { position: relative; isolation: isolate; }
.calc-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom-color: rgba(29,29,31,.09);
  background: rgba(250,250,252,.82);
  box-shadow: 0 1px 0 rgba(255,255,255,.65) inset;
  backdrop-filter: saturate(170%) blur(22px);
}
.calc-topbar-inner { max-width: 1240px; height: 68px; }
.calc-brand img { height: 26px; }
.calc-brand .t { letter-spacing: -.018em; }
.calc-back-link {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(29,29,31,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  transition: color .2s, border-color .2s, background .2s;
}
.calc-back-link:hover { border-color: rgba(29,29,31,.2); background: #fff; }
.prog { height: 3px; background: rgba(29,29,31,.07); }
.prog > div { background: linear-gradient(90deg, #d96512, #ff9a46); }

.calc-stage { padding-top: clamp(2.5rem, 7vh, 5.75rem); padding-bottom: clamp(3.5rem, 8vh, 6.5rem); }
.calc-frame { max-width: 640px; }
.calc-frame.wide { max-width: 1060px; }
.calc-intro { max-width: 610px; padding: clamp(1.25rem, 3.5vh, 3rem) 0; }
.calc-intro .mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin-bottom: 24px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
}
.calc-intro .mark::after { display: none; }
.calc-intro .mark img { width: clamp(150px, 22vw, 190px); height: auto; }
.calc-intro h1 {
  font-size: clamp(2.35rem, 5vw, 3.85rem);
  line-height: 1.01;
  letter-spacing: -.05em;
}
.calc-intro .p1 { max-width: 52ch; margin: 20px auto 0; font-size: 1.02rem; line-height: 1.58; }
.calc-intro .p2 { max-width: 52ch; margin: 12px auto 0; line-height: 1.55; }
.calc-intro .btn { margin-top: 34px; min-height: 50px; padding-inline: 28px; }

.fcard {
  border-color: rgba(29,29,31,.085);
  border-radius: 24px;
  background: rgba(255,255,255,.91);
  box-shadow:
    0 1px 0 rgba(255,255,255,.95) inset,
    0 24px 70px -38px rgba(29,29,31,.32),
    0 2px 7px rgba(29,29,31,.035);
  backdrop-filter: blur(18px);
}
.step-head { margin-bottom: 32px; }
.step-head .eyebrow { color: #ad520f; font-weight: 650; letter-spacing: .12em; }
.step-head h1 { margin-top: 12px; font-size: clamp(1.75rem, 4vw, 2.35rem); letter-spacing: -.035em; }
.step-head p { margin-top: 12px; font-size: .95rem; line-height: 1.55; }
.step-head .step-subtitle-important {
  position: relative;
  max-width: 68ch;
  margin-top: 20px;
  padding: 16px 0 16px 112px;
  border: 0;
  border-top: 1px solid rgba(29,29,31,.2);
  border-bottom: 1px solid rgba(29,29,31,.2);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #24211e;
  font-weight: 600;
}
.step-head .step-subtitle-important::before {
  content: "DÔLEŽITÉ";
  position: absolute;
  left: 0;
  top: 19px;
  color: #c45e12;
  font: 700 10px/1.2 "Geist Mono", monospace;
  letter-spacing: .14em;
}
.card-p8 { padding: clamp(1.5rem, 4vw, 2.5rem); }
.card-p7 { padding: clamp(1.4rem, 3.5vw, 2.25rem); }
.card-p6 { padding: clamp(1.25rem, 3vw, 2rem); }

.btn { min-height: 46px; border-radius: 999px; padding-inline: 22px; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s, color .2s; }
.btn-primary {
  background: linear-gradient(180deg, #f58b32, #e96f12);
  box-shadow: 0 12px 30px -12px rgba(238,124,27,.72), inset 0 1px 0 rgba(255,255,255,.24);
}
.btn-primary:hover { filter: none; transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(238,124,27,.78), inset 0 1px 0 rgba(255,255,255,.24); }
.btn-ghost { background: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; }
.pill,
.uchip { border-radius: 999px; transition-duration: .2s; }
.fin { min-height: 48px; border-radius: 12px; border-color: rgba(29,29,31,.13); background: rgba(255,255,255,.86); }
.fin:focus { box-shadow: 0 0 0 4px rgba(238,124,27,.13); }
.ocard {
  min-height: 74px;
  border-color: rgba(29,29,31,.09);
  border-radius: 16px;
  background: rgba(255,255,255,.68);
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;
}
.ocard:hover { transform: translateY(-2px); border-color: rgba(29,29,31,.18); box-shadow: 0 13px 28px -20px rgba(29,29,31,.45); }
.ocard-on,
.ocard-on:hover {
  border-color: rgba(238,124,27,.65);
  background: #fff5eb;
  box-shadow: 0 0 0 3px rgba(238,124,27,.1), 0 13px 28px -22px rgba(238,124,27,.7);
}
.navod-cta,
.yield-box,
.res-cta { border-radius: 18px; }
.res-hero { border-radius: 22px; background: linear-gradient(145deg, #222428, #101113); }
.ministat { border-radius: 15px; background: rgba(245,245,247,.88); }
.navod-modal { border-radius: 24px; box-shadow: 0 32px 90px rgba(0,0,0,.35); }

/* Výsledok: jedna pokojná informačná plocha, bez súťažiacich kariet. */
.calc-frame.wide .res-head {
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(29,29,31,.09);
}
.calc-frame.wide .res-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.25rem); }
.calc-frame.wide .res-head .actions .btn { min-height: 38px; padding-inline: 14px; background: transparent; }
.calc-frame.wide .res-chips { gap: 0; margin-bottom: 22px; border-bottom: 1px solid rgba(29,29,31,.09); }
.calc-frame.wide .res-chips span { background: transparent; border: 0; border-radius: 0; padding: 7px 12px 12px; }
.calc-frame.wide .res-chips span:first-child { padding-left: 0; }
.calc-frame.wide .res-chips span + span { position: relative; }
.calc-frame.wide .res-chips span + span::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 13px; width: 1px; background: rgba(29,29,31,.12); }
.calc-frame.wide .res-grid,
.calc-frame.wide .res-col { gap: 14px; }
.calc-frame.wide .fcard { border-radius: 12px; box-shadow: none; background: #fff; }
.calc-frame.wide .prop-card { border-color: rgba(29,29,31,.12); }
.calc-frame.wide .prop-hero { text-align: left; }
.calc-frame.wide .res-hero { padding: 26px 28px; border-radius: 12px; background: #fff; color: var(--c-ink); border: 1px solid rgba(29,29,31,.12); box-shadow: none; }
.calc-frame.wide .res-hero .bgsun { display: none; }
.calc-frame.wide .res-hero .lbl,
.calc-frame.wide .res-hero .stats .l { color: var(--c-faint); }
.calc-frame.wide .res-hero .stats { border-top-color: rgba(29,29,31,.1); }
.calc-frame.wide .res-hero .big { font-size: clamp(2.55rem, 6vw, 3.5rem); }
.calc-frame.wide .res-hero .stats { margin-top: 20px; padding-top: 18px; }
.calc-frame.wide .ministat { border-radius: 8px; background: #f6f6f7; }
.calc-frame.wide .res-cta { background: #fff8f1; border-color: rgba(238,124,27,.2); box-shadow: none; }

@media (max-width: 639px) {
  html { scrollbar-gutter: auto; }
  .calc-topbar-inner { height: 60px; padding-inline: 16px; }
  .calc-topbar .calc-brand img { height: 23px; }
  .calc-back-link { min-height: 36px; padding-inline: 11px; }
  .calc-stage { padding: 28px 16px 52px; }
  .calc-intro { padding: 28px 0; }
  .calc-intro .mark { width: auto; height: auto; margin-bottom: 22px; }
  .calc-intro .mark img { width: 150px; height: auto; }
  .calc-intro h1 { font-size: clamp(2.2rem, 10.5vw, 3rem); }
  .calc-intro .p1 { margin-top: 20px; font-size: .98rem; }
  .fcard { border-radius: 20px; }
  .grid-2,
  .grid-cols2-g16 { gap: 9px; }
  .ocard { min-height: 70px; padding: 13px; }
  .btn { min-height: 48px; }
  .step-head .step-subtitle-important { padding: 42px 0 14px; }
  .step-head .step-subtitle-important::before { top: 15px; }
  .calc-frame.wide .res-chips span { padding-inline: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .slide-in { animation: none; }
  .btn,
  .ocard,
  .prog > div { transition: none; }
  .btn-primary:hover,
  .ocard:hover { transform: none; }
}

@media print {
  body.calc-body { background: #fff; }
  .fcard { box-shadow: none; backdrop-filter: none; }
}

/* Výsledok ako technický dokument: jedna jasná os, pevné deliace línie a
   minimum dekorácie. Výpočty ani ich poradie sa nemenia. */
.calc-frame.wide { max-width: 1120px; }
.calc-frame.wide .res-head {
  margin-bottom: 0;
  padding: 0 0 22px;
  border-bottom: 2px solid #202225;
}
.calc-frame.wide .res-head .eyebrow { color: #b5520b; }
.calc-frame.wide .res-head h1 { font-size: clamp(1.85rem, 3.2vw, 2.65rem); }
.calc-frame.wide .res-chips {
  margin: 0 0 28px;
  padding: 10px 0;
  border-bottom: 1px solid #cfd1d4;
  background: transparent;
}
.calc-frame.wide .res-chips span {
  padding: 5px 13px;
  color: #50545a;
}
.calc-frame.wide .prop-card {
  padding: 30px 32px;
  border: 1px solid #c9ccd0;
  border-radius: 0;
  background: #fff;
}
.calc-frame.wide .prop-stats { border-top-color: #d7d9dc; }
.calc-frame.wide .res-grid {
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 18px;
  border: 1px solid #c9ccd0;
  background: #fff;
}
.calc-frame.wide .res-col { gap: 0; }
.calc-frame.wide .res-hero {
  padding: 30px 32px;
  border: 0;
  border-bottom: 1px solid #c9ccd0;
  border-radius: 0;
}
.calc-frame.wide .res-hero .stats { border-top: 1px solid #d7d9dc; }
.calc-frame.wide .res-grid > .res-col {
  border-right: 1px solid #c9ccd0;
}
.calc-frame.wide .res-grid .fcard {
  padding: 26px 28px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.calc-frame.wide .res-col .fcard + .fcard { border-top: 1px solid #d7d9dc; }
.calc-frame.wide .ministat-grid { gap: 1px; background: #d7d9dc; }
.calc-frame.wide .ministat {
  border: 0;
  border-radius: 0;
  background: #f2f3f4;
}
.calc-frame.wide .res-disclaimer {
  margin-top: 0;
  padding: 18px 4px 0;
  border-top: 0;
}
.calc-frame.wide .res-cta {
  border-radius: 0;
  border-color: #d9c0ac;
  background: #fff7f0;
}
@media (max-width: 1023px) {
  .calc-frame.wide .res-grid { grid-template-columns: 1fr; }
  .calc-frame.wide .res-grid > .res-col { border-right: 0; border-bottom: 1px solid #c9ccd0; }
}
@media (max-width: 639px) {
  .calc-frame.wide .prop-card,
  .calc-frame.wide .res-hero,
  .calc-frame.wide .res-grid .fcard { padding: 22px 20px; }
  .calc-frame.wide .res-hero .stats { grid-template-columns: 1fr; gap: 13px; }
}

/* Browser comments: compact, premium result summary. Calculations and content stay unchanged. */
.calc-stage:has(.calc-frame.wide) { padding-top: 28px; padding-bottom: 48px; }
.calc-frame.wide { max-width: 1160px; }
.calc-frame.wide .res-head {
  margin-bottom: 8px;
  padding: 0;
  border: 0;
}
.calc-frame.wide .res-head .eyebrow { margin-bottom: 5px; }
.calc-frame.wide .res-head h1 { font-size: clamp(1.65rem, 2.7vw, 2.15rem); }
.calc-frame.wide .res-head .actions { gap: 7px; }
.calc-frame.wide .res-head .actions .btn {
  min-height: 36px;
  padding-inline: 13px;
  border: 1px solid rgba(29, 29, 31, .1);
  background: rgba(255, 255, 255, .78);
}
.calc-frame.wide .res-chips {
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}
.calc-frame.wide .res-chips span,
.calc-frame.wide .res-chips span:first-child {
  padding: 5px 9px;
  border: 1px solid rgba(29, 29, 31, .075);
  border-radius: 999px;
  background: rgba(255, 255, 255, .68);
}
.calc-frame.wide .res-chips span + span::before { display: none; }
.calc-frame.wide .prop-card {
  position: relative;
  overflow: hidden;
  padding: 22px 26px 20px;
  border: 1px solid rgba(29, 29, 31, .08);
  border-radius: 20px;
  background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
  box-shadow: 0 22px 55px -40px rgba(29, 29, 31, .62);
}
.calc-frame.wide .prop-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(#f69a4d, #e86d13);
}
.calc-frame.wide .prop-hero {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 15px;
  text-align: left;
}
.calc-frame.wide .prop-hero-v { font-size: clamp(2rem, 4vw, 2.75rem); }
.calc-frame.wide .prop-hero-s { margin-top: 0; }
.calc-frame.wide .prop-stats { padding: 15px 0 0; }
.calc-frame.wide .res-grid {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 14px;
  margin-top: 14px;
  border: 0;
  background: transparent;
}
.calc-frame.wide .res-grid > .res-col {
  gap: 14px;
  border: 0;
}
.calc-frame.wide .res-hero {
  padding: 22px 26px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, #24272b 0%, #15171a 72%);
  box-shadow: 0 24px 54px -38px rgba(8, 10, 12, .86);
  color: #fff;
}
.calc-frame.wide .res-hero .bgsun { display: block; opacity: .045; }
.calc-frame.wide .res-hero .lbl,
.calc-frame.wide .res-hero .stats .l { color: rgba(255, 255, 255, .55); }
.calc-frame.wide .res-hero .big {
  margin-top: 9px;
  color: #f6a24f;
  font-size: clamp(2.35rem, 5vw, 3.15rem);
}
.calc-frame.wide .res-hero .stats {
  margin-top: 17px;
  padding-top: 15px;
  border-top-color: rgba(255, 255, 255, .12);
}
.calc-frame.wide .res-grid .fcard {
  padding: 20px 22px;
  border: 1px solid rgba(29, 29, 31, .08);
  border-radius: 18px;
  background: linear-gradient(145deg, #fff 0%, #fafafa 100%);
  box-shadow: 0 20px 48px -40px rgba(29, 29, 31, .55);
}
.calc-frame.wide .res-col .fcard + .fcard { border-top: 1px solid rgba(29, 29, 31, .08); }
.calc-frame.wide .lbl-eyebrow { margin-bottom: 12px !important; }
.calc-frame.wide .cmp-track { height: 8px; }
.calc-frame.wide .flow-track { height: 10px; }
.calc-frame.wide .flow-gap { height: 13px; }
.calc-frame.wide .ministat-grid { gap: 8px; background: transparent; }
.calc-frame.wide .ministat {
  padding: 15px 16px;
  border: 1px solid rgba(29, 29, 31, .055);
  border-radius: 12px;
  background: #f2f3f5;
}
.calc-frame.wide .chart-box { height: 165px; margin-top: 13px; }
.calc-frame.wide .res-disclaimer { padding-top: 13px; }
.calc-frame.wide .res-cta {
  margin-top: 14px;
  padding: 20px 22px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(110deg, #1b1e22 0%, #292e34 100%);
  box-shadow: 0 22px 50px -40px rgba(8, 10, 12, .8);
}
.calc-frame.wide .res-cta-t { color: #fff; }
.calc-frame.wide .res-cta-p { color: rgba(255, 255, 255, .62); }

@media (max-width: 1023px) {
  .calc-frame.wide .res-grid { grid-template-columns: 1fr; }
  .calc-frame.wide .res-grid > .res-col { border: 0; }
}
@media (max-width: 639px) {
  .calc-stage:has(.calc-frame.wide) { padding: 20px 14px 38px; }
  .calc-frame.wide .res-head { align-items: flex-start; }
  .calc-frame.wide .res-head h1 { font-size: 1.65rem; }
  .calc-frame.wide .res-chips { gap: 5px; overflow-x: auto; padding-bottom: 2px; }
  .calc-frame.wide .res-chips span { flex: 0 0 auto; padding: 5px 8px; }
  .calc-frame.wide .prop-card,
  .calc-frame.wide .res-hero,
  .calc-frame.wide .res-grid .fcard { padding: 18px; }
  .calc-frame.wide .prop-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-frame.wide .res-hero .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .calc-frame.wide .res-hero .stats .v { font-size: 14px; }
  .calc-frame.wide .ministat-grid { grid-template-columns: 1fr; }
  .calc-frame.wide .res-cta { align-items: flex-start; padding: 19px; }
}
