/* Edithor 306 – cookie bar, preferences dialog, re-open icon, blocked embed placeholder, [COOKIES] table */
.wms-ck {
  --wms-ck-pozadi: #fff;
  --wms-ck-text: #1d2330;
  --wms-ck-akcent: #111;
  --wms-ck-zaobleni: 12px;
  --wms-ck-tlumene: color-mix(in srgb, var(--wms-ck-text) 62%, transparent);
  --wms-ck-cara: color-mix(in srgb, var(--wms-ck-text) 14%, transparent);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  color: var(--wms-ck-text);
  box-sizing: border-box;
}
.wms-ck *, .wms-ck *::before, .wms-ck *::after { box-sizing: inherit; }
.wms-ck p { margin: 0; }

.wms-ck-lista { position: fixed; z-index: 2147483000; opacity: 0; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease; }
.wms-ck-lista.wms-ck-viditelne, .wms-ck-dialog.wms-ck-viditelne { opacity: 1; transform: none; }
.wms-ck-panel { display: flex; flex-direction: column; gap: 14px; padding: 20px; background: var(--wms-ck-pozadi); border: 1px solid var(--wms-ck-cara); border-radius: var(--wms-ck-zaobleni); box-shadow: 0 18px 50px rgba(0, 0, 0, .18); }
.wms-ck-nadpis { display: block; margin-bottom: 6px; font-size: 16px; }
.wms-ck-obsah p { color: var(--wms-ck-tlumene); }

.wms-ck-box-vlevo, .wms-ck-box-vpravo { bottom: 16px; width: min(400px, calc(100vw - 32px)); }
.wms-ck-box-vlevo { left: 16px; }
.wms-ck-box-vpravo { right: 16px; }
.wms-ck-dole { left: 0; right: 0; bottom: 0; }
.wms-ck-dole .wms-ck-panel { flex-direction: row; align-items: center; gap: 24px; padding: 16px max(20px, calc((100vw - 1200px) / 2)); border-radius: 0; border-width: 1px 0 0; }
.wms-ck-dole .wms-ck-obsah { flex: 1; }
.wms-ck-stred { inset: 0; display: grid; place-items: center; padding: 16px; }
.wms-ck-stred .wms-ck-panel { position: relative; width: min(520px, 100%); padding: 26px; }

.wms-ck-pozadi-okna { position: absolute; inset: 0; background: rgba(10, 12, 18, .45); }

