/*
 * RH UI – design systém Rabbit Hall. Spec: docs/superpowers/specs/2026-10-07-rh-ui-design.md, docs: tools/design-system.md.
 * Pravidlo: nové rozhraní nejdřív z komponent RH UI; vlastní komponenta jen když to nejde, a i ta na tokenech --rh-*.
 * Nikdy čistá bílá (nejsvětlejší je --rh-gray-50 #fafafa). Jen tmavý režim, názvy tokenů jako shadcn/ui, barvy z palety --rh-gray-*.
 */

/* ── Tokeny ── */
:root {
  /* Základní paleta (monochrom, 8. 10. 2026): primitivní odstíny, komponenty je nepoužívají přímo, jen přes významové tokeny níže */
  --rh-gray-25: #fcfcfc; --rh-gray-50: #fafafa; --rh-gray-100: #f5f5f5; --rh-gray-200: #e5e5e5; --rh-gray-300: #d6d6d6; --rh-gray-400: #a3a3a3;
  --rh-gray-500: #737373; --rh-gray-600: #525252; --rh-gray-700: #424242; --rh-gray-800: #292929; --rh-gray-900: #141414; --rh-gray-950: #0f0f0f;

  /* Významové barvy (monochrom, od 8. 10. 2026): pozadí 950, plochy 900, ovládání 800, najetí 700, nadpisy a hodnoty 50, čtený text a popisky 400 */
  --rh-background: var(--rh-gray-950);
  --rh-foreground: var(--rh-gray-50);
  --rh-body: var(--rh-gray-400); /* čtený text (popis, recenze, obsah karet a panelů); od 8. 10. 2026 400, nadpisy a hodnoty 50 vystupují */
  --rh-card: var(--rh-gray-900);
  --rh-card-foreground: var(--rh-gray-50);
  --rh-panel: var(--rh-gray-900); /* panel sekce stránky (rh-panel), karty uvnitř o stupeň světlejší */
  --rh-popover: var(--rh-gray-900);
  --rh-muted: var(--rh-gray-900);
  --rh-muted-foreground: var(--rh-gray-400);
  --rh-primary: var(--rh-gray-50); /* brand: hlavní tlačítko */
  --rh-primary-foreground: var(--rh-gray-950);
  --rh-secondary: var(--rh-gray-800);
  --rh-secondary-foreground: var(--rh-gray-50);
  --rh-accent: var(--rh-gray-700);
  --rh-border: var(--rh-gray-800);
  --rh-input: var(--rh-gray-700);
  --rh-ring: var(--rh-gray-50);
  --rh-success: #4ade80;
  --rh-warning: #fbbf24;
  --rh-destructive: #ef4444;
  --rh-deal: #d02028; /* #d6232a má se světlým textem kontrast pod 4,5 : 1 */
  --rh-rating: #fbbf24;
  --rh-overlay: rgba(0, 0, 0, .6);
  --rh-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z'/%3E%3C/svg%3E"); /* Lucide star (plná): jediná hvězda webu, maska */
  --rh-glass: rgba(0, 0, 0, .55); /* tmavé sklo na fotkách (počítadlo, zpět) */
  --rh-glass-light: rgba(255, 255, 255, .12); /* světlé sklo na černém prohlížeči fotek */
  --rh-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 0 1px var(--rh-border);

  --rh-font: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
  --rh-text-xs: 12px; --rh-text-sm: 13px; --rh-text-md: 14px; --rh-text-base: 15px; --rh-text-lg: 16px;
  --rh-text-xl: 18px; --rh-text-2xl: 20px; --rh-text-3xl: 24px; --rh-text-4xl: 32px;

  --rh-space-1: 4px; --rh-space-2: 8px; --rh-space-3: 12px; --rh-space-4: 16px; --rh-space-5: 20px;
  --rh-space-6: 24px; --rh-space-8: 32px; --rh-space-10: 40px; --rh-space-12: 48px;

  --rh-radius-sm: 8px; --rh-radius: 10px; --rh-radius-lg: 14px; --rh-radius-xl: 20px; --rh-radius-2xl: 22px; --rh-radius-full: 999px;
  /* sm štítky (malé prvky 24 px), výchozí tlačítka a pole, lg karty, xl Dialog, Drawer a galerie, 2xl panely sekcí: vnější prvek vždy oblejší než obsah */
  --rh-control-sm: 32px; --rh-control-md: 40px; --rh-control-lg: 48px;

  --rh-modal-width: 520px; /* Dialog i Drawer uprostřed */
  --rh-modal-pad: var(--rh-space-4); /* odsazení modálních oken (shadcn p-4), bez dělicích čar */
  --rh-ease: cubic-bezier(.2, .8, .2, 1);
  --rh-duration: .15s;
  --rh-duration-slow: .25s;
}

/* ── Základ ── */
.rh-icon { flex: none; }
.rh-sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rh-external { display: inline-flex; flex: none; margin-left: 4px; opacity: .7; } /* odkaz mimo web: ikona vpravo za textem */
.rh-btn .rh-external { margin-left: 0; } /* v tlačítku mezeru dělá gap */
.rh-stack { display: grid; gap: var(--rh-gap, var(--rh-space-4)); }
.rh-cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--rh-gap, var(--rh-space-2)); }
:is(.rh-btn, .rh-chip, .rh-badge--link, .rh-card--interactive, .rh-input, .rh-select, .rh-textarea, .rh-check, .rh-accordion__trigger, .rh-tabs__tab, .rh-tabs__panel, .rh-dropdown__item, .rh-carousel__track, .rh-carousel__nav, .rh-toast__close, .rh-breadcrumb a, .rh-rating__count):focus-visible { outline: 2px solid var(--rh-ring); outline-offset: 2px; } /* jen RH UI, ne starší rh-* prvky webu */
@media (prefers-reduced-motion: reduce) {
  [class^="rh-"], [class*=" rh-"], [class^="rh-"]::before, [class^="rh-"]::after { transition: none !important; animation: none !important; }
}

