.pf-intro {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.pf-intro__eyebrow {
  margin-bottom: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #ff2800;
}

.pf-intro__titulo {
  margin: 0 0 0.4rem;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: #1b1b1b;
  overflow-wrap: anywhere;
}

.pf-intro__sub {
  max-width: 640px;
  margin: 0 auto;
  font-size: calc(13px + 2 * (100vw - 320px) / 880);
  color: #444;
  opacity: 0.85;
}
.pf-intro__sub--apelido {
  font-style: italic;
  color: #7a7f87;
}

.pf-intro__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: #444;
}
.pf-intro__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.pf-intro__meta a {
  color: #444;
  font-weight: 600;
}
.pf-intro__meta a:hover {
  color: #ff2800;
}
.pf-intro__meta .material-icons,
.pf-intro__meta .fa-solid {
  position: static;
  top: auto;
  margin: 0;
  font-size: 1.05rem;
  color: #ff2800;
}
.pf-intro__meta .pf-selo-morto {
  padding: 2px 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #d92d20;
  border: 2px solid #d92d20;
  border-radius: 4px;
}

.pf-intro__acoes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 1.3rem;
}
.pf-intro__acoes .btn {
  padding: 0.6rem 1.6rem;
}

.pf-cabecalho {
  margin-bottom: 28px;
  text-align: center;
}
.pf-cabecalho .pf-busca {
  display: block;
  margin: 18px auto 0;
}

.pf-diarios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
  justify-content: center;
  gap: 14px;
}

