/* O Cory no celular: a tela Agora, o Mapa e o detalhe. Geist embutida, fundo quase preto, cor só para dizer estado. */
@font-face {
  font-family: Geist;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fontes/geist-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Geist;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fontes/geist-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono';
  font-weight: 100 900;
  font-display: swap;
  src: url(/fontes/geist-mono-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  font-weight: 100 900;
  font-display: swap;
  src: url(/fontes/geist-mono-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* O ângulo da borda que corre no cartão de quem trabalha. */
@property --giro {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

:root {
  --fundo: #0a0a0a;
  --cartao: #121212;
  --cartao-2: #161616;
  --superficie: #1f1f1f;
  --linha: rgba(255, 255, 255, 0.07);
  --linha-forte: rgba(255, 255, 255, 0.12);
  --texto: #fafafa;
  --texto-3: #d4d4d4;
  --texto-2: #a1a1a1;
  --apagado: #737373;
  --azul: #60a5fa;
  --azul-forte: #3b82f6;
  --ambar: #fbbf24;
  --ambar-2: #f59e0b;
  --verde: #34d399;
  --vermelho: #f87171;
  --sans: Geist, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --lado: max(16px, env(safe-area-inset-left));
  --lado-d: max(16px, env(safe-area-inset-right));
  --topo: env(safe-area-inset-top);
  --baixo: env(safe-area-inset-bottom);
  --abas: 58px;
  --raio: 20px;
  --mola: cubic-bezier(0.22, 1.2, 0.36, 1);
  --suave: cubic-bezier(0.2, 0.8, 0.2, 1);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  background: var(--fundo);
  overflow-anchor: none;
}
body {
  min-height: 100dvh;
  color: var(--texto);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
  overflow-x: hidden;
}
/* A luz do fundo: azul quando algo trabalha, âmbar quando alguém espera você, quase nada quando está tudo parado. */
body::before,
body::after {
  content: '';
  position: fixed;
  inset: -20vh -30vw auto;
  height: 70vh;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transition: opacity 1.4s ease;
}
body::before {
  background: radial-gradient(60% 55% at 30% 20%, rgba(59, 130, 246, 0.2), transparent 70%), radial-gradient(45% 45% at 85% 0%, rgba(139, 92, 246, 0.12), transparent 70%);
}
body::after {
  background: radial-gradient(60% 55% at 70% 15%, rgba(245, 158, 11, 0.17), transparent 70%), radial-gradient(40% 40% at 10% 0%, rgba(59, 130, 246, 0.12), transparent 70%);
}
html[data-clima='trabalho'] body::before,
html[data-clima='calmo'] body::before {
  opacity: 1;
}
html[data-clima='calmo'] body::before {
  opacity: 0.35;
}
html[data-clima='espera'] body::after {
  opacity: 1;
}
button,
input {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  text-align: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid rgba(250, 250, 250, 0.45);
  outline-offset: 2px;
}
/* O texto da conversa, o resumo e os campos dá para selecionar e copiar. */
.blocos,
.feitos,
.resumoFazendo,
.dados dd,
input {
  -webkit-user-select: text;
  user-select: text;
}
.mono {
  font-family: var(--mono);
}
.flex1 {
  flex: 1;
  min-width: 0;
}
.reticencias {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.sep {
  color: #404040;
}

/* ---------- movimentos ---------- */
@keyframes aparece {
  from {
    opacity: 0;
  }
}
@keyframes sobe {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
}
@keyframes chega {
  from {
    opacity: 0;
    transform: translateY(-10px);
    max-height: 0;
  }
  to {
    max-height: 400px;
  }
}
@keyframes realce {
  from {
    background-color: rgba(96, 165, 250, 0.12);
  }
}
@keyframes daDireita {
  from {
    transform: translateX(24%);
    opacity: 0;
  }
}
@keyframes daEsquerda {
  from {
    transform: translateX(-8%);
    opacity: 0;
  }
}
@keyframes giro {
  to {
    --giro: 360deg;
  }
}
@keyframes barra {
  0%,
  100% {
    transform: scaleY(0.3);
  }
  50% {
    transform: scaleY(1);
  }
}
@keyframes onda {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  80%,
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}
@keyframes respira {
  50% {
    opacity: 0.4;
  }
}
@keyframes brilho {
  from {
    background-position: 150% 0;
  }
  to {
    background-position: -50% 0;
  }
}
@keyframes vivoSai {
  to {
    opacity: 0;
    transform: translateY(-70%);
    filter: blur(3px);
  }
}
@keyframes vivoEntra {
  from {
    opacity: 0;
    transform: translateY(70%);
    filter: blur(3px);
  }
}
@keyframes cursor {
  50% {
    opacity: 0;
  }
}

.tela {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.tela.entra {
  animation: aparece 0.3s ease-out backwards;
}
.tela.empurra {
  animation: daDireita 0.42s var(--suave) backwards;
}
.tela.volta {
  animation: daEsquerda 0.35s var(--suave) backwards;
}
.cascata {
  animation: sobe 0.6s var(--suave) backwards;
}
.chega {
  animation: chega 0.55s var(--suave) backwards, realce 2.4s ease-out 0.2s backwards;
  overflow: hidden;
}

/* ---------- o topo e as abas ---------- */
.topo,
.barra {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: calc(52px + var(--topo));
  padding: var(--topo) var(--lado-d) 0 var(--lado);
  transition: background-color 0.25s, box-shadow 0.25s;
}
.topo.rolou,
.barra {
  background: rgba(10, 10, 10, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  backdrop-filter: saturate(160%) blur(20px);
  box-shadow: 0 1px 0 var(--linha);
}
.marca {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
}
.topoNome {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 11px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--texto-2);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px var(--linha);
}
.statusPonto {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--apagado);
}
.status.ok .statusPonto {
  background: var(--verde);
}
.status.ok .statusPonto::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--verde);
  animation: onda 2.4s ease-out infinite;
}
.status.tentando .statusPonto,
.status.abrindo .statusPonto {
  background: var(--texto-2);
  animation: respira 1.2s ease-in-out infinite;
}
.status.caiu {
  color: var(--ambar);
}
.status.caiu .statusPonto {
  background: var(--ambar);
}

.abas {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 6px var(--lado-d) calc(6px + var(--baixo)) var(--lado);
  background: rgba(10, 10, 10, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(22px);
  backdrop-filter: saturate(160%) blur(22px);
  box-shadow: 0 -1px 0 var(--linha);
}
.aba {
  flex: 1;
  max-width: 180px;
  min-height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--apagado);
  transition: color 0.2s;
}
.aba.ativa {
  color: var(--texto);
}
.aba:active .abaIcone {
  transform: scale(0.9);
}
.abaIcone {
  position: relative;
  display: grid;
  place-items: center;
  transition: transform 0.2s var(--mola);
}
.abaBadge {
  position: absolute;
  top: -4px;
  right: -9px;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border-radius: 99px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
  color: #1a1204;
  background: var(--ambar);
  box-shadow: 0 0 0 2px var(--fundo);
}

/* ---------- a lista da aba ---------- */
.lista {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 4px var(--lado-d) calc(var(--abas) + var(--baixo) + 28px) var(--lado);
}
.lista > * + * {
  margin-top: 12px;
}

.heroi {
  padding: 18px 2px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.frase {
  display: flex;
  flex-direction: column;
  font-size: 36px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.frase b {
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.parte.trab b {
  color: var(--azul);
}
.parte.esp {
  color: var(--ambar);
}
.parte.trab + .parte.esp {
  font-size: 0.78em;
  margin-top: 4px;
}
.parte.calma {
  color: var(--texto);
}
.heroiSub {
  font-size: 14px;
  color: var(--texto-2);
}

.secaoTitulo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 0 2px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--texto-2);
}
.lista > .secaoTitulo,
.detalhe > .secaoTitulo {
  margin-top: 30px;
}
.lista > .heroi + .secaoTitulo,
.lista > .aviso + .secaoTitulo {
  margin-top: 10px;
}
.secaoTitulo b {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--apagado);
}
.secaoNota {
  margin-left: auto;
  font-size: 12px;
  font-weight: 400;
  color: var(--apagado);
}

/* ---------- os cartões da tela Agora ---------- */
.cartao {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: var(--raio);
  background: linear-gradient(180deg, var(--cartao-2), var(--cartao));
  box-shadow: inset 0 0 0 1px var(--linha);
  cursor: pointer;
  transition: transform 0.18s var(--suave);
  isolation: isolate;
}
article.cartao:active {
  transform: scale(0.985);
}
.cartaoTopo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.cartaoTitulo {
  flex: 1;
  min-width: 0;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ha {
  flex-shrink: 0;
  font-size: 12.5px;
  color: var(--apagado);
  font-variant-numeric: tabular-nums;
}
.cartaoPe {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 12.5px;
  color: var(--texto-2);
  min-width: 0;
}
.espaco {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  height: 24px;
  padding: 0 9px 0 8px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 500;
  color: var(--texto-3);
  background: color-mix(in srgb, var(--cor, #a3a3a3) 13%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cor, #a3a3a3) 22%, transparent);
}
.espaco i {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cor, #a3a3a3);
}
.espaco span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.espaco.mini {
  height: 20px;
  padding: 0 7px 0 6px;
  font-size: 11px;
  flex-shrink: 1;
}
.contaNome {
  color: var(--apagado);
}
.chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 99px;
  font-size: 12px;
  color: var(--azul);
  background: rgba(96, 165, 250, 0.1);
}

/* Quem trabalha: a borda corre devagar, uma luz azul no canto, e o sinal de barras dançando ao lado do título. */
.cartao.trab {
  background: radial-gradient(120% 90% at 0% 0%, rgba(59, 130, 246, 0.13), transparent 55%), linear-gradient(180deg, var(--cartao-2), var(--cartao));
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.14);
}
.cartao.trab::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(from var(--giro), transparent 0deg, rgba(96, 165, 250, 0.85) 50deg, rgba(167, 139, 250, 0.6) 90deg, transparent 140deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: giro 5s linear infinite;
  pointer-events: none;
}
.sinal {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
  width: 22px;
  height: 18px;
  padding: 0 1px;
}
.sinal i {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: var(--azul);
  transform-origin: 50% 50%;
  animation: barra 1.1s ease-in-out infinite;
}
.sinal i:nth-child(2) {
  animation-delay: -0.35s;
  animation-duration: 0.9s;
}
.sinal i:nth-child(3) {
  animation-delay: -0.7s;
  animation-duration: 1.25s;
}
.sinal i:nth-child(4) {
  animation-delay: -0.15s;
  animation-duration: 1s;
}

/* A linha ao vivo: o que a conversa faz neste instante. A velha sobe e some, a nova entra de baixo. */
.aoVivo {
  position: relative;
  display: grid;
  min-height: 44px;
  padding: 11px 12px;
  border-radius: 13px;
  background: rgba(96, 165, 250, 0.06);
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.1);
  overflow: hidden;
}
.vivoItem {
  grid-area: 1 / 1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.vivoItem.sai {
  animation: vivoSai 0.26s ease-in forwards;
}
.vivoItem.entra {
  animation: vivoEntra 0.5s var(--suave) 0.14s backwards;
}
.vivoIcone {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: -1px;
  border-radius: 7px;
  color: var(--azul);
  background: rgba(96, 165, 250, 0.12);
}
.vivoTexto {
  min-width: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--texto-3);
  overflow-wrap: anywhere;
}
.verbo {
  font-weight: 550;
  color: var(--texto);
}
.alvo.mono {
  font-size: 12.5px;
  padding: 1px 6px;
  border-radius: 6px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  color: #bfdbfe;
  background: rgba(96, 165, 250, 0.1);
}
.dito {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 2px;
  color: var(--texto-2);
}
.dito::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--azul);
  animation: cursor 1s steps(1) infinite;
}
.aoVivo.mini {
  min-height: 0;
  margin-top: 4px;
  padding: 0;
  background: none;
  box-shadow: none;
}
.aoVivo.mini .vivoIcone {
  width: 16px;
  height: 16px;
  background: none;
  margin-top: 1px;
}
.aoVivo.mini .vivoIcone svg {
  width: 13px;
  height: 13px;
}
.aoVivo.mini .vivoTexto {
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aoVivo.mini .dito {
  display: inline;
  margin-left: 4px;
}
.aoVivo.mini .dito::after {
  display: none;
}
.aoVivo.mini .alvo.mono {
  padding: 0 4px;
  font-size: 11.5px;
}
.ultimoResumo {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--texto-2);
}
.ultimoQuando {
  font-size: 12px;
  font-weight: 500;
  color: var(--apagado);
  margin-right: 7px;
}

/* Quem espera você: âmbar, com a onda que chama. */
.cartao.espera {
  background: radial-gradient(120% 100% at 0% 0%, rgba(245, 158, 11, 0.16), transparent 60%), linear-gradient(180deg, #17130b, #120f09);
  box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.28), 0 10px 40px -18px rgba(245, 158, 11, 0.45);
}
.sinalEspera {
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
}
.sinalEspera i,
.sinalEspera::before {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ambar);
}
.sinalEspera::before {
  content: '';
  animation: onda 1.8s ease-out infinite;
}
.pede {
  font-size: 14px;
  font-weight: 600;
  color: var(--ambar);
}
.contexto {
  font-size: 14px;
  line-height: 1.5;
  color: var(--texto-3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.contexto.solto {
  display: block;
  white-space: pre-wrap;
}
.botaoApp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  margin-top: 2px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  color: #1a1204;
  background: linear-gradient(180deg, #fcd34d, var(--ambar-2));
  transition: transform 0.15s var(--suave);
}
.botaoApp:active {
  transform: scale(0.97);
}

.calmo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 24px;
  text-align: center;
  border-radius: var(--raio);
  box-shadow: inset 0 0 0 1px var(--linha);
  background: rgba(255, 255, 255, 0.015);
}
.calmoAnel {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px #404040;
}
.calmoTitulo {
  font-size: 16px;
  font-weight: 600;
}
.calmoTexto {
  max-width: 300px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--texto-2);
}

