/* ===== obszar główny: tablica / pulpit grupy / Moja praca / grupy i szablony ===== */
#main:not(.m-board) #phead, #main:not(.m-board) #sprintbar, #main:not(.m-board) #board { display:none !important; }
.mainpage { display:none; }
#main.m-dash #dash, #main.m-mywork #mywork { display:block; padding:18px 4px 28px; }
#main.m-groups { padding:0; overflow:hidden; }
#main.m-groups #groupsMain { display:grid; flex:1 1 auto; min-height:0; }
.pagetitle { margin:0; font-size:1.6rem; font-weight:800; letter-spacing:-.01em; }
.dhead { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:8px; }
.dhead .secondary { margin-left:auto; }
#dash .gdesc { color:var(--muted); white-space:pre-wrap; overflow-wrap:anywhere; margin:0 0 6px; }
.gsec.wide { max-width:none; }
#mywork > .hint { margin-top:18px; }

/* podział: lista po lewej, szczegóły po prawej (Grupy i szablony) */
.gsplit { grid-template-columns:260px 1fr; }
.glist { padding:16px 12px; border-right:1px solid var(--col); display:flex; flex-direction:column; gap:4px; overflow:auto; }
.glist .sn-h { display:flex; justify-content:space-between; align-items:center; min-height:26px; color:var(--muted); font-size:.8rem; text-transform:uppercase; letter-spacing:.04em; padding:0 6px 6px 10px; }
.glist > button { display:flex; align-items:center; gap:8px; text-align:left; background:transparent; color:var(--text); padding:9px 12px; border-radius:8px; }
.glist > button:hover { background:var(--col); }
.glist > button.on { background:var(--selbg-p); color:var(--sel-text); font-weight:600; box-shadow:inset 3px 0 0 var(--accent); }
.glist > button small { color:var(--muted); font-weight:400; margin-left:auto; font-size:.75rem; }
.glist .nm { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.gdetail { overflow:auto; min-width:0; }
.gdetail .uh { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-bottom:10px; }
.gdetail .lst .row { display:flex; align-items:center; gap:8px; }
.gdetail .lst .row.link { cursor:pointer; }
.gdetail .lst .row.link:hover { background:var(--col); }
.lst .row .grow { flex:1; }
.lst .row.arch { gap:8px; }
@media (max-width: 700px), (max-height: 520px) and (pointer: coarse) {
  .gsplit { grid-template-columns:1fr; grid-template-rows:auto 1fr; }
  .glist { flex-direction:row; border-right:0; border-bottom:1px solid var(--col); padding:8px; overflow:auto; }
  .glist .sn-h { display:none; }
  #main.m-groups { overflow:auto; }
  #main.m-dash #dash, #main.m-mywork #mywork { padding:12px 0 24px; }
}

/* ===== panel boczny: widoki i drzewko ===== */
.sidenav { display:flex; flex-direction:column; gap:2px; padding-bottom:8px; margin-bottom:6px; border-bottom:1px solid var(--line); }
.navitem { display:flex; align-items:center; gap:10px; width:100%; text-align:left; background:transparent; color:var(--text); padding:8px 10px; border-radius:8px; min-height:36px; }
.navitem:hover { background:var(--col); }
.navitem.on { background:var(--selbg-p); color:var(--sel-text); font-weight:600; box-shadow:inset 3px 0 0 var(--accent); }
.navitem .ico { display:inline-flex; flex:0 0 auto; }
.navitem .ico svg { width:18px; height:18px; fill:none; stroke:var(--nav-side-s); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.navitem .lbl { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.navitem .navcaret { color:var(--muted); font-size:.75rem; }
.navitem.sub { padding-left:38px; min-height:30px; font-size:.9rem; }
#app.side-collapsed .navitem { justify-content:center; padding:8px 0; }
#app.side-collapsed .navitem .lbl, #app.side-collapsed .navitem .navcaret, #app.side-collapsed .navitem.sub { display:none; }
#app.side-collapsed .sidenav { border-bottom:0; }
@media (max-width: 700px), (max-height: 520px) and (pointer: coarse) {
  #app.side-collapsed .navitem { justify-content:flex-start; padding:8px 10px; }
  #app.side-collapsed .navitem .lbl { display:inline; }
  #app.side-collapsed .navitem .navcaret { display:inline; }
  #app.side-collapsed .navitem.sub { display:flex; padding-left:38px; }
}
.tree > li.tg { padding-left:0; }
.tree > li.tg > .node .name { font-weight:600; }
.node .name { display:flex; align-items:center; gap:6px; }
.node .name .nm { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
.node .name small { flex:0 0 auto; }
.node.gnode:hover, .node.gnode.sel { background:var(--col); }
.node.gnode.sel { border-left-color:var(--accent); }
.node.gnode .acts { display:none; }
.node.gnode:hover .acts, .node.gnode.sel .acts { display:inline-flex; }
.tcaret { width:20px; height:26px; padding:0; background:transparent; color:var(--muted); font-size:.72rem; flex:0 0 auto; border-radius:4px; }
.tcaret:hover { color:var(--text); background:var(--col); }
.tcaret.none { display:inline-block; visibility:hidden; }
.node.snode { min-height:28px; }
.node.snode .name { font-size:.88rem; }
.sdot { width:8px; height:8px; border-radius:50%; flex:0 0 auto; background:var(--muted); opacity:.55; }
.sdot.now { background:#22a06b; opacity:1; }
.sdot.plan { background:#579dff; opacity:1; }
.tree ul > li.tsp::after { top:14px; }
.tree ul > li.tsp:last-child::before { height:14px; }
.tvico { display:inline-flex; flex:0 0 auto; color:var(--muted); }
.tvico svg, .ticon.tvbtn svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.node.snode.sel .tvico { color:inherit; }
.tsp.tview .node .name { font-weight:600; }

/* ikony projektów i grup */
.picon { --is:18px; width:var(--is); height:var(--is); display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; }
.picon svg { width:100%; height:100%; }
.picon img { width:100%; height:100%; object-fit:contain; border-radius:4px; }
.picon.def { color:var(--muted); }
#ptitle .picon { margin-right:-2px; }
.iconpick { display:flex; flex-direction:column; gap:10px; }
.seg { display:inline-flex; gap:0; border:1px solid var(--line); border-radius:8px; overflow:hidden; align-self:flex-start; }
.segbtn { background:transparent; color:var(--text); border-radius:0; padding:6px 14px; }
.segbtn:hover { background:var(--col); }
.segbtn.on { background:var(--bp-p); color:var(--on-bp); }
.icongrid { display:grid; grid-template-columns:repeat(auto-fill, minmax(40px, 1fr)); gap:6px; }
.iconcell { height:40px; padding:0; background:var(--col); border-radius:8px; display:flex; align-items:center; justify-content:center; box-shadow:inset 0 0 0 1px var(--line); }
.iconcell svg { width:22px; height:22px; }
.iconcell:hover { box-shadow:inset 0 0 0 2px var(--accent); }
.iconcell.on { box-shadow:inset 0 0 0 2px var(--accent); background:color-mix(in srgb, var(--accent) 18%, var(--col)); }
.iconcolors { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.swatch { width:24px; height:24px; padding:0; border-radius:50%; box-shadow:inset 0 0 0 2px rgba(255,255,255,.35); }
.swatch.on { outline:2px solid var(--accent); outline-offset:2px; }
.iconcolors input[type=color] { width:34px; height:28px; padding:0; border:0; background:transparent; }
.iconfile { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.iconfile img { width:34px; height:34px; object-fit:contain; border-radius:6px; background:var(--col); }
.iconbody .merr { margin:4px 0 0; }

/* ===== planowanie: plakietki, etykiety, estymacja ===== */
.pbadges { display:flex; flex-wrap:wrap; gap:4px; align-items:center; }
.pbadges.compact { margin-top:-2px; }
.pb { font-size:.7rem; line-height:1.4; padding:0 7px; border-radius:9px; background:var(--col); color:var(--text); box-shadow:inset 0 0 0 1px var(--line); white-space:nowrap; font-weight:600; }
.pb.blocked { background:#e5484d; color:#fff; box-shadow:none; }
.pb.prio.p0 { color:var(--muted); font-weight:500; }
.pb.prio.p2 { background:#f5821f33; color:#f5821f; box-shadow:inset 0 0 0 1px #f5821f66; }
.pb.prio.p3 { background:#e5484d33; color:#e5484d; box-shadow:inset 0 0 0 1px #e5484d88; }
.pb.due.soon { background:#e2b20333; color:#c99700; box-shadow:inset 0 0 0 1px #e2b20388; }
.pb.due.overdue { background:#e5484d; color:#fff; box-shadow:none; }
.pb.est { background:color-mix(in srgb, var(--accent) 18%, var(--col)); }
.pb.chk.all { background:#22a06b33; color:#22a06b; box-shadow:inset 0 0 0 1px #22a06b66; }
.tagpill { display:inline-block; font-size:.74rem; font-weight:600; padding:1px 9px; border-radius:10px; line-height:1.45; max-width:200px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; vertical-align:middle; }
.tagpill.sm { font-size:.66rem; padding:0 7px; max-width:96px; }
.tagpill.off { opacity:.4; }
.tagpill.on { box-shadow:0 0 0 2px var(--accent); }
.tagpick .tagpill { cursor:pointer; }
.tagrow { display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.tagpick { display:flex; flex-direction:column; gap:8px; align-items:flex-start; }
.smallbtn { padding:4px 10px; font-size:.8rem; }
.pinmark { margin-right:4px; font-size:.8rem; }
.thead .testim { color:var(--muted); font-size:.76rem; }
.chead .csum { color:var(--muted); font-size:.74rem; white-space:nowrap; }
.blockedctl { display:flex; flex-direction:column; gap:8px; }
.blockedctl input[type=text] { width:100%; }
.xfer { display:flex; flex-direction:column; gap:10px; }
.xfer p.hint { margin:0; }

/* menedżer etykiet */
.taglist { display:flex; flex-direction:column; gap:8px; }
.tagedit { display:flex; align-items:center; gap:8px; }
.tagedit input[type=text] { flex:1; min-width:0; }
.tagedit input[type=color] { width:40px; height:34px; padding:0; border:0; background:transparent; flex:0 0 auto; }
.tagedit.new { padding-top:8px; border-top:1px dashed var(--line); }
.secondary.danger, button.danger { color:var(--danger); }

/* checklista w podglądzie akcji */
.checklist { display:flex; flex-direction:column; gap:6px; }
.clhead { display:flex; align-items:center; gap:10px; color:var(--muted); font-size:.85rem; }
.clbar { flex:1; height:6px; border-radius:3px; background:var(--col); overflow:hidden; }
.clbar span { display:block; height:100%; background:#22a06b; }
.clrow { display:flex; align-items:center; gap:8px; padding:3px 0; }
.clrow input[type=checkbox] { width:auto; flex:0 0 auto; }
.clrow .cltxt { flex:1; min-width:0; overflow-wrap:anywhere; }
.clrow.done .cltxt { text-decoration:line-through; color:var(--muted); }
.clnew { margin-top:4px; }

/* raporty, tabele, kafelki pulpitu */
.rtable { border-collapse:collapse; width:100%; background:var(--col); border-radius:10px; overflow:hidden; box-shadow:inset 0 0 0 1px var(--line); }
.rtable th, .rtable td { text-align:left; padding:8px 12px; border-bottom:1px solid var(--line); }
.rtable th { font-size:.74rem; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); font-weight:600; white-space:nowrap; }
.rtable tbody tr:last-child td { border-bottom:0; }
.rtable tr.link { cursor:pointer; }
.rtable tr.link:hover td { background:color-mix(in srgb, var(--accent) 10%, transparent); }
.rtask { display:flex; align-items:baseline; gap:8px; padding:5px 0; flex-wrap:wrap; }
.rtask .rmark { color:var(--muted); width:1.2em; }
.rtask.done .rmark { color:#22a06b; font-weight:700; }
.rtask .rtt { flex:1; min-width:140px; overflow-wrap:anywhere; }
.rtask small { color:var(--muted); }
.wbar { height:5px; border-radius:3px; background:var(--line); margin-top:4px; max-width:160px; overflow:hidden; }
.wbar span { display:block; height:100%; background:var(--accent); }
.kpi.warn b { color:#e5484d; }
.pgridcards { display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:12px; }
.pcard { display:flex; flex-direction:column; gap:8px; text-align:left; background:var(--col); color:var(--text); border-radius:12px; padding:14px 16px; box-shadow:inset 0 0 0 1px var(--line); }
.pcard:hover { box-shadow:inset 0 0 0 2px var(--accent); }
.pctop { display:flex; align-items:center; gap:8px; }
.pctop b { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pcdesc { color:var(--muted); font-size:.85rem; display:-webkit-box; -webkit-line-clamp:2; line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.pbar { height:8px; border-radius:4px; background:var(--line); overflow:hidden; }
.pbar span { display:block; height:100%; background:#22a06b; }
.pcstats { display:flex; flex-wrap:wrap; gap:4px 12px; color:var(--muted); font-size:.8rem; }
.wcols { display:grid; grid-template-columns:repeat(auto-fit, minmax(320px, 1fr)); gap:0 28px; }
.wlist { display:flex; flex-direction:column; gap:6px; }
.wrow { display:flex; flex-direction:column; gap:4px; text-align:left; background:var(--col); color:var(--text); border-radius:10px; padding:10px 12px; box-shadow:inset 0 0 0 1px var(--line); }
.wrow:hover { box-shadow:inset 0 0 0 2px var(--accent); }
.wrow .wt { font-weight:600; overflow-wrap:anywhere; }
.wmeta { display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; color:var(--muted); font-size:.8rem; }

/* powiadomienia */
.tb-badged { position:relative; }
.notifpop { position:fixed; z-index:210; width:min(380px, 94vw); max-height:70vh; display:flex; flex-direction:column; background:var(--modal-p); color:var(--modal-text);
  --text:var(--modal-text); --muted:var(--modal-muted); --col:var(--modal-col); --line:var(--modal-line);
  border:1px solid var(--modal-line); border-radius:12px; box-shadow:0 12px 32px rgba(0,0,0,.35); overflow:hidden; }
.nphead { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:10px 12px; border-bottom:1px solid var(--line); }
.nphead .ghost { font-size:.78rem; color:var(--accent); }
.nplist { overflow:auto; display:flex; flex-direction:column; padding:4px; }
.nplist .hint { padding:14px; }
.npitem { display:flex; flex-direction:column; gap:2px; text-align:left; background:transparent; color:var(--text); border-radius:8px; padding:8px 10px; }
.npitem:hover { background:var(--col); }
.npitem small { color:var(--muted); }
.npitem.unread { background:color-mix(in srgb, var(--accent) 12%, transparent); }
.npitem.unread .npline::before { content:''; display:inline-block; width:8px; height:8px; border-radius:50%; background:var(--accent); margin-right:6px; }

/* udostępnianie: pomoc „?” i okrągły plus po prawej */
.helpbtn { width:22px; height:22px; padding:0; border-radius:50%; background:var(--col); color:var(--muted); font-size:.8rem; font-weight:700; box-shadow:inset 0 0 0 1px var(--line); line-height:1; }
.helpbtn:hover { color:var(--text); box-shadow:inset 0 0 0 2px var(--accent); }
.subh .shareadd { margin-left:auto; }
.helppop { background:var(--col); border-radius:10px; padding:10px 12px; margin:0 0 10px; font-size:.84rem; color:var(--muted); box-shadow:inset 0 0 0 1px var(--line); max-width:720px; }
.helppop[hidden] { display:none; }
.kpi.txt b { font-size:1.35rem; line-height:1.5; }

/* czas pracy: pigułka stopera w górnym pasku, plakietka na akcji i sekcja w podglądzie */
.timerpill { display:inline-flex; align-items:center; border-radius:16px; background:color-mix(in srgb, var(--bd) 18%, transparent); box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--bd) 50%, transparent); color:var(--text); overflow:hidden; }
.timerpill[hidden] { display:none; }
.timerpill button { background:transparent; color:inherit; height:30px; padding:0 10px; font-variant-numeric:tabular-nums; font-size:.85rem; font-weight:600; }
.timerpill button:hover { background:color-mix(in srgb, var(--bd) 30%, transparent); }
.timerpill .tp-stop { padding:0 9px; border-left:1px solid color-mix(in srgb, var(--bd) 40%, transparent); }
.pb.timer { background:color-mix(in srgb, var(--bd) 22%, transparent); color:var(--bd); box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--bd) 55%, transparent); }
.timepanel { display:flex; flex-direction:column; gap:8px; }
.tphead { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.terow { display:flex; align-items:center; gap:10px; padding:6px 10px; background:var(--col); border-radius:8px; font-size:.88rem; }
.terow.active { box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--bd) 50%, transparent); }
.terow .te-who { flex:0 1 140px; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.terow .te-date { color:var(--muted); white-space:nowrap; }
.terow .te-note { flex:1; min-width:0; color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.teform { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.teform input[type=number] { width:90px; }
.teform input[type=text] { flex:1; min-width:140px; }
.teform select { width:auto; }
@media (max-width: 700px) { .timerpill .tp-clock { padding:0 6px; font-size:.75rem; } }
.npwrap { display:flex; flex-direction:column; border-radius:8px; background:color-mix(in srgb, var(--accent) 12%, transparent); }
.npwrap .npitem { background:transparent; }
.npactions { display:flex; gap:6px; padding:0 10px 8px; }

/* zależności między zadaniami (blokery) */
.waitlock { margin-right:4px; font-size:.85rem; }
.deppanel { display:flex; flex-direction:column; gap:6px; }
.dephead { font-size:.8rem; color:var(--muted); font-weight:600; margin-top:2px; }
.deprow { display:flex; align-items:center; gap:8px; padding:6px 10px; background:var(--col); border-radius:8px; }
.deprow .depst { flex:0 0 auto; }
.deprow.done .depst { color:#22a06b; font-weight:700; }
.deprow .dept { flex:1; min-width:0; overflow-wrap:anywhere; }
.deprow small { color:var(--muted); }
.depform { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.depform select { flex:1; min-width:180px; }

/* ikony w nagłówku panelu powiadomień (oznacz jako przeczytane, skasuj przeczytane) */
.npacts { display:inline-flex; gap:2px; }
.npicon { width:30px; height:30px; padding:0; border-radius:8px; display:inline-flex; align-items:center; justify-content:center; color:var(--muted); }
.npicon:hover { background:var(--col); color:var(--text); }
.npicon svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.npicon[hidden] { display:none; }

/* ===== Logi zmian i Backlog (widoki projektu w obszarze głównym Kanbana) ===== */
#main.m-logs #logsView, #main.m-backlog #backlogView { display:flex; flex-direction:column; gap:12px; padding:14px 4px 28px; min-height:0; }
.viewhead { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.viewhead .blseg { margin-left:auto; }
.logbar { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.logbar select { min-width:180px; }
.loglist { display:flex; flex-direction:column; border:1px solid var(--line); border-radius:10px; overflow:hidden; }
.logday { padding:7px 14px; background:var(--col); font-size:.8rem; font-weight:700; text-transform:capitalize; color:var(--muted); }
.logrow { display:flex; gap:12px; padding:8px 14px; border-top:1px solid var(--line); align-items:flex-start; }
.logday + .logrow { border-top:0; }
.logtime { color:var(--muted); font-variant-numeric:tabular-nums; flex:0 0 44px; font-size:.85rem; padding-top:1px; }
.logmsg { min-width:0; overflow-wrap:anywhere; }
.logrefs { display:flex; gap:6px; flex-wrap:wrap; margin-top:3px; }
.logref { font-size:.78rem; padding:1px 8px; border-radius:999px; background:var(--col); color:var(--muted); border:0; }
button.logref { cursor:pointer; color:var(--text); }
button.logref:hover { box-shadow:inset 0 0 0 999px color-mix(in srgb, var(--text) 8%, transparent); }
.logref.gone { text-decoration:line-through; opacity:.75; }

.blgrid { display:grid; grid-template-columns:minmax(320px, 5fr) minmax(320px, 6fr); gap:16px; align-items:start; min-height:0; }
.bltree { display:flex; flex-direction:column; gap:12px; min-width:0; }
.bldetail { position:sticky; top:8px; max-height:calc(100vh - 110px); overflow:auto; min-width:0; border:1px solid var(--line); border-radius:10px; }
.bldetail > .hint { padding:24px 16px; }
.pvpanel { width:100%; max-width:none; box-shadow:none; background:transparent; }
.blgroup { border:1px solid var(--line); border-radius:10px; overflow:hidden; background:var(--task-p); }
.blgroup.unassigned { border-style:dashed; }
.blgroup.droptarget, .bltask.droptarget { box-shadow:inset 0 0 0 2px var(--accent); }
.blghead { display:flex; align-items:center; gap:10px; padding:8px 12px; background:var(--col); flex-wrap:wrap; }
.blcount { margin-left:auto; font-size:.8rem; color:var(--muted); }
.bltasks { display:flex; flex-direction:column; }
.bltasks > .hint { padding:10px 14px; }
.bltask { border-top:1px solid var(--line); }
.bltask.dragging { opacity:.5; }
.blrow { display:flex; align-items:center; gap:8px; padding:6px 10px; cursor:pointer; min-height:34px; }
.blrow:hover { box-shadow:inset 0 0 0 999px color-mix(in srgb, var(--text) 5%, transparent); }
.bltask.sel > .blrow:first-child, .blrow.sel { background:var(--selbg-p); color:var(--sel-text); }
.blrow .blt { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:600; }
.blcard { padding-left:38px; background:color-mix(in srgb, var(--text) 3%, transparent); }
.blcard .blt { font-weight:400; }
.blcard.done .blt { text-decoration:line-through; color:var(--muted); }
.blprog { font-size:.78rem; color:var(--muted); }
.blwho { display:inline-flex; flex:0 0 auto; padding:0; background:transparent; border:0; }
.blwho .av { width:24px; height:24px; font-size:.65rem; }
.blwho .avatarX { width:24px; height:24px; font-size:.65rem; }
.blwho .av.ph { display:inline-flex; width:24px; height:24px; border-radius:50%; border:1px dashed var(--muted); color:var(--muted); align-items:center; justify-content:center; font-size:.8rem; }
@media (max-width: 900px) { .blgrid { grid-template-columns:1fr; } .bldetail { position:static; max-height:none; } }

/* Backlog: zadanie jako osobny blok (karta), akcje jako wcięte wiersze z liniami drzewa */
.bltasks { gap:8px; padding:8px; }
.bltask { background:var(--task-p); color:var(--task-text); border:1px solid var(--line); border-radius:10px; overflow:hidden; border-top:1px solid var(--line); }
.bltask.sel { box-shadow:0 0 0 2px var(--accent); }
.bltask.sel > .blrow:first-child, .bltask .blrow.sel { background:var(--selbg-p); color:var(--sel-text); }
.bltrow { min-height:40px; padding:6px 10px; }
.bltrow .blt { font-weight:700; font-size:.97rem; }
.bltrow .tcaret { font-size:.7rem; width:22px; }
.blbadge { flex:0 0 auto; font-size:.6rem; font-weight:800; letter-spacing:.08em; padding:2px 7px; border-radius:6px; }
.blbadge.task { background:var(--bp-p); color:var(--on-bp); }
.blbadge.card { background:var(--col); color:var(--muted); box-shadow:inset 0 0 0 1px var(--line); }
.blprog { background:var(--col); color:var(--text); border-radius:999px; padding:1px 9px; font-size:.78rem; font-weight:600; font-variant-numeric:tabular-nums; }
.blplus { flex:0 0 auto; width:24px; height:24px; padding:0; border-radius:50%; background:var(--bplus-p); color:var(--on-bplus); font-size:1rem; line-height:1; display:inline-flex; align-items:center; justify-content:center; }
.blcards { border-top:1px solid var(--line); }
.blcard { padding:5px 10px 5px 28px; background:var(--act-p); color:var(--act-text); min-height:32px; border-top:0; }
.blcard + .blcard { border-top:1px dashed color-mix(in srgb, var(--line) 60%, transparent); }
.blcard .blt { font-weight:400; }
.bllines { flex:0 0 auto; color:var(--muted); font-family:ui-monospace, Consolas, monospace; letter-spacing:-.1em; margin-right:-2px; }
.blstatus { flex:0 0 auto; display:inline-flex; align-items:center; gap:5px; color:var(--muted); }
.blstatus .pdot { width:9px; height:9px; border-radius:50%; flex:0 0 auto; }
.blstatus small { font-size:.74rem; }
.blcard.done .blt { color:var(--muted); text-decoration:line-through; }
.blwho .av.ph svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
