.ko-kalk {
  color-scheme: light;
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

  --ink: #1f2d38;
  --muted: #57697a;
  --line: #d6e1ea;
  --paper: #f6f9fc;
  --panel: #ffffff;
  --wash: #e4edf4;
  --accent: #1d6fa5;
  --accent-2: #14507a;
  --accent-3: #4a93c4;
  --gold: #5aa9dc;
  --good: #1c7a44;
  --warn: #a66300;
  --shadow: 0 14px 34px rgba(29, 111, 165, 0.10);
  --soft-shadow: 0 8px 22px rgba(29, 111, 165, 0.07);
  font-family: inherit;
}
.ko-kalk, .ko-kalk * {
  box-sizing: border-box;
}
.ko-kalk {color: var(--ink);}
.ko-kalk button, .ko-kalk input, .ko-kalk select {
  font: inherit;
}
.ko-kalk a {
  color: var(--accent);
}
.ko-kalk .shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 0;
}
.ko-kalk .topbar {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 4px 0 8px;
  text-align: center;
  position: relative;
  min-height: 70px;
}
.ko-kalk .headline {
  max-width: 960px;
  padding: 0 140px;
}
.ko-kalk h1, .ko-kalk :is(h2, h3), .ko-kalk h3, .ko-kalk p {
  margin: 0;
}
.ko-kalk h1 {
  font-size: clamp(1.65rem, 2vw, 2.14rem);
  line-height: 1;
  max-width: 960px;
  letter-spacing: 0;
}
.ko-kalk .stamp, .ko-kalk .eyebrow {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ko-kalk .intro {
  max-width: 780px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.28;
  margin-top: 3px;
  margin-left: auto;
  margin-right: auto;
}
.ko-kalk .stamp {
  position: absolute;
  right: 0;
  top: 4px;
  display: grid;
  gap: 1px;
  text-align: center;
  line-height: 1.25;
  min-width: 132px;
  padding: 4px 10px;
  border: 1px solid rgba(13, 118, 110, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}
.ko-kalk .stamp span, .ko-kalk .stamp strong {
  display: block;
}
.ko-kalk .grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.ko-kalk .left-column, .ko-kalk .main-column, .ko-kalk .side-column {
  display: grid;
  gap: 14px;
}
.ko-kalk .left-column, .ko-kalk .side-column {
  grid-template-rows: auto 1fr;
}
.ko-kalk .main-column {
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.ko-kalk .left-column {
  min-height: 0;
}
.ko-kalk .panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}
.ko-kalk .input-panel {
  padding: 14px;
}
.ko-kalk .panel-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.ko-kalk .panel-title :is(h2, h3), .ko-kalk .section-title :is(h2, h3) {
  font-size: 1.05rem;
}
.ko-kalk .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: start;
}
.ko-kalk .field {
  display: grid;
  gap: 6px;
  align-content: start;
}
.ko-kalk .wide {
  grid-column: 1 / -1;
}
.ko-kalk label, .ko-kalk .field-label, .ko-kalk .check-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}
.ko-kalk .field-hint {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}
.ko-kalk select, .ko-kalk input[type="number"] {
  width: 100%;
  height: 36px;
  border: 1px solid #bcc9c2;
  border-radius: 7px;
  padding: 0 12px;
  background: linear-gradient(180deg, #fff, #fbfdfb);
  color: var(--ink);
  font-size: 0.94rem;
}
.ko-kalk select:focus, .ko-kalk input[type="number"]:focus {
  outline: 3px solid rgba(13, 118, 110, 0.18);
  border-color: var(--accent);
}
.ko-kalk .extras-block {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}
.ko-kalk .checks-title {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}
.ko-kalk .checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.ko-kalk .parking-checks {
  grid-template-columns: 1fr 1fr;
}
.ko-kalk .wide-check {
  grid-column: 1 / -1;
}
.ko-kalk .check {
  min-height: 31px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: linear-gradient(180deg, #ffffff, #f8fbf8);
  box-shadow: var(--soft-shadow);
}
.ko-kalk .check input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  flex: 0 0 auto;
}
.ko-kalk .check-label {
  line-height: 1.15;
}
.ko-kalk .primary-result {
  padding: 12px;
  display: grid;
  gap: 9px;
  position: relative;
  overflow: hidden;
  border-color: rgba(13, 118, 110, 0.24);
}
.ko-kalk .primary-result::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent-2));
}
.ko-kalk .result-head {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: flex-start;
}
.ko-kalk .result-head > div {
  min-width: 0;
}
.ko-kalk .price {
  font-size: clamp(2.25rem, 3.35vw, 3.28rem);
  line-height: 0.95;
  font-weight: 840;
  letter-spacing: 0;
  white-space: nowrap;
}
.ko-kalk .range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ko-kalk .range-box {
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #eef4ed, #fff7e8);
}
.ko-kalk .range-box span {
  color: var(--muted);
  display: block;
  margin-bottom: 3px;
  font-size: 0.78rem;
}
.ko-kalk .range-box strong {
  font-size: 0.98rem;
}
.ko-kalk .meter {
  height: 9px;
  background: #e2e8e1;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.ko-kalk .meter-fill {
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  border-radius: inherit;
}
.ko-kalk .explain {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.ko-kalk .factor {
  min-width: 0;
  padding: 7px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fbfdfb);
}
.ko-kalk .factor:nth-child(3) {
  grid-column: 1 / -1;
}
.ko-kalk .factor span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  margin-bottom: 4px;
}
.ko-kalk .factor strong {
  display: block;
  font-size: 0.84rem;
  line-height: 1.22;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.ko-kalk .content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}
