/**
 * Lista de guias do documento (item selecionado em pílula azul).
 * Por que existe: o miolo da foto é essa árvore "Guia 1", não o editor em si.
 */
.tf-docs-side {
  width: var(--docs-side);
  flex: 0 0 var(--docs-side);
  padding: 8px 12px 16px;
  background: var(--docs-stage);
  color: var(--docs-ink);
}

.tf-docs-voltar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 0 8px -4px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--docs-ink);
  cursor: pointer;
}

.tf-docs-voltar:hover {
  background: rgba(31, 31, 31, 0.08);
}

.tf-docs-side-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 10px 8px;
}

.tf-docs-side-topo h1 {
  margin: 0;
  font: 500 14px/20px 'Roboto', sans-serif;
}

.tf-docs-mais {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--docs-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.tf-docs-mais:hover {
  background: rgba(31, 31, 31, 0.08);
}

.tf-docs-guia {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 0 8px 0 12px;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: var(--docs-ink);
  font: 400 14px/1 'Roboto', sans-serif;
  text-align: left;
  cursor: pointer;
}

.tf-docs-guia.is-on {
  background: var(--docs-blue-soft);
  font-weight: 500;
}

.tf-docs-guia:hover:not(.is-on) {
  background: rgba(31, 31, 31, 0.06);
}

.tf-docs-guia-ico {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: #444746;
}

.tf-docs-guia-nome {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tf-docs-guia input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
}

.tf-docs-guia-menu {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--docs-muted);
  cursor: pointer;
  opacity: 0;
}

.tf-docs-guia:hover .tf-docs-guia-menu,
.tf-docs-guia.is-on .tf-docs-guia-menu {
  opacity: 1;
}

.tf-docs-titulos {
  margin: 8px 8px 0 16px;
  font: italic 400 12px/16px 'Roboto', sans-serif;
  color: var(--docs-muted);
}

.tf-docs-titulos ul {
  margin: 4px 0 0;
  padding: 0 0 0 8px;
  list-style: none;
  font-style: normal;
}

.tf-docs-titulos li {
  padding: 4px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tf-docs-pop {
  position: absolute;
  z-index: 20;
  min-width: 180px;
  padding: 8px 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.tf-docs-pop button {
  display: block;
  width: 100%;
  padding: 10px 16px;
  border: 0;
  background: transparent;
  text-align: left;
  font: 400 14px/1 'Roboto', sans-serif;
  cursor: pointer;
}

.tf-docs-pop button:hover {
  background: #f1f3f4;
}

@media (max-width: 900px) {
  .tf-docs-side {
    width: 100%;
    flex-basis: auto;
  }

  .tf-docs-folha {
    padding: 48px 24px;
  }
}