/* ── Kit (jen ?rh-ui-kit=1) ── */
.rh-kit { background: var(--rh-background); color: var(--rh-foreground); font-family: var(--rh-font); }
.rh-kit__wrap { max-width: 1082px; margin: 0 auto; padding: calc(var(--header-height, 80px) + 24px) 16px 96px; }
.rh-kit__title { margin: 0 0 8px; font: 500 var(--rh-text-4xl)/1.2 var(--rh-font); }
.rh-kit__section { padding-block: 40px; }
.rh-kit__h2 { margin: 0 0 16px; font: 500 var(--rh-text-2xl)/1.3 var(--rh-font); }
.rh-kit__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.rh-kit__h3 { margin: 24px 0 8px; font: 500 var(--rh-text-lg)/1.3 var(--rh-font); color: var(--rh-foreground); }
.rh-kit__swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.rh-kit__swatch p { margin: 0; }
.rh-kit__chip { display: grid; place-items: center; height: 56px; border-radius: var(--rh-radius-lg); box-shadow: inset 0 0 0 1px var(--rh-border); font-size: var(--rh-text-sm); font-weight: 500; }
.rh-kit__name { margin-top: 6px !important; color: var(--rh-foreground); font-size: var(--rh-text-sm); font-weight: 500; }
.rh-kit__hex { color: var(--rh-muted-foreground); font-size: var(--rh-text-xs); font-variant-numeric: tabular-nums; }
.rh-kit__use { color: var(--rh-muted-foreground); font-size: var(--rh-text-xs); }
.rh-kit__note { margin: 0 0 12px; color: var(--rh-muted-foreground); font-size: var(--rh-text-md); }