/* ---------- a linha do tempo ---------- */
.hora {
  margin: 18px 0 -2px 64px;
  font-size: 12px;
  font-weight: 600;
  color: var(--texto-3);
}
.lista > .secaoTitulo + .hora,
.detalhe > .secaoTitulo + .hora {
  margin-top: 4px;
}
.lista > .hora + .evento,
.lista > .evento + .evento,
.detalhe > .hora + .evento,
.detalhe > .evento + .evento {
  margin-top: 0;
}
.evento {
  position: relative;
  display: flex;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 10px 8px 10px 0;
  border-radius: 12px;
  transition: background-color 0.2s;
}
.evento:active {
  background: rgba(255, 255, 255, 0.04);
}
.evento[data-sem]:active {
  background: none;
}
/* O trilho: um fio fino com o ponto na cor do espaço. */
.evento::before {
  content: '';
  position: absolute;
  left: 48px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--linha);
}
.evento::after {
  content: '';
  position: absolute;
  left: 45px;
  top: 16px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cor);
  box-shadow: 0 0 0 3px var(--fundo), 0 0 12px color-mix(in srgb, var(--cor) 60%, transparent);
}
.eventoHora {
  flex-shrink: 0;
  width: 38px;
  padding-top: 1px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--apagado);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.eventoCorpo {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 14px;
}
.eventoTitulo {
  font-size: 13px;
  font-weight: 600;
  color: var(--cor);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.eventoTexto {
  font-size: 14px;
  line-height: 1.5;
  color: var(--texto-3);
}
.maisLinha,
.recolhidos {
  align-self: flex-start;
  min-height: 44px;
  padding: 0 14px;
  margin-left: 50px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  color: var(--texto-2);
}
.maisLinha {
  box-shadow: inset 0 0 0 1px var(--linha-forte);
  margin-top: 6px !important;
}
.maisLinha:active,
.recolhidos:active {
  color: var(--texto);
}

/* ---------- paradas há pouco ---------- */
.lista > .paradaLinha + .paradaLinha {
  margin-top: 0;
  border-top: 1px solid var(--linha);
}
.paradaLinha {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  padding: 0 4px;
}
.paradaLinha:active {
  background: rgba(255, 255, 255, 0.03);
}
.pontoEstado {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px #525252;
}
.pontoEstado.feita {
  background: var(--verde);
  box-shadow: none;
}
.pontoEstado.erro {
  background: var(--vermelho);
  box-shadow: none;
}
.paradaTitulo {
  flex: 1;
  min-width: 0;
  font-size: 14.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.paradaLinha .espaco.mini {
  max-width: 34%;
}
.irMapa {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  margin-top: 26px !important;
  padding: 0 16px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--linha);
  background: rgba(255, 255, 255, 0.02);
}
.irMapa span {
  flex: 1;
}
.irMapa svg:first-child {
  color: var(--texto-2);
}
.irMapa svg:last-child {
  color: var(--apagado);
}
.irMapa:active {
  background: rgba(255, 255, 255, 0.05);
}

/* ---------- os ossos enquanto carrega ---------- */
.osso {
  display: block;
  height: 12px;
  width: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 30%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.05) 70%);
  background-size: 250% 100%;
  animation: brilho 1.5s ease-in-out infinite;
}
.osso.grande {
  height: 34px;
  width: 70%;
  border-radius: 10px;
}
.osso.medio {
  width: 62%;
}
.osso.curto {
  width: 38%;
}
.osso-cartao {
  gap: 12px;
  cursor: default;
}
.ossos {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ossos.solto {
  padding: 24px 0;
}

/* ---------- avisos e dicas ---------- */
.aviso {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.08);
  box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.2);
}
.avisoPonto {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--ambar);
  animation: respira 1.6s ease-in-out infinite;
}
.dica {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--texto-2);
  box-shadow: inset 0 0 0 1px var(--linha);
}
.dica strong {
  color: var(--texto);
  font-weight: 600;
}
.dicaAcoes {
  display: flex;
  gap: 8px;
}
.botaoContorno {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--texto);
  box-shadow: inset 0 0 0 1px var(--linha-forte);
}
.botaoContorno:active {
  background: rgba(255, 255, 255, 0.06);
}
.botaoContorno:disabled {
  opacity: 0.5;
}
.erroTexto {
  font-size: 13px;
  color: var(--vermelho);
}
.erroTexto:empty {
  display: none;
}
.nota {
  padding: 0 2px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--apagado);
  text-align: center;
}
.lista > .nota {
  margin-top: 22px;
}

