/* Vettar One 1.6 task rows (behind VITE_TASK_ROWS=on). No side stripes, no pale fills: colour only the verb label, the dot and "You". */
No side stripes, no pale fills: colour only the verb label, the figure's dot and "You". */
.tasks {
  padding: 6px 16px 4px;
}
.tk-group {
  margin-top: 14px;
}
.tk-gh {
  display: flex;
  justify-content: space-between;
  margin: 0 6px 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink3);
}
.tk-list {
  background: var(--card);
  border: 1px solid var(--cardBorder);
  border-radius: 22px;
  box-shadow: var(--shadow1);
  overflow: hidden;
}
.tk-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 64px;
  padding: 0 14px 0 12px;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.tk-row:first-child {
  border-top: 0;
}
.tk-verb {
  flex: none;
  min-width: 64px;
  padding: 5px 7px;
  border-radius: 8px;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--bg2);
  color: var(--ink2);
}
.tk-verb[data-v="approve"],
.tk-verb[data-v="confirm"] {
  background: var(--lime);
  color: var(--forest);
}
.tk-verb[data-v="wait"],
.tk-verb[data-v="read"] {
  color: var(--ink3);
}
.tk-t {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tk-t b {
  font-weight: 620;
  font-size: 0.94rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tk-chain {
  font-size: 0.76rem;
  color: var(--ink3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tk-chain i {
  font-style: normal;
  opacity: 0.7;
}
.tk-chain em {
  font-style: normal;
}
.tk-chain em[data-me] {
  color: var(--acc);
  font-weight: 750;
}
.tk-fig {
  flex: none;
  max-width: 34%;
  font-weight: 720;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tk-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acc);
}
.tk-dot[data-t="look"] {
  background: var(--amber);
}
.tk-dot[data-t="grey"] {
  background: var(--ink3);
}
.tk-empty {
  margin-top: 14px;
  padding: 26px 16px;
  border-radius: 22px;
  background: var(--card);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--ink2);
}
.tk-empty b {
  color: var(--ink);
}
.tk-msgs {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 16px 0 2px;
}
.tk-m {
  max-width: 92%;
  padding: 7px 12px;
  border-radius: 15px;
  background: var(--bg2);
  color: var(--ink);
  font-size: 0.86rem;
}
.tk-m small {
  font-size: 0.74rem;
  color: var(--ink3);
}
.tk-m-me {
  align-self: flex-end;
  background: var(--mine);
  color: var(--mineInk);
}
.tk-m-sys {
  align-self: center;
  max-width: 100%;
  padding: 1px 4px;
  background: none;
  color: var(--ink3);
  font-size: 0.8rem;
  text-align: center;
}
.tk-ghost {
  height: 46px;
  border-radius: 99px;
  border: 1px solid var(--line2);
  background: none;
  color: var(--ink);
  font: inherit;
  font-weight: 620;
  font-size: 0.92rem;
}
.tk-ghost[data-on] {
  color: var(--acc);
}
/* Vettar One 1.6: tick to select, the one-line peek, and the conversation as a sheet */
.tk-rw {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line);
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.tk-rw:first-child {
  border-top: 0;
}
.tk-rw .tk-row {
  border-top: 0;
  flex: 1;
  min-width: 0;
}
.tk-rw[data-tick] .tk-row {
  padding-left: 8px;
}
.tk-tick {
  flex: none;
  width: 26px;
  height: 26px;
  margin-left: 12px;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid var(--line2);
  background: var(--card);
  color: #fff;
  display: grid;
  place-items: center;
}
.tk-tick .ico {
  width: 15px;
  height: 15px;
}
.tk-rw[data-sel] .tk-tick {
  background: var(--forest);
  border-color: var(--forest);
}
.tk-list:has(.tk-rw[data-sel]) {
  overflow: visible;
}
.tk-rw[data-sel] {
  z-index: 1;
  margin: 0 5px;
  border-radius: 16px;
  border-top-color: transparent;
  background: var(--card);
  box-shadow: 0 3px 14px rgba(11, 61, 46, 0.22), 0 0 0 1px var(--cardBorder);
}
.tk-rw[data-sel] + .tk-rw {
  border-top-color: transparent;
}
.tk-rw[data-sel] .tk-t b {
  font-weight: 800;
}
.tk-selbar {
  flex: none;
  padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--bg);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.tk-selrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.tk-selrow b {
  font-size: 0.98rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.tk-clear {
  padding: 8px 16px;
  min-height: 38px;
}
.tk-selbar .hold {
  flex: none;
  min-height: 56px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tk-rw[data-sel] .tk-tick {
    background: var(--lime);
    border-color: var(--lime);
    color: var(--forest);
  }
}
:root[data-theme="dark"] .tk-rw[data-sel] .tk-tick {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--forest);
}
.tk-row:active {
  background: var(--bg2);
}
/* while rows are ticked the selection bar takes the place of the chat bar */
.app:has(> .tk-selbar) > .dock {
  display: none;
}