.pf-diario-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  color: #444;
  background: #fff;
  border: 1px solid #eceff3;
  border-left: 4px solid #ff2800;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(15, 15, 15, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pf-diario-card:hover, .pf-diario-card:focus {
  color: #444;
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 15, 15, 0.22);
}
.pf-diario-card .pf-diario-card__foto {
  position: relative;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  padding: 4px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
.pf-diario-card .pf-diario-card__foto img,
.pf-diario-card .pf-diario-card__foto .pf-polaroid__vazio {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 2px;
  background: #e9ecf0;
}
.pf-diario-card .pf-diario-card__foto .pf-polaroid__vazio {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b9bfc7;
}
.pf-diario-card .pf-diario-card__foto .pf-polaroid__vazio .material-icons {
  position: static;
  top: auto;
  width: 1em;
  height: 1em;
  max-width: none;
  margin: 0;
  font-size: 1.8rem;
  line-height: 1;
}
.pf-diario-card .pf-diario-card__info {
  flex: 1;
  min-width: 0;
}
.pf-diario-card .pf-diario-card__titulo {
  display: block;
  font-weight: 600;
  color: #1b1b1b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pf-diario-card .pf-diario-card__nome {
  display: block;
  font-size: 0.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pf-diario-card .pf-diario-card__data {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #ff2800;
}
.pf-diario-card .pf-diario-card__data .material-icons {
  position: static;
  top: auto;
  margin: 0;
  font-size: 0.95rem;
}

.pf-polaroid--morto {
  position: relative;
}
.pf-polaroid--morto img {
  filter: grayscale(0.9) contrast(0.85);
}
.pf-polaroid--morto .pf-morto {
  display: flex;
}

.pf-morto {
  position: absolute;
  top: 10px;
  right: 10px;
  left: 10px;
  aspect-ratio: 1/1;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: linear-gradient(45deg, transparent 47.8%, rgba(217, 45, 32, 0.85) 47.8%, rgba(217, 45, 32, 0.85) 52.2%, transparent 52.2%), linear-gradient(-45deg, transparent 47.8%, rgba(217, 45, 32, 0.85) 47.8%, rgba(217, 45, 32, 0.85) 52.2%, transparent 52.2%);
}
.pf-morto > span {
  padding: 4px 14px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #d92d20;
  background: rgba(255, 255, 255, 0.88);
  border: 3px solid #d92d20;
  border-radius: 4px;
  transform: rotate(-18deg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.pf-grid .pf-morto > span,
.pf-slot .pf-morto > span {
  font-size: 1rem;
  letter-spacing: 2px;
}

.pf-diario-card__foto .pf-morto {
  top: 4px;
  right: 4px;
  left: 4px;
}
.pf-diario-card__foto .pf-morto > span {
  display: none;
}

.pf-fixos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 18px;
  margin: 0 0 18px;
  padding: 14px 16px;
  background: #fafbfc;
  border: 1px dashed #d8dde3;
  border-radius: 6px;
}
.pf-fixos dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #7a7f87;
}
.pf-fixos dd {
  margin: 2px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1b1b1b;
  overflow-wrap: anywhere;
}
.pf-fixos > div {
  min-width: 0;
}

.pf-polaroid {
  display: block;
  padding: 10px 10px 14px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(15, 15, 15, 0.4);
  color: #1b1b1b;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pf-polaroid img,
.pf-polaroid .pf-polaroid__vazio {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
     object-fit: cover;
  background: #e9ecf0;
  border-radius: 2px;
}
.pf-polaroid .pf-polaroid__vazio {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b9bfc7;
}
.pf-polaroid .pf-polaroid__vazio .material-icons {
  position: static;
  top: auto;
  width: 1em;
  height: 1em;
  max-width: none;
  margin: 0;
  font-size: 3.5rem;
  line-height: 1;
}
.pf-polaroid .pf-polaroid__legenda {
  display: block;
  margin-top: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  color: #1b1b1b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pf-polaroid .pf-polaroid__sub {
  display: block;
  font-size: 0.74rem;
  font-weight: 400;
  text-align: center;
  color: #7a7f87;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pf-polaroid:hover, .pf-polaroid:focus {
  text-decoration: none;
  color: #1b1b1b;
  transform: translateY(-6px) rotate(0deg) scale(1.02);
  box-shadow: 0 14px 30px rgba(15, 15, 15, 0.22);
  z-index: 2;
}

.pf-busca {
  position: relative;
  width: 100%;
  max-width: 360px;
}
.pf-busca input {
  width: 100%;
  height: 44px;
  padding: 0 16px 0 44px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #444;
  background: #fff;
  border: 1px solid #eceff3;
  border-radius: 50px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pf-busca input:focus {
  border-color: #ff2800;
  box-shadow: 0 0 0 3px rgba(255, 40, 0, 0.12);
}
.pf-busca .material-icons {
  position: absolute;
  top: 50%;
  left: 14px;
  margin: 0;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: #7a7f87;
  pointer-events: none;
}

.pf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 26px 22px;
}
.pf-grid .pf-polaroid {
  width: 100%;
}
.pf-grid .pf-polaroid.is-oculto {
  display: none;
}
.pf-grid .pf-polaroid:nth-child(8n+1) {
  transform: rotate(-2.5deg);
}
.pf-grid .pf-polaroid:nth-child(8n+2) {
  transform: rotate(0deg);
}
.pf-grid .pf-polaroid:nth-child(8n+3) {
  transform: rotate(2deg) translateY(6px);
}
.pf-grid .pf-polaroid:nth-child(8n+4) {
  transform: rotate(-1.5deg);
}
.pf-grid .pf-polaroid:nth-child(8n+5) {
  transform: rotate(0deg);
}
.pf-grid .pf-polaroid:nth-child(8n+6) {
  transform: rotate(3deg) translateY(4px);
}
.pf-grid .pf-polaroid:nth-child(8n+7) {
  transform: rotate(-2deg);
}
.pf-grid .pf-polaroid:nth-child(8n+8) {
  transform: rotate(0deg);
}
.pf-grid .pf-polaroid.pf-polaroid--sem-foto {
  transform: rotate(0deg);
}
.pf-grid .pf-polaroid:hover,
.pf-grid .pf-polaroid:focus {
  transform: translateY(-6px) rotate(0deg) scale(1.02);
}

.pf-vazio {
  padding: 48px 20px;
  text-align: center;
  color: #7a7f87;
  background: #fff;
  border: 1px dashed #eceff3;
  border-radius: 10px;
}
.pf-vazio .material-icons {
  position: static;
  top: auto;
  display: block;
  margin: 0 auto 10px;
  font-size: 2.4rem;
  color: #c9ced5;
}
.pf-vazio p {
  margin: 0;
}

.pf-box {
  margin-bottom: 26px;
  background: #fff;
  border: 1px solid #eceff3;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(15, 15, 15, 0.4);
}
.pf-box__titulo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1b1b1b;
  border-bottom: 1px solid #eceff3;
}
.pf-box__titulo::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  margin-right: 10px;
  background: #ff2800;
  border-radius: 2px;
}
.pf-box__titulo > span:first-of-type {
  flex: 1;
}
.pf-box__titulo small {
  font-size: 0.72rem;
  font-weight: 400;
  color: #7a7f87;
}
.pf-box__corpo {
  padding: 18px 20px;
}
.pf-box__rodape {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 20px;
  border-top: 1px solid #eceff3;
  background: #fafbfc;
  border-radius: 0 0 10px 10px;
}

.pf-dl {
  display: grid;
  grid-template-columns: minmax(120px, 38%) 1fr;
  margin: 0;
}
.pf-dl dt,
.pf-dl dd {
  padding: 11px 6px;
  margin: 0;
  font-size: 0.86rem;
  border-bottom: 1px solid #eceff3;
}
.pf-dl dt {
  font-weight: 600;
  color: #1b1b1b;
}
.pf-dl dd {
  color: #444;
  overflow-wrap: anywhere;
}
.pf-dl dt:nth-last-of-type(1),
.pf-dl dd:last-child {
  border-bottom: none;
}

.pf-texto-livre {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.pf-selo-morto-inline {
  font-weight: 700;
  color: #d92d20;
}

.pf-muted {
  color: #7a7f87;
}

.pf-lateral .pf-polaroid-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 12px 18px 22px;
}
.pf-lateral .pf-polaroid-stack .pf-polaroid {
  width: 86%;
  cursor: zoom-in;
}
.pf-lateral .pf-polaroid-stack .pf-polaroid:nth-child(3n+1) {
  transform: rotate(-3deg);
  align-self: flex-start;
}
.pf-lateral .pf-polaroid-stack .pf-polaroid:nth-child(3n+2) {
  transform: rotate(2.5deg);
  align-self: flex-end;
}
.pf-lateral .pf-polaroid-stack .pf-polaroid:nth-child(3n+3) {
  transform: rotate(-1.5deg);
  align-self: center;
}
.pf-lateral .pf-polaroid-stack .pf-polaroid:hover {
  transform: rotate(0deg) scale(1.03);
}
.pf-lateral .pf-polaroid-stack .pf-polaroid .pf-polaroid__vazio .material-icons {
  font-size: 4.5rem;
}

.pf-jogador {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
}
.pf-jogador .material-icons {
  position: static;
  top: auto;
  width: 1em;
  height: 1em;
  max-width: none;
  margin: 0;
  font-size: 1.6rem;
  line-height: 1;
  color: #ff2800;
}
.pf-jogador strong {
  display: block;
  color: #1b1b1b;
}
.pf-jogador small {
  color: #7a7f87;
}

.pf-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 22px;
  padding: 4px;
  background: #fff;
  border: 1px solid #eceff3;
  border-radius: 50px;
  box-shadow: 0 0 10px rgba(15, 15, 15, 0.4);
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
}
.pf-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  background: transparent;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.pf-tabs button .material-icons {
  position: static;
  top: auto;
  margin: 0;
  font-size: 1.1rem;
}
.pf-tabs button:hover {
  color: #000;
}
.pf-tabs button.is-active {
  color: #fff;
  background: #ff2800;
}
.pf-tabs button:focus {
  outline: none;
}
.pf-tabs button .pf-tabs__badge {
  min-width: 20px;
  padding: 0 6px;
  font-size: 0.7rem;
  line-height: 20px;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 10px;
}

