/* Demonstração estática de cadastro por foto para páginas de segmento. */
.rotina-foto { background: var(--sup); }
.rotina-foto__cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.rotina-foto__cab .titulo { max-width: 760px; }
.rotina-foto__cab .lead { max-width: 720px; margin-bottom: 0; }
.rotina-foto__amostra { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--borda); border-radius: 999px; color: var(--texto-2); background: var(--cartao); font-size: .82rem; font-weight: 600; }
.rotina-foto__passos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: etapas; }
.rotina-passo { position: relative; min-width: 0; padding: 22px; border: 1px solid var(--borda); border-radius: var(--raio); background: var(--cartao); box-shadow: var(--sombra); counter-increment: etapas; }
.rotina-passo__numero { display: inline-grid; width: 32px; height: 32px; margin-bottom: 14px; place-items: center; border-radius: 50%; color: #fff; background: var(--marinho); font-size: .88rem; font-weight: 700; }
.rotina-passo h3 { min-height: 1.7em; margin: 0 0 16px; color: var(--texto); font-size: 1.08rem; }
.rotina-passo__texto { margin: 15px 0 0; color: var(--texto-2); font-size: .92rem; line-height: 1.55; }
.rotina-etiqueta, .rotina-embalagem { min-height: 235px; border-radius: 12px; }
.rotina-etiqueta { display: flex; flex-direction: column; gap: 11px; padding: 18px; border: 1px dashed #9caec2; background: #fffdf6; color: #17283d; }
.rotina-etiqueta__marca { padding-bottom: 10px; border-bottom: 1px solid #e0ddcf; font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.rotina-etiqueta__marca small, .rotina-embalagem__selo small { display: block; margin-top: 3px; color: #637184; font-size: .62rem; letter-spacing: .06em; }
.rotina-etiqueta > strong { font-size: 1.1rem; }
.rotina-etiqueta__linha { display: flex; justify-content: space-between; gap: 10px; color: #536177; font-size: .75rem; }
.rotina-etiqueta__linha b { display: block; margin-top: 2px; color: #182c45; font-size: .87rem; }
.rotina-etiqueta__barras { width: 67%; height: 28px; margin-top: auto; background: repeating-linear-gradient(90deg, #17283d 0 2px, transparent 2px 4px, #17283d 4px 5px, transparent 5px 8px, #17283d 8px 12px, transparent 12px 14px); }
.rotina-etiqueta__nota, .rotina-embalagem__nota { color: #667386; font-size: .67rem; }
.rotina-embalagem { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px; border: 1px solid #d8e4dc; background: linear-gradient(155deg, #f7fff9, #e5f3e9); color: #1b3c32; }
.rotina-embalagem__selo { align-self: stretch; font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.rotina-embalagem__frasco { position: relative; display: grid; width: 100px; min-height: 112px; padding: 24px 8px 8px; place-content: center; border: 1px solid #b8d1c2; border-radius: 14px 14px 20px 20px; background: linear-gradient(100deg, #e4eee8, #fff 40%, #e3eee7); text-align: center; box-shadow: 0 8px 16px #183c3117; }
.rotina-embalagem__frasco i { position: absolute; top: -12px; left: 36px; width: 28px; height: 15px; border: 1px solid #b8d1c2; border-radius: 5px 5px 0 0; background: #d6e7dc; }
.rotina-embalagem__frasco b { color: #247153; font-size: .65rem; line-height: 1.2; }
.rotina-embalagem__frasco small { margin-top: 5px; color: #586d63; font-size: .58rem; }
.rotina-embalagem__dados { display: flex; width: 100%; justify-content: space-around; gap: 8px; padding-top: 8px; border-top: 1px solid #d0e0d5; font-size: .62rem; }
.rotina-embalagem__dados span { color: #5a7166; }
.rotina-embalagem__dados b { display: block; color: #244438; font-size: .68rem; }
.rotina-formulario { overflow: hidden; border: 1px solid var(--borda); border-radius: 12px; background: var(--fundo); }
.rotina-formulario__topo { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 12px; border-bottom: 1px solid var(--borda); color: var(--texto); font-size: .76rem; font-weight: 700; }
.rotina-tag { display: inline-flex; align-items: center; width: fit-content; padding: 4px 7px; border-radius: 999px; font-size: .65rem; font-weight: 700; white-space: nowrap; }
.rotina-tag--revisar { color: #795100; background: #fff1cd; }
.rotina-tag--salvo { color: var(--pos); background: var(--pos-fundo); }
.rotina-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 12px; margin: 0; padding: 13px 12px; }
.rotina-campos > div { min-width: 0; }
.rotina-campos dt { margin-bottom: 3px; color: var(--texto-3); font-size: .67rem; }
.rotina-campos dd { overflow-wrap: anywhere; margin: 0; color: var(--texto); font-size: .78rem; font-weight: 600; }
.rotina-lido { display: inline-block; margin-left: 3px; color: var(--pos); font-size: .62rem; font-weight: 600; }
.rotina-formulario__aviso { margin: 0; padding: 9px 12px; border-top: 1px solid var(--borda); color: var(--aviso); background: var(--aviso-fundo); font-size: .73rem; line-height: 1.45; }
.rotina-salvo { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 10px; padding: 16px 12px; border: 1px solid #c8e8d5; border-radius: 12px; background: var(--pos-fundo); }
.rotina-salvo__icone { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; color: #fff; background: var(--pos); font-weight: 800; }
.rotina-salvo > div { display: grid; min-width: 0; gap: 5px; }
.rotina-salvo strong { color: var(--texto); font-size: .86rem; }
.rotina-salvo > div span { color: var(--texto-2); font-size: .73rem; overflow-wrap: anywhere; }
.rotina-foto__nota { display: flex; align-items: flex-start; gap: 13px; margin-top: 22px; padding: 17px 20px; border: 1px solid var(--borda); border-left: 4px solid var(--marca); border-radius: 10px; background: var(--cartao); color: var(--texto-2); }
.rotina-foto__nota-icone { display: grid; flex: 0 0 24px; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: var(--marca-texto); background: var(--marca-suave); font-weight: 800; }
.rotina-foto__nota p { margin: 0; line-height: 1.6; }
.rotina-foto__nota strong, .rotina-foto__nota b { color: var(--texto); }
.rotina-foto__rodape { margin: 13px 0 0; color: var(--texto-3); font-size: .8rem; }
@media (max-width: 850px) {
  .rotina-foto__passos { grid-template-columns: 1fr; gap: 14px; }
  .rotina-passo { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: start; column-gap: 12px; padding: 18px; }
  .rotina-passo__numero { grid-row: 1 / span 3; margin: 0; }
  .rotina-passo h3 { min-height: 0; margin: 4px 0 12px; }
  .rotina-passo > :not(.rotina-passo__numero) { grid-column: 2; }
  .rotina-passo__texto { margin-top: 12px; }
  .rotina-etiqueta, .rotina-embalagem { min-height: 0; }
}
@media (max-width: 560px) {
  .rotina-foto__cab { display: block; margin-bottom: 24px; }
  .rotina-foto__amostra { display: inline-flex; margin-top: 14px; }
  .rotina-passo { grid-template-columns: 34px minmax(0, 1fr); gap: 9px; padding: 15px; }
  .rotina-passo__numero { width: 30px; height: 30px; }
  .rotina-etiqueta { padding: 14px; }
  .rotina-campos { grid-template-columns: 1fr; }
  .rotina-formulario__topo { align-items: flex-start; flex-direction: column; }
  .rotina-salvo { grid-template-columns: auto minmax(0, 1fr); }
  .rotina-salvo .rotina-tag { grid-column: 2; }
  .rotina-foto__nota { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .rotina-foto *, .rotina-foto *::before, .rotina-foto *::after { scroll-behavior: auto !important; }
}