.wms-ck-tlacitka { display: flex; flex-wrap: wrap; gap: 8px; }
.wms-ck-box-vlevo .wms-ck-tlacitka > *, .wms-ck-box-vpravo .wms-ck-tlacitka > *, .wms-ck-stred .wms-ck-tlacitka > * { flex: 1 1 auto; }
.wms-ck-tlacitko { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 9px 16px; border: 1px solid var(--wms-ck-akcent); border-radius: calc(var(--wms-ck-zaobleni) * .6); background: var(--wms-ck-akcent); color: var(--wms-ck-pozadi); font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; transition: filter .15s; }
.wms-ck-tlacitko:hover { filter: brightness(1.12); }
.wms-ck-tlacitko.wms-ck-druhe { background: transparent; color: var(--wms-ck-text); border-color: var(--wms-ck-cara); }
.wms-ck-tlacitko.wms-ck-druhe:hover { border-color: var(--wms-ck-text); filter: none; }
.wms-ck-tlacitko:focus-visible, .wms-ck button:focus-visible, .wms-ck input:focus-visible + span { outline: 2px solid var(--wms-ck-akcent); outline-offset: 2px; }
.wms-ck-odkaz { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

.wms-ck-dialog { position: fixed; inset: 0; z-index: 2147483001; display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .2s ease; }
.wms-ck-okno { position: relative; display: flex; flex-direction: column; width: min(640px, 100%); max-height: min(720px, calc(100vh - 32px)); background: var(--wms-ck-pozadi); border-radius: var(--wms-ck-zaobleni); box-shadow: 0 24px 70px rgba(0, 0, 0, .3); overflow: hidden; }
.wms-ck-okno-hlava { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--wms-ck-cara); font-size: 17px; }
.wms-ck-zavrit { width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.wms-ck-zavrit:hover { background: var(--wms-ck-cara); }
.wms-ck-okno-telo { flex: 1; padding: 18px 22px; overflow-y: auto; }
.wms-ck-okno-telo > p { margin-bottom: 14px; color: var(--wms-ck-tlumene); }
.wms-ck-okno-pata { padding: 14px 22px; border-top: 1px solid var(--wms-ck-cara); }
.wms-ck-okno-pata .wms-ck-tlacitka { justify-content: flex-end; }

.wms-ck-kategorie { padding: 12px 0; border-top: 1px solid var(--wms-ck-cara); }
.wms-ck-kat-hlava { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wms-ck-rozbalit { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 600; cursor: pointer; text-align: left; }
.wms-ck-sipka { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .15s; }
.wms-ck-rozbalit[aria-expanded="true"] .wms-ck-sipka { transform: rotate(45deg); }
.wms-ck-pocet { min-width: 20px; padding: 0 6px; border-radius: 10px; background: var(--wms-ck-cara); font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }
.wms-ck-vzdy { font-size: 12px; font-weight: 600; color: var(--wms-ck-tlumene); white-space: nowrap; }
.wms-ck-kat-popis { margin-top: 4px !important; padding-left: 16px; font-size: 13px; color: var(--wms-ck-tlumene); }
.wms-ck-detail { margin-top: 10px; padding-left: 16px; }
.wms-ck-prazdne { font-size: 13px; font-style: italic; color: var(--wms-ck-tlumene); }

.wms-ck-prepinac { position: relative; display: inline-block; flex: none; width: 40px; height: 22px; cursor: pointer; }
.wms-ck-prepinac input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.wms-ck-prepinac span[aria-hidden] { position: absolute; inset: 0; border-radius: 11px; background: var(--wms-ck-cara); transition: background .15s; pointer-events: none; }
.wms-ck-prepinac span[aria-hidden]::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s; }
.wms-ck-prepinac input:checked + span { background: var(--wms-ck-akcent); }
.wms-ck-prepinac input:checked + span::after { transform: translateX(18px); }
.wms-ck-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wms-ck-tabulka-obal { overflow-x: auto; }
.wms-ck-tabulka { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.wms-ck-tabulka th, .wms-ck-tabulka td { padding: 6px 8px; border-bottom: 1px solid var(--wms-ck-cara, rgba(0, 0, 0, .1)); text-align: left; vertical-align: top; }
.wms-ck-tabulka th { font-weight: 600; white-space: nowrap; }
.wms-ck-tabulka code { font-size: 12px; word-break: break-all; }

.wms-ck-ikona { position: fixed; bottom: 16px; z-index: 2147482999; }
.wms-ck-ikona-vlevo { left: 16px; }
.wms-ck-ikona-vpravo { right: 16px; }
.wms-ck-ikona button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--wms-ck-cara); border-radius: 50%; background: var(--wms-ck-pozadi); color: var(--wms-ck-text); box-shadow: 0 6px 20px rgba(0, 0, 0, .15); cursor: pointer; transition: transform .15s; }
.wms-ck-ikona button:hover { transform: scale(1.06); }
.wms-ck-ikona svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.wms-ck-ikona svg circle { fill: currentColor; stroke: none; }

.wms-ck-misto { display: grid; place-items: center; width: 100%; padding: 24px; border: 1px dashed rgba(0, 0, 0, .2); border-radius: 10px; background: rgba(0, 0, 0, .03); font-size: 14px; text-align: center; }
.wms-ck-misto p { max-width: 420px; margin: 0 auto 12px; }
.wms-ck-misto .wms-ck-tlacitko, .wms-ck-deklarace .wms-ck-tlacitko { --wms-ck-akcent: #111; --wms-ck-pozadi: #fff; --wms-ck-zaobleni: 10px; }
.wms-ck-deklarace .wms-ck-tabulka-obal { margin-bottom: 16px; }

@media (max-width: 760px) {
  .wms-ck-dole .wms-ck-panel { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
  .wms-ck-box-vlevo, .wms-ck-box-vpravo { left: 8px; right: 8px; bottom: 8px; width: auto; }
  .wms-ck-tlacitka > * { flex: 1 1 auto; }
  .wms-ck-okno-pata .wms-ck-tlacitka { flex-direction: column-reverse; }
}
@media (prefers-reduced-motion: reduce) {
  .wms-ck-lista, .wms-ck-dialog { transition: none; transform: none; }
}
