/* TaxNexo: czat i zachęty (wydzielone z site/assets/site.css v4 przez wyciagnij-css.py; zmienne w zakresie .tx-konw) */
.cl-root,.px-bar,.px-slide,.cl-launch,.cl-panel{--grey:#5E6B80;--line:#E3E7EE;--mist:#F3F5F8;--navy:#0E2240;}
.cl-root{position:fixed;right:20px;bottom:20px;z-index:55;font-family:Poppins,Arial,sans-serif}
.cl-lw{display:block;filter:drop-shadow(0 10px 18px rgba(14,34,64,.28))}
.cl-lw[hidden]{display:none}
.cl-launch{display:flex;align-items:center;justify-content:center;width:64px;height:72px;border:0;padding:0;background:#12B886;color:#0E2240;cursor:pointer;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}
.cl-launch svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.cl-launch:hover{background:#0FA676}
.cl-launch:focus-visible{background:#0E2240;color:#fff;outline:none}
.cl-teaser{position:absolute;right:0;bottom:84px;width:280px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 40px -16px rgba(14,34,64,.35);display:flex;align-items:flex-start}
.cl-teaser[hidden]{display:none}
.cl-teaser.in{animation:clin .35s ease-out}
@keyframes clin{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.cl-teaser.in{animation:none}}
.cl-tbtn{flex:1;text-align:left;border:0;background:none;padding:16px 8px 16px 18px;font:500 14px/1.5 Poppins,Arial,sans-serif;color:var(--navy);cursor:pointer;min-height:44px}
.cl-tx{width:44px;height:44px;border:0;background:none;color:var(--grey);cursor:pointer;display:flex;align-items:center;justify-content:center;flex:none}
.cl-tx svg,.cl-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.cl-panel{position:absolute;right:0;bottom:88px;width:380px;height:min(600px,calc(100vh - 130px));display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 30px 70px -20px rgba(14,34,64,.4);overflow:hidden}
.cl-panel[hidden]{display:none}
.cl-head{display:flex;align-items:center;gap:12px;background:var(--navy);color:#fff;padding:14px 8px 14px 18px}
.cl-hx{width:38px;height:42px;background:#12B886;color:#0E2240;display:flex;align-items:center;justify-content:center;flex:none;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}
.cl-hx svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cl-ht{flex:1;min-width:0}
.cl-title{font-size:16px;font-weight:600;line-height:1.2;outline:none}
.cl-sub{font-size:12px;color:rgba(255,255,255,.7)}
.cl-close{width:44px;height:44px;border:0;background:none;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:10px}
.cl-close:hover,.cl-tx:hover{background:rgba(127,140,160,.18)}
.cl-notice{background:var(--mist);border-bottom:1px solid var(--line);padding:10px 18px;font-size:12.5px;line-height:1.45;color:var(--navy)}
.cl-msgs{flex:1;overflow-y:auto;padding:16px 16px 8px;display:flex;flex-direction:column;gap:10px;background:#fff}
.cl-msgs:focus-visible{outline:2px solid var(--navy);outline-offset:-2px}
.cl-msg{max-width:88%;font-size:14px;line-height:1.55;padding:10px 14px;border-radius:12px}
.cl-msg p{margin:0;text-wrap:pretty}
.cl-msg.bot{background:var(--mist);border:1px solid var(--line);align-self:flex-start}
.cl-msg.user{background:var(--navy);color:#fff;align-self:flex-end}
.cl-who{display:block;font-weight:600;font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--grey);margin-bottom:3px}
.cl-msg a{color:inherit;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.cl-chips{display:flex;flex-wrap:wrap;gap:8px;padding:6px 16px 10px;max-height:34%;overflow-y:auto}
.cl-chips[hidden]{display:none}
.cl-chip{min-height:44px;padding:0 14px;border:1px solid #CBD2DD;border-radius:10px;background:#fff;color:var(--navy);font:500 13.5px Poppins,Arial,sans-serif;cursor:pointer;text-align:left}
.cl-chip:hover{border-color:var(--navy)}
.cl-input{display:flex;gap:8px;padding:10px 12px 12px;border-top:1px solid var(--line);background:#fff}
.cl-input input{flex:1;min-width:0;height:48px;border:1px solid #CBD2DD;border-radius:10px;padding:0 14px;font:400 16px Poppins,Arial,sans-serif;color:var(--navy)}
.cl-input input:focus{outline:2px solid var(--navy);outline-offset:1px}
.cl-send{width:48px;height:48px;border:0;border-radius:10px;background:var(--navy);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;flex:none}
.cl-send svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}
.cl-formmsg{max-width:100%;width:100%}
.cl-form{display:grid;gap:10px}
.cl-f{display:grid;gap:4px;font-size:13px;font-weight:500}
.cl-f small{font-weight:400;color:var(--grey)}
.cl-f input,.cl-f textarea{width:100%;min-width:0;border:1px solid #CBD2DD;border-radius:10px;padding:10px 12px;font:400 16px Poppins,Arial,sans-serif;color:var(--navy);background:#fff}
.cl-f input{height:44px}
.cl-f textarea{resize:vertical}
.cl-f input:focus,.cl-f textarea:focus{outline:2px solid var(--navy);outline-offset:1px}
.cl-f small.cl-err,.cl-form small.cl-err{display:block;color:var(--navy);font-weight:500;font-size:12.5px;min-height:0}
.cl-err:empty{display:none}
.cl-err::before{content:"";display:inline-block;width:9px;height:10px;margin-right:6px;background:var(--navy);clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}
.cl-form [aria-invalid=true]{border-color:var(--navy);outline:2px solid var(--navy);outline-offset:1px}
.cl-hint{font-size:12.5px;color:var(--grey);line-height:1.45}
.cl-chk{display:grid;grid-template-columns:20px 1fr;gap:10px;font-size:13px;line-height:1.45;align-items:start;min-height:44px}
.cl-chk input{width:20px;height:20px;margin-top:2px;accent-color:var(--navy)}
.cl-frow{display:flex;gap:8px;flex-wrap:wrap}
.cl-submit{min-height:44px;padding:0 20px;border:0;border-radius:10px;background:var(--navy);color:#fff;font:600 14px Poppins,Arial,sans-serif;cursor:pointer}
.cl-submit:disabled{opacity:.7}
.cl-back{min-height:44px;padding:0 16px;border:1px solid #CBD2DD;border-radius:10px;background:#fff;color:var(--navy);font:500 14px Poppins,Arial,sans-serif;cursor:pointer}
.cl-fail{border:1px solid var(--navy);border-left-width:3px;border-radius:4px 10px 10px 4px;padding:10px 12px;font-size:13px;line-height:1.5}
.cl-fail a{text-decoration:underline}
.cl-typing p{color:var(--grey)}
@media (max-width:639px){.cl-root{right:16px;bottom:16px}.cl-launch{width:56px;height:64px}.cl-launch svg{width:24px;height:24px}.cl-teaser{width:min(280px,calc(100vw - 96px));bottom:76px}.cl-panel{position:fixed;inset:0;right:0;bottom:0;width:100%;height:100vh;height:100dvh;border:0;border-radius:0}html.cl-lock,html.cl-lock body{overflow:hidden}}
@media print{.cl-root{display:none!important}}
.cl-form small.cl-err:empty,.cl-f small.cl-err:empty{display:none}
.cl-teaser{flex-direction:column;align-items:stretch;width:300px}
.cl-ttop{display:flex;align-items:flex-start}
.cl-bigrow{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 0 4px;width:100%}
.cl-teaser .cl-bigrow{padding:0 14px 14px}
.cl-chip.cl-big{min-height:56px;justify-content:center;text-align:center;font-weight:600;font-size:16px;background:var(--navy);border-color:var(--navy);color:#fff;display:flex;align-items:center}
.cl-chips a.cl-chip{display:inline-flex;align-items:center;text-decoration:none}
.cl-chips{flex-direction:row}
.cl-chips .cl-bigrow{flex:0 0 100%}
.cl-bar{display:flex;gap:8px;padding:10px 12px;border-top:1px solid var(--line);background:var(--mist);align-items:flex-start}
.cl-human,.cl-book{display:flex;align-items:center;justify-content:center;min-height:44px;padding:6px 10px;border:1px solid var(--navy);border-radius:10px;background:#fff;color:var(--navy);font:500 13px/1.25 Poppins,Arial,sans-serif;text-align:center;cursor:pointer;text-decoration:none}
.cl-human{flex:1 1 55%}
.cl-bw{flex:1 1 45%;display:flex;flex-direction:column;gap:4px}
.cl-bw .cl-book{width:100%}
.cl-bnote{font-size:11px;line-height:1.35;color:var(--grey)}
.cl-human:hover,.cl-book:hover{background:var(--navy);color:#fff}
@media (max-width:639px){.cl-bar{flex-direction:column}.cl-human,.cl-bw{flex:none;width:100%}}
.px-bar{position:fixed;left:0;right:0;bottom:0;z-index:45;background:var(--navy);color:#fff;border-top:1px solid rgba(255,255,255,.14);box-shadow:0 -14px 34px -18px rgba(14,34,64,.5);transform:translateY(100%);transition:transform .3s ease}
.px-bar.in{transform:none}
.px-bar[hidden]{display:none}
.px-in{max-width:1200px;margin:0 auto;padding:12px 32px;display:flex;align-items:center;gap:20px}
.px-hx{width:22px;height:25px;background:#12B886;flex:none;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}
.px-t{flex:1;font-weight:500;font-size:16px;line-height:1.4}
.px-short{display:none}
.px-act{display:flex;gap:10px;align-items:flex-start;flex:none}
.px-bar .btn{box-shadow:none}
.px-bar .btn:not(.cta){background:#fff;color:var(--navy);border-color:#fff}
.px-bar .bnote{color:rgba(255,255,255,.72);font-size:11.5px}
.px-x{width:44px;height:44px;border:1px solid rgba(255,255,255,.28);border-radius:10px;background:transparent;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;flex:none}
.px-x svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.px-x:hover{background:rgba(255,255,255,.12)}
.px-bar :focus-visible,.px-slide :focus-visible{outline:2px solid #12B886;outline-offset:2px}
.px-slide{position:fixed;right:0;top:50%;z-index:44;width:340px;background:#fff;border:1px solid var(--line);border-right:0;border-radius:16px 0 0 16px;box-shadow:-18px 20px 44px -20px rgba(14,34,64,.4);padding:20px 56px 20px 20px;display:grid;grid-template-columns:22px 1fr;gap:6px 14px;transform:translate(100%,-50%);transition:transform .35s ease}
.px-slide.in{transform:translate(0,-50%)}
.px-slide[hidden]{display:none}
.px-slide .px-hx{margin-top:4px}
.px-st{font-weight:600;font-size:17px;line-height:1.4;color:var(--navy);text-wrap:balance}
.px-sact{grid-column:2;margin-top:10px}
.px-slide .bwrap{align-items:flex-start}
.px-slide .px-x{position:absolute;top:8px;right:8px;border-color:var(--line);color:var(--navy)}
.px-slide .px-x:hover{background:var(--mist)}
html.px-bar-on .cl-root{bottom:calc(20px + var(--px-off,0px))}
@media (min-width:601px){html.px-bar-on .cw-root{bottom:calc(16px + var(--px-off,0px))}}
@media (max-width:1024px){.px-slide{display:none!important}}
@media (max-width:639px){.px-in{padding:10px 12px;gap:10px}.px-hx{display:none}.px-t{font-size:14px}.px-full{display:none}.px-short{display:inline}.px-act .bwrap{display:none}.px-bar .btn.sm{padding:0 12px;font-size:13.5px}html.px-bar-on .cl-root{bottom:calc(16px + var(--px-off,0px))}}
@media (prefers-reduced-motion:reduce){.px-bar,.px-slide{transition:none}}
@media print{.px-bar,.px-slide{display:none!important}}
@media (min-width:640px){.cl-panel{height:min(700px,calc(100vh - 100px))}}
.cl-msgs{min-height:150px}
.cl-notice-box .cl-notice{padding:7px 18px;font-size:12px}
.cl-notice-box .cl-notice+.cl-notice{border-top:0}
.cl-chips{max-height:28%}
/* zmienne bez definicji w :root: --px-off */

/* v6: styl strony CMO nadawał .cl-notice układ flex (tekst i link w dwóch kolumnach) – nota RODO czatu jako zwykły akapit */
.cl-root .cl-notice{display:block}
.cl-root .cl-notice a{display:inline;word-break:normal}

/* Czat – poprawki Piotra 29.11 (wersja techniczna; wygląd końcowy: CMO). Małe chipy pod wiadomością, linki zamiast kafli,
   RODO w 1 linii z „więcej”, start od e-maila i zgody. */
.cl-root .cl-chips{display:flex;flex-wrap:wrap;gap:6px;padding:4px 14px 8px}
.cl-root .cl-chip{min-height:0;height:auto;padding:5px 11px;font-size:12.5px;line-height:1.3;border-radius:999px;border:1px solid var(--line,#E3E7EE);background:#fff;color:var(--navy,#0E2240);font-weight:500;width:auto;flex:0 0 auto;box-shadow:none}
.cl-root .cl-chip:hover{border-color:#12B886;color:#0b7a59}
.cl-root .cl-bar{display:flex;gap:14px;justify-content:center;padding:4px 14px 2px;background:transparent;border:0}
.cl-root .cl-bar .cl-human,.cl-root .cl-bar .cl-book{all:unset;cursor:pointer;font-size:12px;color:var(--grey,#5E6B80);text-decoration:underline;text-underline-offset:2px}
.cl-root .cl-bar .cl-human:hover,.cl-root .cl-bar .cl-book:hover{color:var(--navy,#0E2240)}
.cl-root .cl-notice-box .cl-notice{font-size:11.5px;padding:6px 14px;line-height:1.4}
.cl-root .cl-more{all:unset;cursor:pointer;color:var(--navy,#0E2240);text-decoration:underline;font-size:11.5px;margin-left:2px}
.cl-root .cl-gate p{margin:0 0 8px;font-size:13.5px}
.cl-root .cl-gate .cl-chk{font-size:12px;line-height:1.4}
.cl-root .cl-gate .cl-submit{margin-top:8px;width:100%}
.cl-root .cl-bar .cl-bw{display:inline-flex}
.cl-root .cl-bar{flex-wrap:nowrap}

/* Pasek CTA na telefonie (makieta CMO „pasek CTA”, AGT-189, 29.11): ✕ · „Start za 0 zł” · Załóż konto · jedna ikona czatu (48 px).
   Osobny przycisk „Zapytaj na czacie” i pływająca ikona czatu znikają, dopóki pasek jest widoczny; dymek stoi nad paskiem i ma własne ✕. */
.px-m,.px-chat{display:none}
.px-bubble{display:none}
@media (max-width:639px){
  .px-bar{padding:0 0 env(safe-area-inset-bottom)}
  .px-in{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:10px;padding:10px 12px;max-width:none}
  .px-act{display:contents}
  .px-x{order:1;grid-column:1;width:44px;height:44px;margin-left:-6px;border:0;background:none;color:#C9D3E3}
  .px-t{order:2;grid-column:2;min-width:0;font-size:13px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .px-t .px-full,.px-t .px-short{display:none}
  .px-m{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .px-m b{display:block;font-size:15px;font-weight:600;color:#fff}
  .px-m span{color:#C9D3E3;font-weight:400}
  .px-bar .btn.cta{order:3;grid-column:3;min-height:44px;height:44px;padding:0 16px;border-radius:10px;background:#12B886;color:#0E2240;font:600 15px Poppins,Arial,sans-serif;white-space:nowrap;border:0}
  .px-bar .px-bk{display:none}
  .px-chat{order:4;grid-column:4;display:flex;align-items:center;justify-content:center;position:relative;width:48px;height:48px;padding:0;border-radius:50%;border:1.5px solid rgba(255,255,255,.35);background:#16305A;color:#fff;cursor:pointer}
  .px-chat svg{width:22px;height:22px;stroke:#fff;fill:none;stroke-width:2}
  .px-dot{position:absolute;top:2px;right:2px;width:10px;height:10px;border-radius:50%;background:#12B886;border:2px solid #0E2240}
  .px-bubble{display:block;position:fixed;right:12px;bottom:calc(var(--px-off,0px) + 8px);z-index:46;max-width:260px;background:#fff;color:#0E2240;border:1px solid #DDE3EB;border-radius:14px;box-shadow:0 12px 30px -10px rgba(14,34,64,.35);padding:12px 40px 12px 14px;font:400 14px/1.45 Poppins,Arial,sans-serif}
  .px-bubble[hidden]{display:none}
  .px-bubble::after{content:"";position:absolute;right:22px;bottom:-7px;width:12px;height:12px;background:#fff;border-right:1px solid #DDE3EB;border-bottom:1px solid #DDE3EB;transform:rotate(45deg)}
  .px-bx{position:absolute;top:4px;right:4px;width:36px;height:36px;border:0;background:none;color:#5E6B80;font-size:16px;cursor:pointer}
  html.px-bar-on .cw-launch,html.px-bar-on .cw-teaser,html.px-bar-on .cl-launch,html.px-bar-on .cl-teaser{display:none!important}
  html.px-bar-on body{padding-bottom:96px}
  html.px-pasek-zamkniety .cw-teaser,html.px-pasek-zamkniety .cl-teaser{display:none!important} /* po zamknięciu paska zostaje sama okrągła ikona czatu */
}