.pf-tab-painel {
  display: none;
}
.pf-tab-painel.is-active {
  display: block;
}

.pf-relacoes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pf-relacoes li {
  padding: 12px 14px;
  border: 1px solid #eceff3;
  border-left: 3px solid #ff2800;
  border-radius: 6px;
  background: #fafbfc;
}
.pf-relacoes .pf-relacao__nome {
  display: block;
  font-weight: 600;
  color: #1b1b1b;
}
.pf-relacoes .pf-relacao__nome a {
  color: #1b1b1b;
}
.pf-relacoes .pf-relacao__nome a:hover {
  color: #ff2800;
}
.pf-relacoes .pf-relacao__tipo {
  display: inline-block;
  margin: 2px 0 6px;
  padding: 1px 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ff2800;
  background: rgba(255, 40, 0, 0.08);
  border-radius: 10px;
}
.pf-relacoes .pf-relacao__desc {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
}

.pf-historia {
  padding: 30px clamp(16px, 5vw, 56px) 40px;
  font-size: calc(14px + 1 * (100vw - 320px) / 880);
  line-height: 1.85;
  color: #2b2b2b;
  background: #fffdf8;
  border-radius: 0 0 10px 10px;
  overflow-wrap: anywhere;
}
.pf-historia::after {
  content: "";
  display: block;
  clear: both;
}
.pf-historia p {
  margin: 0 0 1.1em;
  font-size: inherit;
  opacity: 1;
  text-align: justify;
}
.pf-historia h2,
.pf-historia h3 {
  clear: both;
  font-family: "Poppins", sans-serif;
  color: #1b1b1b;
}
.pf-historia h2 {
  margin: 1.6em 0 0.9em;
  font-size: 1.55em;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
}
.pf-historia h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 10px auto 0;
  background: #ff2800;
  border-radius: 2px;
}
.pf-historia h3 {
  margin: 1.4em 0 0.6em;
  font-size: 1.15em;
  font-weight: 600;
  border-left: 4px solid #ff2800;
  padding-left: 12px;
}
.pf-historia blockquote {
  margin: 1.2em 0;
  padding: 12px 18px;
  font-style: italic;
  color: #555;
  background: rgba(255, 40, 0, 0.05);
  border-left: 4px solid #ff2800;
  border-radius: 0 6px 6px 0;
}
.pf-historia blockquote p:last-child {
  margin-bottom: 0;
}
.pf-historia ul,
.pf-historia ol {
  margin: 0 0 1.1em;
  padding-left: 1.6em;
}
.pf-historia hr {
  clear: both;
  width: 120px;
  margin: 2em auto;
  border: 0;
  border-top: 2px dashed rgba(255, 40, 0, 0.45);
}
.pf-historia a {
  color: #ff2800;
  text-decoration: underline;
}
.pf-historia strong,
.pf-historia b {
  font-weight: 700;
}
.pf-historia figure.pf-fig {
  position: relative;
  display: block;
  width: 44%;
  max-width: 380px;
  margin: 6px 0 16px;
  padding: 8px 8px 10px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(15, 15, 15, 0.4);
}
.pf-historia figure.pf-fig img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}
.pf-historia figure.pf-fig figcaption {
  margin-top: 8px;
  font-size: 0.78em;
  font-style: italic;
  line-height: 1.4;
  text-align: center;
  color: #7a7f87;
}
.pf-historia figure.pf-fig figcaption:empty {
  display: none;
}
.pf-historia figure.pf-fig.pf-fig--esq {
  float: left;
  margin-right: 26px;
  transform: rotate(-1.5deg);
}
.pf-historia figure.pf-fig.pf-fig--dir {
  float: right;
  margin-left: 26px;
  transform: rotate(1.5deg);
}
.pf-historia figure.pf-fig.pf-fig--centro {
  clear: both;
  width: 70%;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.pf-historia figure.pf-fig.pf-fig--larga {
  clear: both;
  width: 100%;
  max-width: none;
}
.pf-historia .pf-al-centro {
  text-align: center;
}
.pf-historia .pf-al-dir {
  text-align: right;
}
.pf-historia .pf-al-just {
  text-align: justify;
}
@media (max-width: 768px) {
  .pf-historia figure.pf-fig.pf-fig--esq, .pf-historia figure.pf-fig.pf-fig--dir {
    width: 56%;
    margin-right: 16px;
    margin-left: 16px;
  }
  .pf-historia figure.pf-fig.pf-fig--centro {
    width: 90%;
  }
}
@media (max-width: 430px) {
  .pf-historia figure.pf-fig.pf-fig--esq, .pf-historia figure.pf-fig.pf-fig--dir, .pf-historia figure.pf-fig.pf-fig--centro {
    float: none;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    transform: none;
  }
}

.pf-historia--vazia {
  padding: 40px 20px;
  text-align: center;
  color: #7a7f87;
  background: #fffdf8;
  border-radius: 0 0 10px 10px;
}
.pf-historia--vazia p {
  margin: 0;
}

.pf-diario {
  position: relative;
  padding-left: 30px;
}
.pf-diario::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 9px;
  width: 2px;
  background: linear-gradient(to bottom, #ff2800, rgba(255, 40, 0, 0.15));
}

.pf-entrada {
  position: relative;
  margin-bottom: 26px;
}
.pf-entrada::before {
  content: "";
  position: absolute;
  top: 18px;
  left: -27px;
  width: 14px;
  height: 14px;
  background: #fff;
  border: 3px solid #ff2800;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #fff;
}
.pf-entrada .pf-box {
  margin-bottom: 0;
}
.pf-entrada .pf-entrada__data {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 10px;
  padding: 2px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fff;
  background: #ff2800;
  border-radius: 10px;
}
.pf-entrada .pf-entrada__data .material-icons {
  position: static;
  top: auto;
  margin: 0;
  font-size: 0.95rem;
}
.pf-entrada .pf-entrada__titulo {
  font-size: 1rem;
  font-weight: 600;
  color: #1b1b1b;
}
.pf-entrada .pf-historia {
  padding-top: 22px;
  padding-bottom: 26px;
}

.pf-editar-nav {
  position: sticky;
  top: 90px;
  margin-bottom: 26px;
  padding: 8px 0;
  background: #fff;
  border: 1px solid #eceff3;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(15, 15, 15, 0.4);
}
.pf-editar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  border-left: 3px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.pf-editar-nav a .material-icons {
  position: static;
  top: auto;
  margin: 0;
  font-size: 1.15rem;
  color: #7a7f87;
}
.pf-editar-nav a:hover, .pf-editar-nav a.is-active {
  color: #000;
  background: #f5f8fc;
  border-left-color: #ff2800;
  text-decoration: none;
}
.pf-editar-nav a:hover .material-icons, .pf-editar-nav a.is-active .material-icons {
  color: #ff2800;
}
@media (max-width: 991.98px) {
  .pf-editar-nav {
    position: static;
    display: flex;
    overflow-x: auto;
    padding: 4px;
  }
  .pf-editar-nav a {
    flex: 0 0 auto;
    padding: 8px 12px;
    border-left: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
  }
  .pf-editar-nav a:hover, .pf-editar-nav a.is-active {
    border-bottom-color: #ff2800;
  }
}

.pf-form .pf-linha {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px 18px;
  margin-bottom: 14px;
}
.pf-form .pf-campo {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.pf-form .pf-campo--cheio {
  grid-column: 1/-1;
}
.pf-form .pf-campo label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #1b1b1b;
}
.pf-form .pf-campo small {
  font-size: 0.72rem;
  color: #7a7f87;
}
.pf-form .pf-input,
.pf-form .pf-textarea,
.pf-form .pf-select {
  width: 100%;
  padding: 10px 12px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #444;
  background: #fff;
  border: 1px solid #d8dde3;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pf-form .pf-input:focus,
.pf-form .pf-textarea:focus,
.pf-form .pf-select:focus {
  border-color: #ff2800;
  box-shadow: 0 0 0 3px rgba(255, 40, 0, 0.12);
}
.pf-form .pf-input.is-invalido,
.pf-form .pf-textarea.is-invalido,
.pf-form .pf-select.is-invalido {
  border-color: #d92d20;
}
.pf-form .pf-input:disabled,
.pf-form .pf-textarea:disabled,
.pf-form .pf-select:disabled {
  background: #f3f5f7;
  color: #7a7f87;
}
.pf-form .pf-textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.6;
}
.pf-form .pf-erro {
  display: none;
  font-size: 0.74rem;
  color: #d92d20;
}
.pf-form .pf-erro.is-visivel {
  display: block;
}
.pf-form .pf-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  cursor: pointer;
}
.pf-form .pf-check input {
  width: 18px;
  height: 18px;
  accent-color: #ff2800;
}