/* ── Button ── */
.rh-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--rh-space-2);
  margin: 0; padding: 0 var(--rh-space-4); border: 1px solid transparent; border-radius: var(--rh-radius);
  font: 500 var(--rh-text-md)/1 var(--rh-font); letter-spacing: 0; text-align: center; text-decoration: none; text-transform: none; white-space: nowrap;
  cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; box-shadow: none;
  transition: background-color var(--rh-duration) var(--rh-ease), border-color var(--rh-duration) var(--rh-ease), color var(--rh-duration) var(--rh-ease), opacity var(--rh-duration);
}
.rh-btn::before { content: ""; position: absolute; inset: -4px; } /* cíl dotyku i u malého tlačítka */
.rh-btn:hover, .rh-btn:focus, .rh-btn:active { text-decoration: none; }
.rh-btn--sm { height: var(--rh-control-sm); padding: 0 var(--rh-space-3); font-size: var(--rh-text-sm); }
.rh-btn--md { height: var(--rh-control-md); }
.rh-btn--lg { height: var(--rh-control-lg); padding: 0 var(--rh-space-6); font-size: var(--rh-text-lg); }
.rh-btn--icon { width: var(--rh-control-md); height: var(--rh-control-md); padding: 0; }
.rh-btn--round { border-radius: var(--rh-radius-full); }
.rh-btn--block { display: flex; width: 100%; }
.rh-btn--default { background: var(--rh-primary); color: var(--rh-primary-foreground); }
.rh-btn--default:hover { background: var(--rh-gray-200); color: var(--rh-primary-foreground); }
.rh-btn--secondary { background: var(--rh-secondary); color: var(--rh-secondary-foreground); }
.rh-btn--secondary:hover { background: var(--rh-accent); color: var(--rh-secondary-foreground); }
.rh-btn--outline { background: transparent; border-color: var(--rh-input); color: var(--rh-foreground); }
.rh-btn--outline:hover { background: var(--rh-secondary); color: var(--rh-foreground); }
.rh-btn--ghost { background: transparent; color: var(--rh-foreground); }
.rh-btn--ghost:hover { background: var(--rh-secondary); color: var(--rh-foreground); }
.rh-btn--link { height: auto; padding: 0; background: none; color: var(--rh-foreground); text-decoration: underline; text-decoration-color: var(--rh-gray-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.rh-btn--link:hover { text-decoration: underline; text-decoration-color: currentColor; color: var(--rh-foreground); }
.rh-btn--destructive { background: #c81e1e; color: var(--rh-foreground); } /* --rh-destructive je pro text a ikony; plocha s textem tmavší kvůli kontrastu 5 : 1 */
.rh-btn--destructive:hover { background: #b91c1c; color: var(--rh-foreground); }
.rh-btn:disabled, .rh-btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* Impreza: [type=submit] má s !important border 2px, barvu a pozadí (selektor až 0,3,0) a vlastní ::before rámeček; proto .rh-btn.rh-btn--x */
button.rh-btn[type="submit"] { border: 1px solid transparent !important; }
button.rh-btn.rh-btn--outline[type="submit"] { border-color: var(--rh-input) !important; }
button.rh-btn.rh-btn--default[type="submit"] { color: var(--rh-primary-foreground) !important; }
button.rh-btn:not(.rh-btn--default)[type="submit"] { color: var(--rh-foreground) !important; }
button.rh-btn[type="submit"]::before { border: 0; }
button.rh-btn.rh-btn--default[type="submit"] { background: var(--rh-primary) !important; }
button.rh-btn.rh-btn--default[type="submit"]:hover { background: var(--rh-gray-200) !important; }
button.rh-btn.rh-btn--secondary[type="submit"] { background: var(--rh-secondary) !important; }
button.rh-btn.rh-btn--secondary[type="submit"]:hover { background: var(--rh-accent) !important; }
button.rh-btn.rh-btn--destructive[type="submit"] { background: #c81e1e !important; }

/* Impreza: a[href^="http"] { text-decoration: underline !important } a .no-touch a:hover { color; underline } (0,2,1).
   Odkazy-komponenty RH UI proto s html a.třída (0,2,2) a u podtržení !important. */
html a:is(.rh-btn, .rh-chip, .rh-badge, .rh-card--interactive, .rh-dropdown__item, .rh-rating__link):not(.rh-btn--link) { text-decoration: none !important; }
html a.rh-btn--link { text-decoration-line: underline !important; text-decoration-color: var(--rh-gray-600) !important; text-decoration-thickness: 1px !important; text-underline-offset: 3px !important; } /* po vlastnostech: zkratka by přepsala barvu a tloušťku (Impreza a[href^=http] je zkratka s !important) */
html a.rh-btn--link:hover, html a.rh-btn--link:focus-visible { text-decoration-color: currentColor !important; }
html a.rh-btn--default:hover, html a.rh-chip:is([aria-current="true"], [aria-pressed="true"]):hover { color: var(--rh-primary-foreground); }
html a:is(.rh-btn--secondary, .rh-btn--outline, .rh-btn--ghost, .rh-btn--link, .rh-btn--destructive, .rh-chip:not([aria-current="true"]), .rh-badge--link, .rh-card--interactive, .rh-dropdown__item):hover { color: var(--rh-foreground); }
html .rh-breadcrumb a:hover, html a.rh-rating__count:hover { color: var(--rh-foreground); }
html a.rh-rating__link:hover .rh-rating__count { color: var(--rh-foreground); }

/* ── Badge ── */
.rh-badge {
  display: inline-flex; align-items: center; gap: var(--rh-space-1); height: 24px; padding: 0 var(--rh-space-2); border-radius: var(--rh-radius-sm);
  background: var(--rh-secondary); color: var(--rh-secondary-foreground); font: 500 var(--rh-text-xs)/1 var(--rh-font); white-space: nowrap; text-decoration: none;
}
.rh-badge--light { background: var(--rh-primary); color: var(--rh-primary-foreground); font-weight: 700; }
.rh-badge--deal { background: var(--rh-deal); color: var(--rh-foreground); font-weight: 700; }
.rh-badge--exclusive { background: #000; color: var(--rh-foreground); font-weight: 700; }
.rh-badge--success { background: rgba(74, 222, 128, .12); color: var(--rh-success); }
.rh-badge--warning { background: rgba(251, 191, 36, .12); color: var(--rh-warning); }
.rh-badge--outline { background: transparent; box-shadow: inset 0 0 0 1px var(--rh-input); }
a.rh-badge--link { transition: background-color var(--rh-duration) var(--rh-ease); }
a.rh-badge--link:hover { background: var(--rh-accent); color: var(--rh-foreground); text-decoration: none; }

/* ── Chip ── */
.rh-chip {
  position: relative; display: inline-flex; align-items: center; gap: 6px; height: 36px; margin: 0; padding: 0 14px;
  border: 1px solid var(--rh-border); border-radius: var(--rh-radius-full); background: transparent; color: var(--rh-foreground);
  font: 400 var(--rh-text-md)/1 var(--rh-font); white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color var(--rh-duration) var(--rh-ease), border-color var(--rh-duration) var(--rh-ease), color var(--rh-duration) var(--rh-ease);
}
.rh-chip::before { content: ""; position: absolute; inset: -2px; }
.rh-chip:hover { background: var(--rh-secondary); border-color: var(--rh-input); color: var(--rh-foreground); text-decoration: none; }
.rh-chip--lg { gap: var(--rh-space-2); height: var(--rh-control-md); padding: 0 var(--rh-space-4); } /* 40 px jako pole formuláře */
.rh-chip--xl { gap: var(--rh-space-2); height: var(--rh-control-lg); padding: 0 var(--rh-space-5); font-size: var(--rh-text-lg); } /* 48 px, hlavní řada filtrů (Masérky) */
.rh-chip--xl > .rh-icon { width: 18px; height: 18px; }
.rh-chip--soft { border-color: transparent; background: var(--rh-secondary); }
.rh-chip--primary:hover { opacity: .9; } /* hlavní akce v řadě čipů (Filtry) */
.rh-chip.is-active { background: var(--rh-primary); border-color: var(--rh-primary); color: var(--rh-primary-foreground); } /* čip, který otevírá panel (ne přepínač): má vybranou hodnotu */
.rh-chip > .rh-icon:last-child:not(:first-child) { opacity: .7; }
.rh-chip--primary, .rh-chip--primary:hover, .rh-chip[aria-pressed="true"], .rh-chip[aria-current="true"], .rh-chip[aria-selected="true"] { background: var(--rh-primary); border-color: var(--rh-primary); color: var(--rh-primary-foreground); }

/* ── Status ── */
.rh-status { color: var(--rh-foreground); font-weight: 700; }
.rh-status--success { color: var(--rh-success); }
.rh-status--warning { color: var(--rh-warning); }

/* ── Card ── */
.rh-card { display: grid; gap: var(--rh-space-3); padding: var(--rh-space-5); border-radius: var(--rh-radius-lg); background: var(--rh-card); color: var(--rh-card-foreground); }
.rh-card--outline { background: transparent; box-shadow: inset 0 0 0 1px var(--rh-border); }
.rh-card__header { display: grid; gap: var(--rh-space-1); }
.rh-card__title { margin: 0; font: 500 var(--rh-text-lg)/1.35 var(--rh-font); color: var(--rh-card-foreground); }
.rh-card__desc { margin: 0; color: var(--rh-muted-foreground); font-size: var(--rh-text-md); line-height: 1.45; }
.rh-card__content { color: var(--rh-body); font-size: var(--rh-text-base); line-height: 1.55; }
.rh-card__footer { display: flex; flex-wrap: wrap; align-items: center; gap: var(--rh-space-2); }
a.rh-card--interactive { color: var(--rh-card-foreground); text-decoration: none; transition: background-color var(--rh-duration) var(--rh-ease); }
a.rh-card--interactive:hover { background: var(--rh-gray-800); color: var(--rh-card-foreground); text-decoration: none; }

/* ── Panel: blok sekce stránky s pozadím (vzor Yandex Travel / Booking app). Mezi panely mezera místo čar.
   Uvnitř panelu jsou karty o stupeň světlejší (--rh-card přepsaný), ať nevznikne karta v kartě stejné barvy. ── */
.rh-panel { --rh-card: var(--rh-gray-800); box-sizing: border-box; padding: var(--rh-space-4); border-radius: var(--rh-radius-2xl); background: var(--rh-panel); } /* o stupeň oblejší než karty uvnitř (lg) */
@media (min-width: 768px) { .rh-panel { padding: var(--rh-space-6); } }
.rh-panel > .rh-section-head:first-child { margin-top: 0; }
.rh-panel > :last-child { margin-bottom: 0; }

/* ── Section head ── */
.rh-section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--rh-space-3); margin-bottom: var(--rh-space-4); }
.rh-section-head__title { margin: 0; font: 500 var(--rh-text-2xl)/1.3 var(--rh-font); color: var(--rh-foreground); }
h3.rh-section-head__title { font-size: var(--rh-text-lg); }
.rh-section-head__title .rh-badge { margin-left: var(--rh-space-1); vertical-align: 3px; } /* štítek u nadpisu (počet) */
.rh-section-head__desc { margin: var(--rh-space-1) 0 0; color: var(--rh-muted-foreground); font-size: var(--rh-text-md); }

/* ── Alert (shadcn/ui Base: rámeček, plocha karty, ikona 16 px přes oba řádky, akce vpravo nahoře) ── */
.rh-alert { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; width: 100%; box-sizing: border-box; padding: 8px 10px;
  border-radius: var(--rh-radius); background: var(--rh-card); color: var(--rh-card-foreground); box-shadow: inset 0 0 0 1px var(--rh-border);
  font: 400 var(--rh-text-md)/1.45 var(--rh-font); text-align: left; }
.rh-alert--icon { grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; }
.rh-alert > .rh-icon { grid-row: span 2; transform: translateY(2px); color: currentColor; }
.rh-alert--action { padding-right: 72px; }
.rh-alert__title { font-weight: 500; }
.rh-alert--icon .rh-alert__title, .rh-alert--icon .rh-alert__description { grid-column: 2; }
.rh-alert__description { color: var(--rh-muted-foreground); text-wrap: balance; }
@media (min-width: 768px) { .rh-alert__description { text-wrap: pretty; } }
.rh-alert__description p { margin: 0; }
.rh-alert__description p:not(:last-child) { margin-bottom: 16px; }
.rh-alert :is(.rh-alert__title, .rh-alert__description) a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
html .rh-alert :is(.rh-alert__title, .rh-alert__description) a:hover { color: var(--rh-foreground); }
.rh-alert__action { position: absolute; top: 8px; right: 8px; }
/* destructive: barva textu a ikony, plocha zůstává (jako shadcn) */
.rh-alert--destructive { color: var(--rh-destructive); }
.rh-alert--destructive .rh-alert__description { color: var(--rh-destructive); } /* plná barva: 90 % mělo kontrast jen 3,96 : 1 */
/* warning a success: tónovaná plocha a rámeček (jako ukázka barev v shadcn, tmavý režim) */
.rh-alert--warning { background: #2a1d05; color: #fde68a; box-shadow: inset 0 0 0 1px #713f12; }
.rh-alert--warning .rh-alert__description { color: rgba(253, 230, 138, .8); }
.rh-alert--success { background: #062a14; color: #bbf7d0; box-shadow: inset 0 0 0 1px #14532d; }
.rh-alert--success .rh-alert__description { color: rgba(187, 247, 208, .8); }

/* ── Empty state ── */
.rh-empty { display: grid; justify-items: center; gap: var(--rh-space-2); padding: var(--rh-space-8) var(--rh-space-4); border-radius: var(--rh-radius-lg); background: var(--rh-card); text-align: center; }
.rh-empty > .rh-icon { color: var(--rh-muted-foreground); }
.rh-empty__title { margin: 0; color: var(--rh-foreground); font: 500 var(--rh-text-lg)/1.35 var(--rh-font); }
.rh-empty__text { margin: 0; max-width: 40ch; color: var(--rh-muted-foreground); font-size: var(--rh-text-md); line-height: 1.5; }
.rh-empty__action { margin-top: var(--rh-space-2); }

/* ── Form ── */
.rh-field { display: grid; gap: 6px; }
.rh-fieldset { display: grid; gap: var(--rh-space-1); margin: 0; padding: 0; border: 0; min-width: 0; }
.rh-fieldset > legend { margin-bottom: var(--rh-space-1); padding: 0; }
.rh-label { color: var(--rh-foreground); font: 500 var(--rh-text-md)/1.3 var(--rh-font); }
.rh-field__hint { margin: 0; color: var(--rh-muted-foreground); font-size: var(--rh-text-sm); line-height: 1.4; }
.rh-field__error { margin: 0; color: var(--rh-destructive); font-size: var(--rh-text-sm); line-height: 1.4; }
html :is(input, select, textarea):is(.rh-input, .rh-select, .rh-textarea) {
  min-height: 0; box-sizing: border-box; width: 100%; height: var(--rh-control-md); margin: 0; padding: 0 var(--rh-space-3);
  border: 1px solid var(--rh-input); border-radius: var(--rh-radius); background: transparent; color: var(--rh-foreground);
  font: 400 16px/1.4 var(--rh-font); box-shadow: none; -webkit-appearance: none; appearance: none;
  transition: border-color var(--rh-duration) var(--rh-ease);
}
.rh-input::placeholder, .rh-textarea::placeholder { color: #737373; opacity: 1; }
html :is(.rh-input, .rh-select, .rh-textarea):hover { border-color: var(--rh-gray-600); }
html :is(input, select, textarea):is(.rh-input, .rh-select, .rh-textarea):focus { border-color: var(--rh-ring); outline: none; box-shadow: 0 0 0 1px var(--rh-ring); }
html :is(.rh-input, .rh-select, .rh-textarea)[aria-invalid="true"] { border-color: var(--rh-destructive); }
/* Pole hledání (rh_field 'search'): lupa vlevo, bez nativního vzhledu Safari, křížek prohlížeče jen při psaní */
.rh-input-icon { position: relative; }
.rh-input-icon > .rh-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--rh-muted-foreground); pointer-events: none; }
html .rh-input-icon > input.rh-input { padding-left: 44px; -webkit-appearance: none; appearance: none; }
.rh-input-icon > input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
html textarea.rh-textarea { height: auto; min-height: 112px; padding: var(--rh-space-3); resize: vertical; }
html select.rh-select { padding-right: 40px; cursor: pointer; background-repeat: no-repeat; background-position: right 12px center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a3a3a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.rh-select option { background: var(--rh-card); color: var(--rh-foreground); }
.rh-input:disabled, .rh-select:disabled, .rh-textarea:disabled { opacity: .5; cursor: not-allowed; }
.rh-choice { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: var(--rh-foreground); font: 400 var(--rh-text-base)/1.4 var(--rh-font); cursor: pointer; }
html input.rh-check { box-sizing: border-box; flex: none; line-height: normal; font-size: inherit; visibility: visible; display: grid; place-content: center; width: 18px; height: 18px; margin: 0; border: 1px solid var(--rh-gray-600); border-radius: 4px;
  background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; transition: background-color var(--rh-duration), border-color var(--rh-duration); }
html input.rh-check[type="radio"] { border-radius: 50%; }
html input.rh-check::before { content: ""; visibility: visible; display: block; margin: 0; font-family: inherit; width: 10px; height: 10px; background: var(--rh-primary-foreground); transform: scale(0); transition: transform var(--rh-duration) var(--rh-ease); }
html input.rh-check[type="checkbox"]::before { clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%); }
html input.rh-check[type="radio"]::before { width: 8px; height: 8px; border-radius: 50%; }
html input.rh-check:checked { background: var(--rh-primary); border-color: var(--rh-primary); }
html input.rh-check:checked::before { transform: scale(1); }
html input.rh-check[role="switch"] { width: 36px; height: 20px; padding: 2px; border-radius: var(--rh-radius-full); place-content: center start; background: var(--rh-secondary); border-color: transparent; }
html input.rh-check[role="switch"]::before { width: 16px; height: 16px; border-radius: 50%; clip-path: none; background: var(--rh-muted-foreground); transform: none; transition: transform var(--rh-duration) var(--rh-ease), background-color var(--rh-duration); }
html input.rh-check[role="switch"]:checked { background: var(--rh-success); }
html input.rh-check[role="switch"]:checked::before { transform: translateX(16px); background: var(--rh-primary-foreground); }

/* ── Accordion ── */
.rh-accordion { display: grid; gap: var(--rh-space-2); }
.rh-accordion__item { border-radius: var(--rh-radius-lg); background: var(--rh-card); }
.rh-accordion__trigger { display: flex; align-items: center; justify-content: space-between; gap: var(--rh-space-3); min-height: 48px; padding: var(--rh-space-3) var(--rh-space-4);
  color: var(--rh-foreground); font: 500 var(--rh-text-base)/1.4 var(--rh-font); list-style: none; cursor: pointer; }
.rh-accordion__trigger::-webkit-details-marker { display: none; }
.rh-accordion__trigger .rh-icon { color: var(--rh-muted-foreground); transition: transform var(--rh-duration-slow) var(--rh-ease); }
.rh-accordion__item[open] .rh-accordion__trigger .rh-icon { transform: rotate(180deg); }
.rh-accordion__content { padding: 0 var(--rh-space-4) var(--rh-space-4); color: var(--rh-body); font-size: var(--rh-text-base); line-height: 1.55; }
.rh-accordion__content > :first-child { margin-top: 0; }
.rh-accordion__content > :last-child { margin-bottom: 0; }

/* ── Avatar ── */
.rh-avatar { display: inline-grid; place-items: center; flex: none; overflow: hidden; border-radius: 50%; background: var(--rh-secondary); box-shadow: 0 0 0 1px var(--rh-border);
  color: var(--rh-foreground); font: 500 var(--rh-text-lg)/1 var(--rh-font); }
.rh-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rh-avatar--sm { width: 32px; height: 32px; font-size: var(--rh-text-sm); }
.rh-avatar--md { width: 44px; height: 44px; }
.rh-avatar--lg { width: 72px; height: 72px; font-size: var(--rh-text-2xl); }

/* ── Skeleton ── */
.rh-skeleton { display: block; min-height: 12px; border-radius: var(--rh-radius); background: var(--rh-secondary); animation: rh-pulse 1.6s ease-in-out infinite; }
@keyframes rh-pulse { 50% { opacity: .5; } }

/* ── Breadcrumb ── */
.rh-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--rh-space-2); margin: 0; padding: 0; list-style: none; color: var(--rh-muted-foreground); font: 400 var(--rh-text-md)/20px var(--rh-font); }
.rh-breadcrumb li { display: inline-flex; align-items: center; gap: var(--rh-space-2); margin: 0; }
.rh-breadcrumb li + li::before { content: "›"; content: "›" / ""; /* první pro starší prohlížeče */ color: #6b6b6b; font-size: var(--rh-text-lg); line-height: 1; }
.rh-breadcrumb a { display: inline-flex; align-items: center; min-height: 24px; color: var(--rh-muted-foreground); text-decoration: none; }
.rh-breadcrumb a:hover { color: var(--rh-foreground); text-decoration: underline; text-underline-offset: 3px; }
.rh-breadcrumb [aria-current="page"] { color: var(--rh-foreground); }

/* ── Rating ── */
.rh-rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font: 400 var(--rh-text-md)/1 var(--rh-font); }
.rh-rating__stars { position: relative; display: inline-block; width: 5.6em; height: 1em; font-size: 14px;
  background: linear-gradient(90deg, var(--rh-rating) var(--rh-rating-fill, 100%), var(--rh-gray-700) 0);
  -webkit-mask: var(--rh-star) 0 0 / 1.12em 1em repeat-x;
          mask: var(--rh-star) 0 0 / 1.12em 1em repeat-x; }
.rh-rating__value { color: var(--rh-foreground); font-weight: 500; font-variant-numeric: tabular-nums; }
.rh-rating__count { color: var(--rh-muted-foreground); text-decoration: none; }
a.rh-rating__count:hover { color: var(--rh-foreground); text-decoration: underline; text-underline-offset: 3px; }
.rh-rating--sm .rh-rating__stars { font-size: 12px; }
.rh-rating--sm { font-size: var(--rh-text-sm); }
.rh-rating--lg .rh-rating__stars { font-size: 18px; }
.rh-rating--lg .rh-rating__value { font-size: var(--rh-text-4xl); }
.rh-rating--single { gap: 6px; flex-wrap: nowrap; }
.rh-rating--single .rh-rating__stars { width: 1.12em; } /* jedna hvězda, vyplnění podle hodnocení */
.rh-rating--lg.rh-rating--single .rh-rating__stars { font-size: 28px; }

.rh-rating--compact { gap: 4px; }
.rh-rating__link { display: inline-flex; align-items: center; gap: 4px; color: inherit; text-decoration: none; }
.rh-rating__star { display: inline-flex; color: var(--rh-rating); }
.rh-rating__star svg { fill: currentColor; transform: translateY(-1px); } /* optický střed vůči číslicím */
.rh-rating__sep { color: var(--rh-muted-foreground); } /* tečka mimo počet: podtržený odkaz „43 recenzí“ ji nepodtrhne */

/* ── Price (.rh-price[data-czk] je starší obal ceny z inc/rh-currency.php, proto :not) ── */
.rh-price:not([data-czk]) { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; font: 400 var(--rh-text-base)/1.3 var(--rh-font); font-variant-numeric: tabular-nums; }
.rh-price__now { color: var(--rh-foreground); font-weight: 500; }
.rh-price__old { color: var(--rh-muted-foreground); font-size: var(--rh-text-sm); }
.rh-price__from, .rh-price__unit { color: var(--rh-muted-foreground); font-size: var(--rh-text-sm); }

/* ── Tabs (bez .is-ready = bez JS: lišta skrytá, panely pod sebou s nadpisem) ── */
.rh-tabs__list { display: none; }
.rh-tabs__fallback { margin: var(--rh-space-4) 0 var(--rh-space-2); font: 500 var(--rh-text-lg)/1.35 var(--rh-font); color: var(--rh-foreground); }
html.rh-js .rh-tabs__fallback { display: none; }
html.rh-js .rh-tabs__panel[data-rh-hidden] { display: none; } /* před načtením tabs.js: bez poskočení */
html.rh-js .rh-tabs__list { display: inline-flex; gap: 2px; max-width: 100%; padding: 4px; border-radius: var(--rh-radius-lg); background: var(--rh-card); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.rh-tabs__list::-webkit-scrollbar { display: none; }
.rh-tabs__tab { flex: none; height: var(--rh-control-sm); margin: 0; padding: 0 var(--rh-space-3); border: 0; border-radius: var(--rh-radius); background: transparent;
  color: var(--rh-muted-foreground); font: 500 var(--rh-text-md)/1 var(--rh-font); cursor: pointer; transition: background-color var(--rh-duration), color var(--rh-duration); }
.rh-tabs__tab:hover { color: var(--rh-foreground); background: transparent; }
.rh-tabs__tab[aria-selected="true"] { background: var(--rh-secondary); color: var(--rh-foreground); }
html.rh-js .rh-tabs__panel { padding-top: var(--rh-space-4); }
.rh-tabs__panel[hidden] { display: none; }

/* ── App bar: kompaktní lišta nahoře, plynule se objevuje podle posunu (rh_app_bar, js/rh-ui/app-bar.js, --rh-app-bar-progress 0–1) ── */
.rh-app-bar { --p: var(--rh-app-bar-progress, 0); position: fixed; top: var(--wp-admin--admin-bar--height, 0px); left: 0; right: 0; z-index: 95;
  background: color-mix(in srgb, var(--rh-background) calc(var(--p) * 100%), transparent); pointer-events: none; }
.rh-app-bar.is-visible { pointer-events: auto; }
@media (max-width: 600px) { .rh-app-bar { top: 0; } } /* lišta WP je na mobilu jen nahoře stránky, ne pevná */
.rh-app-bar__inner { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: var(--rh-space-2); max-width: 1130px; height: 56px; margin: 0 auto; padding: 0 var(--rh-space-2); box-sizing: border-box; }
.rh-app-bar__side { display: flex; align-items: center; opacity: var(--p); }
.rh-app-bar__side--end { justify-content: flex-end; }
.rh-app-bar__title { margin: 0; overflow: hidden; color: var(--rh-foreground); font: 500 var(--rh-text-lg)/1.2 var(--rh-font); text-align: center; text-overflow: ellipsis; white-space: nowrap;
  opacity: var(--p); transform: translateY(calc((1 - var(--p)) * 6px)); }

/* ── Dialog (stejná plocha, hlavička, zavírání a patička jako Drawer v css/drawer.css) ── */
html.rh-scroll-lock { overflow: hidden; }
html.rh-scroll-lock body { padding-right: var(--rh-scrollbar, 0px); } /* bez poskočení o šířku posuvníku */
.rh-dialog { display: flex; flex-direction: column; width: min(var(--rh-modal-width), calc(100vw - 32px)); max-height: min(85dvh, 760px); margin: auto; padding: 0;
  border: 0; border-radius: var(--rh-radius-xl); background: var(--rh-popover); color: var(--rh-foreground); box-shadow: 0 20px 50px rgba(0, 0, 0, .55); overflow: hidden; }
.rh-dialog:not([open]) { display: none; }
.rh-dialog::backdrop { background: var(--rh-overlay); }
.rh-dialog[open] { animation: rh-modal-in var(--rh-duration-slow) var(--rh-ease); }
@keyframes rh-modal-in { from { opacity: 0; transform: translateY(4px) scale(.97); } }
.rh-dialog__header { display: flex; align-items: flex-start; gap: var(--rh-space-2); flex: none; padding: 12px 12px 0 var(--rh-modal-pad); }
.rh-dialog__heading { flex: 1; min-width: 0; padding-top: 8px; } /* zavírací tlačítko nahoře, titulek na jeho střed (i s popisem) */
.rh-dialog__title { margin: 0; font: 500 var(--rh-text-xl)/1.3 var(--rh-font); color: var(--rh-foreground); }
.rh-dialog__desc { margin: 2px 0 0; color: var(--rh-muted-foreground); font-size: var(--rh-text-md); line-height: 1.4; }
.rh-dialog__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: var(--rh-modal-pad); color: var(--rh-body); font-size: var(--rh-text-base); line-height: 1.55; }
.rh-dialog__body > :first-child { margin-top: 0; }
.rh-dialog__body > :last-child { margin-bottom: 0; }
.rh-dialog__footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--rh-space-2); flex: none; padding: 0 var(--rh-modal-pad) var(--rh-modal-pad); }

/* ── Dropdown ── */
.rh-dropdown { position: relative; display: inline-block; }
.rh-dropdown [aria-expanded="true"] .rh-icon:last-child { transform: rotate(180deg); }
.rh-dropdown__menu { position: fixed; z-index: 100001; inset: auto; margin: 0; min-width: 200px; max-width: calc(100vw - 16px); padding: var(--rh-space-1); border: 0;
  border-radius: var(--rh-radius-lg); background: var(--rh-popover); color: var(--rh-foreground); box-shadow: var(--rh-shadow); }
.rh-dropdown__menu:not(.is-open) { display: none; } /* bez Popover API: jen třída is-open (rh-ui/dropdown.js) */
.rh-dropdown__menu:popover-open { display: block; } /* samostatně: neznámý selektor by v starém prohlížeči zrušil celé pravidlo */
.rh-dropdown__item { display: flex; align-items: center; gap: var(--rh-space-2); width: 100%; min-height: 40px; margin: 0; padding: 0 var(--rh-space-3); border: 0; border-radius: var(--rh-radius);
  background: transparent; color: var(--rh-foreground); font: 400 var(--rh-text-md)/1.2 var(--rh-font); text-align: left; text-decoration: none; cursor: pointer; }
.rh-dropdown__item:hover, .rh-dropdown__item:focus-visible { background: var(--rh-accent); color: var(--rh-foreground); text-decoration: none; outline: none; }
@media (max-width: 767px) { /* mobil: list zespodu */
  .rh-dropdown__menu { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); top: auto; width: auto; min-width: 0; max-width: none; /* width: popover má v prohlížeči fit-content */ padding: var(--rh-space-2); border-radius: var(--rh-radius-xl); }
  .rh-dropdown__item { min-height: 48px; font-size: var(--rh-text-base); }
}

