/* Zadania firmy — page-only styles. Shared chrome: ig-style.css + ig-body.css; shared helpers from
   invoice-generator.css; hero/steps/zalety helpers from consultations.css. Safari-safe: no backdrop-filter here,
   only opacity/transform transitions. */

.tf-i{display:block;width:24px;height:24px;flex:none}

/* ===== Hero: animated task card (browser mockup on desktop, standalone card on mobile) ===== */
.tf-screen{background:#0B1A24}
.tf-board{position:absolute;inset:0;display:flex;flex-direction:column;gap:10px;padding:0 0 12px;color:#F3F7F9;font-size:12.5px;line-height:1.3;
  background:radial-gradient(120% 70% at 100% 0%,rgba(19,184,238,.12),transparent 60%),radial-gradient(90% 60% at 0% 100%,rgba(255,160,79,.07),transparent 60%),#0B1A24}
.tf-bh{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)}
.tf-bh-ava{flex:none;width:32px;height:32px;border-radius:10px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#3FCBF5,#0E9FD3)}
.tf-bh-ava svg{width:18px;height:18px}
.tf-bh-who{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.tf-bh-who b{font-size:13.5px;font-weight:750;letter-spacing:-.01em}
.tf-bh-who small{font-size:11px;color:#9FB2BC;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tf-bh-free{flex:none;font-size:10.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#68E2B4;padding:5px 9px;border-radius:999px;
  background:rgba(104,226,180,.12);border:1px solid rgba(104,226,180,.3)}
.tf-rail{flex:none;display:flex;gap:6px;margin:0;padding:0 16px;list-style:none}
.tf-rail li{flex:1;min-width:0;display:flex;align-items:center;gap:6px;padding:5px 8px;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}
.tf-rail li span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tf-rail li i{flex:none;width:17px;height:17px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:9.5px;font-weight:800;
  background:rgba(255,255,255,.08);color:#B9C7CF;transition:background .3s,color .3s}
.tf-rail li.on{color:#fff;background:rgba(19,184,238,.14);border-color:rgba(19,184,238,.45)}
.tf-rail li.on i{background:#13B8EE;color:#04202C}
.tf-rail li.ok{color:#CFEFE2;border-color:rgba(104,226,180,.3)}
.tf-rail li.ok i{background:#68E2B4;color:#06281C}

.tf-task{flex:none;margin:0 16px;padding:12px 13px;display:flex;flex-direction:column;gap:9px;border-radius:16px;
  background:linear-gradient(160deg,rgba(255,255,255,.07),rgba(255,255,255,.025));border:1px solid rgba(255,255,255,.12);
  box-shadow:0 12px 28px rgba(0,0,0,.28);transition:opacity .45s ease,transform .45s ease,border-color .4s,box-shadow .4s}
.tf-task.is-done{border-color:rgba(104,226,180,.45);box-shadow:0 12px 28px rgba(0,0,0,.28),0 0 0 1px rgba(104,226,180,.18)}
.tf-task.is-out{opacity:0;transform:translateY(14px) scale(.97)}
.tf-t-top{display:flex;align-items:center;gap:9px;min-width:0}
.tf-t-ic{flex:none;width:28px;height:28px;border-radius:9px;display:grid;place-items:center;color:#FFA04F;background:rgba(255,160,79,.12);border:1px solid rgba(255,160,79,.3)}
.tf-t-ic svg{width:15px;height:15px}
.tf-t-title{position:relative;flex:1;min-width:0;height:20px;display:flex;align-items:center}
.tf-t-title em{font-style:normal;font-weight:650;color:#9FB2BC;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:opacity .3s}
.tf-t-title em::after{content:"";display:inline-block;width:1.5px;height:13px;margin-left:2px;vertical-align:-2px;background:#13B8EE;animation:tfCaret 1s steps(1) infinite}
@keyframes tfCaret{50%{opacity:0}}
.tf-sk{display:flex;flex-direction:column;gap:5px}
.tf-sk i{display:block;height:7px;border-radius:4px;background:linear-gradient(90deg,rgba(255,255,255,.28),rgba(19,184,238,.22))}
.tf-sk-title{position:absolute;left:0;top:50%;width:72%;transform:translateY(-50%) scaleX(.2);transform-origin:left;opacity:0;transition:opacity .35s,transform .45s ease}
.tf-sk-title i{height:9px}
.tf-sk-desc{padding-left:37px;opacity:0;transform:translateY(4px);transition:opacity .35s .1s,transform .35s .1s}
.tf-sk-desc i:nth-child(1){width:88%}.tf-sk-desc i:nth-child(2){width:58%}
.tf-sk-desc i{background:rgba(255,255,255,.12)}
.has-desc .tf-t-title em{opacity:0}
.has-desc .tf-sk-title{opacity:1;transform:translateY(-50%) scaleX(1)}
.has-desc .tf-sk-desc{opacity:1;transform:none}
.tf-state{flex:none;font-size:10px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;padding:4px 8px;border-radius:999px;white-space:nowrap;
  color:#B9C7CF;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);transition:color .3s,background .3s,border-color .3s}
.tf-state.run{color:#FFA04F;background:rgba(255,160,79,.12);border-color:rgba(255,160,79,.35)}
.tf-state.ok{color:#68E2B4;background:rgba(104,226,180,.12);border-color:rgba(104,226,180,.38)}
.tf-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.tf-chip{min-width:0;display:flex;align-items:center;gap:8px;padding:6px 9px;border-radius:11px;background:rgba(255,255,255,.035);border:1px dashed rgba(255,255,255,.14);
  transition:border-color .35s,background .35s,opacity .35s,transform .35s}
.tf-chip>svg{width:16px;height:16px;flex:none;color:#7F949E;transition:color .3s}
.tf-chip-tx{min-width:0;display:flex;flex-direction:column;gap:1px}
.tf-chip-tx small{font-size:9.5px;color:#8FA3AD;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tf-chip-tx b{font-size:12px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tf-ava{flex:none;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:10.5px;font-weight:800;color:#06281C;background:#68E2B4;
  transform:scale(.4);opacity:0;transition:transform .35s cubic-bezier(.3,1.6,.5,1),opacity .25s}
.tf-who .tf-chip-tx b{opacity:0;transition:opacity .3s .1s}
.has-due .tf-due{border-style:solid;border-color:rgba(19,184,238,.4);background:rgba(19,184,238,.08)}
.has-due .tf-due>svg{color:#13B8EE}
.has-who .tf-who{border-style:solid;border-color:rgba(104,226,180,.38);background:rgba(104,226,180,.07)}
.has-who .tf-ava{transform:none;opacity:1}
.has-who .tf-who .tf-chip-tx b{opacity:1}
.tf-prog{display:flex;align-items:center;gap:9px;opacity:.35;transition:opacity .35s}
.tf-prog small{flex:none;font-size:10px;color:#8FA3AD}
.tf-prog>i{flex:1;height:6px;border-radius:4px;background:rgba(255,255,255,.08);overflow:hidden}
.tf-prog b{display:block;height:100%;width:0;border-radius:4px;background:linear-gradient(90deg,#13B8EE,#68E2B4);transition:width .8s ease}
.has-run .tf-prog{opacity:1}
.tf-com{display:flex;align-items:center;gap:8px;min-height:30px;opacity:0;transform:translateY(6px);transition:opacity .35s,transform .35s}
.tf-com-ava{flex:none;width:24px;height:24px;border-radius:8px;display:grid;place-items:center;color:#13B8EE;background:rgba(19,184,238,.12);border:1px solid rgba(19,184,238,.3)}
.tf-com-ava svg{width:14px;height:14px}
.tf-com p{margin:0;padding:8px 11px;border-radius:12px 12px 12px 4px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.09)}
.tf-typing{display:flex;gap:4px}
.tf-typing i{width:5px;height:5px;border-radius:50%;background:#9FB2BC;animation:tfDot 1.1s ease-in-out infinite}
.tf-typing i:nth-child(2){animation-delay:.15s}.tf-typing i:nth-child(3){animation-delay:.3s}
@keyframes tfDot{0%,60%,100%{opacity:.35;transform:none}30%{opacity:1;transform:translateY(-2px)}}
.tf-sk-com{display:none!important;width:58%}
.tf-sk-com i:nth-child(1){width:100%}.tf-sk-com i:nth-child(2){width:62%}
.has-com .tf-com{opacity:1;transform:none}
.com-ans .tf-typing{display:none}
.com-ans .tf-sk-com{display:flex!important}
.tf-close{align-self:flex-end;display:inline-flex;align-items:center;gap:6px;padding:6px 11px;border-radius:10px;font-size:11px;font-weight:750;
  color:#7F949E;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);transition:color .3s,background .3s,border-color .3s,transform .2s}
.tf-close svg{width:14px;height:14px}
.has-run .tf-close{color:#D0DADF;border-color:rgba(255,255,255,.2)}
.is-done .tf-close{color:#06281C;background:#68E2B4;border-color:#68E2B4;transform:scale(.97)}
.tf-done{flex:none;margin:0 16px;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px;min-height:32px}
.tf-done li{display:flex;align-items:center;gap:9px;padding:6px 11px;border-radius:12px;background:rgba(104,226,180,.05);border:1px solid rgba(104,226,180,.18);
  opacity:0;transform:translateY(-6px);transition:opacity .35s,transform .35s}
.tf-done li.on{opacity:1;transform:none}
.tf-done li.gone{opacity:0}
.tf-d-ic{flex:none;color:#68E2B4;display:flex}
.tf-d-ic svg{width:15px;height:15px}
.tf-done .tf-sk{flex:1}
.tf-done .tf-sk i{width:60%;background:rgba(255,255,255,.14)}
.tf-done b{flex:none;font-size:10px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;color:#68E2B4}
.tf-hero-mob{display:none}

/* desktop: keep the board clear of the phone mockup that overlaps the browser's right side */
@media (min-width:769px){
  .tf-screen .tf-rail,.tf-screen .tf-task{margin-right:calc(29% + 6px)}
  .tf-screen .tf-rail{padding-right:0}
  .tf-screen .tf-done{display:none}
  .tf-screen .tf-board{gap:8px}
  .tf-screen .tf-task{padding:10px 12px;gap:7px}
}
@media (min-width:769px) and (max-width:1100px){.tf-board{font-size:11.5px}.tf-bh-free{display:none}.tf-rail li span{display:none}.tf-rail li{flex:none}}
@media (max-width:768px){
  .tf-hero .hero-visual{display:none}
  .tf-hero-mob{display:block;position:relative;width:100%}
  .tf-board-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)}
  .tf-board-mob .tf-bh-free{display:none}
  .tf-board-mob .tf-rail{padding:0 12px;gap:5px}
  .tf-board-mob .tf-rail li{padding:5px 7px;font-size:10px}
  .tf-board-mob .tf-task,.tf-board-mob .tf-done{margin:0 12px}
}
@media (max-width:768px){.tf-board-mob .tf-rail li span{display:none}.tf-board-mob .tf-rail li{flex:none}.tf-board-mob .tf-rail li.on span{display:inline}.tf-board-mob .tf-rail li.on{flex:1}}
@media (prefers-reduced-motion:reduce){.tf-task,.tf-chip,.tf-com,.tf-done li,.tf-prog b{transition:none}.tf-typing i,.tf-t-title em::after{animation:none}}
/* mobile: the hero grid must never widen past the viewport */
@media (max-width:1100px){.tf-hero .hero-grid{grid-template-columns:minmax(0,1fr)}.tf-hero .hero-copy,.tf-hero-mob,.tf-board-mob{min-width:0;max-width:100%}}

/* ===== Cena: free module card right under the hero (no packages on the live page) ===== */
.tf-price{background-color:transparent}
.tf-free{position:relative;max-width:980px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) auto;align-items:center;gap:28px;
  padding:30px 32px;border-radius:28px;background:linear-gradient(160deg,rgba(255,255,255,.07),rgba(255,255,255,.02));
  border:1px solid rgba(104,226,180,.35);box-shadow:0 24px 60px rgba(0,0,0,.3),inset 0 3px 0 #68E2B4}
.tf-free-l{display:flex;align-items:center;gap:18px;min-width:0}
.tf-free-ic{flex:none;width:60px;height:60px;border-radius:18px;display:grid;place-items:center;color:#06281C;background:linear-gradient(140deg,#8CF0CA,#3FC994)}
.tf-free-ic svg{width:28px;height:28px}
.tf-free .tf-free-price{margin:0 0 4px;font-size:clamp(32px,3.2vw,44px);font-weight:800;letter-spacing:-.03em;line-height:1;color:#fff}
.tf-free-sub{margin:0;font-size:14px;line-height:1.45;color:var(--b-muted,#9FB2BC)}
.tf-free-list{margin:0;padding:0;list-style:none;display:grid;gap:10px}
.tf-free-list li{display:flex;align-items:flex-start;gap:10px;font-size:14.5px;line-height:1.4;color:var(--b-ink2,#D0DADF)}
.tf-free-list svg{flex:none;width:18px;height:18px;margin-top:1px;color:#68E2B4}
.tf-free-btn{white-space:nowrap}
@media (max-width:1000px){.tf-free{grid-template-columns:minmax(0,1fr);gap:20px;padding:24px 22px;border-radius:24px}.tf-free-btn{width:100%}}
@media (max-width:768px){.tf-free{box-shadow:0 10px 24px rgba(0,0,0,.26),inset 0 3px 0 #68E2B4}}

/* ===== Zalety: Lucide icons in tinted tiles ===== */
.tf-zal{background-color:transparent}
.tf-zal .zt-ic svg{width:26px;height:26px}
.tf-zal .zt-ic.zt-cyan{background:rgba(19,184,238,.12);color:#13B8EE}
.tf-zal .zt-ic.zt-orange{background:rgba(255,160,79,.12);color:#FFA04F}
.tf-zal .zt-ic.zt-lime{background:rgba(104,226,180,.12);color:#68E2B4}

/* ===== Zespół ===== */
.tf-emp .ig-team-add{bottom:10%}
/* mobile: no ellipsis on chip labels ("Osoba odpowiedzialna") — let them wrap */
@media (max-width:768px){.tf-board-mob .tf-chip-tx small,.tf-board-mob .tf-chip-tx b{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.2}}

/* ===== Cena from 640px up (tablet / Duo / PC): same pattern as the employee offer card (glass, accent top line, header row with chip,
   big price, button, a facts panel on the right with icon tiles, the first one highlighted). Phones (<640) keep the card above. ===== */
.tf-free-top{display:none}
@media (min-width:640px){
  .tf-free{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-areas:"top list" "main list" "btn list";align-items:stretch;gap:0;
    padding:0;overflow:hidden;border-radius:28px;
    background:radial-gradient(70% 90% at 0% 0%,rgba(104,226,180,.10),transparent 60%),linear-gradient(160deg,rgba(255,255,255,.075),rgba(255,255,255,.02));
    border:1px solid rgba(104,226,180,.42);box-shadow:0 26px 60px rgba(0,0,0,.34),0 0 0 1px rgba(104,226,180,.16),inset 0 3px 0 #68E2B4}
  .tf-free-top{grid-area:top;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:30px 30px 0}
  .tf-free-name{margin:0;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#68E2B4}
  .tf-free-chip{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;padding:5px 10px;border-radius:999px;
    color:#13B8EE;background:rgba(19,184,238,.12);border:1px solid rgba(19,184,238,.4)}
  .tf-free-chip svg{width:14px;height:14px}
  .tf-free-l{grid-area:main;flex-direction:column;align-items:flex-start;gap:14px;padding:20px 30px 22px}
  .tf-free-ic{width:52px;height:52px;border-radius:16px;box-shadow:0 10px 26px rgba(104,226,180,.25)}
  .tf-free-ic svg{width:24px;height:24px}
  .tf-free .tf-free-price{margin:0 0 10px;font-size:clamp(44px,4vw,58px);font-weight:750;letter-spacing:-.04em}
  .tf-free-sub{font-size:15.5px;line-height:1.55;color:var(--b-ink2,#D0DADF)}
  .tf-free-btn{grid-area:btn;align-self:end;width:auto;min-height:50px;margin:0 30px 30px;justify-content:center}
  .tf-free-list{grid-area:list;align-content:center;gap:14px;padding:30px 28px;background:rgba(255,255,255,.025);border-left:1px solid rgba(255,255,255,.08)}
  .tf-free-list li{align-items:center;gap:14px;padding:14px;border-radius:18px;font-size:15px;font-weight:650;color:#fff;
    background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.08)}
  .tf-free-list li:first-child{border-color:rgba(104,226,180,.35);background:rgba(104,226,180,.06)}
  .tf-free-list svg{box-sizing:border-box;width:42px;height:42px;margin:0;padding:10px;border-radius:13px;
    color:#68E2B4;background:rgba(104,226,180,.12);border:1px solid rgba(104,226,180,.32)}
  .tf-free-list li:nth-child(2) svg{color:#FFA04F;background:rgba(255,160,79,.12);border-color:rgba(255,160,79,.32)}
  .tf-free-list li:nth-child(3) svg{color:#13B8EE;background:rgba(19,184,238,.12);border-color:rgba(19,184,238,.32)}
}
@media (min-width:640px) and (max-width:768px){
  .tf-free-top{padding:22px 20px 0}
  .tf-free-l{padding:16px 20px 18px}
  .tf-free .tf-free-price{font-size:44px}
  .tf-free-btn{margin:0 20px 22px}
  .tf-free-list{padding:18px 14px;gap:10px}
  .tf-free-list li{padding:12px;gap:12px;font-size:14px}
  .tf-free-list svg{width:38px;height:38px;padding:9px}
}

/* t74: gift icon inline left of the 'Za darmo' title (640+) */
@media (min-width:640px){
  .tf-free-l{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:16px;row-gap:12px}
  .tf-free-l>div{display:contents}
  .tf-free-ic{grid-column:1;grid-row:1}
  .tf-free .tf-free-price{grid-column:2;grid-row:1;margin:0}
  .tf-free-sub{grid-column:1/-1;grid-row:2}
}
