/* Zadania dla księgowego — page-only styles. Shared chrome: ig-style.css + ig-body.css; helpers from
   invoice-generator.css and consultations.css (kl-card, kl-steps, kl-zal). Safari-safe: no backdrop-filter,
   only opacity/transform/colour transitions. */
.ta-i{display:block;width:24px;height:24px;flex:none}

/* ===== Hero copy: UWAGA note ===== */
.ta-uwaga{display:flex;align-items:flex-start;gap:10px;margin:22px 0 0;max-width:560px;padding:12px 14px;border-radius:14px;font-size:13.5px;line-height:1.45;
  color:var(--b-ink2,#D0DADF);background:rgba(255,160,79,.08);border:1px solid rgba(255,160,79,.3)}
.ta-uwaga svg{width:18px;height:18px;margin-top:1px;color:#FFA04F}
.ta-uwaga b{color:#FFA04F}

/* ===== Hero: client -> accountant flow ===== */
.ta-screen{background:#0B1A24}
.ta-flow{position:absolute;inset:0;display:flex;flex-direction:column;gap:12px;padding:0 0 14px;color:#F3F7F9;font-size:12.5px;line-height:1.3;
  background:radial-gradient(110% 70% at 0% 0%,rgba(19,184,238,.12),transparent 60%),radial-gradient(90% 70% at 100% 100%,rgba(104,226,180,.09),transparent 60%),#0B1A24}
.ta-fh{flex:none;display:flex;align-items:center;gap:10px;padding:11px 16px;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.02)}
.ta-fh-ava{flex:none;width:32px;height:32px;border-radius:10px;display:grid;place-items:center;color:#3A1D02;background:linear-gradient(135deg,#FFC08A,#FF9A3E)}
.ta-fh-ava svg{width:18px;height:18px}
.ta-fh-who{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.ta-fh-who b{font-size:13.5px;font-weight:750;letter-spacing:-.01em}
.ta-fh-who small{font-size:11px;color:#9FB2BC}
.ta-fh-pkg{flex:none;font-size:10.5px;font-weight:800;letter-spacing:.03em;color:#68E2B4;padding:5px 9px;border-radius:999px;white-space:nowrap;
  background:rgba(104,226,180,.12);border:1px solid rgba(104,226,180,.3)}
.ta-lanes{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr);align-items:center;padding:0 16px}
.ta-lane{min-width:0;display:flex;flex-direction:column;gap:8px}
.ta-lane-h{margin:0;display:flex;align-items:center;gap:7px;font-size:11px;font-weight:750;color:#B9C7CF}
.ta-lane-ic{flex:none;width:22px;height:22px;border-radius:7px;display:grid;place-items:center}
.ta-lane-ic svg{width:13px;height:13px}
.ta-me .ta-lane-ic{color:#13B8EE;background:rgba(19,184,238,.14);border:1px solid rgba(19,184,238,.3)}
.ta-acc .ta-lane-ic{color:#68E2B4;background:rgba(104,226,180,.14);border:1px solid rgba(104,226,180,.3)}
.ta-compose{position:relative;display:flex;flex-direction:column;gap:8px;padding:11px 12px;border-radius:14px;min-height:96px;box-sizing:border-box;
  background:linear-gradient(160deg,rgba(255,255,255,.07),rgba(255,255,255,.025));border:1px solid rgba(19,184,238,.3);transition:border-color .3s,opacity .35s}
.ta-ph{position:relative;display:block;min-height:28px}
.ta-ph em{font-style:normal;font-weight:650;color:#9FB2BC;transition:opacity .3s}
.ta-ph em::after{content:"";display:inline-block;width:1.5px;height:13px;margin-left:2px;vertical-align:-2px;background:#13B8EE;animation:taCaret 1s steps(1) infinite}
@keyframes taCaret{50%{opacity:0}}
.ta-sk{display:flex;flex-direction:column;gap:5px}
.ta-sk i{display:block;height:7px;border-radius:4px;background:linear-gradient(90deg,rgba(255,255,255,.28),rgba(19,184,238,.22))}
.ta-ph .ta-sk{position:absolute;left:0;right:0;top:3px;opacity:0;transform:scaleX(.2);transform-origin:left;transition:opacity .35s,transform .45s ease}
.ta-ph .ta-sk i:nth-child(1){width:92%}.ta-ph .ta-sk i:nth-child(2){width:64%}
.has-desc .ta-ph em{opacity:0}
.has-desc .ta-ph .ta-sk{opacity:1;transform:none}
.ta-att{align-self:flex-start;display:inline-flex;align-items:center;gap:5px;font-size:10.5px;font-weight:700;color:#CFE9F4;padding:4px 8px;border-radius:8px;
  background:rgba(19,184,238,.14);border:1px solid rgba(19,184,238,.3);opacity:0;transform:scale(.7);transition:opacity .3s,transform .35s cubic-bezier(.3,1.6,.5,1)}
.ta-att svg{width:12px;height:12px}
.has-att .ta-att{opacity:1;transform:none}
.ta-send{position:absolute;right:10px;bottom:10px;width:28px;height:28px;border-radius:9px;display:grid;place-items:center;color:#fff;background:#13B8EE;transition:transform .2s,background .3s}
.ta-send svg{width:15px;height:15px}
.is-sent .ta-send{transform:scale(.88);background:#0E9FD3}
.has-in .ta-compose{opacity:.55}
.ta-wire{position:relative;height:2px;margin:22px 6px 0;border-radius:2px;background:repeating-linear-gradient(90deg,rgba(255,255,255,.22) 0 5px,transparent 5px 10px)}
.ta-pulse{position:absolute;left:-6px;top:50%;width:26px;height:26px;margin-top:-13px;border-radius:50%;display:grid;place-items:center;color:#04202C;background:#13B8EE;
  box-shadow:0 0 0 4px rgba(19,184,238,.18);opacity:0;transform:translateX(0);transition:none}
.ta-pulse svg{width:13px;height:13px}
.go .ta-pulse{opacity:1;transform:translateX(30px);transition:transform .85s cubic-bezier(.5,0,.3,1),opacity .2s}
.has-in .ta-pulse{opacity:0;transition:opacity .2s}
.ta-inbox{display:flex;align-items:center;gap:9px;padding:11px 12px;border-radius:14px;min-height:96px;box-sizing:border-box;
  background:rgba(255,255,255,.025);border:1px dashed rgba(255,255,255,.16);transition:border-color .35s,background .35s}
.ta-in-ic{flex:none;width:30px;height:30px;border-radius:10px;display:grid;place-items:center;color:#7F949E;background:rgba(255,255,255,.05);transition:color .3s,background .3s}
.ta-in-ic svg{width:16px;height:16px}
.ta-in-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px;opacity:0;transform:translateY(6px);transition:opacity .35s,transform .35s}
.ta-in-tx b{font-size:12px;font-weight:750}
.ta-in-tx .ta-sk i{width:80%;background:rgba(255,255,255,.16)}
.ta-in-clip{flex:none;color:#13B8EE;opacity:0;transition:opacity .3s .15s}
.ta-in-clip svg{width:14px;height:14px}
.has-in .ta-inbox{border-style:solid;border-color:rgba(104,226,180,.4);background:linear-gradient(160deg,rgba(104,226,180,.09),rgba(255,255,255,.02))}
.has-in .ta-in-ic{color:#06281C;background:#68E2B4}
.has-in .ta-in-tx,.has-in .ta-in-clip{opacity:1;transform:none}
.ta-status{flex:none;margin:0;padding:0 16px;list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.ta-status li{min-width:0;display:flex;align-items:center;justify-content:center;gap:5px;padding:6px 6px;border-radius:999px;font-size:10.5px;font-weight:700;color:#7F949E;
  background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);transition:color .3s,background .3s,border-color .3s}
.ta-status li svg{width:13px;height:13px}
.ta-status li span{white-space:nowrap}
.ta-status li.ok{color:#CFEFE2;border-color:rgba(104,226,180,.3);background:rgba(104,226,180,.06)}
.ta-status li.on{color:#fff;background:rgba(19,184,238,.14);border-color:rgba(19,184,238,.45)}
.ta-status li[data-s="3"].on{background:rgba(255,160,79,.14);border-color:rgba(255,160,79,.45);color:#FFD2AA}
.ta-status li[data-s="4"].ok{color:#06281C;background:#68E2B4;border-color:#68E2B4}
.ta-hero-mob{display:none}

/* desktop: keep the flow clear of the phone mockup on the browser's right side */
@media (min-width:769px){
  .ta-screen .ta-lanes,.ta-screen .ta-status{margin-right:calc(31% + 8px);padding-right:0}
  .ta-screen .ta-lanes{grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr)}
  .ta-screen .ta-wire{margin-left:4px;margin-right:4px}
  .ta-screen .go .ta-pulse,.ta-screen.go .ta-pulse{transform:translateX(20px)}
  .ta-screen .ta-status li{font-size:9.5px;gap:4px;padding:5px 4px}
  .ta-screen .ta-status li svg{width:11px;height:11px}
  .ta-screen .ta-lane-h{font-size:10px}
  .ta-screen .ta-acc .ta-lane-h{white-space:nowrap}
}
@media (min-width:769px) and (max-width:1100px){.ta-fh-pkg{display:none}.ta-screen .ta-status li span{display:none}}
@media (max-width:768px){
  .ta-hero .hero-visual{display:none}
  .ta-hero-mob{display:block;position:relative;width:100%}
  .ta-flow-mob{position:relative;inset:auto;border-radius:22px;border:1px solid rgba(255,255,255,.12);overflow:hidden;box-shadow:0 14px 34px rgba(0,0,0,.3)}
  .ta-flow-mob .ta-lanes{grid-template-columns:minmax(0,1fr);padding:0 14px}
  .ta-flow-mob .ta-wire{width:2px;height:40px;margin:2px auto;background:repeating-linear-gradient(180deg,rgba(255,255,255,.22) 0 5px,transparent 5px 10px)}
  .ta-flow-mob .ta-pulse{left:50%;top:-6px;margin:0 0 0 -13px}
  .ta-flow-mob.go .ta-pulse{transform:translateY(32px)}
  .ta-flow-mob .ta-compose,.ta-flow-mob .ta-inbox{min-height:78px}
  .ta-flow-mob .ta-status{padding:0 14px;grid-template-columns:repeat(2,minmax(0,1fr))}
  .ta-flow-mob .ta-status li{font-size:11px;padding:7px 8px}
}
@media (prefers-reduced-motion:reduce){.ta-pulse,.ta-att,.ta-in-tx,.ta-ph .ta-sk{transition:none}.ta-ph em::after{animation:none}}
@media (max-width:1100px){.ta-hero .hero-grid{grid-template-columns:minmax(0,1fr)}.ta-hero .hero-copy,.ta-hero-mob,.ta-flow-mob{min-width:0;max-width:100%}}

/* ===== Cennik: Faktury M / L (two cards, stacked on mobile — no carousel) ===== */
.ta-pricing,.ta-who,.ta-zal{background-color:transparent}
.ta-pkgs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:820px;margin:0 auto}
.ta-card{margin:0!important;box-shadow:0 20px 50px rgba(0,0,0,.32),inset 0 3px 0 var(--acc)}
.ta-card.is-feat{border-color:rgba(255,160,79,.45);box-shadow:0 24px 60px rgba(255,160,79,.14),0 0 0 1px rgba(255,160,79,.2),inset 0 3px 0 #FFA04F}
.ta-card.is-feat .btn-primary{background:#FFA04F;color:#3A1D02}
.ta-card.is-feat .btn-primary:hover{background:#ffb06a}
.ta-card .kl-card-top{margin-bottom:18px}
.ta-tasks{display:flex;align-items:baseline;gap:10px;margin:0 0 14px;padding:12px 14px;border-radius:14px;background:var(--acc-soft);border:1px solid color-mix(in srgb,var(--acc) 40%,transparent)}
.ta-tasks-n{font-size:30px;font-weight:800;letter-spacing:-.03em;line-height:1;color:var(--acc)}
.ta-tasks-l{font-size:14px;font-weight:650;color:#fff}
.ta-card .kl-price{margin-bottom:4px}
.ta-next{margin:0 0 12px;font-size:13px;color:var(--b-muted,#9FB2BC)}
.ta-lead{margin:0 0 20px;font-size:14.5px;line-height:1.45;color:var(--b-ink2,#D0DADF)}
.ta-notes{max-width:820px;margin:22px auto 0;text-align:center;font-size:13.5px;line-height:1.5;color:var(--b-muted,#9FB2BC)}
.ta-notes p{margin:4px 0}
.ta-notes a{color:#13B8EE;font-weight:650;text-decoration:none}
@media (max-width:768px){
  .ta-pkgs{grid-template-columns:minmax(0,1fr);gap:16px}
  .ta-card{box-shadow:0 10px 24px rgba(0,0,0,.26),inset 0 3px 0 var(--acc)}
  .ta-card.is-feat{box-shadow:0 10px 24px rgba(255,160,79,.10),0 0 0 1px rgba(255,160,79,.2),inset 0 3px 0 #FFA04F}
}

/* ===== Dla kogo: 3 condition cards ===== */
.ta-who-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.ta-wc{position:relative;padding:26px 24px;border-radius:24px;background:linear-gradient(160deg,rgba(255,255,255,.07),rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.1);box-shadow:0 18px 44px rgba(0,0,0,.28)}
.ta-wc-n{position:absolute;right:20px;top:18px;font-size:13px;font-weight:800;letter-spacing:.06em;color:rgba(255,255,255,.28)}
.ta-wc-ic{width:50px;height:50px;border-radius:15px;display:grid;place-items:center;margin-bottom:18px}
.ta-wc-ic svg{width:24px;height:24px}
.ta-wc-cyan .ta-wc-ic{color:#13B8EE;background:rgba(19,184,238,.12);border:1px solid rgba(19,184,238,.28)}
.ta-wc-lime .ta-wc-ic{color:#68E2B4;background:rgba(104,226,180,.12);border:1px solid rgba(104,226,180,.28)}
.ta-wc-orange .ta-wc-ic{color:#FFA04F;background:rgba(255,160,79,.12);border:1px solid rgba(255,160,79,.3)}
.ta-wc h3{margin:0 0 8px;font-size:18px;line-height:1.25;color:#fff}
.ta-wc p{margin:0;font-size:14.5px;line-height:1.5;color:var(--b-ink2,#D0DADF)}
.ta-who-link{margin:26px 0 0;text-align:center}
.ta-who-link a{display:inline-flex;align-items:center;gap:8px;color:#13B8EE;font-weight:700;text-decoration:none}
.ta-who-link svg{width:18px;height:18px}
@media (max-width:900px){.ta-who-grid{grid-template-columns:minmax(0,1fr);gap:14px}.ta-wc{padding:22px 20px;box-shadow:0 10px 24px rgba(0,0,0,.24)}}

/* ===== Zalety ===== */
.ta-zal .zt-ic svg{width:26px;height:26px}
.ta-zal .zt-ic.zt-cyan{background:rgba(19,184,238,.12);color:#13B8EE}
.ta-zal .zt-ic.zt-orange{background:rgba(255,160,79,.12);color:#FFA04F}
.ta-zal .zt-ic.zt-lime{background:rgba(104,226,180,.12);color:#68E2B4}
/* done state on the accountant side */
.in-ok .ta-inbox{border-color:#68E2B4;box-shadow:0 0 0 1px rgba(104,226,180,.25)}
/* longer live H1 than on the other pages: a notch smaller so it stays at 3 lines on desktop */
@media (min-width:901px){.ta-hero h1{font-size:clamp(42px,4.2vw,60px);line-height:1.02}}

/* ===== Cennik, mobile only: M | L switch + ONE centred card ===== */
.ta-switch{display:none}
@media (max-width:768px){
  .ta-pricing{padding-top:64px;padding-bottom:64px}
  .ta-pricing .bh{margin-bottom:18px}
  .ta-pricing .bh h2{font-size:30px;margin-bottom:10px}
  .ta-pricing .kl-mode-lead{font-size:15px}
  /* the switch: same component as Online / W biurze on consultations (ig-switch + kl-switch), thumb tinted per package */
  .ta-switch{display:flex;width:100%;max-width:420px;margin:0 auto 14px}
  .ta-switch .ig-period{flex:1 1 0;justify-content:center;padding:12px 6px;font-size:15px}
  .ta-switch .ig-period > span{font-size:15px!important;line-height:1.2!important;font-weight:700}
  .ta-switch .ig-period > span::after{content:none!important}
  .ta-switch .ig-period:focus-visible{outline:2px solid #fff;outline-offset:-4px}
  .ta-switch .ig-switch-thumb{transition:transform .35s cubic-bezier(.2,.7,.2,1),width .35s cubic-bezier(.2,.7,.2,1),background-color .35s}
  .ta-switch[data-sel="m"] .ig-switch-thumb{background:#68E2B4}
  .ta-switch[data-sel="l"] .ig-switch-thumb{background:#FFA04F}
  .ta-switch .ig-period.is-active{color:#06222A}
  /* one grid cell for both cards: the taller card sets the height, the inactive one cross-fades out (Safari-safe) */
  .ta-pkgs{display:grid;grid-template-columns:minmax(0,1fr);gap:0;width:100%;max-width:420px;margin:0 auto}
  .ta-pkgs .ta-card,.ta-pkgs .ta-card.is-feat{grid-area:1/1;width:auto;max-width:none;flex:none;margin:0!important;
    padding:18px 18px 16px;border-radius:22px;
    opacity:0;visibility:hidden;transform:translateY(6px) scale(.985);
    transition:opacity .3s ease,transform .35s cubic-bezier(.2,.7,.2,1),visibility 0s linear .35s}
  .ta-pkgs .ta-card.is-on{opacity:1;visibility:visible;transform:none;transition:opacity .3s ease,transform .35s cubic-bezier(.2,.7,.2,1),visibility 0s}
  .ta-card .kl-card-top{margin-bottom:12px;min-height:28px}
  .ta-tasks{margin-bottom:12px;padding:9px 12px}
  .ta-tasks-n{font-size:26px}
  .ta-card .kl-price .now{font-size:40px}
  .ta-next{margin-bottom:10px;font-size:12.5px}
  .ta-lead{margin-bottom:14px;font-size:14px}
  .ta-card .btn{min-height:46px}
  .ta-notes{margin-top:14px;font-size:12.5px}
}
@media (max-width:768px) and (prefers-reduced-motion:reduce){.ta-pkgs .ta-card,.ta-pkgs .ta-card.is-on,.ta-switch .ig-switch-thumb{transition:none}}