/* ---------- a aba Mapa ---------- */
.tituloAba {
  padding: 14px 2px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tituloAba h1 {
  font-size: 34px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.grupo {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  margin-top: 18px !important;
  padding: 0 4px;
}
.grupoCor {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--cor);
}
.grupoNome {
  min-width: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.grupoVivo {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 600;
}
.grupoVivo.trab {
  color: var(--azul);
  background: rgba(96, 165, 250, 0.13);
}
.grupoVivo.esp {
  color: #1a1204;
  background: var(--ambar);
}
.grupoInfo {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 12.5px;
  color: var(--apagado);
}
.grupoSeta {
  display: grid;
  place-items: center;
  color: var(--apagado);
  transition: transform 0.25s var(--suave);
}
.grupo.aberto .grupoSeta {
  transform: rotate(90deg);
}
.lista > .grupo + .arvore {
  margin-top: 4px;
}
.lista > .arvore + .arvore {
  margin-top: 8px;
}
.arvore {
  border-radius: 16px;
  background: var(--cartao);
  box-shadow: inset 0 0 0 1px var(--linha);
  padding: 4px 0;
}
.arvore.solta {
  padding: 4px 0;
}
.arvore.solta > .ramos {
  margin: 0;
  padding: 0;
  border: 0;
}
.noMapa {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 12px;
}
.noMapa:active {
  background: rgba(255, 255, 255, 0.04);
}
.noMapa.quieto .noNome {
  color: var(--texto-2);
}
.noTexto {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.noNome {
  font-size: 14.5px;
  font-weight: 550;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.noMapa.raiz .noNome {
  font-size: 15px;
  font-weight: 600;
}
.noMeta {
  display: flex;
  gap: 6px;
  font-size: 12px;
  color: var(--apagado);
  white-space: nowrap;
  overflow: hidden;
}
.bolinha {
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px #3f3f3f;
}
.bolinha.aberta {
  box-shadow: inset 0 0 0 1.5px #737373;
}
.bolinha.trabalhando {
  box-shadow: none;
  background: radial-gradient(circle, var(--azul) 0 3px, transparent 3.5px);
}
.bolinha.trabalhando::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--azul);
  animation: onda 2s ease-out infinite;
}
.bolinha.esperando {
  box-shadow: none;
  background: radial-gradient(circle, var(--ambar) 0 4px, transparent 4.5px);
}
.bolinha.esperando::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--ambar);
  animation: onda 1.8s ease-out infinite;
}
.bolinha.feita {
  color: var(--verde);
  box-shadow: inset 0 0 0 1.5px rgba(52, 211, 153, 0.35);
}
.bolinha.erro {
  color: var(--vermelho);
  box-shadow: inset 0 0 0 1.5px rgba(248, 113, 113, 0.4);
}
.ramos {
  margin-left: 21px;
  padding-left: 8px;
  border-left: 1px solid var(--linha);
}
.arvore > .ramos {
  margin-bottom: 6px;
}
.ramo .noMapa {
  min-height: 44px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.recolhidos {
  margin-left: 6px;
  min-height: 40px;
  font-size: 12.5px;
  color: var(--apagado);
}
.recolhidos.solto {
  margin-left: 4px;
  margin-top: 4px !important;
}

/* ---------- o detalhe ---------- */
.barraVoltar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: -10px;
  border-radius: 50%;
}
.barraVoltar:active {
  background: rgba(255, 255, 255, 0.06);
}
.barraTexto {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.barraTitulo {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.barraSub {
  font-size: 12px;
  color: var(--apagado);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.barraSub:empty {
  display: none;
}
/* No detalhe, o título já está grande na página: a barra só o mostra depois que ele sai de vista. */
.barra.noDetalhe:not(.rolou) {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}
.barra.noDetalhe .barraTexto {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.25s var(--suave);
}
.barra.noDetalhe.rolou .barraTexto {
  opacity: 1;
  transform: none;
}
.detalhe {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 8px var(--lado-d) calc(32px + var(--baixo)) var(--lado);
}
.detalhe > * + * {
  margin-top: 14px;
}
.cabeca {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 2px 6px;
}
.caminho {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 12.5px;
  color: var(--apagado);
}
.selo {
  flex-shrink: 0;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--texto-2);
  background: rgba(255, 255, 255, 0.06);
}
.cabeca h1 {
  font-size: 27px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}
.estadoLinha {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--texto-2);
}
.estado {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--texto-3);
}
.estado.trabalhando {
  color: var(--azul);
}
.estado.esperando {
  color: var(--ambar);
}
.estado.feita {
  color: var(--verde);
}
.estado .bolinha {
  margin-top: 0;
}
.cartao.espera.cheio {
  cursor: default;
}

