/* Nástroje (rozcestník a kalkulačka hodinové sazby OSVČ): vzhled stejný jako zbytek webu – písmo Dosis, tmavě zelená #26532b, limetková #a3bc00, zaoblené bílé karty. */
.nst-stranka { padding-top: 130px; padding-bottom: 80px; }
.nst-stranka .brxe-container { max-width: 1180px; display: block; }
.nst-obsah { display: block; }
.nst-obsah h1 { margin: 0; }
.nst-drobky { margin: 0 0 18px; font-size: 15px; }
.nst-drobky ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0; padding: 0; }
.nst-drobky li + li::before { content: "›"; margin-right: 8px; color: #8a8a80; }
.nst-drobky a { color: #26532b; text-decoration: underline; }
.nst-drobky [aria-current] { color: #555; }
.nst-uvod { max-width: 760px; font-size: 19px; line-height: 1.5; margin: 14px 0 0; }
.nst-uvod + .nst-uvod { margin-top: 10px; }
.nst-stranka a:focus-visible, .nst-stranka button:focus-visible, .nst-stranka input:focus-visible, .nst-stranka select:focus-visible { outline: 2px solid #26532b; outline-offset: 2px; }

/* rozcestník */
.nst-mrizka { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin: 36px 0 0; padding: 0; list-style: none; }
.nst-karta { display: flex; flex-direction: column; gap: 12px; height: 100%; box-sizing: border-box; padding: 28px; background: #fff; border: 1px solid #ece7df; border-radius: 16px; box-shadow: 0 2px 14px rgba(0, 0, 0, .05); transition: box-shadow .2s ease, transform .2s ease; }
.nst-karta:hover, .nst-karta:focus-within { box-shadow: 0 8px 26px rgba(38, 83, 43, .14); transform: translateY(-2px); }
.nst-ikona { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: #edf3f9; color: #26532b; }
.nst-karta h2 { margin: 6px 0 0; font-size: 27px; line-height: 1.15; }
.nst-karta p { margin: 0; font-size: 18px; line-height: 1.4; flex: 1 1 auto; }
.nst-karta .bricks-button { align-self: flex-start; text-decoration: none; }

/* kalkulačka */
.nst-upozorneni { margin: 22px 0 0; padding: 14px 18px; max-width: 760px; border: 1px solid #dfe7ef; border-radius: 10px; background: #f6f9e8; font-size: 16px; line-height: 1.45; }
.nst-uvod-odkaz { margin: 12px 0 0; font-size: 16px; }
.nst-uvod-odkaz a { color: #26532b; text-decoration: underline; }
.nst-rozlozeni { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 32px; align-items: start; margin-top: 32px; }
.nst-sloupec { min-width: 0; }
.nst-vysledky { position: sticky; top: 84px; }
.nst-krok, .nst-vysledky-karta, .nst-radce { box-sizing: border-box; background: #fff; border: 1px solid #ece7df; border-radius: 16px; box-shadow: 0 2px 14px rgba(0, 0, 0, .05); padding: 26px 28px; margin: 0 0 24px; }
.nst-krok h2, .nst-vysledky-karta h2, .nst-radce h2 { margin: 0 0 6px; font-size: 28px; line-height: 1.15; }
.nst-krok h3, .nst-radce h3 { margin: 24px 0 8px; font-size: 20px; line-height: 1.2; color: #26532b; }
.nst-krok > p, .nst-radce > p { margin: 0 0 14px; font-size: 17px; line-height: 1.45; }
.nst-pole { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 4px 12px; align-items: center; margin: 0 0 10px; }
.nst-pole label { font-size: 18px; font-weight: 600; line-height: 1.25; color: #1c1c1c; }
.nst-vstup { position: relative; }
.nst-vstup input, .nst-vstup select { box-sizing: border-box; width: 100%; height: 42px; padding: 4px 38px 4px 10px; font: inherit; font-weight: 400; font-size: 17px; text-align: right; color: #000; border: 1px solid #dadada; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.nst-vstup select { text-align: left; padding-right: 10px; }
.nst-vstup input:focus-visible, .nst-vstup select:focus-visible { border-color: #a3bc00; box-shadow: 0 0 0 3px rgba(163, 188, 0, .3); outline: none; }
.nst-jednotka { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 15px; color: #666; pointer-events: none; }
.nst-napoveda { grid-column: 1 / -1; margin: 0 0 6px; font-size: 16px; line-height: 1.4; color: #3a3a34; }
.nst-napoveda button { font: inherit; font-weight: 500; font-size: 15px; margin-left: 6px; padding: 2px 10px; border-radius: 4px; border: 1px solid #a3bc00; background: #f6f9e8; color: #26532b; cursor: pointer; }
.nst-napoveda button:hover { background: #a3bc00; color: #fff; }
.nst-napoveda a { color: #26532b; text-decoration: underline; }
.nst-souhrn { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; background: #edf3f9; font-size: 17px; }
.nst-souhrn b { font-size: 21px; color: #26532b; }
.nst-souhrn + .nst-souhrn { margin-top: 8px; }

.nst-hlavni { margin: 14px 0 4px; padding: 18px 20px; border-radius: 14px; background: #26532b; color: #fff; }
.nst-hlavni span { display: block; font-size: 16px; opacity: .9; }
.nst-hlavni b { display: block; font-size: 40px; line-height: 1.1; font-weight: 800; }
.nst-hlavni.nst-doporucena { background: #a3bc00; color: #1d3a20; }
.nst-hlavni.nst-doporucena span { opacity: 1; }
.nst-rezerva { margin: 18px 0 8px; }
.nst-rezerva label { display: flex; justify-content: space-between; font-size: 18px; font-weight: 600; color: #1c1c1c; }
.nst-rezerva input[type="range"] { width: 100%; margin: 10px 0 0; accent-color: #26532b; height: 28px; }
.nst-tabulka { margin: 14px 0 0; padding: 0; list-style: none; }
.nst-tabulka li, .nst-cisla li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #ece7df; font-size: 17px; }
.nst-tabulka b, .nst-cisla b { text-align: right; white-space: nowrap; }
.nst-chyba { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: #fdecee; color: #9b1326; font-weight: 500; }
.nst-vysledky details { margin: 14px 0 0; font-size: 16px; }
.nst-vysledky summary, .nst-radce summary { cursor: pointer; font-weight: 500; color: #26532b; }
.nst-vysledky details p { margin: 8px 0 0; line-height: 1.45; }
.nst-tlacitka { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.nst-tl { font: inherit; font-weight: 500; font-size: 20px; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 9px 20px; border-radius: 4px; border: 1px solid #26532b; background: #fff; color: #26532b; cursor: pointer; }
.nst-tl:hover { background: #26532b; color: #fff; }
.nst-vyzva { margin: 18px 0 0; padding: 18px 20px; border-radius: 14px; background: #edf3f9; }
.nst-vyzva p { margin: 0 0 12px; font-size: 17px; line-height: 1.45; }
.nst-vyzva .bricks-button { text-decoration: none; }

/* rádce */
.nst-radce { margin-top: 32px; }
.nst-radce-vstupy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 28px; margin: 16px 0 6px; }
.nst-radce fieldset { border: 0; padding: 0; margin: 0 0 10px; min-width: 0; }
.nst-radce legend { font-size: 18px; font-weight: 600; padding: 0; margin: 0 0 6px; }
.nst-volba { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 18px; color: #1c1c1c; }
.nst-volba input { width: 20px; height: 20px; accent-color: #26532b; margin: 0; }
.nst-radce-stav { margin: 22px 0 0; padding: 20px 22px; border-radius: 14px; background: #edf3f9; border: 1px solid #dfe7ef; }
.nst-radce-stav p { margin: 0 0 10px; font-size: 17px; line-height: 1.5; }
.nst-radce-stav.nst-stav-zelena { background: #f1f7e0; border-color: #a3bc00; }
.nst-radce-stav.nst-stav-zluta { background: #fff7e1; border-color: #e6b800; }
.nst-radce-stav.nst-stav-cervena { background: #fdecee; border-color: #db243c; }
.nst-stav-nadpis { margin: 0 0 10px; font-size: 24px; line-height: 1.2; }
.nst-podnadpis { margin: 18px 0 6px; font-size: 20px; }
.nst-cisla { margin: 12px 0; padding: 0; list-style: none; }
.nst-drobne { font-size: 14px !important; color: #55554e; }
.nst-moznosti { margin: 0 0 6px; padding-left: 20px; font-size: 17px; line-height: 1.5; }
.nst-moznosti li { margin: 0 0 6px; }
.nst-radce details { margin: 18px 0 0; }
.nst-radce details ul { margin: 8px 0 0; padding-left: 20px; line-height: 1.5; font-size: 16px; }
.nst-zdroje { margin: 32px 0 0; font-size: 15px; line-height: 1.5; }
.nst-zdroje ul { margin: 6px 0 0; padding-left: 20px; }
.nst-zdroje a { color: #26532b; text-decoration: underline; }
.nst-tisk-hlavicka { display: none; }

@media (max-width: 991px) {
  .nst-rozlozeni { grid-template-columns: minmax(0, 1fr); }
  .nst-vysledky { position: static; }
}
@media (max-width: 600px) {
  .nst-stranka { padding-top: 100px; padding-bottom: 56px; }
  .nst-uvod { font-size: 17px; }
  .nst-krok, .nst-vysledky-karta, .nst-radce { padding: 20px 16px; }
  .nst-krok h2, .nst-vysledky-karta h2, .nst-radce h2 { font-size: 24px; }
  .nst-pole { grid-template-columns: minmax(0, 1fr); }
  .nst-radce-vstupy { grid-template-columns: minmax(0, 1fr); }
  .nst-hlavni b { font-size: 34px; }
  .nst-tabulka li, .nst-cisla li { flex-wrap: wrap; }
  .nst-mrizka { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .nst-karta { transition: none; } }

@media print {
  #brx-header, #brx-footer, .cl, #cookie-lista, #cookie-ikona, .nst-drobky, .nst-tlacitka, .nst-vyzva, .nst-napoveda button, .nst-uvod-odkaz, .skip-link, .nst-lista, .nst-pokrocile, .nst-jak { display: none !important; }
  body { background: #fff !important; }
  .nst-tisk-hlavicka { display: block; margin: 0 0 12px; font-size: 14px; color: #444; }
  .nst-stranka { padding: 0; }
  .nst-rozlozeni { display: block; }
  .nst-vysledky { position: static; }
  .nst-krok, .nst-vysledky-karta, .nst-radce { box-shadow: none; break-inside: avoid; }
  .nst-hlavni, .nst-hlavni.nst-doporucena { background: #fff !important; color: #000 !important; border: 2px solid #26532b; }
  .nst-radce-stav { break-inside: avoid; }
  .nst-rozpis:not([open]), .nst-vedlejsi, .nst-zdroje { display: none !important; }
}

/* v2: zjednodušená kalkulačka */
.nst-uvod-male { font-size: 17px; color: #3a3a34; }
.nst-skupina { border: 0; padding: 0; margin: 4px 0 14px; min-width: 0; }
.nst-skupina legend { font-size: 18px; font-weight: 600; padding: 0; margin: 0 0 8px; color: #1c1c1c; }
.nst-volba { align-items: flex-start; line-height: 1.35; }
.nst-volba input { flex: none; margin-top: 2px; }
.nst-pole-siroke { grid-template-columns: minmax(0, 1fr); }
.nst-pole-siroke select { height: 46px; }
.nst-vstup input[readonly] { background: #f3f5f0; color: #26532b; font-weight: 600; }
.nst-krok details, .nst-zdroje { margin: 14px 0 0; }
.nst-krok summary, .nst-zdroje summary { cursor: pointer; font-weight: 600; font-size: 17px; color: #26532b; padding: 6px 0; }
.nst-krok details[open] > summary { margin-bottom: 6px; }
.nst-rozpis { border-top: 1px solid #ece7df; padding-top: 6px; }
.nst-rozpis h3 { margin: 18px 0 8px; }
.nst-rozpis .nst-pole label { font-weight: 500; font-size: 17px; }
.nst-souhrn-male { margin-top: 8px; padding: 8px 12px; font-size: 16px; }
.nst-souhrn-male b { font-size: 18px; }
.nst-pokrocile { border-top: 1px solid #ece7df; padding-top: 6px; }
.nst-pokrocile .nst-pole label { font-weight: 500; font-size: 17px; }
.nst-vysledky-karta { scroll-margin-top: 100px; }
.nst-ceka { margin: 12px 0 0; padding: 14px 16px; border-radius: 10px; background: #edf3f9; font-size: 17px; line-height: 1.45; }
.nst-poznamka { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff7e1; font-size: 15px; line-height: 1.4; }
.nst-jak ul { margin: 8px 0 0; padding-left: 18px; line-height: 1.45; font-size: 15px; }
.nst-jak li { margin: 0 0 6px; }
.nst-radce-vstupy .nst-pole { grid-template-columns: minmax(0, 1fr) 150px; }
.nst-cisla-soucet { font-weight: 700; }
.nst-cisla-soucet b { color: #26532b; }
.nst-stav-nadpis { font-size: 24px; }
.nst-zdroje summary { font-size: 19px; }
.nst-zdroje > p { margin: 8px 0 0; }
.nst-lista { display: none; }
@media (max-width: 991px) {
  .nst-lista:not([hidden]) { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; align-items: center; justify-content: space-between; gap: 10px;
    padding: 10px 14px 10px 70px; padding-bottom: max(10px, env(safe-area-inset-bottom)); background: #26532b; color: #fff; box-shadow: 0 -4px 16px rgba(0, 0, 0, .18); font-size: 15px; line-height: 1.25; }
  .nst-lista > div { display: flex; flex-wrap: wrap; gap: 2px 14px; min-width: 0; }
  .nst-lista b { white-space: nowrap; font-size: 17px; }
  .nst-lista span:last-child b { color: #d7ea6a; }
  .nst-lista a { flex: none; padding: 8px 14px; border-radius: 4px; background: #a3bc00; color: #1d3a20; font-weight: 500; text-decoration: none; }
  .nst-stranka { padding-bottom: 110px; }
}
@media (max-width: 600px) {
  .nst-radce-vstupy .nst-pole { grid-template-columns: minmax(0, 1fr); }
  .nst-stav-nadpis { font-size: 21px; }
}
.nst-rozpis .nst-vstup input, .nst-radce-vstupy .nst-vstup input { padding-right: 66px; }

/* Rádce: přepínač „Zadám“ – vidět je jen vybrané pole (hidden musí přebít display: grid) */
.nst-pole[hidden] { display: none; }
.nst-radce-zadam .nst-napoveda { margin-top: 2px; font-weight: 500; color: #26532b; }
.nst-cisla-chybi b { color: #b01c30; }
/* „Odkud jsou čísla“ v kartě rádce: stejný rozbalovací prvek jako ostatní bloky rádce */
.nst-radce .nst-zdroje { margin: 18px 0 0; font-size: inherit; line-height: inherit; }
.nst-radce .nst-zdroje summary { font-weight: 500; font-size: inherit; padding: 0; }
.nst-radce .nst-zdroje ul { margin: 8px 0 0; padding-left: 20px; line-height: 1.5; font-size: 16px; }
.nst-radce .nst-zdroje > p { margin: 8px 0 0; font-size: 16px; line-height: 1.5; }
/* výklad pod nástrojem (stejný prvek jako u UTM generátoru) a soukromí */
.nst-vyklad { margin: 32px 0 0; max-width: 900px; }
.nst-vyklad h2 { margin: 0 0 8px; font-size: 28px; line-height: 1.15; }
.nst-vyklad h3 { margin: 26px 0 8px; font-size: 21px; color: #26532b; }
.nst-vyklad p, .nst-vyklad li { font-size: 18px; line-height: 1.5; }
.nst-vyklad ul, .nst-vyklad ol { padding-left: 22px; margin: 8px 0; }
.nst-vyklad a { color: #26532b; text-decoration: underline; }
.nsv-vyklad-sekce .nst-vyklad + .nst-vyklad { margin-top: 56px; }
@media (max-width: 600px) { .nst-vyklad h2 { font-size: 24px; } .nst-vyklad p, .nst-vyklad li { font-size: 17px; } }
.nst-drobne a { color: inherit; text-decoration: underline; }
