/* Janela da demanda em formato de cartão (01/11/2026). Inspirada no
   simulador de referência: título em pílula cinza, etiquetas de contexto,
   conteúdo à esquerda e um painel escuro à direita com a próxima etapa e as
   propriedades em linhas. Carregado depois de work.css e modules.css, por
   isso só sobrescreve o necessário. Componentes internos (checklist, anexos,
   comentários, pessoas, etiquetas) continuam com os estilos de work.css. */
dialog.hub-detail-modal:has(> .tsc) {
  width: min(1020px, calc(100vw - 32px));
  border: 0;
  border-radius: 28px;
}
dialog.hub-detail-modal.is-wide:has(> .tsc) {
  width: calc(100vw - 48px);
}
dialog.hub-detail-modal > .tsc {
  padding: 0 24px;
  gap: 14px;
}

/* Topo: título em pílula + ferramentas redondas. */
.tsc > .tsc-top {
  margin: 0 -24px;
  padding: 22px 24px 6px;
  border-bottom: 0;
  gap: 10px;
  align-items: flex-start;
}
.tsc .tsc-top .detail-title {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 10px 18px !important;
  min-height: 46px !important;
  border: 1px solid transparent !important;
  border-radius: 16px;
  background: var(--subtle) !important;
  font-size: 20px !important;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3 !important;
}
.tsc .tsc-top .detail-title:focus {
  outline: none;
  border-color: var(--line-2) !important;
  background: var(--surface) !important;
  box-shadow: 0 0 0 4px var(--accent-soft) !important;
}
.tsc .tsx-tools {
  display: flex;
  gap: 6px;
  padding-top: 2px;
}
.tsc .tsx-tool {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
}

/* Etiquetas de contexto (tipo, quadro, cliente). */
.tsc-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.tsc-chip,
.tsc .tsx-mode button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--subtle);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.tsc-chip .icon {
  width: 14px;
  height: 14px;
}
.tsc-chip.is-client {
  background: var(--peach);
  color: var(--peach-ink);
}
.tsc-chip.is-muted {
  color: var(--muted);
  font-weight: 500;
}
.tsc .tsx-mode {
  display: inline-flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
.tsc .tsx-mode button {
  border: 1px solid transparent;
  box-shadow: none;
}
.tsc .tsx-mode button.selected {
  border-color: var(--ink);
  background: var(--surface);
  color: var(--ink);
}

/* Corpo: duas colunas. */
.tsc-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
}
.tsc-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.tsc-main .tsx-pane,
.tsc .tsx-pane {
  display: flex !important;
  flex-direction: column;
}
.tsc-main .tsx-desc textarea,
.tsc-main .tsx-social textarea {
  border: 0;
  border-radius: 16px;
  background: var(--subtle);
}
.tsc-main .tsx-desc textarea {
  min-height: 64px;
  padding: 14px 16px;
  field-sizing: content;
}
.tsc-main .tsx-section-title,
.tsc-main .tsx-desc > .tsx-key {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.tsc .comment-compose textarea {
  border: 0;
  border-radius: 999px;
  background: var(--subtle);
  padding: 12px 16px;
}
.tsc .tsx-send {
  width: 44px;
  height: 44px;
  flex: none;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
}

/* Painel escuro com as propriedades. */
/* Painel escuro nos dois temas, como no modelo; as cores ficam em variáveis
   para os chips, campos e botões dentro dele. */
/* Painel lateral na cor do Editor visual (03/11/2026): a cor de destaque
   misturada a um fundo escuro, para o texto claro ficar sempre legível. */
.tsc-side {
  --side-bg: color-mix(in srgb, var(--accent) 26%, #141518);
  --side-row: color-mix(in srgb, var(--accent) 18%, #24262b);
  --side-ink: #fafafa;
  --side-muted: #a1a1aa;
  --side-soft: rgba(255, 255, 255, 0.08);
  --side-line: rgba(255, 255, 255, 0.18);
  position: sticky;
  top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: 24px;
  background: var(--side-bg);
  color: var(--side-ink);
  color-scheme: dark;
}
:root[data-theme="dark"] .tsc-side {
  --side-bg: color-mix(in srgb, var(--accent) 22%, #1d1f23);
  --side-row: color-mix(in srgb, var(--accent) 16%, #2a2d32);
}
.tsc-side .tsc-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 50px;
  margin-bottom: 4px;
  border: 0;
  border-radius: 16px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tsc-side .tsc-cta:hover {
  filter: brightness(0.95);
}
.tsc-side .tsx-props {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}
.tsc-side .tsx-props > .tsx-row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 6px 8px 6px 14px;
  border-radius: 14px;
  background: var(--side-row);
}
.tsc-side .tsx-row.tsc-stack {
  flex-wrap: wrap;
  padding: 10px 12px 10px 14px;
}
.tsc-side .tsx-row.tsc-stack > .tsx-val {
  flex: 1 1 100%;
  justify-content: flex-start;
}
.tsc-side .tsx-key {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--side-muted);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.tsc-side .tsx-key .icon {
  width: 18px;
  height: 18px;
  color: var(--side-muted);
}
.tsc-side .tsx-val {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
  color: var(--side-ink);
}
.tsc-side select,
.tsc-side .tsx-val input[type="date"],
.tsc-side .tsx-val > select,
.tsc-side .tsx-stage select {
  width: auto !important;
  max-width: 150px;
  min-height: 0 !important;
  height: 34px;
  padding: 0 8px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--side-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: right;
  text-align-last: right;
  box-shadow: none;
}
.tsc-side select:hover,
.tsc-side .tsx-val input[type="date"]:hover {
  background: var(--side-soft) !important;
}
.tsc-side select:focus-visible,
.tsc-side input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.tsc-side select option {
  background: #27272a;
  color: #fafafa;
}
.tsc-side .tsx-stage {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 0;
  background: none !important;
}
.tsc-side .tsx-stage i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.tsc-side .tsx-priority {
  padding-right: 8px;
}

/* Pessoas e etiquetas no painel escuro. */
.tsc-side #tsx-people,
.tsc-side #tsx-labels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  width: 100%;
}
.tsc-side .property-picker > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--side-soft);
  color: var(--side-ink);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.tsc-side .property-picker > summary::-webkit-details-marker {
  display: none;
}
.tsc-side .picker-options {
  color: var(--ink);
  color-scheme: light;
}
:root[data-theme="dark"] .tsc-side .picker-options {
  color-scheme: dark;
}
.tsc-side .label-compose {
  flex: 1;
  flex-wrap: nowrap;
}
.tsc-side .label-compose input {
  flex: 1;
  width: auto !important;
  min-width: 0;
  height: 32px;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--side-soft) !important;
  color: var(--side-ink);
  font-size: 13px;
}
.tsc-side .label-compose input::placeholder {
  color: var(--side-muted);
}
.tsc-side .label-compose button {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--side-soft);
  color: var(--side-ink);
}
.tsc-side .editable-labels:empty {
  display: none;
}