.ko-kalk .section {
  padding: 10px;
}
.ko-kalk .section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.ko-kalk .cards {
  display: grid;
  gap: 6px;
}
.ko-kalk .segment-panel {
  min-height: 0;
  display: grid;
  grid-template-rows: auto 1fr;
}
.ko-kalk .segment-panel .cards {
  align-content: start;
}
.ko-kalk .segment {
  display: grid;
  grid-template-columns: 112px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #fbfdfb);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(22, 32, 29, 0.04);
  transition: border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}
.ko-kalk .segment:hover, .ko-kalk .segment:focus-visible {
  border-color: rgba(13, 118, 110, 0.45);
  box-shadow: var(--soft-shadow);
  transform: translateY(-1px);
}
.ko-kalk .segment[aria-pressed="true"] {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(13, 118, 110, 0.11), rgba(201, 154, 49, 0.12));
}
.ko-kalk .segment-name {
  font-weight: 800;
  text-align: left;
  font-size: 0.92rem;
}
.ko-kalk .bar {
  min-width: 88px;
  height: 8px;
  border-radius: 999px;
  background: #e4ebe5;
  overflow: hidden;
}
.ko-kalk .bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  border-radius: inherit;
}
.ko-kalk .muted {
  color: var(--muted);
}
.ko-kalk .table {
  display: grid;
  gap: 9px;
}
.ko-kalk .row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 4px 0;
  border-bottom: 1px solid var(--line);
}
.ko-kalk .row:last-child {
  border-bottom: 0;
}
.ko-kalk .row strong {
  text-align: right;
}
.ko-kalk .note {
  background: linear-gradient(135deg, #fff7e8, #ffffff);
  border-color: #e9cc9e;
}
.ko-kalk .trend-card {
  border-color: rgba(44, 93, 134, 0.22);
  display: flex;
  flex-direction: column;
}
.ko-kalk .trend-chart {
  min-height: 108px;
  display: grid;
  align-items: center;
}
.ko-kalk .trend-chart svg {
  display: block;
  width: 100%;
  height: auto;
}
.ko-kalk .gridline {
  stroke: #dfe8e2;
  stroke-width: 1;
}
.ko-kalk .axis-label, .ko-kalk .month-label {
  fill: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.ko-kalk .trend-line {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ko-kalk .trend-flat, .ko-kalk .dot-flat, .ko-kalk .legend-flat {
  stroke: var(--accent);
  background: var(--accent);
}
.ko-kalk .dot-flat {
  fill: #fff;
  stroke-width: 3;
}
.ko-kalk .trend-legend, .ko-kalk .trend-values {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}
.ko-kalk .trend-legend span, .ko-kalk .trend-values span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ko-kalk .trend-legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}
.ko-kalk .trend-values {
  margin-top: 4px;
  justify-content: space-between;
}
.ko-kalk .trend-values strong {
  color: var(--ink);
}
.ko-kalk .trend-caption {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
  margin-top: 4px;
}
.ko-kalk .sponsor-card {
  padding: 13px 14px;
  display: grid;
  align-content: center;
  gap: 8px;
  background:
    linear-gradient(135deg, rgba(13, 118, 110, 0.08), rgba(201, 154, 49, 0.12)),
    rgba(255, 255, 255, 0.9);
  border-color: rgba(201, 154, 49, 0.35);
}
.ko-kalk .sponsor-card :is(h2, h3) {
  font-size: 0.94rem;
  line-height: 1.15;
  margin: 0;
}
.ko-kalk .sponsor-card p {
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.28;
}
.ko-kalk .ad-card {
  min-height: 124px;
  height: 124px;
  overflow: visible;
}
.ko-kalk .ad-card .pill {
  min-height: auto;
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(92, 108, 102, 0.78);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: lowercase;
}
.ko-kalk .site-footer {
  margin: 26px 0 145px;
  padding: 12px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}
.ko-kalk .pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}
.ko-kalk .hidden {
  display: none !important;
}
@media (max-width: 1120px) {.ko-kalk .grid {
    grid-template-columns: 1fr 1fr;
  }
.ko-kalk .side-column {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }

}
@media (max-width: 980px) {.ko-kalk .topbar, .ko-kalk .grid, .ko-kalk .content-grid {
    grid-template-columns: 1fr;
  }
.ko-kalk .topbar {
    display: grid;
    min-height: 0;
  }
.ko-kalk .stamp {
    position: static;
  }
.ko-kalk .headline {
    padding: 0;
  }
.ko-kalk .input-panel {
    position: static;
  }
.ko-kalk .left-column, .ko-kalk .main-column, .ko-kalk .side-column {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }

}
@media (max-width: 640px) {.ko-kalk .shell {
    width: min(100% - 18px, 1240px);
    padding-top: 12px;
  }
.ko-kalk .form-grid, .ko-kalk .checks, .ko-kalk .range, .ko-kalk .explain {
    grid-template-columns: 1fr;
  }
.ko-kalk .segment {
    grid-template-columns: 1fr;
    text-align: center;
  }
.ko-kalk .result-head {
    display: grid;
  }
.ko-kalk .ad-card {
    height: auto;
  }
.ko-kalk .price {
    font-size: clamp(2.4rem, 16vw, 3.55rem);
  }
.ko-kalk .trend-values {
    display: grid;
  }
.ko-kalk .bar {
    width: 100%;
  }

}


/* --- komarno.org úpravy (Jan 17. 9. 2026) --- */
/* Výpočet: plusy bytu a parkovanie v jednom riadku, položky drobným písmom (Jan 17. 9. 2026) */
.ko-kalk .row .row-detail { grid-column: 1 / -1; margin-top: -4px; color: var(--muted); font-size: 0.74rem; line-height: 1.4; font-weight: 500; }
.ko-kalk .ko-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* Jan 17. 9.: pri posúvaní občas biele obdĺžniky (Chrome/Edge) – backdrop-filter na paneloch; na bielom pozadí bez viditeľného efektu */
.ko-kalk .panel { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
.ko-kalk { margin: 8px 0 34px; }
.ko-kalk .shell { width: 100%; padding: 6px 0 0; }
.ko-kalk .topbar { min-height: 0; padding: 0 0 12px; }
.ko-kalk .headline { padding: 0 140px; }
.ko-kalk .intro { font-size: 1.02rem; }
.ko-kalk .site-footer { margin: 18px 0 0; padding: 12px 0 0; color: var(--muted); font-size: 0.85rem; text-align: center; border-top: 1px solid var(--line); }
.ko-kalk .a7-karta :is(h2, h3) { color: var(--accent); }
.ko-kalk .a7-karta .pill { justify-self: start; align-self: start; width: auto; display: inline-flex; }
.ko-kalk .a7-karta { height: auto; min-height: 124px; }
/* stĺpce bez naťahovania panelov (žiadne prázdne biele plochy); tipy v samostatnom rade pod kalkulačkou (Jan 17. 9. 2026) */
@media (min-width: 981px) {
  .ko-kalk .grid { align-items: start; }
  .ko-kalk .left-column, .ko-kalk .main-column, .ko-kalk .side-column { grid-template-rows: none; align-content: start; }
  .ko-kalk .segment-panel { grid-template-rows: auto auto; }
}
/* ≥981 px: panely v jednej mriežke (≥1121 px 2 riadky × 3 stĺpce, inak 3 × 2), Parametre cez oba riadky – panely v riadku rovnako vysoké, žiadne diery (Jan 17. 9. 2026) */
@media (min-width: 981px) {
  .ko-kalk .grid { grid-template-areas: "param cena" "param seg" "vypocet trend"; grid-template-rows: auto 1fr auto; align-items: stretch; }
}
@media (min-width: 1121px) {
  .ko-kalk .grid { grid-template-areas: "param cena vypocet" "param seg trend"; grid-template-rows: auto 1fr; }
}
@media (min-width: 981px) {
  .ko-kalk .left-column, .ko-kalk .main-column, .ko-kalk .side-column { display: contents; }
  .ko-kalk .input-panel { grid-area: param; }
  .ko-kalk .primary-result { grid-area: cena; align-content: space-between; }
  .ko-kalk .segment-panel { grid-area: seg; grid-template-rows: auto 1fr; }
  .ko-kalk .segment-panel .cards { align-content: space-evenly; }
  .ko-kalk .side-column > .section:first-child { grid-area: vypocet; display: flex; flex-direction: column; }
  .ko-kalk .side-column > .section:first-child .table { flex: 1; align-content: space-between; }
  .ko-kalk .trend-card { grid-area: trend; }
  .ko-kalk .trend-chart { flex: 1; }
}
.ko-kalk .tipy-rad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; align-items: stretch; }
@media (max-width: 980px) { .ko-kalk .tipy-rad { grid-template-columns: 1fr; } }
/* tip karta: tlačidlo vždy dole, stredná a pravá karta dorovnané na spodok ľavého stĺpca */
.ko-kalk .a7-karta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ko-kalk .a7-karta p { font-size: 0.8rem; line-height: 1.4; }
.ko-kalk .a7-karta .tip-zoznam { margin: 2px 0 4px; padding: 0; list-style: none; display: grid; gap: 4px; }
.ko-kalk .a7-karta .tip-zoznam li { position: relative; padding-left: 20px; font-size: 0.8rem; color: var(--ink); line-height: 1.35; }
.ko-kalk .a7-karta .tip-zoznam li::before { content: "✓"; position: absolute; left: 2px; color: var(--accent); font-weight: 800; }
.ko-kalk .a7-karta .tip-poznamka { font-weight: 700; color: var(--accent-2); margin-top: auto; margin-bottom: 0; padding-top: 6px; }
.ko-kalk .a7-karta .tip-poznamka + .a7-odkaz { margin-top: 2px; }
.ko-kalk .a7-karta .a7-odkaz { display: block; align-self: stretch; margin-top: auto; padding: 8px 14px; border-radius: 6px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; }
.ko-kalk .a7-karta .a7-odkaz:hover { background: var(--accent-2); color: #fff; }
@media (max-width: 980px) { .ko-kalk .headline { padding: 0; } }
/* „Dáta k …" – jeden riadok vpravo nad kalkulačkou (predtým absolútne umiestnená dvojriadková bublina) */
.ko-kalk .topbar { display: flex; justify-content: flex-end; align-items: center; min-height: 0; padding: 0 0 10px; }
.ko-kalk .stamp { position: static; display: inline-flex; align-items: baseline; gap: 6px; min-width: 0; margin: 0; padding: 6px 14px;
  line-height: 1.2; white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: var(--soft-shadow); }
.ko-kalk .stamp span, .ko-kalk .stamp strong { display: inline; }
.ko-kalk .stamp strong { color: var(--accent-2); letter-spacing: 0.02em; }
