:root{--dscp-accent:#0b5dbb;--dscp-banner-bg:#1f1f21;--dscp-banner-text:#fff;--dscp-mobile-chrome-alpha:.75;--dscp-z-index:2147483600}.dscp-banner{position:fixed;left:0;right:0;bottom:0;z-index:2147483000;background:var(--dscp-banner-bg);color:var(--dscp-banner-text);box-shadow:0 -1px 10px rgba(0,0,0,.18);font-family:Arial,sans-serif}.dscp-banner-inner{max-width:1500px;margin:auto;display:flex;gap:32px;align-items:center;justify-content:space-between;padding:12px 24px}.dscp-banner-text{display:flex;flex-direction:column;gap:5px;max-width:850px;font-size:14px;line-height:1.35}.dscp-banner-text strong{font-size:13px;text-align:center}.dscp-banner-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.dscp-banner button,.dscp-dialog button,.dscp-float{border:0;cursor:pointer;font-weight:700}.dscp-primary{background:var(--dscp-accent);color:#fff;border-radius:999px;padding:12px 24px}.dscp-dark{background:#050505;color:#fff;border-radius:999px;padding:12px 24px}.dscp-float{position:fixed;bottom:0;z-index:2147482990;background:#fff;color:#333;padding:10px 14px;border-radius:12px 12px 0 0;box-shadow:0 0 12px rgba(0,0,0,.16);font-size:12px}.dscp-float.dscp-right{right:28px}.dscp-float.dscp-left{left:28px}.dscp-modal{position:fixed;inset:0;z-index:2147483640;font-family:Arial,sans-serif}.dscp-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.72)}.dscp-dialog{position:relative;width:min(1170px,calc(100% - 28px));height:min(600px,calc(100% - 28px));margin:14px auto;background:#f1f2f4;display:grid;grid-template-columns:39% 61%;border-radius:4px;overflow:visible;box-shadow:0 10px 60px rgba(0,0,0,.35)}.dscp-close{position:absolute;right:-14px;top:-14px;width:60px;height:60px;border-radius:50%;background:var(--dscp-accent);color:#fff;font-size:38px;font-weight:300;z-index:3}.dscp-nav{background:#fff;padding:50px 60px;display:flex;flex-direction:column;gap:8px}.dscp-brand{height:90px;display:flex;align-items:flex-start}.dscp-brand img{max-width:190px;max-height:75px;object-fit:contain}.dscp-nav button,.dscp-policy{display:block;text-align:left;background:#eef0f3;color:#0755a6;border:1px solid transparent;padding:13px 18px;text-decoration:none;font-weight:700}.dscp-policy{background:#d71920;color:#fff}.dscp-policy:hover,.dscp-policy:focus{background:#b9151b;color:#fff}.dscp-nav button.active{background:#fff;border-color:#ddd;color:#222}.dscp-content{padding:40px 60px 28px;display:flex;flex-direction:column}.dscp-pane{display:none}.dscp-pane.active{display:block}.dscp-pane h2{font-size:29px;margin:0 0 24px}.dscp-pane p,.dscp-row{font-size:16px;line-height:1.45}.dscp-row{display:flex;justify-content:space-between;gap:20px;padding:18px 0;border-top:1px solid #d0d3d6;border-bottom:1px solid #d0d3d6}.dscp-row strong{color:#168329;white-space:nowrap}.dscp-toggle-row{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #d0d3d6;border-bottom:1px solid #d0d3d6;padding:18px 0;margin-top:30px}.dscp-dialog-actions{margin-top:auto;border-top:1px solid #cfd2d5;padding-top:38px;display:flex;justify-content:space-between}.dscp-switch{position:relative;width:54px;min-width:54px;max-width:54px;height:30px;flex:0 0 54px}.dscp-switch input{opacity:0;width:0;height:0}.dscp-switch span{position:absolute;inset:0;border-radius:30px;background:#aaa;transition:.2s;overflow:hidden}.dscp-switch span:before{content:"";position:absolute;width:24px;height:24px;left:3px;top:3px;border-radius:50%;background:#fff;transition:.2s}.dscp-switch input:checked+span{background:var(--dscp-accent)}.dscp-switch input:checked+span:before{transform:translateX(24px)}.dscp-placeholder{min-height:260px;display:flex;align-items:center;justify-content:center;background:#f2f2f2;border:1px solid #ddd;text-align:center;padding:30px}.dscp-placeholder strong{display:block;margin-bottom:14px}.dscp-placeholder button{background:var(--dscp-accent);color:#fff;border:0;border-radius:999px;padding:10px 18px;cursor:pointer}.dscp-modal-open{overflow:hidden}
@media(max-width:900px){.dscp-banner-inner{flex-direction:column;gap:10px;text-align:center}.dscp-banner-actions{justify-content:center}.dscp-dialog{grid-template-columns:1fr;height:calc(100% - 20px);margin:10px auto;overflow:auto}.dscp-nav{padding:24px}.dscp-brand{height:55px}.dscp-content{padding:24px;min-height:470px}.dscp-dialog-actions{gap:10px;flex-wrap:wrap}.dscp-close{right:4px;top:4px;width:44px;height:44px;font-size:28px}.dscp-float{bottom:0}.dscp-banner button{padding:10px 16px}}

/* 0.1.6 — zgoda per usługa */
.dscp-service-list{margin-top:24px}.dscp-service-list .dscp-toggle-row{margin-top:0;border-bottom:0}.dscp-service-list .dscp-toggle-row:last-child{border-bottom:1px solid #d0d3d6}.dscp-toggle-row>div{display:flex;flex-direction:column;gap:4px;padding-right:24px}.dscp-toggle-row>div strong{font-size:16px;color:#222}.dscp-toggle-row>div small{font-size:13px;line-height:1.35;color:#666}

/* 0.1.9 — pełny tekst polityki cookies + odrzucenie z panelu */
.dscp-overview-copy{font-size:15px;line-height:1.55;color:#555;max-height:340px;overflow:auto;padding-right:10px}.dscp-overview-copy p{margin:0 0 14px}.dscp-overview-copy ul,.dscp-overview-copy ol{margin:0 0 14px 22px}.dscp-overview-copy a{color:var(--dscp-accent);text-decoration:underline}.dscp-dialog-actions{align-items:center;gap:18px}.dscp-dialog-actions .dscp-dark{margin-left:auto;margin-right:auto}.dscp-dialog-actions .dscp-primary:last-child{margin-left:0}
@media(max-width:700px){.dscp-dialog-actions{justify-content:stretch}.dscp-dialog-actions button{flex:1 1 100%;width:100%;text-align:center}.dscp-dialog-actions .dscp-dark{margin:0}}

/* 0.2.1 — pewne centrowanie okna + lista elementów niezbędnych */
.dscp-modal[hidden]{display:none!important}
.dscp-modal:not([hidden]){display:block!important;position:fixed!important;inset:0!important;padding:0!important;box-sizing:border-box}
.dscp-dialog{position:absolute!important;z-index:2!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(1170px,calc(100vw - 40px))!important;height:min(600px,calc(100vh - 40px))!important;margin:0!important}
.dscp-dialog-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;align-items:center!important}
.dscp-dialog-actions>button{display:inline-flex!important;align-items:center!important;justify-content:center!important;visibility:visible!important;opacity:1!important;margin:0!important;white-space:nowrap!important}
.dscp-essential-list{margin-top:22px;border-top:1px solid #d0d3d6}
.dscp-essential-item{display:flex;align-items:flex-start;justify-content:space-between;gap:26px;padding:18px 0;border-bottom:1px solid #d0d3d6}
.dscp-essential-item>div{display:flex;flex-direction:column;gap:5px;min-width:0}
.dscp-essential-item>div>strong{font-size:16px;color:#222}
.dscp-essential-item small{font-size:13px;line-height:1.4;color:#666;max-width:520px}
.dscp-essential-item .dscp-always{color:#168329;white-space:nowrap;font-size:14px;padding-top:2px}
@media(max-width:900px){
  .dscp-dialog{left:10px!important;right:10px!important;top:10px!important;transform:none!important;width:auto!important;height:calc(100vh - 20px)!important;overflow:auto!important}
  .dscp-dialog-actions{grid-template-columns:1fr!important;gap:10px!important}
  .dscp-dialog-actions>button{width:100%!important}
  .dscp-essential-item{flex-direction:column;gap:10px}
}

/* 0.2.3 — dodatkowe informacje w sekcji Niezbędne */
.dscp-essential-extra{margin-top:18px;font-size:14px;line-height:1.55;color:#555;max-height:190px;overflow:auto;padding-right:8px}.dscp-essential-extra p{margin:0 0 12px}.dscp-essential-extra ul,.dscp-essential-extra ol{margin:0 0 12px 20px}.dscp-essential-extra a{color:var(--dscp-accent);text-decoration:underline}


/* 0.2.4 — cała sekcja Niezbędne edytowalna + przewijanie treści */
.dscp-content{min-height:0!important;overflow:hidden!important}
.dscp-pane{min-height:0;overflow-y:auto;overflow-x:hidden;padding-right:10px;scrollbar-gutter:stable}
.dscp-pane.active{display:block;flex:1 1 auto}
.dscp-pane-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 22px}
.dscp-pane-heading h2{margin:0!important}
.dscp-pane-always{color:#168329;font-size:14px;white-space:nowrap}
.dscp-essential-copy{font-size:14px;line-height:1.55;color:#555;padding-right:4px}
.dscp-essential-copy h3{font-size:16px;line-height:1.35;color:#222;margin:18px 0 6px}
.dscp-essential-copy p{margin:0 0 10px}
.dscp-essential-copy hr{border:0;border-top:1px solid #d0d3d6;margin:18px 0}
.dscp-essential-copy ul,.dscp-essential-copy ol{margin:0 0 12px 20px}
.dscp-essential-copy a{color:var(--dscp-accent);text-decoration:underline}
.dscp-dialog-actions{flex:0 0 auto!important;margin-top:18px!important}
@media(max-width:900px){
  .dscp-content{overflow:visible!important;min-height:0!important}
  .dscp-pane{overflow:visible;padding-right:0}
  .dscp-pane-heading{align-items:flex-start}
}

/* 0.2.9 — krótszy przycisk ustawień, link do polityki na pasku i stabilny układ desktop */
.dscp-banner-text a{color:#ff3b30!important;font-weight:800;text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1.5px}
.dscp-banner-text a:hover,.dscp-banner-text a:focus{color:#ff6b61!important}
@media(min-width:901px){
  .dscp-banner-inner{max-width:1680px;gap:22px;padding-left:28px;padding-right:28px}
  .dscp-banner-text{flex:1 1 auto;max-width:none;min-width:0}
  .dscp-banner-actions{flex:0 0 auto;flex-wrap:nowrap;gap:10px;align-items:center}
  .dscp-banner-actions button{white-space:nowrap;padding-left:22px;padding-right:22px}
}

/* 0.3.3 — stabilne formatowanie treści z edytora WordPress */
.dscp-overview-copy{font-size:15px;line-height:1.55;color:#555}
.dscp-overview-copy p{margin:0 0 14px!important}
.dscp-overview-copy h3{font-size:20px!important;line-height:1.3!important;font-weight:500!important;color:#2f2f2f!important;margin:24px 0 8px!important;padding:0!important}
.dscp-overview-copy h3:first-child{margin-top:0!important}
.dscp-overview-copy hr{border:0;border-top:1px solid #d0d3d6;margin:20px 0}
.dscp-essential-copy p{margin:0 0 12px!important}
.dscp-essential-copy h3{margin:20px 0 7px!important}

/* 0.4.0 — dostępność modala i przełączników */
.dscp-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.dscp-dialog :focus-visible,.dscp-banner :focus-visible,.dscp-float:focus-visible{outline:3px solid currentColor;outline-offset:3px}
.dscp-switch input:focus-visible+span{outline:3px solid currentColor;outline-offset:3px}

/* 0.4.3 — pionowe zakładki na środku bocznej krawędzi */
.dscp-float.dscp-right-middle,.dscp-float.dscp-left-middle{
  top:50%!important;bottom:auto!important;
  writing-mode:vertical-rl;
  text-orientation:mixed;
  white-space:nowrap;
  padding:14px 10px;
  line-height:1.1;
  max-width:none;
}
.dscp-float.dscp-right-middle{
  right:0!important;left:auto!important;
  transform:translateY(-50%);
  border-radius:12px 0 0 12px;
}
.dscp-float.dscp-left-middle{
  left:0!important;right:auto!important;
  transform:translateY(-50%);
  border-radius:0 12px 12px 0;
}
@media(max-width:700px){
  .dscp-float.dscp-right-middle,.dscp-float.dscp-left-middle{
    padding:11px 8px;
    font-size:11px;
    line-height:1.05;
    max-height:60vh;
  }
}

/* 0.4.4/0.4.5 — stabilny modal mobilny / wąskie okna + regulowana rama */
@media(max-width:1100px){
  /* Wcześniejsze przejście na układ mobilny zapobiega ściskaniu długich etykiet przycisków. */
  .dscp-dialog{
    display:flex!important;
    flex-direction:column!important;
    left:12px!important;
    right:12px!important;
    top:12px!important;
    bottom:12px!important;
    width:auto!important;
    height:auto!important;
    margin:0!important;
    transform:none!important;
    overflow:hidden!important;
    border-radius:14px!important;
    background:transparent!important;
  }
  .dscp-close{
    right:8px!important;
    top:8px!important;
    width:44px!important;
    height:44px!important;
    font-size:28px!important;
  }
  .dscp-nav{
    flex:0 0 auto!important;
    padding:16px 18px 14px!important;
    gap:6px!important;
    background:rgba(255,255,255,var(--dscp-mobile-chrome-alpha))!important;
  }
  .dscp-brand{
    height:46px!important;
    padding-right:50px;
  }
  .dscp-brand img{
    max-height:42px!important;
  }
  .dscp-nav button,.dscp-policy{
    padding:10px 14px!important;
  }

  /* Kontener jest przezroczysty; tylko przewijana treść ma pełne, nieprzezroczyste tło. */
  .dscp-content{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow:hidden!important;
    padding:0!important;
    background:transparent!important;
  }
  .dscp-pane,
  .dscp-pane.active{
    min-height:0!important;
  }
  .dscp-pane{
    overflow-y:auto!important;
    overflow-x:hidden!important;
    padding:18px 18px 22px!important;
    background:#f1f2f4!important;
    scrollbar-gutter:stable;
    overscroll-behavior:contain;
  }
  /* Jeden scrollbar: usuwamy zagnieżdżone przewijanie treści z edytora. */
  .dscp-overview-copy,
  .dscp-essential-extra{
    max-height:none!important;
    overflow:visible!important;
    padding-right:0!important;
  }

  /* Stopka z akcjami jest oddzielona od nieprzezroczystej treści i może prześwitywać. */
  .dscp-dialog-actions{
    flex:0 0 auto!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    margin-top:0!important;
    padding:12px 18px 18px!important;
    border-top:0!important;
    background:rgba(241,242,244,var(--dscp-mobile-chrome-alpha))!important;
    position:relative;
    z-index:2;
  }
  .dscp-dialog-actions>button{
    width:100%!important;
    min-width:0!important;
    min-height:40px!important;
    padding:10px 16px!important;
    white-space:normal!important;
    line-height:1.2!important;
    text-align:center!important;
    overflow-wrap:anywhere;
  }
  .dscp-pane-heading{
    align-items:flex-start!important;
  }
}

@media(max-width:600px){
  .dscp-dialog{
    left:10px!important;
    right:10px!important;
    top:10px!important;
    bottom:10px!important;
    border-radius:12px!important;
  }
  .dscp-nav{
    padding:14px 14px 12px!important;
  }
  .dscp-pane{
    padding:14px 14px 18px!important;
  }
  .dscp-dialog-actions{
    padding:10px 14px 14px!important;
  }
  .dscp-pane h2{
    font-size:26px!important;
    margin-bottom:18px!important;
  }
}


/* 0.4.7 — wspólna, regulowana najwyższa warstwa interfejsu */
.dscp-banner,.dscp-float,.dscp-modal{z-index:var(--dscp-z-index)!important}

/* 0.4.8 — interfejs wtyczki zawsze używa lokalnej czcionki systemowej.
   Nie zależy od czcionek strony ani od blokowanych Google Fonts. */
:root{
  --dscp-ui-font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,Helvetica,sans-serif;
}
.dscp-banner,.dscp-banner *,
.dscp-modal,.dscp-modal *,
.dscp-float,.dscp-float *{
  font-family:var(--dscp-ui-font)!important;
}

/* 0.4.9 — geometryczny znak zamknięcia, niezależny od fontu i stylów motywu. */
.dscp-close{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  padding:0!important;
  margin:0!important;
  line-height:1!important;
  font-size:0!important;
  text-indent:0!important;
  -webkit-appearance:none!important;
  appearance:none!important;
}
.dscp-close::before,
.dscp-close::after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:22px!important;
  height:3px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:999px!important;
  background:currentColor!important;
  transform-origin:center!important;
}
.dscp-close::before{transform:translate(-50%,-50%) rotate(45deg)!important}
.dscp-close::after{transform:translate(-50%,-50%) rotate(-45deg)!important}
@media(max-width:1100px){
  .dscp-close::before,
  .dscp-close::after{width:18px!important}
}