/* Capa: bolinhas de cor e imagem opcional. */
.tsc-dots {
  flex-wrap: nowrap;
  gap: 4px;
}
.tsc-dots label {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  cursor: pointer;
}
.tsc-dots input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.tsc-dots i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px transparent;
  transition:
    box-shadow 0.15s var(--ease),
    transform 0.15s var(--ease);
}
.tsc-dots input:checked + i {
  box-shadow:
    0 0 0 2px var(--side-row),
    0 0 0 4px var(--side-ink);
}
.tsc-dots input:focus-visible + i {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.tsc-dots label:hover i {
  transform: scale(1.08);
}
.tsc-dots i.is-none {
  background:
    linear-gradient(
      135deg,
      transparent 45%,
      var(--side-muted) 45% 55%,
      transparent 55%
    ),
    transparent;
  border: 1.5px solid var(--side-muted);
}
.tsc-dots i.cover-yellow {
  background: #f5b82e;
}
.tsc-dots i.cover-blue {
  background: #4f8df7;
}
.tsc-dots i.cover-purple {
  background: #9b6bf2;
}
.tsc-dots i.cover-pink {
  background: #ef4f7c;
}
.tsc-dots i.cover-teal {
  background: #14b88a;
}
.tsc-side .tsc-cover {
  padding-right: 12px;
}
.tsc-side .tsx-cover {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 14px;
  border: 1px dashed var(--side-line);
  border-radius: 14px;
  background: transparent;
  color: var(--side-muted);
}
.tsc-side .tsx-cover strong {
  color: var(--side-ink);
  font-size: 13px;
}
.tsc-side .tsx-cover small {
  color: var(--side-muted);
}
.tsc-side .tsx-cover-icon {
  background: var(--side-soft);
  color: var(--side-ink);
}
.tsc-side .tsx-cover.has-image {
  flex-direction: column;
  align-items: stretch;
  padding: 8px;
  border-style: solid;
}
.tsc-side .tsx-cover.has-image .cover-preview {
  height: 120px;
  border-radius: 10px;
}
.tsc-side .tsx-cover-actions {
  display: flex;
  gap: 6px;
}
.tsc-side .tsx-cover-actions > * {
  flex: 1;
  justify-content: center;
  color: var(--side-ink);
}
.tsc-side .blocked-note {
  margin: 0;
  color: var(--side-muted);
}

/* Rodapé: Cancelar à esquerda, ação principal à direita. */
.tsc > .tsx-foot {
  margin: 0 -24px;
  padding: 16px 24px 20px;
  border-top: 0;
  gap: 10px;
}
.tsc .tsc-cancel,
.tsc .ts-save {
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
}
.tsc .tsx-viewers {
  margin-right: auto;
}
.tsc .ts-save.dark-button {
  margin-left: 0;
}

/* Leitura: o painel escuro mantém o contraste. */
.tsc.is-readonly .tsc-side select:disabled,
.tsc.is-readonly .tsc-side input:disabled {
  opacity: 1;
  color: var(--side-ink);
}

/* Tablet e celular: uma coluna; o painel escuro vem logo após o título. */
@media (max-width: 860px) {
  .tsc-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .tsc-side {
    position: static;
    order: -1;
  }
}
@media (max-width: 600px) {
  dialog.hub-detail-modal:has(> .tsc) {
    width: 100vw;
    border-radius: 24px 24px 0 0;
  }
  dialog.hub-detail-modal > .tsc {
    padding: 0 16px;
    gap: 12px;
  }
  .tsc > .tsc-top {
    margin: 0 -16px;
    padding: 16px 16px 4px;
    position: static;
  }
  .tsc .tsc-top .detail-title {
    font-size: 18px !important;
    padding: 9px 14px;
  }
  .tsc .tsx-tools {
    gap: 4px;
  }
  .tsc .tsx-tool {
    width: 38px;
    height: 38px;
  }
  .tsc .tsx-wide,
  .tsc .tsx-viewers {
    display: none;
  }
  .tsc-side {
    padding: 10px;
    border-radius: 20px;
  }
  .tsc-side .tsx-props > .tsx-row {
    min-height: 44px;
  }
  .tsc > .tsx-foot {
    position: sticky;
    bottom: 0;
    margin: 0 -16px;
    padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
    background: var(--surface);
    border-top: 1px solid var(--line);
  }
  .tsc .tsc-cancel {
    padding: 0 16px;
  }
  .tsc .ts-save {
    flex: 1;
  }
}
@media (max-width: 360px) {
  .tsc-side select,
  .tsc-side .tsx-val input[type="date"] {
    max-width: 128px;
    font-size: 13px;
  }
}

/* As regras antigas do celular reordenam .tsx-props; aqui a ordem é a do HTML. */
.tsc-side .tsx-props > * {
  order: 0 !important;
}
.tsc-side .tsx-val input[type="date"] {
  min-width: 136px;
}
@media (max-width: 600px) {
  .tsc .tsx-foot .ts-save {
    width: auto;
    flex: 1;
    gap: 8px;
    padding: 0 18px;
    font-size: 15px;
  }
}

/* ---------- Novo agendamento (01/11/2026) ----------
   Cartões à esquerda (cliente e redes, conteúdo, quando publicar) e, à
   direita, a prévia do post e o resumo. */
dialog.se-new-modal {
  width: min(980px, calc(100vw - 32px));
  border: 0;
  border-radius: 28px;
  background: var(--bg);
}
dialog.se-new-modal > .modal-heading {
  display: none;
}
.se-new {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 24px 20px;
}
.se-new-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.se-new-head h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.se-new-head h2 .icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
}
.se-new-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.se-new-go:hover {
  filter: brightness(0.95);
}
.se-new-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 14px;
  align-items: start;
}
.se-new-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.se-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 22px;
  background: var(--surface);
}
.se-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 2px;
  font-size: 1rem;
  font-weight: 600;
}
.se-card-ico {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
}
.se-card-ico .icon {
  width: 15px;
  height: 15px;
}
.se-label {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}
.se-client {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  background: var(--subtle);
  font-size: 0.85rem;
}
.se-client small {
  color: var(--muted);
}
.se-avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 0.65rem;
  font-weight: 700;
}
.se-avatar.small {
  width: 26px;
  height: 26px;
}
.se-nets {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.se-net {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 74px;
  padding: 8px 4px;
  border-radius: 14px;
  background: var(--subtle);
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s var(--ease);
}
.se-net input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.se-net:has(input:checked) {
  background: var(--ink);
  color: var(--on-ink);
}
.se-net:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.se-net.is-off {
  cursor: default;
  opacity: 0.5;
}
.se-net.is-off small {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 500;
}
.se-content {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
}
.se-content .sp-thumb {
  width: 76px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
}
.se-content p {
  margin: 0;
  max-height: 120px;
  overflow: auto;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--subtle);
  font-size: 0.82rem;
  line-height: 1.5;
  white-space: pre-line;
}
.se-quicks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.se-quick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--subtle);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.se-quick .icon {
  width: 13px;
  height: 13px;
}
.se-quick.on {
  border-color: var(--ink);
  background: var(--surface);
  color: var(--ink);
}
.se-card .form-grid {
  gap: 10px;
}
.se-new-note {
  display: flex;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}