.pf-btn-outline {
  color: #444;
  background: #fff;
  border: 1px solid #d8dde3;
}
.pf-btn-outline:hover, .pf-btn-outline:focus {
  color: #000;
  border-color: #1b1b1b;
  background: #fff;
}

.pf-btn-perigo {
  color: #d92d20;
  background: #fff;
  border: 1px solid rgba(217, 45, 32, 0.4);
}
.pf-btn-perigo:hover, .pf-btn-perigo:focus {
  color: #fff;
  background: #d92d20;
  border-color: #d92d20;
}

.btn .material-icons {
  position: static;
  top: auto;
  margin: 0 5px 0 0;
  vertical-align: middle;
  line-height: 1;
  font-size: 1.05rem;
}

.btn[disabled],
.btn.is-carregando {
  opacity: 0.6;
  pointer-events: none;
}

.pf-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 22px;
}

.pf-slot {
  text-align: center;
}
.pf-slot .pf-polaroid {
  margin: 0 auto 12px;
  max-width: 240px;
  cursor: default;
}
.pf-slot .pf-polaroid:hover {
  transform: none;
  box-shadow: 0 0 10px rgba(15, 15, 15, 0.4);
}
.pf-slot .pf-slot__acoes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.pf-slot input[type=file] {
  display: none;
}
.pf-slot .pf-slot__status {
  display: block;
  min-height: 18px;
  margin-top: 6px;
  font-size: 0.72rem;
  color: #7a7f87;
}