/* ── Tooltip ── */
.rh-tooltip { position: fixed; z-index: 100001; max-width: 260px; padding: 6px 10px; border-radius: var(--rh-radius); background: var(--rh-primary); color: var(--rh-primary-foreground);
  font: 500 var(--rh-text-sm)/1.35 var(--rh-font); pointer-events: none; }

/* ── Toast ── */
.rh-toaster { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 100002; display: grid; justify-items: center; pointer-events: none; }
.rh-toast { display: flex; align-items: center; gap: var(--rh-space-3); max-width: 420px; width: 100%; padding: var(--rh-space-3) var(--rh-space-3) var(--rh-space-3) var(--rh-space-4);
  border-radius: var(--rh-radius-lg); background: var(--rh-popover); color: var(--rh-foreground); box-shadow: var(--rh-shadow); font: 400 var(--rh-text-md)/1.4 var(--rh-font);
  pointer-events: auto; animation: rh-toast-in var(--rh-duration-slow) var(--rh-ease); }
.rh-toast p { flex: 1; margin: 0; }
.rh-toast--success { box-shadow: var(--rh-shadow), inset 3px 0 0 var(--rh-success); }
.rh-toast--destructive { box-shadow: var(--rh-shadow), inset 3px 0 0 var(--rh-destructive); }
.rh-toast__close { display: grid; place-items: center; width: 32px; height: 32px; margin: 0; padding: 0; border: 0; border-radius: var(--rh-radius); background: transparent; color: var(--rh-muted-foreground); cursor: pointer; }
.rh-toast__close:hover { background: var(--rh-accent); color: var(--rh-foreground); }
.rh-toast.is-leaving { opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; }
@keyframes rh-toast-in { from { opacity: 0; transform: translateY(8px); } }
@media (min-width: 768px) { .rh-toaster { left: auto; right: 24px; bottom: 24px; justify-items: end; } }