.se-new-note .icon {
  flex: none;
  width: 16px;
  height: 16px;
}
.se-new-side {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.se-preview {
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface);
}
.se-preview > header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  font-size: 0.8rem;
}
.se-preview > header strong {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.se-preview-media .sp-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  border-radius: 0;
  object-fit: cover;
}
.se-preview-media .sp-thumb-empty {
  display: grid;
  place-items: center;
  background: var(--subtle);
  color: var(--muted);
}
.se-preview-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 4px;
}
.se-preview-icons span {
  flex: 1;
}
.se-preview-icons .icon {
  width: 18px;
  height: 18px;
}
.se-preview p {
  margin: 0;
  padding: 0 14px 14px;
  max-height: 140px;
  overflow: hidden;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text);
}
.se-preview p b {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
}
.se-summary {
  margin: 0;
  padding: 6px 16px;
  border-radius: 22px;
  background: var(--surface);
}
.se-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  font-size: 0.8rem;
}
.se-summary > div + div {
  border-top: 1px solid var(--line);
}
.se-summary dt {
  color: var(--muted);
}
.se-summary dd {
  display: flex;
  gap: 2px;
  margin: 0;
  font-weight: 600;
  text-align: right;
}
.se-new .modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
@media (max-width: 820px) {
  .se-new-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .se-new-side {
    position: static;
  }
  .se-preview-media .sp-thumb {
    aspect-ratio: 1;
  }
}
@media (max-width: 600px) {
  dialog.se-new-modal {
    width: 100vw;
    border-radius: 24px 24px 0 0;
  }
  .se-new {
    padding: 16px;
  }
  .se-new-go {
    display: none;
  }
  .se-nets {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .se-new .modal-footer {
    position: sticky;
    bottom: 0;
    margin: 0 -16px -16px;
    padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
    background: var(--bg);
  }
  .se-new .modal-footer .dark-button {
    flex: 1;
    justify-content: center;
  }
}

/* Pessoas atribuídas no painel: o chip usa as cores do painel. */
.tsc-side .person-chip {
  border-color: var(--side-line);
  background: var(--side-soft);
  color: var(--side-ink);
}
.tsc-side .person-chip > span:last-child {
  color: var(--side-ink);
}

/* ---------- Demanda no modelo do vídeo (01/11/2026, fase 1) ----------
   Rótulo "DEMANDA · ETAPA", título grande sem caixa, "Concluir" no topo,
   anexos e checklist lado a lado e o tempo na demanda no painel escuro. */
.tsc-heading {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tsc-eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.tsc .tsc-top .detail-title {
  min-height: 0 !important;
  padding: 2px 6px !important;
  margin-left: -6px;
  border: 1px solid transparent !important;
  border-radius: 10px;
  background: transparent !important;
  font-size: 30px !important;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2 !important;
}
.tsc .tsc-top .detail-title:hover {
  background: var(--subtle) !important;
}
.tsc .tsc-top .detail-title:focus {
  background: var(--surface) !important;
  border-color: var(--line-2) !important;
}
.tsc .tsx-tools {
  align-items: center;
}
.tsc-finish {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  border: 1.5px solid #16a37a;
  border-radius: 999px;
  background: var(--surface);
  color: #11845e;
  font-size: 14px;
  font-weight: 700;
}
.tsc-finish:hover {
  background: #e3f6ee;
}
.tsc-finish.is-done {
  border-color: var(--line-2);
  color: var(--text);
}
.tsc-finish .icon {
  width: 16px;
  height: 16px;
}
:root[data-theme="dark"] .tsc-finish {
  color: #6fe0b4;
}
:root[data-theme="dark"] .tsc-finish:hover {
  background: rgba(22, 163, 122, 0.15);
}
/* Tipo da demanda em pílula: o selecionado ganha a cor de destaque. */
.tsc .tsx-mode button.selected {
  border-color: transparent;
  background: var(--accent);
  color: var(--on-accent);
}
.tsc-chip.is-client i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}
.tsc-chip.is-client {
  background: var(--subtle);
  color: var(--ink);
  padding-left: 6px;
}
.tsc-faces {
  display: inline-flex;
  align-items: center;
}
.tsc-faces:not(:has(.person-avatar)) {
  display: none;
}
/* Anexos e checklist lado a lado no computador. */
.tsc-duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.tsc .cl-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--subtle);
  overflow: hidden;
}
.tsc .cl-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #16a37a;
  transition: width 0.6s var(--ease);
}
.tsc .editable-check.checked .check-dot {
  animation: kb-check-pop 0.3s var(--ease-spring);
}
@keyframes kb-check-pop {
  from {
    transform: scale(0.6);
  }
}
/* Tempo na demanda (painel escuro). */
.tsc-timer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--side-row);
}
.tsc-timer-play {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: #16a37a;
  color: #fff;
  cursor: pointer;
}
.tsc-timer.is-running .tsc-timer-play {
  background: var(--accent);
  animation: kb-breathe 1.6s ease-in-out infinite;
}
.tsc-timer-play .icon {
  width: 15px;
  height: 15px;
}
.tsc-timer > span {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}
.tsc-timer small {
  color: var(--side-muted);
  font-size: 11px;
}
.tsc-timer strong {
  color: var(--side-ink);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.tsc-timer .tsx-timer-reset {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: var(--side-soft);
  color: var(--side-muted);
}
@keyframes kb-breathe {
  50% {
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 25%, transparent);
  }
}
.tsc-type,
.tsc-static {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-right: 8px;
  font-size: 14px;
  font-weight: 600;
}
.tsc-type i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--side-muted);
}
.tsc-type i.tone-peach {
  background: #f29a38;
}
.tsc-type i.tone-lilac {
  background: #9b6bf2;
}
.tsc-type i.tone-rose {
  background: #ef4f7c;
}
.tsc-type i.tone-sun {
  background: #f5b82e;
}
@media (max-width: 860px) {
  .tsc-duo {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .tsc .tsc-top .detail-title {
    font-size: 22px !important;
  }
  .tsc-finish {
    width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
    font-size: 0;
  }
  .tsc-finish .icon {
    margin: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tsc .cl-bar i,
  .tsc-timer.is-running .tsc-timer-play,
  .tsc .editable-check.checked .check-dot {
    transition: none;
    animation: none;
  }
}
/* Regras antigas de ordem (work.css) não valem no cartão: vale a ordem do HTML. */
.tsc-main > * {
  order: 0 !important;
}
/* As pessoas já aparecem nas etiquetas do topo. */
.tsc .tsx-viewers {
  visibility: hidden;
}
@media (max-width: 600px) {
  /* Vence a regra antiga que deixava "Salvar" só com o ícone. */
  .tsc.tsx .tsx-foot .ts-save:not(.ts-cta) {
    width: auto;
    flex: 1;
    gap: 8px;
    padding: 0 18px;
    font-size: 15px;
  }
  /* Botões em cima, título com a largura toda. */
  .tsc > .tsc-top {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 6px;
  }
  .tsc > .tsc-top .tsx-tools {
    justify-content: flex-end;
  }
}
@media (max-width: 600px) {
  .tsc > .tsc-top .tsx-tools {
    flex-direction: row;
  }
  .tsc > .tsc-top .tsx-tools .tsx-close {
    order: 9;
  }
}

/* Coluna direita: painel escuro + cartão "Visível para o cliente" (fase 5). */
.tsc-side-wrap {
  position: sticky;
  top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.tsc-side-wrap .tsc-side {
  position: static;
}
.tsc-visible {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background: var(--subtle);
  cursor: pointer;
}
.tsc-visible > span {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
}
.tsc-visible strong {
  font-size: 14px;
}
.tsc-visible small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.tsc-visible input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.tsc-visible i {
  position: relative;
  width: 38px;
  height: 22px;
  flex: none;
  border-radius: 999px;
  background: var(--line-2);
  transition: background 0.2s;
}
.tsc-visible i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s var(--ease);
}
.tsc-visible input:checked + i {
  background: #f29a38;
}
.tsc-visible input:checked + i::after {
  transform: translateX(16px);
}
.tsc-visible input:focus-visible + i {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@media (max-width: 860px) {
  .tsc-side-wrap {
    position: static;
    order: -1;
  }
}

/* Novo agendamento no modelo da imagem (02/11/2026): redes em tom pastel da
   marca e cor cheia quando escolhidas; botão principal sob o resumo. */
.se-net {
  --net: #7c8494;
  background: color-mix(in srgb, var(--net) 22%, var(--surface));
}
.se-net.n-instagram {
  --net: #d62976;
}
.se-net.n-facebook {
  --net: #1877f2;
}
.se-net.n-tiktok {
  --net: #111111;
}
.se-net.n-youtube {
  --net: #ff0033;
}
.se-net.n-linkedin {
  --net: #0a66c2;
}
.se-net:has(input:checked) {
  background: var(--net);
  color: #fff;
  box-shadow: 0 10px 20px -14px var(--net);
}
.se-net:has(input:checked) .brand-mark {
  box-shadow: 0 0 0 2px #fff;
}
.se-new-side .se-new-go {
  justify-content: center;
  width: 100%;
  height: 48px;
  font-size: 0.9rem;
}
.se-new-head .icon-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
@media (max-width: 600px) {
  .se-new-side .se-new-go {
    display: inline-flex;
  }
}

/* O botão principal ganha contorno para não sumir num painel da mesma cor. */
.tsc-side .tsc-cta {
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18);
}
/* Capa no topo da demanda (03/11/2026), como nas versões anteriores. */
.tsx-cover.tsx-cover-top {
  display: block;
  height: 168px;
  margin: 0 0 12px;
  overflow: hidden;
  border-radius: 18px;
}
.tsx-cover.tsx-cover-top .cover-preview {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tsc-cover-add {
  position: relative;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px dashed var(--side-line);
  border-radius: 50%;
  color: var(--side-ink);
  cursor: pointer;
}
.tsc-cover-add:hover {
  background: var(--side-soft);
}
.tsc-cover-add .icon {
  width: 13px;
  height: 13px;
}
.tsc-cover-add input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
/* Cliente / quadro: um só seletor no topo da demanda. */
.tsc-board-pick {
  position: relative;
  padding-right: 26px !important;
  cursor: pointer;
}
.tsc-board-pick select {
  appearance: none;
  field-sizing: content;
  max-width: 220px;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  box-shadow: none;
  cursor: pointer;
}
.tsc-board-pick > .icon {
  position: absolute;
  right: 9px;
  width: 12px;
  height: 12px;
  pointer-events: none;
}
/* Datas no painel lateral: texto claro e calendário escuro (03/11/2026). */
.tsc-side {
  color-scheme: dark;
}
.tsc-side .tsx-val input[type="date"],
.tsc-side .tsx-val input[type="date"]::-webkit-datetime-edit,
.tsc-side .tsx-val input[type="date"]::-webkit-datetime-edit-fields-wrapper {
  color: var(--side-ink) !important;
}
.tsc-side .tsx-val input[type="date"]:not(:valid)::-webkit-datetime-edit,
.tsc-side .tsx-val input[type="date"][value=""]::-webkit-datetime-edit {
  color: var(--side-muted) !important;
}
.tsc-side .tsx-val input[type="date"]::-webkit-calendar-picker-indicator {
  margin-left: 6px;
  padding: 3px;
  border-radius: 6px;
  opacity: 0.85;
  cursor: pointer;
}
.tsc-side .tsx-val input[type="date"]::-webkit-calendar-picker-indicator:hover {
  background: var(--side-soft);
  opacity: 1;
}
/* Capa no topo: faixa de cor e seletor único (cores + imagem). */
.tsx-cover-band {
  height: 56px;
  margin: 0 0 12px;
  border-radius: 16px;
}
.tsx-cover-band.is-empty {
  display: none;
}
.tsx-cover-band.cover-yellow,
.tsc-cover-dot.cover-yellow {
  background: #f5b82e;
}
.tsx-cover-band.cover-blue,
.tsc-cover-dot.cover-blue {
  background: #4f8df7;
}
.tsx-cover-band.cover-purple,
.tsc-cover-dot.cover-purple {
  background: #9b6bf2;
}
.tsx-cover-band.cover-pink,
.tsc-cover-dot.cover-pink {
  background: #ef4f7c;
}
.tsx-cover-band.cover-teal,
.tsc-cover-dot.cover-teal {
  background: #14b88a;
}
.tsc-cover-pick {
  position: relative;
  padding: 0 !important;
}
.tsc-cover-pick > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  list-style: none;
  cursor: pointer;
}
.tsc-cover-pick > summary::-webkit-details-marker {
  display: none;
}
.tsc-cover-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.tsc-cover-pop {
  --side-row: var(--surface);
  --side-ink: var(--ink);
  --side-muted: var(--muted);
  --side-soft: var(--subtle);
  --side-line: var(--line-2);
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 230px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-pop);
  white-space: normal;
}
.tsc-cover-pop > small {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
}
.tsc-cover-pop .tsc-dots {
  display: flex;
}
.tsc-cover-pop .tsc-cover-add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  height: 34px;
  padding: 0 12px;
  border: 1px dashed var(--line-2);
  border-radius: 10px;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
}
/* Caixa de comentário menos arredondada (03/11/2026). */
.tsc .comment-compose {
  border-radius: 14px;
}
.tsc .comment-compose textarea {
  padding: 8px 12px !important;
  border-radius: 10px !important;
}
.tsc .tsx-send {
  border-radius: 10px;
}
/* Capa removida: some de vez (sem deixar o espaço da imagem). */
.tsx-cover.tsx-cover-top.is-removed {
  display: none;
}
/* Seletor "Capa" sem a seta padrão do <details>. */
.tsc-cover-pick > summary::before {
  content: none !important;
  display: none !important;
}