.pf-progress {
  height: 4px;
  margin: 8px auto 0;
  max-width: 240px;
  background: #eceff3;
  border-radius: 2px;
  overflow: hidden;
}
.pf-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: #ff2800;
  transition: width 0.2s;
}

.pf-rel-lista {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.pf-rel-lista li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 10px 0;
  border-bottom: 1px solid #eceff3;
}
.pf-rel-lista li:last-child {
  border-bottom: none;
}
.pf-rel-lista .pf-rel-lista__info {
  flex: 1 1 240px;
  min-width: 0;
  font-size: 0.86rem;
}
.pf-rel-lista .pf-rel-lista__info strong {
  color: #1b1b1b;
}
.pf-rel-lista .pf-rel-lista__info .pf-relacao__tipo {
  margin-left: 6px;
  padding: 1px 8px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #ff2800;
  background: rgba(255, 40, 0, 0.08);
  border-radius: 10px;
}
.pf-rel-lista .pf-rel-lista__info p {
  margin: 2px 0 0;
  font-size: 0.8rem;
}
.pf-rel-lista .pf-rel-lista__acoes {
  display: flex;
  gap: 6px;
}

.pf-diario-lista {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.pf-diario-lista li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 10px 0;
  border-bottom: 1px solid #eceff3;
}
.pf-diario-lista li:last-child {
  border-bottom: none;
}
.pf-diario-lista .pf-diario-lista__data {
  flex: 0 0 auto;
  padding: 2px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  background: #ff2800;
  border-radius: 10px;
}
.pf-diario-lista .pf-diario-lista__titulo {
  flex: 1 1 200px;
  min-width: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1b1b1b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pf-diario-lista .pf-diario-lista__acoes {
  display: flex;
  gap: 6px;
}

.pf-btn-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: #7a7f87;
  background: #fff;
  border: 1px solid #eceff3;
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.pf-btn-icone .material-icons {
  position: static;
  top: auto;
  margin: 0;
  font-size: 1.05rem;
}
.pf-btn-icone:hover {
  color: #000;
  border-color: #1b1b1b;
}
.pf-btn-icone--perigo:hover {
  color: #fff;
  background: #d92d20;
  border-color: #d92d20;
}

.pf-nota {
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #6b4f00;
  background: #fff8e1;
  border: 1px solid #ffe9a8;
  border-radius: 6px;
}
.pf-nota .material-icons {
  position: static;
  top: auto;
  margin: 0;
  flex-shrink: 0;
  font-size: 1.15rem;
  color: #e0a800;
}
.pf-nota p {
  margin: 0;
  font-size: inherit;
  opacity: 1;
}
.pf-nota--info {
  color: #0b4f6c;
  background: #e8f6fc;
  border-color: #bfe6f5;
}
.pf-nota--info .material-icons {
  color: #1a8bb8;
}

.pf-editor {
  position: relative;
  border: 1px solid #d8dde3;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.pf-editor:focus-within {
  border-color: #ff2800;
  box-shadow: 0 0 0 3px rgba(255, 40, 0, 0.12);
}
.pf-editor__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  padding: 6px 8px;
  background: #f5f7fa;
  border-bottom: 1px solid #eceff3;
  z-index: 5;
}
.pf-editor__sep {
  width: 1px;
  height: 22px;
  margin: 0 6px;
  background: #d8dde3;
}
.pf-editor__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 32px;
  height: 32px;
  padding: 0 7px;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #444;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.pf-editor__btn .material-icons {
  position: static;
  top: auto;
  margin: 0;
  font-size: 1.15rem;
}
.pf-editor__btn:hover {
  color: #000;
  background: #fff;
  border-color: #d8dde3;
}
.pf-editor__btn.is-active {
  color: #ff2800;
  background: #fff;
  border-color: rgba(255, 40, 0, 0.4);
}
.pf-editor__btn:focus {
  outline: none;
}
.pf-editor__area {
  min-height: 360px;
  max-height: 70vh;
  overflow-y: auto;
  outline: none;
  border-radius: 0;
}
.pf-editor__area:empty::before, .pf-editor__area[data-vazio="1"]::before {
  content: attr(data-placeholder);
  color: #b0b6bd;
  font-style: italic;
}
.pf-editor__area figure.pf-fig {
  cursor: pointer;
}
.pf-editor__area figure.pf-fig.is-selected {
  outline: 2px solid #ff2800;
  outline-offset: 3px;
}
.pf-editor__area figure.pf-fig figcaption,
.pf-editor__area figure.pf-fig figcaption:empty {
  display: block;
  min-height: 1.2em;
  outline: none;
  cursor: text;
}
.pf-editor__area figure.pf-fig figcaption:empty::before {
  content: "Legenda (opcional)";
  color: #b0b6bd;
}
.pf-editor--compacto .pf-editor__area {
  min-height: 220px;
}
.pf-editor__figbar {
  position: absolute;
  display: none;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: #1b1b1b;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  z-index: 6;
}
.pf-editor__figbar.is-visivel {
  display: inline-flex;
}
.pf-editor__figbar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  overflow: hidden;
}
.pf-editor__figbar button .material-icons {
  position: static;
  top: auto;
  margin: 0;
  width: 22px;
  max-width: none;
  font-size: 22px;
  line-height: 1;
  overflow: hidden;
}
.pf-editor__figbar button:hover, .pf-editor__figbar button.is-active {
  background: rgba(255, 255, 255, 0.18);
}
.pf-editor__figbar button.pf-editor__figbar-remover:hover {
  background: #d92d20;
}
.pf-editor__status {
  padding: 6px 12px;
  font-size: 0.72rem;
  color: #7a7f87;
  background: #fafbfc;
  border-top: 1px solid #eceff3;
}
.pf-editor__status.is-erro {
  color: #d92d20;
}

