/* VIZIM Accessibility. Style panelu są odseparowane od styli Bricks. */
.vz-a11y-widget, .vz-a11y-widget * { box-sizing:border-box; }
.vz-a11y-widget { --vz-ink:#17202b; --vz-line:#dde2e8; --vz-accent:var(--vz-a11y-accent,#a51422); position:fixed; z-index:2147483000; font:400 14px/1.45 Arial,Helvetica,sans-serif; color:var(--vz-ink); direction:ltr; }
.vz-a11y-widget--top-left { top:calc(env(safe-area-inset-top,0px) + var(--vz-a11y-y,20px)); left:calc(env(safe-area-inset-left,0px) + var(--vz-a11y-x,20px)); }
.vz-a11y-widget--top-center { top:calc(env(safe-area-inset-top,0px) + var(--vz-a11y-y,20px)); left:0; right:0; display:flex; justify-content:center; pointer-events:none; }
.vz-a11y-widget--top-right { top:calc(env(safe-area-inset-top,0px) + var(--vz-a11y-y,20px)); right:calc(env(safe-area-inset-right,0px) + var(--vz-a11y-x,20px)); }
.vz-a11y-widget--middle-left { top:calc(50% + var(--vz-a11y-y,0px)); left:calc(env(safe-area-inset-left,0px) + var(--vz-a11y-x,20px)); }
.vz-a11y-widget--middle-right { top:calc(50% + var(--vz-a11y-y,0px)); right:calc(env(safe-area-inset-right,0px) + var(--vz-a11y-x,20px)); }
.vz-a11y-widget--bottom-left { bottom:calc(env(safe-area-inset-bottom,0px) + var(--vz-a11y-y,20px)); left:calc(env(safe-area-inset-left,0px) + var(--vz-a11y-x,20px)); }
.vz-a11y-widget--bottom-center { bottom:calc(env(safe-area-inset-bottom,0px) + var(--vz-a11y-y,20px)); left:0; right:0; display:flex; justify-content:center; pointer-events:none; }
.vz-a11y-widget--bottom-right { bottom:calc(env(safe-area-inset-bottom,0px) + var(--vz-a11y-y,20px)); right:calc(env(safe-area-inset-right,0px) + var(--vz-a11y-x,20px)); }
.vz-a11y-widget--middle-left .vz-a11y-launch, .vz-a11y-widget--middle-right .vz-a11y-launch { transform:translateY(-50%); }
.vz-a11y-widget--top-center .vz-a11y-launch, .vz-a11y-widget--bottom-center .vz-a11y-launch { pointer-events:auto; }
.vz-a11y-widget--inline { position:relative; z-index:2147483000; display:inline-block; vertical-align:middle; }
.vz-a11y-widget button { -webkit-appearance:none; appearance:none; cursor:pointer; font:inherit; text-transform:none; letter-spacing:normal; border-radius:8px; transition:background-color .12s ease,border-color .12s ease; }
.vz-a11y-widget button:focus-visible, .vz-a11y-widget a:focus-visible { outline:3px solid #ffca2c !important; outline-offset:3px !important; }
.vz-a11y-widget button[disabled] { opacity:.4; cursor:not-allowed; }
.vz-a11y-widget .vz-a11y-launch { display:inline-flex; align-items:center; justify-content:center; gap:9px; padding:9px 15px; min-height:var(--vz-a11y-button-size,52px); max-width:min(100%,calc(100vw - 16px)); background:var(--vz-a11y-button-bg,var(--vz-accent)); color:var(--vz-a11y-button-fg,#fff); border:2px solid #fff; box-shadow:0 5px 24px #0004; font:700 var(--vz-a11y-button-font,14px)/1.25 Arial,Helvetica,sans-serif !important; white-space:normal; text-align:center; overflow-wrap:anywhere; }
.vz-a11y-widget .vz-a11y-launch:hover { filter:brightness(1.08); }
.vz-a11y-launch-icon { display:flex; flex:none; align-items:center; justify-content:center; }
.vz-a11y-launch-icon svg { display:block; width:clamp(22px,calc(var(--vz-a11y-button-size,52px) * .53),40px); height:clamp(22px,calc(var(--vz-a11y-button-size,52px) * .53),40px); }
.vz-a11y-widget--icon .vz-a11y-launch-text, .vz-a11y-widget--text .vz-a11y-launch-icon { display:none; }
.vz-a11y-widget--icon .vz-a11y-launch { width:var(--vz-a11y-button-size,52px); height:var(--vz-a11y-button-size,52px); padding:0; }
.vz-a11y-widget--shape-rounded .vz-a11y-launch { border-radius:10px; }
.vz-a11y-widget--shape-pill .vz-a11y-launch { border-radius:999px; }
.vz-a11y-widget--shape-square .vz-a11y-launch { border-radius:2px; }
.vz-a11y-widget--no-shadow .vz-a11y-launch { box-shadow:none; }
/* Panel zachowuje bezpieczną pozycję niezależnie od położenia przycisku. Środkowe pozycje nie transformują kontenera panelu. */
.vz-a11y-panel { position:fixed; left:50%; top:50%; right:auto; bottom:auto; transform:translate(-50%,-50%); width:min(372px,calc(100vw - 32px)); max-height:min(690px,calc(100dvh - 32px)); overflow:auto; overscroll-behavior:contain; background:#fff; border:1px solid #ccd3db; border-radius:12px; box-shadow:0 16px 56px #06112155; color:#17202b; }
.vz-a11y-widget .vz-a11y-panel[hidden] { display:none !important; }
.vz-a11y-header { display:flex; justify-content:space-between; gap:12px; align-items:start; padding:18px 19px; background:#121b28; color:#fff; }
.vz-a11y-overline { margin:0 0 4px !important; color:#cdd7e4 !important; font:700 11px/1.2 Arial,sans-serif !important; text-transform:uppercase; letter-spacing:.08em; }
.vz-a11y-header h2 { color:#fff !important; margin:0 !important; font:700 20px/1.25 Arial,sans-serif !important; }
.vz-a11y-widget .vz-a11y-close { display:inline-flex !important; align-items:center !important; justify-content:center !important; padding:0 !important; margin:0 !important; background:transparent; color:#fff; border:1px solid #7d8897; width:44px; height:44px; min-width:44px; min-height:44px; line-height:1 !important; flex-shrink:0; box-sizing:border-box; }
.vz-a11y-widget .vz-a11y-close svg { display:block; width:22px; height:22px; flex:none; margin:auto; }
.vz-a11y-widget .vz-a11y-close:hover { background:#344255; }
.vz-a11y-content { padding:0 18px 16px; }
.vz-a11y-group { border-bottom:1px solid var(--vz-line); padding:16px 0; }
.vz-a11y-group-label { font:700 13px/1.4 Arial,sans-serif !important; margin:0 0 11px !important; color:#37445a !important; }
.vz-a11y-size-row { display:grid; grid-template-columns:1fr 1fr 1fr; gap:10px; align-items:center; }
.vz-a11y-size-row button { border:1px solid #bec7d1; background:#f6f8fa; color:#17202b; min-height:45px; font-weight:700 !important; font-size:17px !important; }
.vz-a11y-size-row button:hover:not([disabled]) { background:#e4ebf3; }
.vz-a11y-size-value { color:#202a39; font:700 17px/1.3 Arial,sans-serif; text-align:center; }
.vz-a11y-options { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:9px; }
.vz-a11y-option { display:flex; flex-direction:column; justify-content:center; align-items:center; gap:8px; min-height:76px; padding:9px 7px; text-align:center; border:1px solid #cdd5de; color:#233044; background:#fff; font-size:12px !important; line-height:1.3 !important; font-weight:600 !important; }
.vz-a11y-option:hover { background:#f1f5f9; border-color:#9baabc; }
.vz-a11y-option[aria-pressed="true"]::after { content:"Włączone ✓"; display:block; font-size:10px; font-weight:700; }
.vz-a11y-option[aria-pressed="true"] { background:#fff5f5; border:2px solid var(--vz-accent); color:#89101d; padding:8px 6px; }
.vz-a11y-glyph { font-size:25px; line-height:1; font-weight:700; }
.vz-a11y-bottom { display:flex; flex-wrap:wrap; align-items:center; gap:12px; padding-top:16px; }
.vz-a11y-reset { width:100%; min-height:44px; padding:9px 12px; background:#f2f4f7; color:#17202b; border:1px solid #c5ced8; font-weight:700 !important; }
.vz-a11y-reset:hover { background:#e4e8ee; }
.vz-a11y-statement-inside { width:100%; text-align:center; font-size:13px; }
.vz-a11y-statement-inside a { color:#7c1020 !important; text-decoration:underline !important; }
.vz-a11y-status { min-height:1px; margin:0 !important; position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.vz-a11y-statement-footer { padding:12px 20px; background:#f7f7f8; text-align:center; font:400 14px/1.5 Arial,sans-serif; }
.vz-a11y-statement-footer a { color:#8a1220; text-decoration:underline; text-underline-offset:3px; }
.vz-a11y-skip-link { position:fixed; left:16px; top:0; transform:translateY(-180%); padding:11px 18px; background:#131c27; color:#fff !important; text-decoration:underline !important; font:700 16px/1.3 Arial,sans-serif; z-index:2147483600; }
.vz-a11y-skip-link:focus { transform:translateY(10px); outline:3px solid #ffca2c; }
/* Opcje użytkownika – nie ingerują w sam panel ani w zaplecze WP. */
html.vz-a11y-mode-grayscale body > :not(.vz-a11y-widget):not(#wpadminbar):not(.vz-a11y-statement-footer):not(script):not(style) { filter:grayscale(1) !important; }
html.vz-a11y-mode-negative body > :not(.vz-a11y-widget):not(#wpadminbar):not(.vz-a11y-statement-footer):not(script):not(style) { filter:invert(1) !important; }
html.vz-a11y-mode-contrast body { background:#000 !important; color:#fff !important; }
html.vz-a11y-mode-contrast body > :not(.vz-a11y-widget):not(#wpadminbar):not(.vz-a11y-statement-footer):not(script):not(style),
html.vz-a11y-mode-contrast body > :not(.vz-a11y-widget):not(#wpadminbar):not(.vz-a11y-statement-footer):not(script):not(style) :where(*:not(img):not(video):not(svg):not(canvas):not(path)) { background:#000 !important; background-image:none !important; color:#fff !important; border-color:#fff !important; text-shadow:none !important; box-shadow:none !important; }
html.vz-a11y-mode-contrast body > :not(.vz-a11y-widget):not(#wpadminbar):not(.vz-a11y-statement-footer) :where(a,button,[role="button"]) { color:#fff36c !important; text-decoration:underline !important; }
html.vz-a11y-mode-light body { background:#fff !important; color:#111 !important; }
html.vz-a11y-mode-light body > :not(.vz-a11y-widget):not(#wpadminbar):not(.vz-a11y-statement-footer):not(script):not(style),
html.vz-a11y-mode-light body > :not(.vz-a11y-widget):not(#wpadminbar):not(.vz-a11y-statement-footer):not(script):not(style) :where(*:not(img):not(video):not(svg):not(canvas):not(path)) { background:#fff !important; background-image:none !important; color:#111 !important; border-color:#444 !important; text-shadow:none !important; }
html.vz-a11y-mode-light body > :not(.vz-a11y-widget):not(#wpadminbar):not(.vz-a11y-statement-footer) :where(a,button,[role="button"]) { color:#0048aa !important; text-decoration:underline !important; }
html.vz-a11y-links body > :not(.vz-a11y-widget):not(#wpadminbar) a { text-decoration:underline !important; text-underline-offset:.16em; text-decoration-thickness:2px !important; }
html.vz-a11y-font body > :not(.vz-a11y-widget):not(#wpadminbar) :where(h1,h2,h3,h4,h5,h6,p,li,dt,dd,blockquote,label,input,textarea,select,button,a):not(.brxe-icon) { font-family:Arial,Verdana,Helvetica,sans-serif !important; }
html.vz-a11y-spacing body > :not(.vz-a11y-widget):not(#wpadminbar) :where(p,li,blockquote) { line-height:1.65 !important; letter-spacing:.12em !important; word-spacing:.16em !important; }
html.vz-a11y-spacing body > :not(.vz-a11y-widget):not(#wpadminbar) p { margin-bottom:2em !important; }
html.vz-a11y-motion body > :not(.vz-a11y-widget):not(#wpadminbar),
html.vz-a11y-motion body > :not(.vz-a11y-widget):not(#wpadminbar) *,
html.vz-a11y-motion body > :not(.vz-a11y-widget):not(#wpadminbar) *::before,
html.vz-a11y-motion body > :not(.vz-a11y-widget):not(#wpadminbar) *::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
html.vz-a11y-focus body > :not(.vz-a11y-widget):not(#wpadminbar) :focus-visible,
html.vz-a11y-focus-default body > :not(.vz-a11y-widget):not(#wpadminbar) :focus-visible { outline:3px solid #101820 !important; outline-offset:3px !important; box-shadow:0 0 0 5px #ffe58a !important; }
@media (max-width:480px) {
  .vz-a11y-panel { width:min(350px,calc(100vw - 24px)); max-height:calc(100dvh - 24px); }
  .vz-a11y-content { padding:0 14px 12px; }
  .vz-a11y-widget .vz-a11y-launch { padding:8px 12px; }
  .vz-a11y-widget--icon .vz-a11y-launch { padding:0; }
}
@media (prefers-reduced-motion:reduce) { .vz-a11y-widget button { transition:none; } }

/* Uwzględnienie przesunięcia poziomego również w pozycjach centralnych. */
.vz-a11y-widget--top-center .vz-a11y-launch, .vz-a11y-widget--bottom-center .vz-a11y-launch { transform:translateX(var(--vz-a11y-x,0px)); }

/* 1.3.0: niezależny portal dialogu (bez dziedziczenia transform/overflow Bricks). */
.vz-a11y-dialog-host { --vz-ink:#17202b; --vz-line:#dde2e8; --vz-accent:var(--vz-a11y-accent,#a51422); position:static; z-index:2147483000; color-scheme:light; }
.vz-a11y-dialog-host .vz-a11y-panel { position:fixed !important; inset:50% auto auto 50% !important; transform:translate(-50%,-50%) !important; box-sizing:border-box !important; width:min(390px, calc(100vw - 24px)) !important; max-width:calc(100vw - 24px) !important; max-height:calc(100dvh - 24px) !important; overflow:auto !important; z-index:2147483001; color-scheme:light; }
.vz-a11y-dialog-host .vz-a11y-panel[hidden] { display:none !important; }
.vz-a11y-dialog-host .vz-a11y-content { padding-bottom:16px; }
.vz-a11y-dialog-host .vz-a11y-helper { color:#394655 !important; font:400 13px/1.55 Arial,Helvetica,sans-serif !important; margin:13px 0 0 !important; }
.vz-a11y-dialog-host .vz-a11y-option { min-height:70px; font-size:14px !important; line-height:1.4 !important; }
.vz-a11y-dialog-host .vz-a11y-option[aria-pressed="true"]::after { font-size:12px; }
.vz-a11y-dialog-host .vz-a11y-overline { font-size:12px !important; }
.vz-a11y-dialog-host .vz-a11y-header { align-items:center; }
.vz-a11y-dialog-host .vz-a11y-close { display:inline-flex !important; align-items:center !important; justify-content:center !important; padding:0 !important; width:44px !important; height:44px !important; border:1px solid #9ca5b2 !important; }
.vz-a11y-dialog-host .vz-a11y-close svg { display:block !important; flex:0 0 22px; margin:auto !important; transform:none !important; }
.vz-a11y-dialog-host :where(button,a):focus-visible { outline:3px solid #fcbf22 !important; outline-offset:3px !important; }
.vz-a11y-dialog-host .vz-a11y-reset { min-height:44px; }
@media (max-width:380px) {
  .vz-a11y-dialog-host .vz-a11y-panel { width:calc(100vw - 16px) !important; max-width:calc(100vw - 16px) !important; max-height:calc(100dvh - 16px) !important; }
  .vz-a11y-dialog-host .vz-a11y-options { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .vz-a11y-dialog-host .vz-a11y-content { padding:0 11px 12px; }
  .vz-a11y-dialog-host .vz-a11y-header { padding:12px; }
}
@media (forced-colors:active) {
  .vz-a11y-widget .vz-a11y-launch, .vz-a11y-dialog-host .vz-a11y-panel,
  .vz-a11y-dialog-host .vz-a11y-option, .vz-a11y-dialog-host .vz-a11y-reset,
  .vz-a11y-dialog-host .vz-a11y-close { forced-color-adjust:auto; border:1px solid ButtonText !important; background:Canvas !important; color:CanvasText !important; }
  .vz-a11y-dialog-host .vz-a11y-header, .vz-a11y-dialog-host .vz-a11y-header * { background:Canvas !important; color:CanvasText !important; }
  .vz-a11y-dialog-host :where(button,a):focus-visible { outline:3px solid Highlight !important; }
}

/* 1.3.1 – jasny/systemowy/ciemny motyw samego okna dostępności. */
.vz-a11y-dialog-host[data-vz-theme-resolved="dark"] { color-scheme:dark; --vz-line:#5d6d80; --vz-ink:#eef3fb; }
.vz-a11y-dialog-host[data-vz-theme-resolved="dark"] .vz-a11y-panel {
  color-scheme:dark; color:#eef3fb; background:#192431; border-color:#8290a3;
  box-shadow:0 16px 56px #000a;
}
.vz-a11y-dialog-host[data-vz-theme-resolved="dark"] .vz-a11y-header { background:#111b28; color:#fff; border-bottom:1px solid #536579; }
.vz-a11y-dialog-host[data-vz-theme-resolved="dark"] .vz-a11y-helper { color:#d2dce8 !important; }
.vz-a11y-dialog-host[data-vz-theme-resolved="dark"] .vz-a11y-group-label { color:#edf3fc !important; }
.vz-a11y-dialog-host[data-vz-theme-resolved="dark"] .vz-a11y-size-value { color:#f2f6fd; }
.vz-a11y-dialog-host[data-vz-theme-resolved="dark"] .vz-a11y-size-row button,
.vz-a11y-dialog-host[data-vz-theme-resolved="dark"] .vz-a11y-option,
.vz-a11y-dialog-host[data-vz-theme-resolved="dark"] .vz-a11y-reset {
  color:#f0f5fc; background:#29384b; border-color:#8293a9;
}
.vz-a11y-dialog-host[data-vz-theme-resolved="dark"] .vz-a11y-size-row button:hover:not([disabled]),
.vz-a11y-dialog-host[data-vz-theme-resolved="dark"] .vz-a11y-option:hover,
.vz-a11y-dialog-host[data-vz-theme-resolved="dark"] .vz-a11y-reset:hover { background:#3a4d63; }
.vz-a11y-dialog-host[data-vz-theme-resolved="dark"] .vz-a11y-option[aria-pressed="true"] {
  color:#ffdce0; background:#482831; border:2px solid #fd919b;
}
.vz-a11y-dialog-host[data-vz-theme-resolved="dark"] .vz-a11y-statement-inside a { color:#ffb7c0 !important; }
.vz-a11y-dialog-host[data-vz-theme-resolved="dark"] .vz-a11y-close { border-color:#bac8da !important; }
@media (forced-colors:active) {
  .vz-a11y-dialog-host[data-vz-theme-resolved="dark"] .vz-a11y-panel,
  .vz-a11y-dialog-host[data-vz-theme-resolved="dark"] :is(.vz-a11y-size-row button,.vz-a11y-option,.vz-a11y-reset,.vz-a11y-header) { color:CanvasText !important; background:Canvas !important; border-color:ButtonText !important; }
  .vz-a11y-dialog-host[data-vz-theme-resolved="dark"] :is(.vz-a11y-helper,.vz-a11y-group-label,.vz-a11y-size-value) { color:CanvasText !important; }
  .vz-a11y-dialog-host[data-vz-theme-resolved="dark"] .vz-a11y-statement-inside a { color:LinkText !important; }
}
