/* =====================================================================
   Painel do Cliente — Início · Faixa "Tempo de produção" (20261108)
   Só aparece quando o pedido carregou (body.pha-on), acima do quadro roxo.
   ===================================================================== */
body:not(.pl-auth-locked) .ptp {
  --ptp-pri: #6d28d9; --ptp-ink: #1e1b2e; --ptp-lab: #6b6585; --ptp-line: #e7e4ef;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--ptp-line);
  border-radius: 18px;
  padding: 16px 20px;
  margin: 0 0 16px;
  box-shadow: 0 6px 18px rgba(30, 18, 64, .06);
  color: var(--ptp-ink);
  font-family: var(--c-font, inherit);
}
body.pl-auth-locked .ptp, body:not(.pha-on) .ptp { display: none !important; }
.ptp .ptp-ic {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: #ede9fe; color: var(--ptp-pri);
}
.ptp .ptp-tx { min-width: 0; }
.ptp .ptp-tx small {
  display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ptp-lab);
}
.ptp .ptp-tx strong { display: block; font-size: 17px; font-weight: 800; margin: 2px 0 3px; }
.ptp .ptp-tx p { margin: 0; font-size: 13.5px; line-height: 1.45; color: #4b4664; }
.ptp .ptp-tx p b { color: var(--ptp-ink); font-weight: 700; }
.ptp .ptp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.ptp .ptp-chips span {
  font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 10px; background: #f1eff6; color: #4b4664;
}
.ptp .ptp-chips span.on { background: #ede9fe; color: var(--ptp-pri); }
.ptp .ptp-bar {
  position: relative; height: 9px; border-radius: 999px; background: #eeebf5; overflow: hidden; margin: 10px 0 6px;
}
.ptp .ptp-bar i {
  position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px;
  background: linear-gradient(90deg, #8b5cf6, var(--ptp-pri));
}
.ptp .ptp-bar u { position: absolute; top: 0; bottom: 0; border-left: 2px dashed #c4b5fd; }
.ptp .ptp-leg { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--ptp-lab); }
.ptp .ptp-num {
  text-align: center; background: #f7f5ff; border: 1px solid #e9e1fd; border-radius: 14px; padding: 10px 14px; min-width: 128px;
}
.ptp .ptp-num em { display: block; font-style: normal; font-size: 26px; font-weight: 800; color: var(--ptp-pri); line-height: 1.05; }
.ptp .ptp-num span { display: block; font-size: 12px; font-weight: 600; color: var(--ptp-lab); margin-top: 2px; }
/* aguardando */
.ptp.is-wait .ptp-ic { background: #fef3c7; color: #b45309; }
.ptp.is-wait .ptp-num { background: #fffbeb; border-color: #fde68a; }
.ptp.is-wait .ptp-num em { color: #b45309; font-size: 18px; }
/* concluída */
.ptp.is-done .ptp-ic { background: #dcfce7; color: #16a34a; }
.ptp.is-done .ptp-num { background: #f0fdf4; border-color: #bbf7d0; }
.ptp.is-done .ptp-num em { color: #16a34a; }
.ptp.is-done .ptp-bar i { background: linear-gradient(90deg, #22c55e, #16a34a); }

/* ---------- Celular ---------- */
@media (max-width: 760px) {
  body:not(.pl-auth-locked) .ptp {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    margin-bottom: 12px;
  }
  .ptp .ptp-ic { width: 44px; height: 44px; border-radius: 12px; align-self: start; }
  .ptp .ptp-tx strong { font-size: 16px; }
  .ptp .ptp-num {
    grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: center; gap: 8px; padding: 8px 12px; min-width: 0;
  }
  .ptp .ptp-num em { font-size: 22px; }
  .ptp.is-wait .ptp-num em { font-size: 16px; }
  .ptp .ptp-leg { font-size: 11px; }
}

/* ---------- Celular: a faixa fica em cima do quadro do livro, na largura toda (20261108) ---------- */
@media (max-width: 960px) {
  body.pcc-page-index.pha-on:not(.pl-auth-locked) .shell > .main > .ptp {
    order: 1;
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
  }
}