/* V4 1.2 — resumo para o cliente */
.tsc-visible-wrap {
  display: grid;
  gap: 8px;
}
.tsc-summary textarea {
  resize: vertical;
}
.tsc-awaiting-note textarea {
  resize: vertical;
}
/* Parte externa da demanda no Jurídico (16/11/2026). */
.tsc-public {
  display: grid;
  gap: 10px;
}
.tsc-public[hidden] {
  display: none;
}
.tsc-public-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.tsc-public-log {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.tsc-public-log h4 {
  margin: 0;
  font-size: 13px;
}
.tsc-updates {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tsc-updates li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 10px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  background: var(--subtle);
}
.tsc-updates li p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.tsc-updates li small {
  grid-column: 1;
  color: var(--muted);
  font-size: 11px;
}
.tsc-updates li .text-button {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}
.tsc-updates li.is-off p {
  color: var(--muted);
  text-decoration: line-through;
}
.tsc-update-new {
  display: grid;
  gap: 8px;
}
.tsc-update-new textarea {
  resize: vertical;
}
.tsc-update-new > .subtle-button {
  justify-self: start;
}
@media (max-width: 560px) {
  .tsc-public-grid {
    grid-template-columns: 1fr;
  }
}

/* V4 1.7 — aprovação do cliente na demanda */
.tsc-approval {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.tsc-approval > header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 13px;
}
.tsc-approval .kb-asked {
  animation: none;
}
.tsc-approval textarea {
  resize: vertical;
}
.tsc-approval > .subtle-button {
  justify-self: start;
}
.tsc-answer {
  display: block;
}
.tsc-hint,
.tsc-answer {
  gap: 6px;
  margin: 0;
  color: var(--text);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.tsc-hint {
  display: flex;
}
.tsc-hint .icon {
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 1px;
  color: var(--muted);
}

/* Funções do cliente acima da descrição, compactas (08/11/2026). */
.tsc-visible-wrap.is-top {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "vis wait" "sum sum" "pub pub" "note note" "appr appr";
  gap: 8px;
  margin-bottom: 14px;
}
.tsc-visible-wrap.is-top > .tsc-visible:not(.tsc-awaiting) { grid-area: vis; }
.tsc-visible-wrap.is-top > .tsc-awaiting { grid-area: wait; }
.tsc-visible-wrap.is-top > .tsc-summary { grid-area: sum; }
.tsc-visible-wrap.is-top > .tsc-public { grid-area: pub; }
.tsc-visible-wrap.is-top > .tsc-awaiting-note { grid-area: note; }
.tsc-visible-wrap.is-top > .tsc-approval { grid-area: appr; }
.tsc-visible-wrap.is-top > [hidden] { display: none; }
.tsc-visible-wrap.is-top .tsc-visible {
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
}
.tsc-visible-wrap.is-top .tsc-visible > span { gap: 2px; }
.tsc-visible-wrap.is-top .tsc-visible strong { font-size: 13px; }
.tsc-visible-wrap.is-top .tsc-visible small { font-size: 11.5px; line-height: 1.35; }
.tsc-visible-wrap.is-top .tsc-approval { padding: 10px 12px; }
@media (max-width: 640px) {
  .tsc-visible-wrap.is-top {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "vis" "sum" "wait" "note" "appr";
  }
}
.tsc-visible-wrap.is-top .tsc-approval textarea {
  height: 40px;
  min-height: 40px;
}
.tsc-visible-wrap.is-top .tsc-approval .field { gap: 4px; }
.tsc-visible-wrap.is-top .tsc-approval small,
.tsc-visible-wrap.is-top .tsc-approval .tsc-hint { font-size: 11.5px; }
/* Aprovação compacta (08/11/2026): título e aviso numa linha, campo e botão lado a lado. */
.tsc-approval.is-compact { gap: 6px; padding: 10px 12px; }
.tsc-approval.is-compact > header { justify-content: flex-start; gap: 4px 10px; }
.tsc-approval.is-compact > header small { font-size: 11.5px; }
.tsc-approval-row { display: flex; align-items: center; gap: 8px; }
.tsc-approval-row textarea {
  flex: 1;
  min-width: 0;
  height: 38px;
  min-height: 38px;
  padding: 8px 12px;
  resize: vertical;
}
.tsc-approval-row .subtle-button { flex: none; }
.tsc-approval.is-compact .tsc-hint { margin: 0; font-size: 11.5px; color: var(--muted); }

/* Janela simples da demanda no Jurídico (15/11/2026, fiel à referência do
   usuário): cartão branco, caminho com botões quadrados de borda fina,
   título grande, propriedades como texto e selos (sem cara de formulário),
   descrição em caixa, anexos em blocos e lista de tarefas em tabela com
   divisórias. Só tokens de base.css. */
dialog.hub-detail-modal:has(> .tsl) {
  width: min(780px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-dialog);
}
dialog.hub-detail-modal.is-wide:has(> .tsl) {
  width: min(1100px, calc(100vw - 48px));
}
dialog.hub-detail-modal > .tsl {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 18px 20px 0;
  color: var(--text);
  font-size: 14px;
}
/* Topo */
.tsl-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.tsl .tsl-sq {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xs);
  background: var(--surface);
  color: var(--ink);
  box-shadow: none;
}
.tsl .tsl-sq:hover {
  background: var(--subtle);
}
.tsl .tsl-sq .icon {
  width: 18px;
  height: 18px;
}
.tsl-crumb {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 14px;
}
.tsl-crumb strong {
  overflow: hidden;
  color: var(--ink);
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tsl-board {
  display: inline-flex;
  min-width: 0;
}
.tsl .tsl-board select {
  field-sizing: content;
  max-width: 180px;
  min-height: 0;
  height: auto;
  padding: 2px 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--muted);
  font: inherit;
  appearance: none;
  cursor: pointer;
}
.tsl .tsl-board select:hover {
  color: var(--ink);
}
.tsl-tools {
  display: flex;
  flex: none;
  gap: 8px;
}
/* Título */
.tsl .tsl-title {
  width: 100%;
  margin: 22px 0 14px;
  padding: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--ink);
  font-size: 30px !important;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2 !important;
  resize: none;
  overflow: hidden;
}
.tsl .tsl-title::placeholder {
  color: var(--faint);
}
/* Propriedades */
.tsl-props {
  display: grid;
  gap: 0;
  padding: 0 0 6px 8px;
}
.tsl-row {
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr);
  align-items: center;
  min-height: 48px;
}
.tsl-key,
.tsl-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
}
.tsl-key .icon,
.tsl-label .icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.tsl-val {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
/* Situação: selo pastel com anel */
.tsl-pill {
  --tone: var(--lilac);
  --tone-ink: var(--lilac-ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--tone-ink) 18%, transparent);
  border-radius: var(--r-xs);
  background: var(--tone);
  color: var(--tone-ink);
}
.tsl-pill.stage-briefing {
  --tone: var(--sky);
  --tone-ink: var(--sky-ink);
}
.tsl-pill.stage-doing {
  --tone: var(--sun);
  --tone-ink: var(--sun-ink);
}
.tsl-pill.stage-review {
  --tone: var(--peach);
  --tone-ink: var(--peach-ink);
}
.tsl-pill.stage-done {
  --tone: var(--mint);
  --tone-ink: var(--mint-ink);
}
.tsl-pill i {
  width: 12px;
  height: 12px;
  flex: none;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: radial-gradient(circle, currentColor 0 2.5px, transparent 3px);
}
.tsl .tsl-pill select {
  field-sizing: content;
  width: auto;
  min-height: 0;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: inherit;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  appearance: none;
  cursor: pointer;
}
.tsl-pill select:focus-visible {
  outline: none;
}
.tsl-pill:has(select:focus-visible) {
  outline: 2px solid color-mix(in srgb, var(--accent) 55%, var(--ink));
  outline-offset: 2px;
}
/* Responsáveis: fichas com foto e borda fina */
.tsl-people {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.tsl #assigned-avatars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tsl #assigned-avatars:empty {
  display: none;
}
.tsl .person-chip {
  height: 34px;
  padding: 0 12px 0 6px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xs);
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
}
.tsl .person-chip .person-avatar,
.tsl .person-chip img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  font-size: 9px;
}
.tsl .property-picker {
  position: relative;
}
.tsl .property-picker summary,
.tsl .tsl-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  min-width: 34px;
  justify-content: center;
  padding: 0 10px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-xs);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}
