/*
 * Probel Consent banner. Plain colours that suit most themes; a theme may set its own through the custom
 * properties on :root (--probel-consent-accent, --probel-consent-bg, --probel-consent-text, ...).
 */
.pc, .pc-reopen, .pc-embed, .pc-cookies {
  --pc-bg: var(--probel-consent-bg, #ffffff);
  --pc-text: var(--probel-consent-text, #1d1d1f);
  --pc-muted: var(--probel-consent-muted, #55555c);
  --pc-border: var(--probel-consent-border, #d7d7de);
  --pc-accent: var(--probel-consent-accent, #1f5f3f);
  --pc-on-accent: var(--probel-consent-on-accent, #ffffff);
  --pc-soft: var(--probel-consent-soft, #f3f3f6);
  --pc-radius: var(--probel-consent-radius, 12px);
}
.pc {
  --pc-pad: 20px;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483000;
  display: flex;
  justify-content: center;
  padding: 0 16px max(16px, env(safe-area-inset-bottom));
  pointer-events: none;
  font-family: var(--probel-consent-font, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
}
.pc *, .pc *::before, .pc *::after { box-sizing: border-box; }
.pc[hidden], .pc [hidden], .pc-reopen[hidden] { display: none !important; }
.pc__panel {
  pointer-events: auto;
  width: 100%;
  max-width: 920px;
  max-height: min(85vh, 760px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--pc-bg);
  color: var(--pc-text);
  border: 1px solid var(--pc-border);
  border-radius: var(--pc-radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .28);
  padding: var(--pc-pad) 22px;
}
.pc .pc__title { margin: 0 0 6px; font-family: inherit; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--pc-text); text-transform: none; letter-spacing: normal; }
.pc__title:focus { outline: none; }
.pc .pc__text { margin: 0 0 12px; color: var(--pc-muted); }
.pc a { color: var(--pc-accent); text-decoration: underline; }
.pc .pc__note { margin: 0 0 12px; padding: 8px 12px; border-radius: 10px; background: var(--pc-soft); color: var(--pc-text); font-size: 14px; }
.pc__details { margin: 0 0 14px; display: grid; gap: 10px; }
.pc__cat { border: 1px solid var(--pc-border); border-radius: 12px; padding: 12px 14px; background: var(--pc-soft); }
.pc__cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pc .pc__cat-name { font-weight: 600; margin: 0; font-size: 15px; color: var(--pc-text); }
.pc .pc__cat-text { margin: 6px 0 0; color: var(--pc-muted); font-size: 14px; }
.pc__badge { font-size: 12px; font-weight: 600; color: var(--pc-muted); white-space: nowrap; }
.pc__switch { position: relative; display: inline-flex; align-items: center; flex: 0 0 auto; margin: 0; cursor: pointer; }
.pc .pc__switch input { position: absolute; inset: 0; z-index: 1; opacity: 0; width: 44px !important; height: 26px !important; min-height: 0; margin: 0 !important; padding: 0; cursor: pointer; }
/* The switch's outline has 3:1 against its card (WCAG 1.4.11), on or off */
.pc__track { display: block; width: 44px; height: 26px; border-radius: 13px; background: var(--pc-border); box-shadow: inset 0 0 0 2px var(--pc-muted); transition: background .15s; position: relative; }
.pc__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .15s; }
.pc__switch input:checked + .pc__track { background: var(--pc-accent); box-shadow: inset 0 0 0 2px var(--pc-accent); }
.pc__switch input:checked + .pc__track::after { transform: translateX(18px); }
.pc__switch input:focus-visible + .pc__track { outline: 3px solid var(--pc-accent); outline-offset: 2px; }
.pc__cookies { margin-top: 8px; font-size: 13px; }
.pc__cookies summary { cursor: pointer; color: var(--pc-accent); }
.pc__cookie { margin: 8px 0 0; padding: 8px 0 0; border-top: 1px solid var(--pc-border); display: grid; grid-template-columns: max-content 1fr; gap: 2px 10px; }
.pc__cookie dt { font-weight: 600; color: var(--pc-muted); }
.pc__cookie dd { margin: 0; overflow-wrap: anywhere; }
.pc__actions { display: flex; flex-wrap: wrap; gap: 10px; }
/* The buttons stay in sight while the categories scroll */
.pc__details:not([hidden]) ~ .pc__actions { position: sticky; bottom: calc(-1 * var(--pc-pad)); margin-bottom: calc(-1 * var(--pc-pad)); padding: 10px 0 var(--pc-pad); background: var(--pc-bg); box-shadow: 0 -8px 12px -8px rgba(0, 0, 0, .18); }
/* Accept and reject look the same: neither is the "easy" button */
.pc .pc__btn {
  flex: 1 1 180px;
  min-height: 44px;
  margin: 0;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--pc-accent);
  background: var(--pc-accent);
  color: var(--pc-on-accent);
  font: inherit;
  font-weight: 600;
  line-height: 1.3;
  text-transform: none;
  cursor: pointer;
}
.pc .pc__btn--plain { background: transparent; color: var(--pc-text); border-color: var(--pc-muted); }
.pc__btn:focus-visible, .pc-reopen:focus-visible, .pc a:focus-visible, .pc summary:focus-visible,
.pc-links a:focus-visible, .pc-embed__ph a:focus-visible, .pc-embed__ph button:focus-visible, .pc-embed iframe:focus-visible {
  outline: 3px solid var(--pc-accent, #1f5f3f); outline-offset: 2px; border-radius: 4px;
}
/* Read out, not shown: the status message after a choice */
.pc-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.pc-reopen {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 2147482999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--pc-border);
  background: var(--pc-bg);
  color: var(--pc-text);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.pc-reopen svg { width: 22px; height: 22px; }
.pc-reopen.pc-reopen--right { left: auto; right: max(16px, env(safe-area-inset-right)); }
.pc-reopen.pc-reopen--away { opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s; }
.pc-links { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 8px 0; font-size: 14px; }
.pc-links[hidden] { display: none !important; }
.pc-links--end { justify-content: flex-end; padding-left: 64px; }
.pc-links--start { justify-content: flex-start; padding-right: 64px; }
.pc-links a { color: inherit; text-decoration: underline; }
/*
 * Videos and maps of other sites until consent. The placeholder takes the frame's size: its width at most
 * (--pc-embed-w) and the proportion of its width and height (--pc-embed-ratio), growing when the text needs it.
 */
.pc-embed { margin: 0 0 16px; }
.pc-embed iframe:not([src]) { display: none; }
.pc-embed--on .pc-embed__ph, .pc-embed iframe[src] + .pc-embed__ph { display: none; }
.pc-embed__ph {
  position: relative;
  /* clip, not hidden: a scroll container would not grow past its proportion when the text needs room */
  overflow: clip;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: var(--pc-embed-w, none);
  aspect-ratio: var(--pc-embed-ratio, auto);
  min-height: var(--pc-embed-h, auto);
  padding: 20px;
  border: 1px dashed var(--pc-border);
  border-radius: var(--pc-radius);
  background: var(--pc-soft);
  color: var(--pc-text);
  text-align: center;
}
/* Inside a theme's responsive 16:9 box (the frame placed absolutely): fill that box */
.pc-embed--fill { position: absolute; inset: 0; margin: 0; }
.pc-embed--fill .pc-embed__ph { height: 100%; max-width: none; aspect-ratio: auto; min-height: 0; }
/* That box cannot grow: on a narrow screen the text gets smaller and scrolls rather than being cut off */
.pc-embed--fill .pc-embed__ph { justify-content: safe center; overflow-y: auto; }
@media (max-width: 575px) {
  .pc-embed--fill .pc-embed__ph { padding: 10px; font-size: 13px; }
  .pc-embed--fill .pc-embed__ph p { margin-bottom: 6px; }
  .pc-embed--fill .pc-embed__btn { min-height: 36px; padding: 6px 12px; }
}
.pc-embed__body { position: relative; max-width: 560px; }
.pc-embed__ph p { margin: 0 0 10px; }
.pc-embed__ph p:last-child { margin: 0; }
.pc-embed__ph a { color: var(--pc-accent); text-decoration: underline; }
.pc-embed__ph .pc-embed__remember { font-size: 14px; }
.pc-embed__remember label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: normal; cursor: pointer; }
.pc-embed__remember input { width: 18px; height: 18px; margin: 0; flex: 0 0 auto; accent-color: var(--pc-accent); }
.pc-embed__btn { min-height: 40px; padding: 8px 16px; border-radius: 10px; border: 1px solid var(--pc-accent); background: var(--pc-accent); color: var(--pc-on-accent); font: inherit; font-weight: 600; cursor: pointer; }
/* With the video's still: the text on a dark panel over the picture */
.pc-embed__ph--preview { border: 0; background: #111; color: #fff; }
.pc-embed__ph .pc-embed__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.pc-embed__ph--preview .pc-embed__body { padding: 14px 16px; border-radius: 10px; background: rgba(0, 0, 0, .78); font-size: 14px; }
.pc-embed__ph--preview a { color: #fff; }
.pc-embed__ph--preview .pc-embed__remember input { accent-color: #fff; }
.pc .pc__media + .pc__media { margin-top: 8px; }
.pc .pc__media-name { margin: 0; font-size: 14px; }
/* The cookie page and the {probel_consent_cookies} table */
.pc-cookies__cat { margin: 0 0 24px; }
.pc-cookies__state { font-weight: 600; }
.pc-cookies__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pc-cookies__table th, .pc-cookies__table td { padding: 6px 8px; border-bottom: 1px solid var(--pc-border); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.pc-cookies__id { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
@media (max-width: 575px) {
  .pc { padding: 0 8px max(8px, env(safe-area-inset-bottom)); font-size: 14px; --pc-pad: 16px; }
  .pc__panel { padding: var(--pc-pad) 16px; max-height: 88vh; }
  .pc .pc__title { font-size: 17px; }
  .pc .pc__btn { flex: 1 1 100%; }
  .pc-cookies__table thead { display: none; }
  .pc-cookies__table tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--pc-border); }
  .pc-cookies__table td { display: block; border: 0; padding: 2px 0; }
  .pc-cookies__table td::before { content: attr(data-label) ": "; font-weight: 600; }
}
/* Phones held sideways: little height, so the buttons stay in one row */
@media (max-height: 500px) and (min-width: 480px) {
  .pc { --pc-pad: 12px; }
  .pc__panel { padding: var(--pc-pad) 16px; max-height: 94vh; }
  .pc .pc__title { font-size: 16px; margin-bottom: 4px; }
  .pc .pc__text { font-size: 13px; margin-bottom: 8px; }
  .pc .pc__btn { flex: 1 1 0; padding: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .pc__track, .pc__track::after, .pc-reopen.pc-reopen--away { transition: none; }
}
/* Windows high contrast and other forced colours */
@media (forced-colors: active) {
  .pc__panel, .pc__cat, .pc-reopen, .pc__btn { border: 1px solid CanvasText; }
  .pc__track { background: Canvas; box-shadow: none; border: 2px solid CanvasText; }
  .pc__track::after { background: CanvasText; box-shadow: none; top: 2px; left: 2px; }
  .pc__switch input:checked + .pc__track { background: Highlight; border-color: Highlight; box-shadow: none; }
  .pc__switch input:checked + .pc__track::after { background: HighlightText; }
}
@media print { .pc, .pc-reopen, .pc-links { display: none !important; } }
/* Google reCAPTCHA in a form while it waits for consent */
.pc-recaptcha { margin: 8px 0; padding: 14px 16px; text-align: left; }
.pc-recaptcha[hidden] { display: none !important; }
.pc-recaptcha p:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