/* ── Karusel ── */
.rh-carousel { position: relative; }
.rh-carousel__track { display: flex; gap: var(--rh-space-3); margin: 0 -16px; padding: 0 16px 4px; list-style: none; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
.rh-carousel__track::-webkit-scrollbar { display: none; }
.rh-carousel__item { flex: 0 0 var(--rh-carousel-item, 85%); margin: 0; scroll-snap-align: start; }
.rh-carousel__item::marker { content: none; }
.rh-carousel__nav { display: none; }
.rh-carousel__counter { margin: var(--rh-space-2) 0 0; color: var(--rh-muted-foreground); font-size: var(--rh-text-sm); text-align: center; font-variant-numeric: tabular-nums; }
.rh-carousel:not([data-counter]) .rh-carousel__counter { display: none; }
@media (min-width: 768px) {
  .rh-carousel__track { margin: 0; padding: 0 0 4px; scroll-padding-inline: 0; }
  .rh-carousel__item { flex-basis: var(--rh-carousel-item-lg, 300px); }
}
@media (min-width: 1025px) and (hover: hover) {
  .rh-carousel.is-ready .rh-carousel__nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; margin: -20px 0 0; padding: 0;
    border: 0; border-radius: 50%; background: var(--rh-secondary); color: var(--rh-foreground); cursor: pointer; opacity: .72; transition: opacity var(--rh-duration), background-color var(--rh-duration); } /* secondary a ztlumené, nepřebíjí obsah */
  .rh-carousel.is-ready .rh-carousel__nav:is(:hover, :focus-visible) { opacity: 1; background: var(--rh-accent); }
  .rh-carousel__nav--prev { left: -20px; }
  .rh-carousel__nav--next { right: -20px; }
  .rh-carousel.is-ready .rh-carousel__nav:disabled { opacity: 0; pointer-events: none; }
}