/* O resumo da conversa: Agora e Até aqui. */
.cartao.resumo {
  cursor: default;
  gap: 16px;
  padding: 18px 16px;
}
.cartao.resumo.trab::before {
  animation-duration: 7s;
}
.resumoCab {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.rotulo {
  font-size: 13px;
  font-weight: 600;
  color: var(--texto);
}
.resumoQuando {
  font-size: 12px;
  color: var(--apagado);
}
.resumoParte {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.resumoParte + .resumoParte {
  padding-top: 14px;
  border-top: 1px solid var(--linha);
}
.rotuloMini {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--apagado);
}
.rotuloMini.trab {
  color: var(--azul);
}
.rotuloMini.esp {
  color: var(--ambar);
}
.resumoFazendo {
  font-size: 15px;
  line-height: 1.5;
  color: var(--texto);
}
.feitos {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.feitos li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--texto-3);
}
.feitos li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 6px;
  width: 9px;
  height: 5px;
  border-left: 1.8px solid var(--verde);
  border-bottom: 1.8px solid var(--verde);
  transform: rotate(-45deg);
}
.resumoErro {
  font-size: 13.5px;
  color: var(--apagado);
}

.secao {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.detalhe > .secao {
  margin-top: 30px;
}
.dados {
  margin: 30px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--linha);
  box-shadow: inset 0 0 0 1px var(--linha);
}
.dados div {
  padding: 12px 14px;
  background: var(--cartao);
  min-width: 0;
}
.dados div.largo,
.dados div:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.dados dt {
  font-size: 11.5px;
  color: var(--apagado);
  margin-bottom: 3px;
}
.dados dd {
  margin: 0;
  font-size: 13.5px;
  color: var(--texto-3);
  overflow-wrap: anywhere;
}
.dados .mono {
  font-size: 12.5px;
}

