/* DOVYR HEALTH · Tarefas e foco */
.tk-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.tk-one { padding: 26px 32px 28px 0; border-right: 1px solid var(--rule); min-width: 0; }
.tk-one-t { display: flex; align-items: center; gap: 16px; margin: 16px 0 10px; }
.tk-one-t h2 { margin: 0; font: 600 30px/1.15 var(--display); letter-spacing: -.025em; }
.tk-one-t.done h2 { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--ink-4); }
.tk-one-empty { margin: 14px 0 8px; font: 600 26px/1.2 var(--display); letter-spacing: -.02em; color: var(--ink-2); }
.tk-onepick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; max-width: 640px; }
.tk-focus { padding: 26px 0 28px 32px; }
.tk-focus .sl-k { display: inline-flex; align-items: center; gap: 9px; }
.tk-clock { font: 600 64px/1 var(--display); letter-spacing: -.04em; margin: 14px 0 14px; }
.tk-clock.paused { color: var(--ink-3); }
.tk-fset { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tk-fset select { max-width: 260px; height: 38px; }
.tk-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-bottom: 1px solid var(--rule); }
.tk-nums > div { padding: 22px 18px 22px 24px; border-left: 1px solid var(--rule); }
.tk-nums > div:first-child { border-left: 0; padding-left: 0; }
.tk-nums dt { font-size: 13px; color: var(--ink-3); }
.tk-nums dd { margin: 10px 0 0; font: 600 28px/1 var(--display); letter-spacing: -.025em; }
.tk-nums p { margin: 10px 0 0; font-size: 12px; color: var(--ink-4); }
.tk-quick { position: relative; display: flex; align-items: center; margin-bottom: 8px; }
.tk-qi { position: absolute; left: 14px; color: var(--ink-4); display: grid; }
.tk-qi svg { width: 16px; height: 16px; }
.tk-quick .inp { padding-left: 40px; height: 46px; font-size: 14.5px; }
.tk-qhint { position: absolute; right: 14px; font-size: 12px; color: var(--ink-4); pointer-events: none; max-width: 55%; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-list { border-top: 1px solid var(--rule); }
.tk-row { display: grid; grid-template-columns: 34px 10px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--rule-2); transition: background .2s, opacity .2s; }
.tk-row:hover { background: linear-gradient(90deg, transparent, var(--hover) 20%, var(--hover) 80%, transparent); }
.tk-row.drag { opacity: .4; } .tk-row.over { box-shadow: inset 0 2px 0 var(--acid); }
.tk-chk { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: transparent; transition: background .2s, border-color .2s, color .2s; }
.tk-chk svg { width: 15px; height: 15px; }
.tk-chk:hover { border-color: var(--acid-line); color: var(--ink-4); }
.tk-chk[aria-pressed="true"] { background: var(--acid); border-color: var(--acid); color: var(--on-acid); }
.tk-chk.big { width: 36px; height: 36px; border-radius: 10px; flex: none; }
.tk-chk.big svg { width: 19px; height: 19px; }
html[data-theme="light"] .tk-chk[aria-pressed="true"] { background: #b5d82a; border-color: #b5d82a; }
.tk-pr { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.tk-pr.high { background: var(--acid); box-shadow: 0 0 0 3px var(--acid-wash); }
html[data-theme="light"] .tk-pr.high { background: var(--acid-text); }
.tk-pr.low { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
.tk-mi { min-width: 0; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.tk-mi b { font-weight: 500; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-mi small { font-size: 12px; color: var(--ink-4); }
.tk-late { color: var(--loss); }
.tk-row.done .tk-mi b { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--ink-4); }
.tk-act { display: flex; gap: 2px; opacity: .0; transition: opacity .2s; }
.tk-row:hover .tk-act, .tk-row:focus-within .tk-act { opacity: 1; }
.tk-filters { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 14px 0 22px; flex-wrap: wrap; }
.tk-psel { width: 220px; height: 34px; padding-top: 0; padding-bottom: 0; }
.tk-group { margin-bottom: 22px; }
.tk-group .hb-gl span { margin-left: 6px; color: var(--ink-4); font-variant-numeric: tabular-nums; }
.tk-pbar { width: 160px; height: 6px; border-radius: 3px; background: var(--rule-2); overflow: hidden; margin-bottom: 4px; }
.tk-pbar i { display: block; height: 100%; background: var(--acid); }
html[data-theme="light"] .tk-pbar i { background: #b5d82a; }
.tk-pill { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--on-acid); background: var(--acid); border-radius: 999px; padding: 2px 8px; }
.tk-pill.paused { background: var(--line-strong); color: var(--ink); }
.sb .it .tk-pill + .soon { display: none; }
@media (max-width: 1260px) {
  .tk-hero { grid-template-columns: 1fr; }
  .tk-one { border-right: 0; border-bottom: 1px solid var(--rule); padding-right: 0; }
  .tk-focus { padding-left: 0; }
  .tk-act { opacity: 1; }
  .tk-qhint { display: none; }
}
.sb .it > span:not(.tk-pill) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tk-pill { flex: none; font-size: 11px; padding: 2px 7px; }

/* ================= 0.16 · Tarefas e foco em painéis ================= */
.tk2-top { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.pn.tk-one, .pn.tk-focus { padding: 20px 22px 22px; border: 1px solid var(--panel-line); }
.pn.tk-one .tk-one-t { margin-top: 6px; }
.pn.tk-one .tk-one-t h2 { font-size: 28px; }
.pn.tk-one .tk-one-empty { margin-top: 4px; font-size: 24px; }
.tk2-os { display: flex; align-items: center; gap: 10px; flex: none; }
.tk2-os b { display: block; font: 600 14px var(--display); }
.tk2-os small { font-size: 11px; color: var(--ink-4); }
.pn.tk-focus .pn-h h2 .dotpulse { margin-right: 2px; }
.tk2-fwrap { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 26px; align-items: center; }
.tk2-fbody { position: relative; width: 200px; height: 200px; }
.tk2-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tk2-rt { fill: none; stroke: var(--rule-2); stroke-width: 10; }
html[data-theme="light"] .tk2-rt { stroke: rgba(20, 24, 30, .07); }
.tk2-rv { fill: none; stroke: var(--acid-fill); stroke-width: 10; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 100px 100px; transition: stroke-dashoffset .5s linear; }
.tk2-rv.paused { stroke: var(--tone-a); }
.tk2-tk { stroke: var(--rule); stroke-width: 1; }
.tk2-tk.hr { stroke: var(--ink-4); stroke-width: 1.4; }
.tk2-fbody .tk-clock { position: absolute; left: 0; right: 0; top: 74px; margin: 0; text-align: center; font-size: 42px; }
.tk2-rs { position: absolute; left: 0; right: 0; top: 124px; text-align: center; font-size: 11.5px; color: var(--ink-4); }
.tk2-fside { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tk2-fside .tk-fset { flex-direction: column; align-items: stretch; }
.tk2-fside .tk-fset select { max-width: none; }
.tk2-fside .tk-fset .seg { align-self: flex-start; }
.tk2-fside .nu-sub { margin: 0; }

.tk2-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.tk2-t { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 2px 18px; border-left: 1px solid var(--panel-line); min-width: 0; }
.tk2-t:first-child { border-left: 0; padding-left: 0; }
.tk2-t:last-child { padding-right: 0; }
.tk2-t dt { font-size: 12.5px; color: var(--ink-3); }
.tk2-t dd { margin: 7px 0 0; font: 600 26px/1 var(--display); letter-spacing: -.025em; white-space: nowrap; }
.tk2-t dd small { font: 500 12px var(--font); color: var(--ink-4); letter-spacing: 0; }
.tk2-t p { margin: 6px 0 0; font-size: 11.5px; color: var(--ink-4); line-height: 1.4; }
.tk2-tv { flex: none; }
.tk2-mini { width: 104px; height: auto; display: block; }
.tk2-mb { fill: color-mix(in srgb, var(--acid-fill) 45%, transparent); }
.tk2-mb.now { fill: var(--acid-fill); }
.tk2-mz { fill: var(--ink-4); opacity: .6; }
.tk2-pips { display: inline-grid; grid-template-columns: repeat(4, 10px); gap: 4px; }
.tk2-pips i { width: 10px; height: 10px; border-radius: 3px; background: var(--rule-2); }
.tk2-pips i.on { background: var(--acid-fill); }
html[data-theme="light"] .tk2-pips i { background: rgba(20, 24, 30, .08); }
html[data-theme="light"] .tk2-pips i.on { background: var(--acid-fill); }
.pn .tk-list { border-top-color: var(--panel-line); }
.pn .tk-row { border-bottom-color: var(--panel-line); }
.pn .tk-row:last-child { border-bottom: 0; }

.ch-svg .tk2-ma { stroke: var(--ink); stroke-width: 2; opacity: .75; }
html[data-theme="light"] .ch-svg .tk2-ma { stroke: var(--ink-2); }
.lg-ln.tk2-lgl { background: var(--ink-2); }
.tk2-mid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pn-grid.tk2-low { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.c-ot { --c: color-mix(in srgb, var(--ink-3) 70%, transparent); } .c-np { --c: var(--line-strong); }
.lg-bar.c-ot, .lg-bar.c-np { background: var(--c); }
.tk2-proj { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 22px; align-items: center; }
.tk2-donut { width: 140px; height: 140px; display: block; }
.tk2-dt { fill: none; stroke: var(--rule-2); stroke-width: 14; }
.tk2-ds { fill: none; stroke: var(--c); stroke-width: 14; }
.tk2-dv { fill: var(--ink); font: 600 19px var(--display); letter-spacing: -.02em; text-anchor: middle; }
.tk2-dl { fill: var(--ink-4); font: 500 10.5px var(--font); text-anchor: middle; }
.tk2-pl { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tk2-pr { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 96px; gap: 12px; align-items: center; font-size: 12.5px; color: var(--ink-2); }
.tk2-pr > span { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk2-pr .lg-bar { flex: none; }
.tk2-pb { height: 6px; border-radius: 3px; background: var(--rule-2); overflow: hidden; }
.tk2-pb b { display: block; height: 100%; border-radius: 3px; background: var(--c); }
.tk2-pr em { font-style: normal; font: 600 13px var(--display); color: var(--ink); text-align: right; white-space: nowrap; }
.tk2-pr em small { font: 400 11px var(--font); color: var(--ink-4); }
.tk2-heat { display: grid; grid-template-columns: 34px repeat(var(--n), minmax(0, 1fr)); gap: 3px; align-items: center; }
.tk2-heat i { aspect-ratio: 1; max-height: 22px; border-radius: 4px; background: color-mix(in srgb, var(--acid-fill) calc(var(--a) * 100%), var(--rule-2)); }
.tk2-heat i.z { background: var(--rule-2); }
html[data-theme="light"] .tk2-heat i { background: color-mix(in srgb, var(--acid-fill) calc(var(--a) * 100%), rgba(20, 24, 30, .05)); }
html[data-theme="light"] .tk2-heat i.z { background: rgba(20, 24, 30, .05); }
.tk2-hd { font-size: 11px; color: var(--ink-4); }
.tk2-hh { font-size: 10px; color: var(--ink-4); white-space: nowrap; }
.tk2-hlg { display: flex; align-items: center; gap: 4px; margin-top: 14px; font-size: 11.5px; color: var(--ink-4); }
.tk2-hlg i { width: 14px; height: 14px; border-radius: 3px; background: color-mix(in srgb, var(--acid-fill) calc(var(--a) * 100%), var(--rule-2)); }
.tk2-hlg span:first-child { margin-right: 4px; } .tk2-hlg span:last-child { margin-left: 4px; }
.tk2-ptbl td { vertical-align: middle; }
.tk2-bar { display: inline-block; width: 120px; height: 6px; border-radius: 3px; background: var(--rule-2); overflow: hidden; vertical-align: middle; margin-right: 10px; }
.tk2-bar i { display: block; height: 100%; border-radius: 3px; background: var(--c); }
.tk2-bv { font-weight: 600; vertical-align: middle; white-space: nowrap; }
.tk2-bv small { font-weight: 400; color: var(--ink-4); }
.pn .tk-filters { margin: 12px 0 18px; }
@media (max-width: 1260px) {
  .tk2-top, .tk2-mid, .pn-grid.tk2-low { grid-template-columns: 1fr; }
  .pn.tk-one { border-bottom: 1px solid var(--panel-line); padding-right: 22px; }
  .pn.tk-focus { padding-left: 22px; }
  .tk2-tiles { grid-template-columns: 1fr 1fr; gap: 16px 0; }
  .tk2-t:nth-child(3) { border-left: 0; padding-left: 0; }
  .tk2-t:nth-child(2) { padding-right: 0; }
}
