/* Doplňky k původnímu CSS (lovable-original.css) pro nativní prvky, které nahradily komponenty Reactu. */
select.ukl-select { appearance: auto; -webkit-appearance: auto; cursor: pointer; }
input.ukl-check { appearance: auto; -webkit-appearance: auto; accent-color: hsl(var(--primary)); padding: 0; }
/* posuvník jako Radix Slider originálu: dráha 8 px, vyplněná část v barvě primary, kulatý úchyt 20 px */
input.ukl-range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 20px; margin-bottom: 0; background: transparent; cursor: pointer; padding: 0; }
input.ukl-range::-webkit-slider-runnable-track { height: 8px; border-radius: 9999px; background: linear-gradient(to right, hsl(var(--primary)) var(--p, 0%), hsl(var(--secondary)) var(--p, 0%)); }
input.ukl-range::-moz-range-track { height: 8px; border-radius: 9999px; background: hsl(var(--secondary)); }
input.ukl-range::-moz-range-progress { height: 8px; border-radius: 9999px; background: hsl(var(--primary)); }
input.ukl-range::-webkit-slider-thumb { -webkit-appearance: none; height: 20px; width: 20px; margin-top: -6px; border-radius: 9999px; border: 2px solid hsl(var(--primary)); background: hsl(var(--background)); }
input.ukl-range::-moz-range-thumb { height: 16px; width: 16px; border-radius: 9999px; border: 2px solid hsl(var(--primary)); background: hsl(var(--background)); }
input.ukl-range:focus-visible { outline: none; box-shadow: 0 0 0 2px hsl(var(--ring)); border-radius: 9999px; }
[data-ukl-mobile][hidden], [role="region"][hidden] { display: none !important; }
[role="region"][data-state="open"] { animation: none; }
a[data-ukl-action], button[data-ukl-action="acc"] { cursor: pointer; }
.ukl-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Blog (od 28. 10. 2026): výpis /blog a články /blog/<slug> – vlastní třídy bp-*, barvy z proměnných motivu */
.bp-narrow { max-width: 46rem; }
.bp-wide { max-width: 72rem; }
@media (max-width: 640px) { .bp-narrow, .bp-wide { padding-left: 1rem; padding-right: 1rem; } }
.bp-article { padding: 3rem 0 5rem; }
.bp-crumbs { font-size: .875rem; color: hsl(var(--muted-foreground)); margin-bottom: 1.5rem; }
.bp-crumbs a:hover { color: hsl(var(--foreground)); text-decoration: underline; }
.bp-cat { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: hsl(var(--accent)); margin-bottom: .5rem; }
.bp-article h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; margin-bottom: 1rem; }
.bp-lead { font-size: 1.15rem; line-height: 1.6; color: hsl(var(--muted-foreground)); margin-bottom: 1rem; }
.bp-meta { font-size: .875rem; color: hsl(var(--muted-foreground)); }
.bp-article > div > .bp-meta { padding-bottom: 1.5rem; margin-bottom: 2rem; border-bottom: 1px solid hsl(var(--border)); }
.bp-keypoints { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-left: 4px solid hsl(var(--accent)); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 2.5rem; }
.bp-keypoints h2 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.bp-keypoints ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: .35rem; line-height: 1.55; }
.bp-prose { font-size: 1.0625rem; line-height: 1.75; color: hsl(var(--foreground)); }
.bp-prose > * + * { margin-top: 1.1rem; }
.bp-prose h2 { font-size: 1.55rem; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; margin-top: 2.5rem; }
.bp-prose h3 { font-size: 1.2rem; line-height: 1.35; font-weight: 600; margin-top: 1.8rem; }
.bp-prose ul { list-style: disc; padding-left: 1.4rem; }
.bp-prose ol { list-style: decimal; padding-left: 1.4rem; }
.bp-prose li + li { margin-top: .4rem; }
.bp-prose a, .bp-faq a, .bp-sources a { color: hsl(var(--accent)); text-decoration: underline; text-underline-offset: 2px; }
.bp-prose a:hover { color: hsl(var(--primary)); }
.bp-prose blockquote { border-left: 4px solid hsl(var(--accent) / .5); background: hsl(var(--muted)); padding: .9rem 1.2rem; border-radius: 0 var(--radius) var(--radius) 0; font-style: normal; }
.bp-prose blockquote > * + * { margin-top: .6rem; }
.bp-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.bp-prose th, .bp-prose td { border: 1px solid hsl(var(--border)); padding: .5rem .7rem; text-align: left; vertical-align: top; }
.bp-prose th { background: hsl(var(--muted)); font-weight: 600; }
.bp-faq, .bp-sources { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid hsl(var(--border)); }
.bp-faq h2, .bp-sources h2, .bp-related h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }
.bp-faq h3 { font-size: 1.05rem; font-weight: 600; margin-top: 1.25rem; }
.bp-faq p { margin-top: .35rem; line-height: 1.7; color: hsl(var(--foreground) / .85); }
.bp-sources ol { list-style: decimal; padding-left: 1.4rem; display: grid; gap: .4rem; font-size: .95rem; overflow-wrap: anywhere; }
.bp-sources span { color: hsl(var(--muted-foreground)); font-size: .85rem; }
.bp-note { margin-top: 1rem; font-size: .85rem; color: hsl(var(--muted-foreground)); }
.bp-cta { margin-top: 3rem; background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border-radius: calc(var(--radius) * 2); padding: 2rem; }
.bp-cta h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: .5rem; color: hsl(var(--primary-foreground)); }
.bp-cta p { color: hsl(var(--primary-foreground) / .8); margin-bottom: 1.25rem; line-height: 1.6; }
.bp-related { margin-top: 3rem; }
.bp-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.bp-card { display: flex; flex-direction: column; gap: .5rem; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: calc(var(--radius) * 1.5); padding: 1.25rem 1.4rem; transition: box-shadow .15s, border-color .15s; }
.bp-card:hover { border-color: hsl(var(--accent) / .5); box-shadow: 0 6px 20px -8px hsl(var(--primary) / .25); }
.bp-card .bp-cat { margin-bottom: 0; }
.bp-card-title { font-size: 1.1rem; font-weight: 700; line-height: 1.35; color: hsl(var(--foreground)); }
.bp-card-text { font-size: .925rem; line-height: 1.55; color: hsl(var(--muted-foreground)); flex: 1; }
.bp-card .bp-meta { font-size: .8rem; }
.bp-h2 { font-size: 1.5rem; font-weight: 700; margin: 2.5rem 0 1rem; scroll-margin-top: 5rem; }
.bp-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.bp-chips a { font-size: .875rem; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); border-radius: 9999px; padding: .35rem .9rem; }
.bp-chips a:hover { border-color: hsl(var(--accent)); color: hsl(var(--accent)); }
.bp-chips span { color: hsl(var(--muted-foreground)); margin-left: .25rem; }

