/* Workspace: Marki, Użytkownicy, Ustawienia — js/views/ws-c.js (Figma 378:711, 378:1540, 378:2366) */
.wc{display:flex;flex-direction:column;gap:20px;min-width:0}
.wc .phead{margin-top:10px}
.wc-sec{margin:8px 4px -6px;font-size:11.5px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}

/* awatary, platformy */
.wc-av{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-weight:700;font-size:14px;flex:none;background:var(--accent-t);color:var(--accent)}
.wc-av.green{background:var(--green-t);color:var(--green)} .wc-av.orange{background:var(--orange-t);color:var(--orange)} .wc-av.blue{background:var(--blue-t);color:var(--blue)}
.wc-av.purple{background:var(--purple-t);color:var(--purple)} .wc-av.teal{background:var(--teal-t);color:var(--teal)} .wc-av.red{background:var(--red-t);color:var(--red)}
.wc-av.round{border-radius:50%;width:36px;height:36px}
.wc-av.lg{width:64px;height:64px;border-radius:20px;font-size:26px}
.wc-pfs{display:inline-flex;align-items:center}
.wc-pf{width:20px;height:20px;border-radius:50%;display:inline-grid;place-items:center;color:#fff;font-size:8.5px;font-weight:800;letter-spacing:-.02em;flex:none;line-height:1}
.wc-pfs .wc-pf{border:2px solid #fff;margin-left:-5px;width:22px;height:22px} .wc-pfs .wc-pf:first-child{margin-left:0}
.wc-pf.lg{width:36px;height:36px;font-size:14px}
.wc-pf.xl{width:52px;height:52px;font-size:20px}

/* pasek wyszukiwania i tabele */
.wc-bar{display:flex;align-items:center;gap:10px;padding:14px 16px;border-radius:24px}
.wc-bar .field{height:44px}
.wc-q{width:360px} .wc-new{width:280px}
.wc-tcard{padding:22px 24px 24px}
table.wc-t th{padding-top:6px}
table.wc-t td{padding:12px 10px;white-space:nowrap}
table.wc-t tbody tr:first-child td{border-top:1px solid transparent}
.wc-bn{display:flex;align-items:center;gap:12px;min-width:0} .wc-bn b{font-weight:600;color:var(--ink);font-size:14.5px;white-space:nowrap}
.wc-tz{display:inline-flex;align-items:center;gap:7px;color:var(--ink);white-space:nowrap}
.wc-more{width:34px;height:34px;border-radius:50%;background:var(--soft);display:grid;place-items:center;color:var(--muted);margin-left:auto}
.wc-more:hover{background:var(--line);color:var(--ink)}
.wc-foot{margin:6px 10px 0;font-size:12.5px;color:var(--muted)}
.wc-ra{display:inline-flex;align-items:center;gap:8px;justify-content:flex-end}
.wc-trash{width:34px;height:34px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;color:var(--red);background:#fff;flex:none}
.wc-trash:hover{background:var(--red-t);border-color:#F6C5C7}
.wc-bc{display:inline-flex;align-items:center;gap:6px}
.wc-mb{width:26px;height:26px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;color:var(--muted);background:#fff}
.wc-mb:hover{color:var(--accent);border-color:var(--accent)}
table.wc-ut td{padding:13px 10px}
table.wc-ut .n2 b{display:flex;align-items:center;gap:8px;font-size:14px}
tr.wc-off td > *{opacity:.55}
.ibtn.sm.wc-del{color:var(--red)} .ibtn.sm.wc-del:hover{background:var(--red-t)}

/* formularze */
.wc-form{display:flex;flex-direction:column;gap:14px}
.wc-f{display:flex;flex-direction:column;gap:7px;min-width:0}
.wc-lbl{font-size:13px;font-weight:600;color:var(--ink)}
.wc-lm{font-weight:500;color:var(--body)}
.wc-g2{gap:12px}
.wc-sel{appearance:none;-webkit-appearance:none;width:100%;height:44px;border:1px solid var(--line);border-radius:14px;padding:0 40px 0 14px;outline:0;cursor:pointer;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A8091' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center/16px;font-size:13.5px}
.wc-sel:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-t)}
.wc-ta{width:100%;border:1px solid var(--line);border-radius:14px;padding:11px 14px;outline:0;resize:vertical;line-height:1.5;background:#fff;font-size:13.5px}
.wc-ta:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-t)}
.field input:disabled{color:var(--muted);cursor:not-allowed}
.wc-err{margin:0;color:var(--red);font-size:12.5px;font-weight:600;min-height:0} .wc-err:empty{display:none}
.wc-cbrow{display:flex;gap:12px;align-items:flex-start;background:var(--soft);border-radius:16px;padding:12px 14px;cursor:pointer}
.wc-cbrow input,.wc-bcr input,.wc-aclr input{width:18px;height:18px;accent-color:var(--accent);flex:none;margin:2px 0 0;cursor:pointer}
.wc-cbrow b{display:block;font-size:13.5px} .wc-cbrow small{display:block;color:var(--muted);font-size:12px}
.wc-ctext{margin:0;line-height:1.55}
.wc-mt0{margin-top:-6px} .wc-mb0{margin-bottom:0} .wc-mt{margin-top:12px}
.wc-mfl{margin-right:auto}
.wc-inrow{display:flex;gap:10px;align-items:center} .wc-inrow .field{flex:1}
.wc-w300{max-width:280px;width:100%}
.wc-col{display:flex;flex-direction:column;gap:12px}

/* listy wyboru (marki, arkusze, konta Google Ads) */
.wc-bchk{display:flex;flex-direction:column;gap:6px}
.wc-bcr{display:flex;align-items:center;gap:12px;padding:9px 12px;border:1px solid var(--line);border-radius:16px;cursor:pointer;transition:.15s}
.wc-bcr:hover{border-color:#CDD2DD} .wc-bcr:has(input:checked){border-color:var(--accent);background:#FAFAFF}
.wc-bcr b{display:block;font-size:13.5px;font-weight:600} .wc-bcr small{display:block;font-size:11.5px;color:var(--muted)}
.wc-bcr.dis{cursor:default;opacity:.7} .wc-bcr.dis:has(input:checked){border-color:var(--line);background:var(--soft)}
.wc-bcr .wc-av{width:30px;height:30px;font-size:13px;border-radius:9px}

/* karta marki */
.wc-back{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-weight:600;font-size:13px;margin-top:6px;width:max-content}
.wc-back:hover{color:var(--ink)}
.wc-bhead{display:flex;align-items:center;gap:18px;margin-top:-4px}
.wc-bhead h1{margin:0;font-size:38px;line-height:1.15;font-weight:600;letter-spacing:-.02em}
.wc-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 14px;margin-top:6px;color:var(--muted);font-size:13px}
.wc-meta span{display:inline-flex;align-items:center;gap:5px}
.wc-meta code,.wc-kv code{font:600 12px ui-monospace,SFMono-Regular,Menlo,monospace;background:var(--soft);border-radius:8px;padding:3px 8px;color:var(--body)}
.wc-tabsw{background:#fff;border-radius:999px;padding:6px;display:flex;max-width:100%;overflow-x:auto;scrollbar-width:none;width:max-content}
.wc-tabsw::-webkit-scrollbar{display:none}
.wc-tabs{background:none;padding:0} .wc-tabs button{height:38px;padding:0 18px} .wc-tabs button.on{background:var(--ink);color:#fff;box-shadow:none}
.wc-tabs button.on em{background:#34384A;color:#fff} .wc-tabs button em{background:var(--soft)}
.wc-tbody{display:flex;flex-direction:column;gap:20px}
.wc-qa{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.wc-qab{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:18px;background:var(--soft);text-align:left;font-weight:600;transition:.15s}
.wc-qab span{flex:1} .wc-qab > svg:first-child{color:var(--accent)} .wc-qab:hover{background:var(--accent-t)}
.wc-kv{display:grid;grid-template-columns:150px 1fr;gap:10px 16px;margin:0;font-size:13.5px}
.wc-kv dt{color:var(--muted)} .wc-kv dd{margin:0;color:var(--ink);min-width:0;overflow-wrap:anywhere}
.wc-posts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.wc-post{display:flex;flex-direction:column;gap:10px;text-align:left;border-radius:20px;padding:8px 8px 12px;transition:.15s;min-width:0}
.wc-post:hover{background:var(--soft)}
.wc-pimg{width:100%;height:auto;aspect-ratio:1;border-radius:16px}
.wc-post .row{gap:6px} .wc-post b{display:block;font-size:13px;font-weight:600;line-height:1.35;margin-top:6px} .wc-post small{display:block;color:var(--muted);font-size:11.5px;margin-top:2px}
.wc-ban{font-size:13px;color:var(--ink)} .wc-ban svg{color:var(--green)}
.wc-style{align-items:stretch}
.wc-sc .chead{margin-bottom:14px}
.wc-txt{margin:0;color:var(--body);line-height:1.6}
.wc-chips{gap:6px}
.wc-dd{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.wc-dd > div{background:var(--soft);border-radius:16px;padding:12px 14px} .wc-dd b{display:flex;align-items:center;gap:6px;font-size:12.5px} .wc-dd p{margin:6px 0 0;font-size:13px;color:var(--body);line-height:1.5}
.wc-pil,.wc-notif{display:flex;flex-direction:column}
.wc-pilr{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 0;border-top:1px solid var(--line)}
.wc-pilr:first-child{border-top:0;padding-top:2px} .wc-pilr b{display:block;font-weight:600;font-size:13.5px} .wc-pilr small{display:block;color:var(--muted);font-size:12px}
.wc-act{border:1px solid var(--line);border-radius:16px;padding:12px 14px!important}
.wc-sw{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px}
.wc-swc{display:flex;flex-direction:column;gap:2px;text-align:left;border:1px solid var(--line);border-radius:16px;padding:8px 8px 10px;transition:.15s}
.wc-swc:hover{border-color:#CDD2DD}
.wc-swc i{display:block;height:46px;border-radius:10px;margin-bottom:6px;box-shadow:inset 0 0 0 1px rgba(16,19,34,.06)}
.wc-swc b{font-size:12.5px;font-weight:600} .wc-swc small{font:500 11px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--muted)}
.wc-logo{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.wc-lbox{display:flex;align-items:center;gap:10px;background:var(--soft);border-radius:16px;padding:10px 12px;min-width:0}
.wc-lbox b{display:block;font-size:13px} .wc-lbox small{display:block;font-size:11.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wc-lbox > span:last-child{min-width:0}
.wc-aa{width:34px;height:34px;border-radius:10px;background:#fff;display:grid;place-items:center;font:600 16px 'Playfair Display',Georgia,serif;flex:none}
.wc-prods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.wc-prod{display:flex;flex-direction:column;gap:3px;min-width:0}
.wc-primg{width:100%;height:auto;aspect-ratio:1;border-radius:14px;margin-bottom:5px}
.wc-prod b{font-size:12.5px;font-weight:600;line-height:1.3} .wc-prod small{font-size:12px;color:var(--muted)}
.wc-colr{display:flex;gap:10px;align-items:center}
.wc-colr input[type=color]{width:44px;height:44px;border:1px solid var(--line);border-radius:12px;padding:3px;background:#fff;cursor:pointer;flex:none}
.wc-run{display:flex;align-items:center;gap:14px;background:var(--accent-t);border-radius:18px;padding:16px 18px}
.wc-run b{display:block} .wc-run small{display:block;color:var(--muted);font-size:12.5px}
.wc-spin{width:22px;height:22px;border-radius:50%;border:2.5px solid rgba(91,91,247,.2);border-top-color:var(--accent);animation:wcspin .8s linear infinite;flex:none;display:inline-block}
.wc-spin.sm{width:16px;height:16px;border-width:2px} .wc-spin.xs{width:12px;height:12px;border-width:2px}
.wc-spin.light{border-color:rgba(255,255,255,.3);border-top-color:#fff}
@keyframes wcspin{to{transform:rotate(360deg)}}

/* wiedza (RAG) */
.wc-kst{display:flex;flex-wrap:wrap;gap:8px 22px;font-size:13px;color:var(--muted);margin:-4px 0 14px}
.wc-kst b{color:var(--ink)}
.wc-idx{display:inline-flex;align-items:center;gap:7px;color:var(--accent);font-weight:600;font-size:12.5px;white-space:nowrap}
.wc-sync{display:block;font-size:11px;color:var(--faint)}
.wc-ask{display:flex;gap:10px} .wc-ask .field{flex:1;border-radius:999px}
.wc-sugg{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 4px} .wc-sugg .pill{height:32px;font-size:12.5px;font-weight:500;color:var(--body)}
.wc-sugg .pill:hover{border-color:var(--accent);color:var(--accent)}
#wkRes{display:flex;flex-direction:column;gap:10px;margin-top:12px} #wkRes:empty{display:none}
.wc-frag{border:1px solid var(--line);border-radius:18px;padding:12px 16px}
.wc-frag b{font-size:12.5px;font-weight:600} .wc-frag p{margin:8px 0 0;color:var(--body);line-height:1.55;font-size:13.5px}
.wc-nores{margin:4px 0 0}

/* konta social */
.wc-cps{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.wc-cp{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 15px 0 8px;border:1px solid var(--line);border-radius:999px;background:#fff;font-weight:500;font-size:13.5px;white-space:nowrap;transition:.15s}
.wc-cp:hover{border-color:#CDD2DD;background:var(--soft)}
.wc-accs{display:flex;flex-direction:column;gap:12px}
.wc-acc{display:flex;align-items:center;gap:12px;background:var(--soft);border-radius:18px;padding:10px 14px;min-width:0}
.wc-acc b{display:block;font-weight:600;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap} .wc-acc small{display:block;font-size:12px;color:var(--muted)}
.wc-acc .grow{min-width:0}
.wc-acc .btn.sm{background:#fff}
.wc-noacc{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;padding:28px 12px;border:1.5px dashed var(--line);border-radius:18px}
.wc-noacc b{font-weight:600} .wc-noacc small{color:var(--muted);font-size:12.5px;max-width:420px}
.wc-oauth{display:flex;flex-direction:column;gap:14px}
.wc-oauth p{margin:0}
.wc-oh{display:flex;align-items:center;justify-content:center;gap:14px;padding:18px;background:var(--soft);border-radius:20px}
.wc-tw{width:52px;height:52px;border-radius:50%;background:#098FEE;color:#fff;display:grid;place-items:center;font-weight:800;font-size:20px}
.wc-odots{display:flex;gap:5px} .wc-odots i{width:6px;height:6px;border-radius:50%;background:var(--faint);animation:wcdot 1.2s infinite} .wc-odots i:nth-child(2){animation-delay:.2s} .wc-odots i:nth-child(3){animation-delay:.4s}
@keyframes wcdot{50%{background:var(--accent)}}
.wc-acl{display:flex;flex-direction:column;gap:6px}
.wc-admn{display:flex;align-items:center;gap:8px;margin-top:14px;background:var(--orange-t);color:#8A5300;border-radius:14px;padding:10px 14px;font-size:13px}
.wc-admn svg{color:var(--orange)}

/* ustawienia */
.wc-set .phead .acts{align-self:flex-end;margin-bottom:6px}
.wc-sc2{display:flex;flex-direction:column;gap:16px}
.wc-aih{display:flex;gap:14px;align-items:flex-start}
.wc-aih .bub{width:40px;height:40px}
.wc-aih h3{margin:0;font-size:17px;font-weight:600;line-height:1.3} .wc-aih p{margin:3px 0 0;font-size:12.5px;color:var(--muted);line-height:1.45}
.wc-ais{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.wc-ai{display:flex;flex-direction:column;gap:12px;padding:22px}
.wc-aitx{margin:0;font-size:13px;color:var(--ink);line-height:1.5}
.wc-key{height:44px;padding-right:6px} .wc-key input{letter-spacing:.06em;font-size:13px}
.wc-key input[type=password]:not(:placeholder-shown){letter-spacing:.18em}
.wc-eye{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;color:var(--muted);flex:none} .wc-eye:hover{background:var(--soft);color:var(--ink)}
.wc-kdel:hover{color:var(--red);background:var(--red-t)}
.wc-link{display:inline-flex;align-items:center;gap:6px;color:var(--accent);font-weight:600;font-size:13px;width:max-content} .wc-link:hover{text-decoration:underline}
.wc-brow{display:flex;align-items:center;gap:12px}
.wc-models{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.wc-gi{width:36px;height:36px;border-radius:50%;background:#fff;color:var(--green);display:grid;place-items:center;flex:none}
.wc-bcr .wc-gi{background:var(--green-t)}
.wc-sub2{font-weight:500;color:var(--muted);font-size:12.5px;margin-top:4px}
.wc-sheet{gap:10px;margin-top:-4px}
.wc-gbtns{gap:8px}
.wc-gcon{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.wc-steps{margin:0 0 16px;padding-left:20px;display:flex;flex-direction:column;gap:8px;color:var(--body);line-height:1.5}
.wc-top2 .card .chead{margin-bottom:16px}
.wc-pw{margin-bottom:14px}

@media (max-width:1280px){
  .wc-ais{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wc-posts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1000px){
  .wc-q{width:260px} .wc-new{width:220px}
  .wc-models{grid-template-columns:1fr}
}
@media (max-width:760px){
  .wc{gap:14px}
  .wc-bar{flex-wrap:wrap;padding:12px;border-radius:20px}
  .wc-bar .wc-q{width:100%} .wc-bar .wc-new{flex:1;width:auto;min-width:0} .wc-bar .btn{flex:none}
  .wc-tcard{padding:16px}
  .wc-bhead{flex-wrap:wrap;gap:12px} .wc-bhead .grow{flex:1 1 calc(100% - 80px)} .wc-bhead h1{font-size:28px} .wc-av.lg{width:52px;height:52px;font-size:21px;border-radius:16px}
  .wc-bhead .acts{width:100%} .wc-bhead .acts .btn{flex:1 1 auto}
  .wc-tabsw{width:auto;margin:0 -12px;border-radius:0;background:none;padding:0 12px}
  .wc-tabs{background:none} .wc-tabs button{background:#fff;margin-right:6px}
  .wc-ais{grid-template-columns:1fr}
  .wc-qa{grid-template-columns:1fr}
  .wc-kv{grid-template-columns:1fr;gap:2px} .wc-kv dd{margin-bottom:10px}
  .wc-dd,.wc-logo{grid-template-columns:1fr}
  .wc-prods{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wc-posts{gap:8px}
  .wc-ask{flex-direction:column} .wc-ask .btn{width:100%}
  .wc-inrow{flex-direction:column;align-items:stretch} .wc-inrow .field{flex:none}
  .wc-acc{flex-wrap:wrap;padding:12px} .wc-acc .grow{flex:1 1 calc(100% - 60px)} .wc-acc .chip{margin-left:48px} .wc-acc .btn{margin-left:auto}
  .wc-cp{height:36px;font-size:12.5px}
  .wc-brow{flex-direction:column;align-items:stretch;gap:6px} .wc-w300{max-width:none}
  .wc-set .phead .acts{align-self:flex-start;margin:0}
  .wc-gbtns .btn{flex:1 1 auto}
  .wc-ai{padding:18px}
  .wc-sec{margin:6px 2px -4px}
}
