/* ChatGPT Ads — Figma 374:5087, 388:82, 393:879, 388:607, 388:1132, 388:1657, 388:2182 (prefiks .cg-) */
.cg-th{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.cg-th h3{margin:0;font-size:18px;font-weight:600;display:flex;align-items:center;gap:10px} .cg-th p{margin:2px 0 0;font-size:12.5px;color:var(--muted)}
.cg-strong{font-weight:700;color:var(--ink)} .cg-convt .cg-strong{font-weight:500}
.cg-dd{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 14px 0 18px;border-radius:999px;background:#fff;border:1px solid var(--line);font-weight:600;font-size:13.5px;white-space:nowrap;transition:.15s;max-width:100%}
.cg-dd:hover{border-color:#CDD2DD} .cg-dd > span{overflow:hidden;text-overflow:ellipsis}
.cg-dd .faint{font-weight:500}
.cg-pills .pill{height:40px}
.cg-q{font-weight:400!important;height:44px!important;padding:0 16px!important;border-radius:999px}
.cg-q input{font-weight:400}

/* --- Kampanie --- */
.cg-accc{padding:18px 22px}
.cg-acc{display:flex;align-items:center;gap:14px}
.cg-accn{gap:8px} .cg-accn b{font-size:16px;font-weight:600;margin-right:2px}
.cg-acc small{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--muted);margin-top:3px}
.cg-acc .btn.danger{border-color:#F6C5C7}
.cg-chr{gap:8px}
.cg-leg{display:inline-flex;align-items:center;gap:7px;height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:#fff;font-weight:500;font-size:13px;transition:.15s}
.cg-leg i{width:8px;height:8px;border-radius:50%} .cg-leg.off{color:var(--faint);background:var(--soft);border-color:var(--soft)} .cg-leg.off i{background:var(--faint)!important}
.cg-nochart{height:220px;display:grid;place-items:center;background:var(--soft);border-radius:18px;color:var(--muted)}
.cg-ct td{vertical-align:middle}
.cg-ct tr.cg-crow{cursor:pointer}
.cg-ct tr.cg-crow:not(.hl):hover td{background:#F8F9FC}
.cg-cname{display:flex;align-items:center;gap:10px;min-width:220px}
.cg-cname b{display:block;font-weight:600;color:var(--ink)} .cg-cname small{display:block;font-size:11.5px;color:var(--muted)}
.cg-chev{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;color:var(--body);flex:none;transition:transform .15s}
.cg-chev.on{transform:rotate(90deg)} .cg-chev:hover{background:#fff}
.cg-cico{width:36px;height:36px;border-radius:12px;background:var(--green-t);color:var(--green);display:grid;place-items:center;flex:none}
.cg-ad{padding-left:34px}
.cg-aico{width:32px;height:32px;border-radius:10px;border:1px solid var(--line);background:#fff;color:var(--muted);display:grid;place-items:center;flex:none}
.cg-arow{cursor:pointer} .cg-arow:hover td{background:#F8F9FC}
.cg-conv{color:var(--accent);font-weight:700} .cg-conv:hover{text-decoration:underline}
.cg-actc{width:1%;white-space:nowrap}
.cg-ct .cg-tg{min-width:118px}
.cg-mst{margin-top:5px}
.cg-total{margin:14px 4px 0;text-align:right;font-size:12.5px;color:var(--body);font-weight:500}

/* --- Reklamy --- */
.cg-fil{display:flex;gap:10px;align-items:center}
.cg-fil .cg-q{flex:1;min-width:0}
.cg-ads{display:flex;flex-direction:column;gap:12px} .cg-cnt{margin:-4px 0 0;font-size:12.5px;color:var(--muted)}
.cg-adg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.cg-adc{background:#fff;border-radius:var(--r);padding:16px 16px 18px;display:flex;flex-direction:column;gap:14px;min-width:0;transition:opacity .2s}
.cg-adc.off .cg-chat,.cg-adc.off .cg-stats{opacity:.55}
.cg-adt{gap:6px}
.cg-chat{background:var(--soft);border-radius:24px;padding:10px}
.cg-chatin{background:#fff;border-radius:18px;padding:14px 14px 12px;display:flex;flex-direction:column;gap:7px}
.cg-chh{display:flex;align-items:center;gap:8px;margin-bottom:8px} .cg-chh b{font-size:13px;font-weight:600}
.cg-sk{display:block;height:6px;border-radius:9px;background:var(--line2)}
.cg-adbox{display:flex;gap:12px;align-items:center;border:1px solid var(--line);border-radius:16px;padding:9px;margin-top:10px}
.cg-adbox img{width:64px;height:64px;border-radius:10px;object-fit:cover;flex:none}
.cg-adbox > div{min-width:0}
.cg-adbox small{display:block;font-size:9.5px;font-weight:600;color:var(--faint);letter-spacing:.06em;text-transform:uppercase}
.cg-adbox b{display:block;font-size:13.5px;font-weight:600;color:var(--ink);line-height:1.3}
.cg-adbox p{margin:1px 0;font-size:12px;color:var(--body);line-height:1.35}
.cg-adbox em{font-style:normal;font-size:11.5px;color:var(--muted)}
.cg-where{margin:0;font-size:12.5px;color:var(--muted)}
.cg-warn{display:flex;align-items:center;gap:8px;background:var(--orange-t);border-radius:12px;padding:8px 12px;font-size:12.5px;color:var(--ink)} .cg-warn svg{color:var(--orange)}
.cg-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.cg-stats span{background:var(--soft);border-radius:14px;padding:8px 10px;min-width:0}
.cg-stats small{display:block;font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis} .cg-stats b{display:block;font-size:14px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cg-adf{display:flex;align-items:center;gap:10px}
.cg-onl{font-weight:600;font-size:13px}
.cg-link{display:inline-flex;align-items:center;gap:5px;color:var(--accent);font-weight:600;font-size:12.5px;padding:6px} .cg-link:hover{text-decoration:underline}
/* pop-up Podgląd (393:879) */
.cg-pvm{padding:22px}
.cg-pvm .mh{margin-bottom:16px} .cg-pvm .mh h2{font-size:18px} .cg-pvm .mh p{font-size:12px;max-width:290px}
.cg-pv{background:var(--soft);border-radius:22px;padding:12px}
.cg-pvc{background:#fff;border-radius:16px;border:1px solid var(--line);padding:12px;display:flex;gap:12px;align-items:center}
.cg-pvc img{width:118px;height:118px;border-radius:10px;object-fit:cover;flex:none}
.cg-pvb{display:flex;align-items:center;gap:6px;font-size:12px} .cg-pvb i{width:16px;height:16px;border-radius:50%;background:var(--line2);border:1px solid var(--line)} .cg-pvb b{font-weight:600} .cg-pvb span{margin-left:auto;color:var(--muted);font-size:11px}
.cg-pvc h4{margin:6px 0 4px;font-size:14px;font-weight:700;line-height:1.3}
.cg-pvc p{margin:0;font-size:12px;color:var(--body);line-height:1.4}
.cg-lm{display:inline-flex;align-items:center;gap:4px;margin-top:8px;font-size:12px;font-weight:600}
.cg-lm:hover{color:var(--accent)}

/* --- Podpowiedzi --- */
.cg-info{align-items:flex-start;font-size:12.5px;color:var(--body);line-height:1.5;padding:16px 20px} .cg-info svg{margin-top:2px}
.cg-fil2 .cg-dd{flex:none}
.cg-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.cg-tile{background:#fff;border-radius:24px;padding:18px 20px;min-width:0}
.cg-tile small{display:block;font-size:12px;color:var(--muted);margin-bottom:4px} .cg-tile b{font-size:22px;font-weight:700}
.cg-groups{gap:20px}
.cg-gh{display:flex;justify-content:space-between;gap:10px 16px;flex-wrap:wrap;align-items:flex-start}
.cg-gt{display:flex;align-items:center;gap:8px;flex-wrap:wrap} .cg-gt h3{margin:0 2px;font-size:18px;font-weight:600}
.cg-bulb{width:30px;height:30px;border-radius:50%;background:var(--accent-t);color:var(--accent);display:grid;place-items:center;flex:none}
.cg-gs{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;color:var(--muted);padding-top:4px}
.cg-gsub{margin:4px 0 16px;font-size:12.5px;color:var(--muted)}
.cg-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.cg-hc{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 6px 0 14px;border-radius:999px;background:var(--soft);font-size:13px;color:var(--ink);max-width:100%;animation:pop .18s}
.cg-hc button{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;color:var(--muted);flex:none} .cg-hc button:hover{background:var(--red-t);color:var(--red)}
.cg-add{display:flex;gap:10px} .cg-add .field{height:44px;font-weight:400;padding:0 16px} .cg-add .field input{font-weight:400}
.cg-add .btn{flex:none}

/* --- Odbiorcy --- */
.cg-mrow{display:flex;justify-content:flex-end;margin-top:-8px}
.cg-brw{display:grid;grid-template-columns:180px minmax(0,1fr);gap:36px;align-items:center}
.cg-brw.nod{grid-template-columns:minmax(0,1fr)}
.cg-dn{display:grid;place-items:center} .cg-dn .donut svg circle{stroke-width:16}
.cg-br{display:grid;grid-template-columns:minmax(0,1fr) 92px 78px 78px 92px 96px;gap:0 8px;align-items:center;padding:12px 0;border-top:1px solid var(--line2)}
.cg-br > span{text-align:right;font-size:13px;color:var(--body);white-space:nowrap}
.cg-br > span b{color:var(--ink);font-weight:700}
.cg-brh{padding:0 0 10px;border-top:0;border-bottom:1px solid var(--line)} .cg-brh + .cg-br{border-top:0}
.cg-brh > span{font-size:10.5px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.05em} .cg-brh > span.on{color:var(--accent)}
.cg-brl{min-width:0;padding-right:14px}
.cg-brn{display:flex;align-items:center;gap:8px;margin-bottom:7px;min-width:0}
.cg-brn i{width:8px;height:8px;border-radius:50%;flex:none} .cg-brn b{font-weight:600;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cg-brn em{margin-left:auto;font-style:normal;font-size:11px;color:var(--muted)}
.cg-brl .prog{height:5px}
.cg-hmw{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 -4px;padding:0 4px 4px}
.cg-hm{display:grid;grid-template-columns:34px repeat(24,minmax(26px,1fr));gap:4px;min-width:760px}
.cg-hm i{display:block;height:26px;border-radius:6px;background:var(--soft);transition:transform .1s}
.cg-hm i:hover{transform:scale(1.12);box-shadow:0 0 0 2px #fff,0 0 0 3px var(--accent)}
.cg-hh{font-size:10.5px;color:var(--muted);text-align:center;padding-bottom:2px}
.cg-hd{font-size:11.5px;color:var(--muted);display:flex;align-items:center;position:sticky;left:0;background:#fff;z-index:1;margin-right:-4px}
.cg-hmf{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}
.cg-hmf p{margin:0;font-size:13px;color:var(--body)}
.cg-hml{display:flex;align-items:center;gap:4px} .cg-hml i{width:16px;height:12px;border-radius:4px} .cg-hml small{font-size:11px;color:var(--muted);margin:0 4px}

/* --- Konwersje --- */
.cg-attr{margin:-6px 2px 0;font-size:12px;color:var(--muted)}
.cg-goal{display:inline-grid;place-items:center;min-width:24px;height:24px;border-radius:999px;background:var(--green-t);color:var(--green);font-size:11.5px;font-weight:700}
.cg-convt td{padding-top:20px;padding-bottom:20px}
.cg-evs{display:flex;flex-direction:column;gap:12px}
.cg-ev{display:flex;align-items:center;gap:16px;background:var(--soft);border-radius:18px;padding:14px 18px;cursor:pointer;transition:.15s}
.cg-ev:hover{background:#EEF1F6}
.cg-evn{display:flex;align-items:center;gap:10px;flex-wrap:wrap} .cg-evn b{font-weight:600;font-size:13.5px}
.cg-nc{font-size:12px;color:var(--muted)} .cg-std{font-size:11.5px;color:var(--faint)}
.cg-ev p{margin:3px 0 0;font-size:12.5px;color:var(--muted)}
.cg-evs3{display:flex;gap:16px;font-size:12.5px;color:var(--muted);white-space:nowrap;flex:none}

/* --- Historia zmian --- */
.cg-hf{margin-top:-4px}
.cg-hdate{margin:0 0 10px;font-size:18px;font-weight:600}
.cg-hl{display:flex;flex-direction:column}
.cg-hi{display:flex;align-items:flex-start;gap:12px;padding-top:7px}
.cg-hi .bub{width:34px;height:34px}
.cg-hb{flex:1;min-width:0;display:flex;gap:12px;border-bottom:1px solid var(--line);padding:6px 0 12px}
.cg-hi:last-child .cg-hb{border-bottom:0;padding-bottom:4px}
.cg-hit{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13.5px} .cg-hit b{font-weight:600} .cg-hit span{color:var(--body)}
.cg-hi small{display:block;font-size:12px;color:var(--muted);margin-top:3px}
.cg-hi time{font-size:12px;color:var(--muted);padding-top:2px;flex:none}
.cg-more{display:flex;justify-content:center}
.cg-end{display:flex;align-items:center;justify-content:center;gap:6px;margin:0;font-size:12.5px;color:var(--muted)}

@media (max-width:1280px){ .cg-br{grid-template-columns:minmax(0,1fr) 84px 70px 64px 84px 88px} .cg-brw{grid-template-columns:150px minmax(0,1fr);gap:24px} }
@media (max-width:1100px){ .cg-adg{grid-template-columns:minmax(0,1fr)} .cg-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cg-brw{grid-template-columns:minmax(0,1fr);gap:16px}
  .cg-brh{display:none}
  .cg-br{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px 10px;border-top:1px solid var(--line2)}
  .cg-brw .cg-br:nth-child(2){border-top:0}
  .cg-brl{grid-column:1/-1;padding-right:0}
  .cg-br > span{text-align:left;font-size:12.5px}
  .cg-br > span::before{content:attr(data-l);display:block;font-size:10px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
}
@media (max-width:760px){
  .cg-th{margin-bottom:12px} .cg-th h3{font-size:16.5px}
  .cg-accc{padding:16px} .cg-acc{flex-wrap:wrap;gap:10px 12px} .cg-acc .plogo{width:36px!important;height:36px!important}
  .cg-acc .grow{flex:1 1 calc(100% - 50px)} .cg-acc small{flex-wrap:wrap} .cg-acc .btn{margin-left:48px}
  .cg-chr{width:100%} .cg-leg{height:34px;padding:0 11px;font-size:12px} .cg-chr .pills{margin-left:auto} .cg-pills .pill{height:34px;padding:0 12px;font-size:12px}
  .cg-ct .cg-cname{min-width:0} .cg-chev{width:20px} .cg-cico{width:30px;height:30px;border-radius:10px} .cg-ad{padding-left:24px}
  .cg-ct .cg-tg{min-width:0;width:36px;padding:0} .cg-ct .cg-tg span{display:none}
  .cg-ct td:first-child{padding-left:4px} .cg-cname small{font-size:11px}
  .cg-total{text-align:left}
  .cg-fil{flex-wrap:wrap;gap:8px} .cg-fil .cg-q{flex:1 1 100%} .cg-fil .cg-dd{height:38px;font-size:12.5px;padding:0 10px 0 14px;flex:1 1 auto;justify-content:space-between}
  .cg-fil2 .cg-dd{flex:1 1 100%}
  .cg-adc{padding:12px 12px 14px;gap:12px}
  .cg-chat{padding:8px;border-radius:20px} .cg-chatin{padding:12px}
  .cg-adbox img{width:56px;height:56px}
  .cg-stats{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px} .cg-stats span{grid-column:span 2} .cg-stats span:nth-child(n+4){grid-column:span 3}
  .cg-adf{flex-wrap:wrap} .cg-adf .sp{flex:1}
  .cg-pvc{flex-direction:column;align-items:stretch} .cg-pvc img{width:100%;height:180px}
  .cg-tiles{gap:10px} .cg-tile{padding:14px 16px;border-radius:20px} .cg-tile b{font-size:19px}
  .cg-gt h3{font-size:16.5px} .cg-gs{gap:4px 12px;font-size:11.5px}
  .cg-hc{height:auto;min-height:30px;padding:5px 5px 5px 12px;font-size:12.5px;line-height:1.3}
  .cg-add{flex-direction:column} .cg-add .btn{width:100%}
  .cg-mrow{justify-content:stretch;margin-top:0} .cg-mrow .cg-dd{width:100%} .cg-mrow .cg-dd > span:nth-child(2){flex:1;text-align:left}
  .cg-dn .donut{width:150px!important;height:150px!important}
  .cg-br{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cg-br > span:nth-child(4),.cg-br > span:nth-child(5){display:none}
  .cg-hmw{margin:0 -18px;padding:0 18px 6px}
  .cg-hm{min-width:740px}
  .cg-convt td{padding-top:14px;padding-bottom:14px} .cg-k5 .kpi:last-child{grid-column:1/-1}
  .cg-ev{flex-direction:column;align-items:stretch;gap:8px;padding:12px 14px}
  .cg-evs3{flex-wrap:wrap;gap:4px 12px;font-size:12px;white-space:normal}
  .cg-hf{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:-4px -12px 0;padding:0 12px} .cg-hf::-webkit-scrollbar{display:none} .cg-hf .pill{flex:none;height:36px}
  .cg-hi{gap:10px} .cg-hi .bub{width:30px;height:30px} .cg-hit{font-size:13px;gap:4px 8px}
}