.pf-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translate(-50%, -16px);
  max-width: min(360px, 100vw - 40px);
  padding: 12px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  background: #1b1b1b;
  border-left: 4px solid #2e9e5b;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 1100;
  pointer-events: none;
}
.pf-toast.is-visivel {
  opacity: 1;
  transform: translate(-50%, 0);
}
.pf-toast.is-erro {
  border-left-color: #d92d20;
}

@media (max-width: 991.98px) {
  .pf-lateral .pf-polaroid-stack {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 12px 8px 18px;
  }
  .pf-lateral .pf-polaroid-stack .pf-polaroid {
    width: 30%;
    min-width: 150px;
    align-self: auto !important;
  }
}
@media (max-width: 768px) {
  .pf-intro__acoes .btn {
    flex: 1 1 auto;
  }
  .pf-dl {
    grid-template-columns: 1fr;
  }
  .pf-dl dt {
    padding-bottom: 0;
    border-bottom: none;
  }
  .pf-dl dd {
    padding-top: 2px;
  }
  .pf-box__titulo,
  .pf-box__corpo,
  .pf-box__rodape {
    padding-left: 14px;
    padding-right: 14px;
  }
}
@media (max-width: 430px) {
  .pf-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px 12px;
  }
  .pf-lateral .pf-polaroid-stack .pf-polaroid {
    width: 46%;
    min-width: 0;
  }
  .pf-tabs {
    width: 100%;
  }
  .pf-tabs button {
    flex: 1;
    justify-content: center;
    padding: 9px 10px;
  }
  .pf-diario {
    padding-left: 22px;
  }
  .pf-entrada::before {
    left: -19px;
  }
}