.tsl .property-picker summary:hover,
.tsl .tsl-add-btn:hover {
  border-color: var(--faint);
  color: var(--ink);
}
.tsl .property-picker summary::before,
.tsl .tsl-add-btn::before {
  content: none;
  display: none;
}
.tsl .property-picker summary::-webkit-details-marker,
.tsl .tsl-add-btn::-webkit-details-marker {
  display: none;
}
.tsl .property-picker summary .icon,
.tsl .tsl-add-btn .icon {
  width: 15px;
  height: 15px;
}
.tsl .tsl-add-btn span:empty {
  display: none;
}
/* Com gente atribuída, o botão vira só o "+". */
.tsl #assigned-avatars:not(:empty) + .property-picker summary span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.tsl .picker-options,
.tsl .tsl-pop-box {
  position: absolute;
  z-index: 6;
  top: calc(100% + 6px);
  right: 0;
  left: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: min(290px, 80vw);
  max-height: 320px;
  margin: 0;
  padding: 8px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: var(--shadow-pop);
}
.tsl .assigned-check {
  display: none;
}
/* Datas em texto com seta */
.tsl-dates {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.tsl-dates > .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.tsl-date {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 2px;
  border-radius: 6px;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
}
.tsl-date:hover {
  background: var(--subtle);
}
.tsl-date.is-empty {
  color: var(--faint);
}
.tsl .tsl-date input {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}
.tsl-date:has(input:focus-visible) {
  outline: 2px solid color-mix(in srgb, var(--accent) 55%, var(--ink));
  outline-offset: 2px;
}
/* Etiquetas coloridas */
.tsl-labels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.tsl .editable-labels {
  display: contents;
}
.tsl .label-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  border-radius: var(--r-xs);
  font-size: 14px;
  font-weight: 500;
}
.tsl .label-chip .icon {
  width: 12px;
  height: 12px;
  opacity: 0;
}
.tsl .label-chip:hover .icon,
.tsl .label-chip:focus-visible .icon {
  opacity: 0.8;
}
.tsl .tsl-pop {
  position: relative;
}
.tsl .tsl-pop-box .label-compose {
  display: flex;
  gap: 6px;
}
.tsl .tsl-pop-box .label-compose input {
  flex: 1;
  min-width: 0;
}
.tsl .tsl-pop-box .label-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
/* Processo: seletor com cara de texto */
.tsl .tsl-plain select {
  field-sizing: content;
  max-width: 100%;
  min-height: 28px;
  height: 28px;
  padding: 0 4px;
  border: 0;
  border-radius: 6px;
  background: none;
  box-shadow: none;
  color: var(--text);
  font: inherit;
  appearance: none;
  cursor: pointer;
}
.tsl .tsl-plain select:hover {
  background: var(--subtle);
}
.tsl .tsl-plain.is-empty select {
  color: var(--faint);
}
.tsl .tsl-link {
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: color-mix(in srgb, var(--accent) 55%, var(--ink));
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.tsl .tsl-link:hover {
  text-decoration: underline;
}
/* Blocos: descrição, anexos, lista, comentários */
.tsl-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px 0 14px 8px;
}
.tsl-block > .tsl-label {
  min-height: 28px;
}
.tsl .tsl-text {
  width: 100%;
  min-height: 112px;
  padding: 16px 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: none;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  line-height: 1.65;
  resize: vertical;
}
.tsl-hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.tsl-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 11px;
  font-weight: 700;
}
/* Anexos no formato da referência */
.tsl .tsx-files-head .tsx-section-title {
  gap: 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
}
.tsl .tsx-files-head .tsx-section-title .icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.tsl .tsx-download {
  color: color-mix(in srgb, var(--accent) 55%, var(--ink)) !important;
  font-size: 14px;
  font-weight: 500;
}
.tsl .att-grid {
  gap: 10px;
  margin-top: 0;
}
.tsl .att-grid {
  flex-wrap: nowrap;
}
.tsl .att-tile {
  flex: 0 1 250px;
  min-width: 0;
  max-width: 250px;
  border-color: var(--line-2);
  border-radius: var(--r-sm);
}
.tsl .att-tile a {
  padding: 12px 6px 12px 14px;
}
.tsl .att-add {
  display: grid;
  flex: 0 0 66px;
  place-items: center;
  height: 66px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.tsl .att-add:hover {
  background: var(--subtle);
}
.tsl .att-add span {
  display: none;
}
.tsl .att-add .icon {
  width: 22px;
  height: 22px;
}
/* Lista de tarefas em tabela com divisórias */
.tsl-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 28px;
}
.tsl-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
}
.tsl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.tsl-table th,
.tsl-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-2);
  border-left: 1px solid var(--line-2);
  text-align: left;
  vertical-align: middle;
}
.tsl-table th:first-child,
.tsl-table td:first-child {
  border-left: 0;
}
.tsl .tsl-table th {
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.tsl-table td {
  color: var(--text);
}
.tsl-table tbody tr:last-child td {
  border-bottom: 0;
}
.tsl-table .tsl-n {
  width: 46px;
  color: var(--text);
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.tsl-table .tsl-n .icon {
  width: 15px;
  height: 15px;
  color: var(--muted);
}
.tsl-task {
  position: relative;
}
.tsl-task span {
  padding-right: 24px;
}
.tsl-task .icon-button {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 26px;
  height: 26px;
  transform: translateY(-50%);
  color: var(--muted);
  opacity: 0;
}
.tsl-table tr:hover .tsl-task .icon-button,
.tsl-task .icon-button:focus-visible {
  opacity: 1;
}
.tsl-table tr.is-done .tsl-task span {
  color: var(--muted);
}
.tsl-cat,
.tsl-due {
  white-space: nowrap;
}
.tsl-st {
  width: 1%;
  white-space: nowrap;
}
.tsl-status {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--sun);
  color: var(--sun-ink);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}
.tsl-status.is-done {
  background: var(--mint);
  color: var(--mint-ink);
}
.tsl-status input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.tsl-status:has(input:focus-visible) {
  outline: 2px solid color-mix(in srgb, var(--accent) 55%, var(--ink));
  outline-offset: 2px;
}
.tsl-table .tsl-add td {
  padding-top: 8px;
  padding-bottom: 8px;
}
.tsl .tsl-add input {
  width: 100%;
  min-height: 0;
  height: 24px;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  box-shadow: none !important;
  color: var(--ink);
  font: inherit;
}
.tsl .tsl-add input::placeholder {
  color: var(--faint);
}
.tsl .tsl-add input:focus-visible {
  outline: none;
}
/* Mais opções e rodapé */
.tsl-more {
  padding: 10px 0 14px 8px;
  border-top: 1px solid var(--line);
}
.tsl-more > summary {
  display: flex;
  min-height: 34px;
  list-style: none;
  cursor: pointer;
}
.tsl-more > summary::before {
  content: none;
  display: none;
}
.tsl-more > summary::-webkit-details-marker {
  display: none;
}
.tsl-more > summary .icon:last-child {
  width: 15px;
  height: 15px;
  transition: transform 0.2s;
}
.tsl-more[open] > summary .icon:last-child {
  transform: rotate(180deg);
}
.tsl-more .tsx-grid {
  margin: 10px 0;
}
.tsl-danger {
  margin: 12px 0 0;
}
.tsl .tsx-comments {
  border-top: 1px solid var(--line);
}
.tsl-foot {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin: 0 -20px;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
@media (max-width: 600px) {
  .tsl .att-grid {
    flex-wrap: wrap;
  }
  .tsl .att-tile {
    flex: 1 1 100%;
    max-width: none;
  }
  dialog.hub-detail-modal > .tsl {
    padding: 14px 14px 0;
  }
  .tsl-top {
    gap: 8px;
  }
  .tsl .tsl-sq {
    width: 34px;
    height: 34px;
  }
  .tsl .tsl-title {
    margin: 16px 0 10px;
    font-size: 24px !important;
  }
  .tsl-props,
  .tsl-block,
  .tsl-more {
    padding-left: 0;
  }
  .tsl-row {
    grid-template-columns: 116px minmax(0, 1fr);
    min-height: 44px;
  }
  .tsl-table th:nth-child(3),
  .tsl-table td.tsl-cat {
    display: none;
  }
  .tsl-foot {
    margin: 0 -14px;
    padding: 12px 14px;
  }
}
/* Janela simples: capa, cronômetro, grupos do checklist e subtarefas (15/11/2026). */
.tsl .tsx-cover-band {
  height: 44px;
  margin: 0 0 14px;
  border-radius: var(--r);
}
.tsl .tsx-cover.tsx-cover-top {
  height: 150px;
  margin: 0 0 14px;
  border-radius: var(--r);
}
.tsl-cover {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tsl .tsc-dots {
  display: flex;
}
.tsl .tsc-dots input:checked + i {
  box-shadow:
    0 0 0 2px var(--surface),
    0 0 0 4px var(--ink);
}
.tsl .tsc-cover-add {
  border: 1px dashed var(--line-2);
  color: var(--muted);
}
.tsl .tsc-cover-add:hover {
  background: var(--subtle);
  color: var(--ink);
}
.tsl .tsc-cover-add span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.tsl .tsx-cover-actions {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 6px;
}
.tsl .tsx-cover.tsx-cover-top {
  position: relative;
}
.tsl-timer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.tsl .tsl-play {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xs);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.tsl .tsl-play:hover {
  background: var(--subtle);
}
.tsl-timer.is-running .tsl-play {
  border-color: transparent;
  background: var(--mint);
  color: var(--mint-ink);
}
.tsl .tsl-play .icon,
.tsl .tsl-reset .icon {
  width: 15px;
  height: 15px;
}
.tsl-timer strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.tsl .tsl-reset {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: var(--r-xs);
  background: none;
  color: var(--muted);
}
.tsl .tsl-reset:hover {
  background: var(--subtle);
  color: var(--ink);
}
.tsl-add-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tsl .tsl-add-group {
  flex: none;
  width: auto;
  min-height: 0;
  height: 28px;
  padding: 0 8px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 13px;
}
.tsl-cl-new {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 2px 2px 0;
}
.tsl-cl-new .check-add {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 8px;
}
.tsl-cl-new .check-add input {
  flex: 1;
  min-width: 0;
}
.tsl .tsl-sub-open {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.tsl .tsl-sub-open:hover {
  text-decoration: underline;
}
.tsl-table tr.is-done .tsl-sub-open {
  color: var(--muted);
}
.tsl-faint {
  color: var(--faint);
}
.tsl .tsl-crumb-parent {
  max-width: 180px;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}
.tsl .tsl-crumb-parent:hover {
  color: var(--ink);
  text-decoration: underline;
}
.tsl #new-subtask {
  width: 100%;
  min-height: 0;
  height: 24px;
  padding: 0;
  border: 0 !important;
  background: transparent;
  box-shadow: none !important;
  font: inherit;
}
.tsl #new-subtask:focus-visible {
  outline: none;
}
.tsl-danger {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tsl .tsc-dots i.is-none {
  border: 1.5px solid var(--muted);
  background: linear-gradient(135deg, transparent 45%, var(--muted) 45% 55%, transparent 55%), var(--surface);
}
.tsl .tsl-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tsl .tsl-link .icon {
  width: 15px;
  height: 15px;
}
/* Checklist e subtarefas em lista leve (15/11/2026, pedido do usuário: sem
   tabela quadriculada). Círculo de marcar, texto, e à direita o prazo, a
   etapa e as pessoas, discretos. Linha de adicionar no fim, sem caixa. */
.tsl-ratio {
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.tsl-progress {
  display: block;
  height: 4px;
  margin: -4px 0 2px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--subtle);
}
.tsl-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--ink);
  transition: width 0.3s var(--ease, ease);
}
.tsl-list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tsl-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 4px 8px;
  border-radius: var(--r-sm);
}
.tsl-item:hover {
  background: var(--subtle);
}
.tsl-item-text {
  flex: 1;
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.tsl-item.is-done .tsl-item-text {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--faint);
}
.tsl-item-meta {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}
.tsl-item-meta .icon-button {
  width: 26px;
  height: 26px;
  color: var(--muted);
  opacity: 0;
}
.tsl-item:hover .tsl-item-meta .icon-button,
.tsl-item-meta .icon-button:focus-visible {
  opacity: 1;
}
.tsl-check {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  cursor: pointer;
}
.tsl-check input {
  position: absolute;
  inset: -4px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.tsl-check i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--faint);
  border-radius: 50%;
  background: var(--surface);
  color: var(--on-ink);
  transition:
    background 0.15s,
    border-color 0.15s;
}
.tsl-check i .icon {
  width: 12px;
  height: 12px;
  opacity: 0;
}
.tsl-check:hover i {
  border-color: var(--muted);
}
.tsl-check.is-on i {
  border-color: var(--ink);
  background: var(--ink);
}
.tsl-check.is-on i .icon {
  opacity: 1;
}
.tsl-check:has(input:focus-visible) i {
  outline: 2px solid color-mix(in srgb, var(--accent) 55%, var(--ink));
  outline-offset: 2px;
}
.tsl-group {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 8px 4px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}
.tsl-group:first-child {
  padding-top: 2px;
}
.tsl-group small {
  color: var(--muted);
  font-weight: 400;
}
/* Prazo pequeno do item */
.tsl-mini {
  gap: 5px;
  min-height: 26px;
  padding: 0 6px;
  color: var(--muted);
  font-size: 13px;
}
.tsl-mini .icon {
  width: 14px;
  height: 14px;
}
.tsl-mini.is-empty {
  opacity: 0;
}
.tsl-item:hover .tsl-mini.is-empty,
.tsl-mini.is-empty:focus-within {
  opacity: 1;
}
.tsl-when {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.tsl-when .icon {
  width: 14px;
  height: 14px;
}
.tsl-when.is-late {
  color: var(--rose-ink);
}
.tsl-stage {
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--lilac);
  color: var(--lilac-ink);
  font-size: 12px;
  font-weight: 500;
}
.tsl-stage.stage-briefing {
  background: var(--sky);
  color: var(--sky-ink);
}
.tsl-stage.stage-doing {
  background: var(--sun);
  color: var(--sun-ink);
}
.tsl-stage.stage-review {
  background: var(--peach);
  color: var(--peach-ink);
}
.tsl-item-meta .avatar-stack .person-avatar {
  width: 24px;
  height: 24px;
  font-size: 9px;
}
.tsl .tsl-go {
  width: 14px;
  height: 14px;
  color: var(--faint);
}
.tsl .tsl-sub-open {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.tsl .tsl-sub-open:hover {
  text-decoration: underline;
}
/* Linha de adicionar */
.tsl-new {
  color: var(--muted);
}
.tsl-new > .icon {
  width: 18px;
  height: 18px;
  margin: 0 2px;
  flex: none;
}
.tsl .tsl-new input {
  flex: 1;
  min-width: 0;
  min-height: 0;
  height: 30px;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  box-shadow: none !important;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}
.tsl .tsl-new input::placeholder {
  color: var(--muted);
}
.tsl .tsl-new input:focus-visible {
  outline: none;
}
.tsl-new:focus-within {
  background: var(--subtle);
}
.tsl-new .tsl-add-group {
  border-color: transparent;
  background: var(--surface);
}
.tsl-cl-new {
  padding: 0 8px;
}
@media (max-width: 600px) {
  .tsl-item-meta .avatar-stack {
    display: none;
  }
  .tsl-mini.is-empty {
    display: none;
  }
  .tsl-item-meta .icon-button {
    opacity: 1;
  }
}

/* Janela da demanda no celular: tela cheia, sem deslocar para baixo, e
   rótulos que cabem (15/11/2026). */
@media (max-width: 600px) {
  dialog.hub-detail-modal,
  dialog.hub-detail-modal.is-wide,
  dialog.hub-detail-modal:has(> .tsl),
  dialog.hub-detail-modal.is-wide:has(> .tsl) {
    inset: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border: 0;
    border-radius: 0;
  }
  .tsl-row {
    grid-template-columns: 128px minmax(0, 1fr);
  }
  .tsl-key,
  .tsl-label {
    gap: 8px;
    font-size: 13px;
    white-space: nowrap;
  }
}