/* ── Impreza: barvy šablony (Nastavení → Barvy) převedené na paletu RH UI. DB beze změny; html:root přebije :root z us-assets.
   Starý stav vrátí smazání tohoto bloku. ── */
html:root {
  --color-content-bg: var(--rh-gray-950); --color-content-bg-grad: var(--rh-gray-950);
  --color-content-bg-alt: var(--rh-gray-900); --color-content-bg-alt-grad: var(--rh-gray-900);
  --color-content-border: var(--rh-gray-800);
  --color-content-heading: var(--rh-gray-50); --color-content-heading-grad: var(--rh-gray-50);
  --color-content-text: var(--rh-gray-50);
  --color-content-link: var(--rh-gray-300); --color-content-link-hover: var(--rh-gray-50);
  --color-content-secondary: var(--rh-gray-400); --color-content-secondary-grad: var(--rh-gray-400);
  --color-content-faded: var(--rh-gray-200);
  --color-alt-content-bg: var(--rh-gray-950); --color-alt-content-bg-grad: var(--rh-gray-950);
  --color-alt-content-bg-alt: var(--rh-gray-900); --color-alt-content-bg-alt-grad: var(--rh-gray-900);
  --color-alt-content-border: var(--rh-gray-800);
  --color-alt-content-heading: var(--rh-gray-50); --color-alt-content-heading-grad: var(--rh-gray-50);
  --color-alt-content-text: var(--rh-gray-50);
  --color-alt-content-link: var(--rh-gray-500); --color-alt-content-link-hover: var(--rh-gray-300);
  --color-alt-content-secondary: var(--rh-gray-400); --color-alt-content-secondary-grad: var(--rh-gray-400);
  --color-alt-content-faded: var(--rh-gray-200);
  --color-footer-bg: var(--rh-gray-950); --color-footer-bg-grad: var(--rh-gray-950);
  --color-footer-bg-alt: var(--rh-gray-900); --color-footer-bg-alt-grad: var(--rh-gray-900);
  --color-footer-border: var(--rh-gray-800);
  --color-footer-text: var(--rh-gray-50); --color-footer-link: var(--rh-gray-300); --color-footer-link-hover: var(--rh-gray-400);
  --color-subfooter-bg: var(--rh-gray-950); --color-subfooter-bg-grad: var(--rh-gray-950);
  --color-subfooter-bg-alt: var(--rh-gray-900); --color-subfooter-bg-alt-grad: var(--rh-gray-900);
  --color-subfooter-border: var(--rh-gray-800);
  --color-subfooter-text: var(--rh-gray-50); --color-subfooter-link: var(--rh-gray-300); --color-subfooter-link-hover: var(--rh-gray-400);
  --color-header-middle-bg: var(--rh-gray-950); --color-header-middle-bg-grad: var(--rh-gray-950);
  --color-header-middle-text: var(--rh-gray-50); --color-header-middle-text-hover: var(--rh-gray-300);
  --color-header-top-bg: var(--rh-gray-950); --color-header-top-bg-grad: var(--rh-gray-950);
  --color-header-top-text: var(--rh-gray-50); --color-header-top-text-hover: var(--rh-gray-300);
  --color-header-transparent-text: var(--rh-gray-50); --color-header-transparent-text-hover: var(--rh-gray-300);
  --color-header-top-transparent-text-hover: var(--rh-gray-50);
  --color-collumn: var(--rh-gray-900); --color-collum-br: var(--rh-gray-800);
  --color-darkertx: var(--rh-gray-400);
}

