.as-przycisk {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 60;
  display: inline-grid; place-items: center; width: 3rem; height: 3rem; padding: 0;
  border: 1px solid rgba(255, 255, 255, .26); border-radius: 50%; background: rgba(14, 17, 23, .92); color: #F6F6F2;
  cursor: pointer; box-shadow: 0 8px 26px rgba(0, 0, 0, .45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: opacity .25s ease, transform .25s ease, border-color .2s ease;
}
.as-przycisk:hover { border-color: rgba(255, 255, 255, .55); }
.as-przycisk:focus-visible, .as-panel :focus-visible { outline: 2px solid #FFE100; outline-offset: 2px; }
.as-przycisk svg { width: 1.375rem; height: 1.375rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.as-przycisk .as-kropka { fill: #FFE100; stroke: rgba(14, 17, 23, .92); stroke-width: 1.4; }
.as-przycisk::after {
  content: attr(data-podpis); position: absolute; right: calc(100% + .6rem); top: 50%; transform: translateY(-50%);
  padding: .4rem .7rem; border-radius: .5rem; background: rgba(14, 17, 23, .95); border: 1px solid rgba(255, 255, 255, .18);
  font: 500 .8125rem/1.2 "Poppins", system-ui, sans-serif; white-space: nowrap; color: #F6F6F2;
  opacity: 0; pointer-events: none; transition: opacity .15s ease;
}
.as-przycisk:hover::after, .as-przycisk:focus-visible::after { opacity: 1; }
.as-przycisk.as-ukryty { opacity: 0; transform: translateY(.75rem); pointer-events: none; visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility 0s .25s; }
.as-przycisk[aria-expanded="true"] { opacity: 0; pointer-events: none; }
.as-panel {
  --as-panel: #0E1117; --as-karta: rgba(255, 255, 255, .06); --as-linia: rgba(255, 255, 255, .14);
  --as-tekst: #F6F6F2; --as-opis: #D3D6DB; --as-zolty: #FFE100; --as-font: "Poppins", system-ui, sans-serif;
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 61;
  width: min(23.75rem, calc(100vw - 2rem)); height: min(37.5rem, calc(100vh - 6rem)); display: flex; flex-direction: column;
  background: var(--as-panel); border: 1px solid var(--as-linia); border-radius: 1.1rem; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6); font-family: var(--as-font); color: var(--as-tekst); text-shadow: none;
  font-size: 1rem; line-height: 1.5;
}
.as-panel[hidden] { display: none; }
.as-panel::before { content: ""; height: 4px; flex: none; background: linear-gradient(90deg, #00A0E6 0 33%, #E2007A 33% 66%, #FFE100 66%); }
.as-glowa { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem 1rem .85rem 1.25rem; border-bottom: 1px solid var(--as-linia); }
.as-glowa h2 { margin: 0; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.as-podtytul { margin: .2rem 0 0; font-size: .8125rem; color: var(--as-opis); }
.as-demo { display: inline-block; padding: .05rem .45rem; border-radius: 999px; background: var(--as-zolty); color: #000; font-weight: 500; }
.as-zamknij { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin: -.4rem -.35rem 0 0; border: 0; border-radius: 50%; background: transparent; color: var(--as-tekst); cursor: pointer; }
.as-zamknij:hover { background: var(--as-karta); }
.as-zamknij svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.as-rozmowa { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: .75rem; font-size: .9375rem; line-height: 1.55; }
.as-dymek { max-width: 92%; padding: .7rem .9rem; border-radius: .9rem; }
.as-dymek p { margin: 0; } .as-dymek p + p, .as-dymek ul { margin-top: .5rem; }
.as-dymek ul { padding-left: 1.1rem; margin-bottom: 0; }
.as-dymek a { color: var(--as-tekst); text-decoration: underline; text-decoration-color: var(--as-zolty); text-underline-offset: 3px; }
.as-bot { align-self: flex-start; background: var(--as-karta); border-top-left-radius: .3rem; color: var(--as-opis); }
.as-bot strong { color: var(--as-tekst); font-weight: 500; }
.as-klient { align-self: flex-end; background: rgba(255, 225, 0, .12); border: 1px solid rgba(255, 225, 0, .35); border-top-right-radius: .3rem; }
.as-opcje { display: flex; flex-wrap: wrap; gap: .5rem; }
.as-opcja { min-height: 2.5rem; padding: .45rem .9rem; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: transparent; color: var(--as-tekst);
  font: 500 .875rem/1.2 var(--as-font); cursor: pointer; text-align: left; }
.as-opcja:hover { border-color: var(--as-zolty); }
a.as-opcja { display: inline-flex; align-items: center; text-decoration: none; }
.as-dol { flex: none; border-top: 1px solid var(--as-linia); padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); }
.as-pole { display: flex; gap: .5rem; margin: 0; }
.as-pole input { flex: 1; min-width: 0; min-height: 2.75rem; padding: 0 .9rem; border: 1px solid var(--as-linia); border-radius: .75rem; background: rgba(255, 255, 255, .04);
  color: var(--as-tekst); font: 400 .9375rem var(--as-font); }
.as-pole input::placeholder { color: rgba(211, 214, 219, .75); }
.as-pole button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: .75rem; background: var(--as-zolty); color: #000; }
.as-pole button:disabled, .as-pole input:disabled { opacity: .55; cursor: not-allowed; }
.as-pole button svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.as-kontakt { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; margin-top: .65rem; font-size: .8125rem; }
.as-kontakt a { display: inline-flex; align-items: center; gap: .35rem; min-height: 2rem; color: var(--as-zolty); text-decoration: none; }
.as-kontakt a:hover { text-decoration: underline; text-underline-offset: 3px; }
.as-kontakt svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.as-godziny { color: var(--as-opis); }
.as-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 600px) {
  .as-panel { left: 0; right: 0; bottom: 0; width: 100%; height: 88vh; height: 88dvh; border-radius: 1.1rem 1.1rem 0 0; border-bottom: 0; }
  html.as-otwarte { overflow: hidden; }
  .as-przycisk::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .as-przycisk, .as-przycisk.as-ukryty, .as-przycisk::after { transition: none; } }
.as-wybor { display: flex; flex-direction: column; gap: .6rem; }
.as-nawigacja { display: flex; flex-wrap: wrap; gap: .25rem .4rem; padding-top: .45rem; border-top: 1px dashed var(--as-linia); }
.as-nawigacja .as-opcja { min-height: 2.25rem; padding: .3rem .7rem; border-color: transparent; color: var(--as-opis); font-weight: 400; font-size: .8125rem; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
.as-nawigacja .as-opcja:hover { color: var(--as-tekst); border-color: transparent; text-decoration-color: var(--as-zolty); }
.as-opcja[aria-pressed="true"] { background: rgba(255, 225, 0, .14); border-color: var(--as-zolty); }
.as-opcja[aria-pressed="true"]::before { content: "✓ "; color: var(--as-zolty); }
.as-dalej { background: var(--as-zolty); border-color: var(--as-zolty); color: #000; }
.as-dalej:hover { border-color: var(--as-zolty); }
.as-dalej:disabled { opacity: .45; cursor: not-allowed; }
.as-lista { margin: .55rem 0 .2rem; display: grid; gap: .3rem; }
.as-lista div { display: grid; grid-template-columns: minmax(6.5rem, 40%) 1fr; gap: .6rem; }
.as-lista dt { color: var(--as-opis); }
.as-lista dd { margin: 0; color: var(--as-tekst); overflow-wrap: anywhere; }
.as-pole-aktywne input { border-color: rgba(255, 225, 0, .55); }
.as-pole input:not(:disabled):focus-visible { outline: 2px solid #FFE100; outline-offset: 1px; }
