/* iPoštár — tmavý režim (zdieľané pre celý web: index, Účtovníctvo, Návody, Vývojári) */
html[data-theme="dark"] body{background:#0f1a12 !important;color:#e4ece5}
html[data-theme="dark"] [style*="background:#fff"]{background:#17241c !important}
html[data-theme="dark"] [style*="background:#f7f8f2"]{background:#0f1a12 !important}
html[data-theme="dark"] [style*="background:#f2f9e0"]{background:#15241a !important}
html[data-theme="dark"] [style*="background:#e8ebdd"]{background:#223026 !important}
html[data-theme="dark"] [style*="color:#124d00"]{color:#e4ece5 !important}
html[data-theme="dark"] [style*="color:#13291b"],
html[data-theme="dark"] [style*="color:#1c2733"],
html[data-theme="dark"] [style*="color:#2b3a30"],
html[data-theme="dark"] [style*="color:#4A5570"],
html[data-theme="dark"] [style*="color:#4a5568"],
html[data-theme="dark"] [style*="color:#5B6880"],
html[data-theme="dark"] [style*="color:#345"],
html[data-theme="dark"] [style*="color:#556"]{color:#c3d2c7 !important}
html[data-theme="dark"] [style*="color:#5e6a7b"],
html[data-theme="dark"] [style*="color:#5e6a7b"]{color:#8fa295 !important}
html[data-theme="dark"] [style*="border:1px solid #dfeae1"],
html[data-theme="dark"] [style*="border:1px solid #e8ebdd"],
html[data-theme="dark"] [style*="border:1px solid #e7ecf2"],
html[data-theme="dark"] [style*="border:1px solid #dfe3d2"],
html[data-theme="dark"] [style*="border:1px solid #ccd"]{border-color:#2a3a2f !important}
/* text na lime tlacidlach ostava tmavy */
html[data-theme="dark"] [style*="background:#96c800"]{color:#0d3800 !important}
/* "Ako rozoznat lacnu preposielacku" — zlate labely + krem pozadie citatelne v tmavej teme */
html[data-theme="dark"] [style*="color:#7A5A10"]{color:#e8c06a !important}
html[data-theme="dark"] [style*="background:#FFF8E6"]{background:#1d2616 !important}
html[data-theme="dark"] [style*="border:1px solid #EFD9A0"]{border-color:#3a3a24 !important}
html[data-theme="dark"] [style*="border:1px solid #E8C96A"]{border-color:#4a3f1e !important}
html[data-theme="dark"] .cic,html[data-theme="dark"] .ctic{background:#2a2416 !important}
/* nadpisy info-kariet (Férová cena, Nad 3000, Do 31.12, Ste operátor) + zelený text */
html[data-theme="dark"] [style*="color:#123B2C"]{color:#dfeee3 !important}
html[data-theme="dark"] [style*="color:#3f7000"]{color:#e4ece5 !important}
/* toggle ikonka */
#themeBtn{background:none;border:0;cursor:pointer;font-size:18px;line-height:1;padding:4px;color:inherit}

/* ===== tmavý režim pre podstránky (Účtovníctvo, Návody, Vývojári) — triedy, nie inline ===== */
html[data-theme="dark"] .card,html[data-theme="dark"] details.prog,html[data-theme="dark"] details.faq,
html[data-theme="dark"] .step,html[data-theme="dark"] .toc{background:#17241c !important;border-color:#2a3a2f !important;color:#e4ece5}
html[data-theme="dark"] .card:hover,html[data-theme="dark"] details.prog:hover,html[data-theme="dark"] details.faq:hover{border-color:#3f7000 !important}
html[data-theme="dark"] .card h2,html[data-theme="dark"] .step h2,html[data-theme="dark"] .stitle,html[data-theme="dark"] summary,
html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3{color:#e4ece5}
html[data-theme="dark"] summary:hover{background:#1d2d22}
html[data-theme="dark"] summary::after,html[data-theme="dark"] .steps code,html[data-theme="dark"] .inl,html[data-theme="dark"] code{background:#223026;color:#b9e07a}
html[data-theme="dark"] .muted,html[data-theme="dark"] .sdesc,html[data-theme="dark"] .lead,html[data-theme="dark"] .card p,
html[data-theme="dark"] .step p,html[data-theme="dark"] details .body,html[data-theme="dark"] p,html[data-theme="dark"] li,html[data-theme="dark"] th{color:#c3d2c7}
html[data-theme="dark"] .ver,html[data-theme="dark"] a.anchor{color:#8fa295}
html[data-theme="dark"] .snum{box-shadow:0 0 0 4px #17241c}
html[data-theme="dark"] .steps li:not(:last-child)::before{background:#2a3a2f}
html[data-theme="dark"] .chip{background:#1d2d22;border-color:#2f4a36;color:#b9e07a}
html[data-theme="dark"] .sha{background:#0f1a12;border-color:#2a3a2f;color:#c3d2c7}
html[data-theme="dark"] .warnbox,html[data-theme="dark"] .warn,html[data-theme="dark"] .note{background:#1d2616 !important;color:#e8c06a !important;border-color:#3a3a24 !important}
html[data-theme="dark"] .ok{background:#15241a;color:#e4ece5}
html[data-theme="dark"] .shot{background:#17241c;border-color:#2f4a36;color:#8fa295}
html[data-theme="dark"] .btn-ghost{border-color:#3f7000;color:#e4ece5}
html[data-theme="dark"] .eyebrow{color:#e4ece5}html[data-theme="dark"] .num{color:#fff}
html[data-theme="dark"] td{border-color:#2a3a2f}
html[data-theme="dark"] .toc a,html[data-theme="dark"] .other a,html[data-theme="dark"] a{color:#e4ece5;text-decoration:underline}
html[data-theme="dark"] [style*="background:#eef7ee"]{background:#15241a !important;color:#e4ece5 !important;border-color:#2f4a36 !important}
html[data-theme="dark"] [style*="color:#1c7a3c"]{color:#e4ece5 !important}
html[data-theme="dark"] [style*="color:#457200"]{color:#e4ece5 !important}
html[data-theme="dark"] [style*="color:#1c5a2c"]{color:#e4ece5 !important}
html[data-theme="dark"] .msbadge{box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 5px 0 #000,0 9px 16px rgba(0,0,0,.6)}

/* biele tlačidlo v hero: text ostáva tmavozelený aj v tmavom režime (globálne a{} by ho zosvetlilo) */
html[data-theme="dark"] .hero3d,html[data-theme="dark"] .hero3d:hover{color:#124d00 !important;text-decoration:none}
/* cenník a ďalšie biele karty (trieda .pkg / inline white) v tmavom režime = tmavé, inak by mali svetlý text na bielej */
html[data-theme="dark"] .pkg{background:#17241c !important;border-color:#2a3a2f !important;color:#e4ece5}
html[data-theme="dark"] [style*="background:white"],html[data-theme="dark"] [style*="background:#FFF"],html[data-theme="dark"] [style*="background:#ffffff"]{background:#17241c !important}

/* nočný režim: VŠETKY svetlé inline pozadia na tmavé (inak svetlý text na svetlej karte) */
html[data-theme="dark"] [style*="background:#eef4e2"],html[data-theme="dark"] [style*="background:#eef0ea"],html[data-theme="dark"] [style*="background:#f6faf0"],
html[data-theme="dark"] [style*="background:#eaf4ff"],html[data-theme="dark"] [style*="background:#B8BFCE"],html[data-theme="dark"] [style*="background:#d7ef9a"]{background:#17241c !important;color:#e4ece5 !important;border-color:#2a3a2f !important}
html[data-theme="dark"] [style*="background:#fff4d6"],html[data-theme="dark"] [style*="background:#FBEFC9"]{background:#2a2410 !important;color:#f1d98a !important;border-color:#4a3f1e !important}
html[data-theme="dark"] [style*="color:#6b7280"],html[data-theme="dark"] [style*="color:#8a93a8"],html[data-theme="dark"] [style*="color:#8A93A8"]{color:#c3d2c7 !important}
html[data-theme="dark"] [style*="color:#134e9c"],html[data-theme="dark"] [style*="color:#2a4a72"],html[data-theme="dark"] [style*="color:#8a6d00"],html[data-theme="dark"] [style*="color:#6b5600"]{color:#e4ece5 !important}

/* operátor balík — tabuľka cien za IČO (landing) */
html[data-theme="dark"] .optiers th{color:#b9c9be !important}
html[data-theme="dark"] .optiers td{color:#e4ece5 !important;border-color:#2a3a2f !important}
html[data-theme="dark"] .optiers tr:last-child td:last-child{color:#b5e05a !important}

/* mobil: tlačidlá a ich text na stred */
@media (max-width:760px){
  .btn,.btn-ghost,.b3d,.btns a,a.btn{text-align:center;justify-content:center}
  div:has(> .btn),div:has(> .btn-ghost),div:has(> .b3d),.btns{justify-content:center!important}
}