/* ── Hvězdy ostatních částí webu sjednocené na Lucide (--rh-star) ── */
/* Font Awesome fa-star (karty masáží z Grid layoutů, panel akce): glyf nahrazený maskou v barvě textu */
html .fa-star::before { content: "" !important; display: inline-block; width: 1em; height: 1em; vertical-align: -.125em; background-color: currentColor;
  -webkit-mask: var(--rh-star) center / contain no-repeat; mask: var(--rh-star) center / contain no-repeat; }
/* Site Reviews: hvězdy pluginu (obrázky) jako maska, plná zlatá, prázdná šedá 700, poloviční napůl */
html .glsr-star { background: none !important; background-color: var(--rh-gray-700) !important;
  -webkit-mask: var(--rh-star) center / contain no-repeat; mask: var(--rh-star) center / contain no-repeat; }
html .glsr-star-full { background-color: var(--rh-rating) !important; }
html .glsr-star-half { background-color: transparent !important; background-image: linear-gradient(90deg, var(--rh-rating) 50%, var(--rh-gray-700) 50%) !important; }
/* Formulář Site Reviews: výběr hvězd (prázdná šedá 700, aktivní zlatá, chyba červená) */
html form.glsr-form .glsr-star-rating--stars[class*=" s"] > span { background: none !important; background-color: var(--rh-gray-700) !important;
  -webkit-mask: var(--rh-star) center / 85% no-repeat; mask: var(--rh-star) center / 85% no-repeat; }
html form.glsr-form .glsr-star-rating--stars[class*=" s"] > span.gl-active { background-color: var(--rh-rating) !important; }
html form.glsr-form .glsr-field-is-invalid .glsr-star-rating--stars[class*=" s"] > span { background-color: var(--rh-destructive) !important; }

/* Patička: právní text „Tento web není nabídka…“ má v Impreze (DB) šedou #808080 a 10 px = kontrast 4,4 : 1 (pod WCAG AA).
   Přebito na popisky palety (400) a 12 px; DB beze změny. */
html body .us_custom_15a21475, html body .us_custom_69ddb985 { color: var(--rh-gray-400) !important; }
html body .us_custom_15a21475 { font-size: 12px !important; line-height: 1.5 !important; }