/* A conversa: o que você pediu num balão, a resposta do Claude solta, as ferramentas em linha fina. */
.blocos {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.balao {
  align-self: flex-end;
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 18px 18px 6px 18px;
  background: var(--superficie);
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.pedido {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--cartao);
  box-shadow: inset 0 0 0 1px var(--linha);
  font-size: 13px;
  line-height: 1.5;
  color: var(--texto-3);
  text-align: left;
  -webkit-user-select: text;
  user-select: text;
}
.pedidoTopo {
  font-size: 12px;
  font-weight: 500;
  color: var(--texto-2);
}
/* Fechado, as primeiras linhas; um toque abre o pedido inteiro. */
.pedidoTexto {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pedido.aberto .pedidoTexto {
  display: block;
}
.claude {
  font-size: 14px;
  line-height: 1.6;
  color: #e5e5e5;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-wrap: anywhere;
}
.claude p,
.claude ul,
.claude ol {
  margin: 0;
}
.claude ul,
.claude ol {
  padding-left: 20px;
}
.claude li + li {
  margin-top: 4px;
}
.claude .tituloMd,
.claude strong {
  font-weight: 600;
  color: var(--texto);
}
.claude code {
  font-family: var(--mono);
  font-size: 12.5px;
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(250, 250, 250, 0.08);
}
.claude pre {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #101010;
  box-shadow: inset 0 0 0 1px var(--linha);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  overflow-x: auto;
  white-space: pre;
  -webkit-overflow-scrolling: touch;
}
.ferramenta {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--texto-2);
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.ferramenta svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: #525252;
}
.anteriores {
  font-size: 12px;
  color: var(--apagado);
  text-align: center;
}
.rodape {
  position: sticky;
  bottom: 0;
  z-index: 5;
  padding: 14px var(--lado-d) calc(12px + var(--baixo)) var(--lado);
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0), var(--fundo) 22px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rodapeNota {
  font-size: 12px;
  line-height: 1.45;
  color: var(--apagado);
  text-align: center;
}

/* ---------- botões ---------- */
.pilula {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 99px;
  font-size: 16px;
  font-weight: 600;
  color: #0a0a0a;
  background: var(--texto);
  transition: transform 0.15s var(--suave), opacity 0.2s;
}
.pilula:active {
  transform: scale(0.97);
}
.pilula:disabled {
  opacity: 0.5;
}
.secundario {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 500;
  color: var(--texto-2);
}

/* ---------- parear, sem par e salvar na tela de início ---------- */
.abrindo {
  min-height: 100dvh;
  display: grid;
  place-items: center;
}
.centrada {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: calc(40px + var(--topo)) var(--lado-d) calc(40px + var(--baixo)) var(--lado);
  text-align: center;
}
.marcaCaixa {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin-bottom: 6px;
  border-radius: 28px;
  background: radial-gradient(80% 80% at 30% 20%, rgba(59, 130, 246, 0.2), transparent 70%), var(--cartao);
  box-shadow: inset 0 0 0 1px var(--linha-forte), 0 20px 60px -20px rgba(59, 130, 246, 0.4);
}
.centrada h1 {
  font-size: 26px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.texto {
  max-width: 330px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--texto-2);
}
.passos {
  width: 100%;
  max-width: 360px;
  margin: 6px 0;
  padding: 0;
  list-style: none;
  counter-reset: passo;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.passos li {
  counter-increment: passo;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--texto-3);
  background: var(--cartao);
  box-shadow: inset 0 0 0 1px var(--linha);
}
.passos li::before {
  content: counter(passo);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--texto);
  background: var(--superficie);
}
.passos strong {
  color: var(--texto);
  font-weight: 600;
}
.passos svg {
  vertical-align: -3px;
}
.formulario {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  text-align: left;
}
.rotuloCampo {
  margin-top: 8px;
  padding-left: 4px;
  font-size: 13px;
  color: var(--texto-2);
}
.campo {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 14px;
  font-size: 16px;
  color: var(--texto);
  background: var(--cartao);
  box-shadow: inset 0 0 0 1px var(--linha-forte);
  cursor: text;
  transition: box-shadow 0.2s;
}
.campo:focus {
  outline: none;
  box-shadow: inset 0 0 0 1.5px rgba(96, 165, 250, 0.7), 0 0 0 4px rgba(96, 165, 250, 0.12);
}
.campo.codigo {
  font-family: var(--mono);
  font-size: 22px;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}
.formulario .pilula {
  margin-top: 14px;
}
.iconeApp {
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px var(--linha);
}

/* ---------- menos movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .sinal i {
    transform: scaleY(0.6);
  }
  .sinal i:nth-child(2),
  .sinal i:nth-child(4) {
    transform: scaleY(1);
  }
  .cartao.trab::before {
    --giro: 40deg;
  }
}