/* Přepínač jazyků v hlavičce a poznámka u přeložených právních stránek (vícejazyčnost od 29. 10. 2026) */
.bp-lang { position: relative; margin-left: .5rem; font-size: .8125rem; }
.bp-lang > summary { list-style: none; cursor: pointer; padding: .4rem .6rem; border: 1px solid hsl(var(--border)); border-radius: var(--radius); color: hsl(var(--muted-foreground)); font-weight: 600; letter-spacing: .03em; user-select: none; }
.bp-lang > summary::-webkit-details-marker { display: none; }
.bp-lang > summary::after { content: ' ▾'; font-size: .7em; }
.bp-lang[open] > summary, .bp-lang > summary:hover { color: hsl(var(--foreground)); border-color: hsl(var(--accent) / .6); }
.bp-lang-menu { position: absolute; right: 0; top: calc(100% + .35rem); z-index: 60; min-width: 11rem; max-height: 70vh; overflow-y: auto; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); box-shadow: 0 10px 30px -10px hsl(var(--primary) / .35); padding: .3rem; display: grid; }
[dir="rtl"] .bp-lang-menu { right: auto; left: 0; }
.bp-lang-menu a { padding: .45rem .7rem; border-radius: calc(var(--radius) - 2px); color: hsl(var(--foreground)); }
.bp-lang-menu a:hover { background: hsl(var(--muted)); }
.bp-lang-menu a[aria-current] { font-weight: 700; color: hsl(var(--accent)); }
.bp-legal-note { margin: 1.5rem auto 0; font-size: .875rem; color: hsl(var(--muted-foreground)); border-left: 3px solid hsl(var(--accent)); padding: .5rem .9rem; }
.bp-lang-m { margin-left: auto; margin-right: .25rem; }
.bp-lang-m .bp-lang { margin-left: 0; }
@media (min-width: 768px) { .bp-lang-m { display: none; } }

/* bezplatná kontrola recenze /tools/review-removal-check (31. 10. 2026) */
.bp-check { display: grid; gap: 1rem; margin: 1.5rem 0 1rem; }
.bp-q { border: 1px solid hsl(var(--border)); border-radius: var(--radius); background: hsl(var(--card)); padding: 1rem 1.25rem; }
.bp-q legend { font-weight: 600; line-height: 1.5; padding: 0; float: left; width: 100%; margin-bottom: .75rem; }
.bp-opts { clear: both; display: flex; flex-wrap: wrap; gap: .5rem; }
.bp-opts label { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 1rem; border: 1px solid hsl(var(--border)); border-radius: 999px; cursor: pointer; background: hsl(var(--background)); }
.bp-opts label:has(input:checked) { border-color: hsl(var(--accent)); background: hsl(var(--accent) / .1); font-weight: 600; }
.bp-opts input { accent-color: hsl(var(--accent)); width: 1rem; height: 1rem; }
.bp-check > button { justify-self: start; }
.bp-result { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid hsl(var(--border)); scroll-margin-top: 5rem; }
.bp-result h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }
.bp-res { border: 1px solid hsl(var(--border)); border-left: 4px solid hsl(var(--accent)); border-radius: var(--radius); background: hsl(var(--card)); padding: 1rem 1.25rem; margin-bottom: 1rem; line-height: 1.6; }
.bp-res[data-show="extortion"] { border-left-color: hsl(var(--destructive)); }
.bp-res h3 { font-weight: 700; margin-bottom: .35rem; }
.bp-res a, .bp-result .bp-note a { color: hsl(var(--accent)); text-decoration: underline; text-underline-offset: 2px; }
.bp-res ol { list-style: decimal; padding-left: 1.25rem; display: grid; gap: .35rem; margin-bottom: .5rem; }
.bp-result .bp-note { font-size: .875rem; color: hsl(var(--muted-foreground)); margin: 1rem 0; }
.bp-check-cta { scroll-margin-top: 5rem; }
.bp-check-form { max-width: 34rem; color: hsl(var(--foreground)); background: hsl(var(--background)); border-radius: var(--radius); padding: 1.25rem; }
.bp-check-form label { color: hsl(var(--foreground)); }
.bp-check-form .bp-small { font-size: .8rem; color: hsl(var(--muted-foreground)); line-height: 1.5; margin: 0; }
.bp-check-form .bp-small a { color: hsl(var(--accent)); text-decoration: underline; }
/* dvoukrokové formuláře: potvrzení uložení po kroku 1 (31. 10. 2026) */
.bp-saved { border: 1px solid hsl(var(--accent) / .45); background: hsl(var(--accent) / .08); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1.25rem; line-height: 1.55; scroll-margin-top: 5rem; }
.bp-saved p { margin: 0 0 .35rem; }
.bp-saved .bp-saved-title { font-weight: 700; color: hsl(var(--foreground)); }
.bp-saved .bp-saved-ref { font-size: .8rem; color: hsl(var(--muted-foreground)); margin: 0; }
