/* ============================================================
   Portal "Plataforma responsavel" (/responsabilidades)
   Usa os tokens de tokens.css. Prefixo pt- em tudo.
   ============================================================ */

.pt-body {
  --pt-ink: var(--color-ink);
  --pt-soft: var(--color-ink-soft);
  --pt-line: var(--color-border);
  --pt-bg-alt: #F7F5FB;
  --pt-brand: var(--color-brand);
  --pt-brand-dark: var(--color-brand-dark);
  --pt-brand-light: var(--color-brand-light);
  --pt-warn-bg: #FFF6E0;
  --pt-warn-ink: #7A4B00;
  --pt-warn-line: #F2D38A;
  --pt-error-bg: #FDECEC;
  --pt-error-ink: #9B1C1C;
  --pt-radius: 16px;
  --pt-shadow: 0 1px 2px rgba(22, 21, 26, 0.04), 0 8px 24px rgba(107, 21, 150, 0.07);

  background: var(--color-surface);
  color: var(--pt-ink);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.pt-main { flex: 1; }

.pt-wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.pt-skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--pt-brand);
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  z-index: 50;
}
.pt-skip:focus { left: 8px; }

.pt-icon { width: 22px; height: 22px; flex-shrink: 0; }

/* ---------- Previa (so administradores) ---------- */
.pt-preview {
  background: var(--pt-warn-bg);
  border-bottom: 1px solid var(--pt-warn-line);
  color: var(--pt-warn-ink);
  font-size: 0.86rem;
}
.pt-preview-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.pt-preview-tag {
  background: var(--pt-warn-ink);
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.pt-preview-text { flex: 1 1 320px; }
.pt-preview-link { color: var(--pt-warn-ink); font-weight: 700; white-space: nowrap; }
.pt-preview-link::after { content: " \2192"; }

/* ---------- Cabecalho ---------- */
.pt-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--pt-line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.pt-header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.pt-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--pt-ink);
  min-width: 0;
}
.pt-brand img { border-radius: 8px; display: block; }
.pt-brand-home { display: inline-flex; align-items: center; gap: 10px; color: var(--pt-ink); flex-shrink: 0; }
.pt-brand-home:hover { color: var(--pt-ink); }
.pt-brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.pt-brand-sep { width: 1px; height: 22px; background: var(--pt-line); }
.pt-brand-sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--pt-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
a.pt-brand-sub:hover { color: var(--pt-brand-dark); }

/* Menu da Central (segunda linha do cabecalho) */
.pt-nav { border-top: 1px solid var(--pt-line); }
.pt-nav-in {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 7px 0;
  scrollbar-width: none;
}
.pt-nav-in::-webkit-scrollbar { display: none; }
.pt-nav a {
  position: relative; /* o texto so para leitor de tela fica dentro do item (e do menu que rola de lado) */
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--pt-soft);
}
/* Plataforma responsavel: separada a direita (no celular, so o ultimo item da lista). */
.pt-nav a.pt-nav-trust { margin-left: auto; }
.pt-nav-icon { display: inline-flex; width: 16px; height: 16px; color: var(--pt-brand); }
.pt-nav-icon svg { width: 16px; height: 16px; }
/* Degrade na borda quando o menu tem mais itens fora da tela (classe posta pelo script do layout). */
.pt-nav-in.has-more-right, .pt-chips.has-more-right { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); }
.pt-nav-in.has-more-left, .pt-chips.has-more-left { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 36px), transparent); }
.pt-nav-in.has-more-left.has-more-right, .pt-chips.has-more-left.has-more-right { -webkit-mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
.pt-nav a:hover { color: var(--pt-ink); background: var(--pt-bg-alt); }
.pt-nav a.is-active { background: var(--pt-brand-light); color: var(--pt-brand-dark); }
.pt-header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.pt-lang {
  display: inline-flex;
  border: 1px solid var(--pt-line);
  border-radius: var(--radius-pill);
  padding: 3px;
}
.pt-lang a {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--pt-soft);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  line-height: 1.2;
}
.pt-lang a:hover { color: var(--pt-ink); }
.pt-lang a.is-active { background: var(--pt-brand-light); color: var(--pt-brand-dark); }

/* ---------- Botoes ---------- */
.pt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.pt-btn .pt-icon { width: 18px; height: 18px; }
.pt-btn-primary { background: var(--pt-brand); color: #fff; box-shadow: 0 6px 16px rgba(146, 11, 218, 0.25); }
.pt-btn-primary:hover { background: var(--pt-brand-dark); color: #fff; }
.pt-btn-ghost { background: #fff; color: var(--pt-ink); border-color: var(--pt-line); }
.pt-btn-ghost:hover { border-color: var(--pt-brand); color: var(--pt-brand-dark); }
.pt-btn-sm { font-size: 0.85rem; padding: 8px 14px; border-radius: 10px; }

/* ---------- Capa (visao geral) ---------- */
.pt-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 380px at 12% -10%, rgba(146, 11, 218, 0.12), transparent 60%),
    radial-gradient(700px 320px at 95% 0%, rgba(243, 20, 92, 0.08), transparent 60%),
    var(--pt-bg-alt);
  border-bottom: 1px solid var(--pt-line);
}
.pt-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--gradient-spectrum);
}
.pt-hero-in { padding-top: 64px; padding-bottom: 68px; max-width: 1160px; }
.pt-eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pt-brand);
}
.pt-hero-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 760px;
}
.pt-hero-lead {
  margin: 18px 0 0;
  max-width: 680px;
  font-size: 1.08rem;
  color: var(--pt-soft);
}
.pt-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.pt-home { padding-top: 48px; padding-bottom: 72px; }
.pt-home-section + .pt-home-section { margin-top: 44px; }
.pt-section-title { font-size: 1.25rem; margin-bottom: 16px; letter-spacing: -0.01em; }

.pt-grid { display: grid; gap: 16px; }
.pt-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pt-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.pt-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--pt-line);
  border-radius: var(--pt-radius);
  background: #fff;
  color: var(--pt-ink);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.pt-card:hover { border-color: rgba(146, 11, 218, 0.45); box-shadow: var(--pt-shadow); transform: translateY(-1px); }
.pt-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--pt-brand-light);
  color: var(--pt-brand-dark);
  flex-shrink: 0;
}
.pt-card-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pt-card-title { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; line-height: 1.3; }
.pt-card-text { color: var(--pt-soft); font-size: 0.92rem; line-height: 1.5; }
.pt-card-meta { margin-top: 6px; font-size: 0.8rem; font-weight: 700; color: var(--pt-brand-dark); }
.pt-card-doc { padding: 26px; }
.pt-card-doc .pt-card-title { font-size: 1.15rem; }
.pt-card-accent { background: linear-gradient(135deg, #FBF6FE, #FFF); border-color: rgba(146, 11, 218, 0.35); }
.pt-card-accent .pt-card-icon { background: var(--pt-brand); color: #fff; }

.pt-contact {
  margin-top: 44px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px;
  border-radius: var(--pt-radius);
  background: var(--color-ink);
  color: #fff;
}
.pt-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
.pt-contact-title { font-size: 1.1rem; margin-bottom: 6px; }
.pt-contact p { margin: 6px 0 0; color: rgba(255, 255, 255, 0.82); }
.pt-contact a { color: #fff; font-weight: 700; word-break: break-word; }
.pt-contact a:hover { color: #E9D5FF; }

/* ---------- Paginas com menu lateral ---------- */
.pt-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
  padding-top: 40px;
  padding-bottom: 72px;
  align-items: start;
}
.pt-side { position: sticky; top: 136px; }
.pt-side-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.pt-side-list a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--pt-soft);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}
.pt-side-list a:hover { background: var(--pt-bg-alt); color: var(--pt-ink); }
.pt-side-list a.is-active { background: var(--pt-brand-light); color: var(--pt-brand-dark); }
.pt-side-cta { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--pt-line); }
.pt-side-cta a { color: var(--pt-brand); }

.pt-doc { min-width: 0; max-width: 780px; }
.pt-doc-head { margin-bottom: 24px; }
.pt-doc-title { font-size: clamp(1.7rem, 3.2vw, 2.3rem); line-height: 1.15; letter-spacing: -0.02em; }
.pt-doc-lead { margin: 12px 0 0; color: var(--pt-soft); font-size: 1.02rem; }
.pt-doc-meta {
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--pt-soft);
}
.pt-doc-tools { margin-top: 16px; }

.pt-note {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--pt-bg-alt);
  border: 1px solid var(--pt-line);
  font-size: 0.92rem;
}
.pt-note a { font-weight: 700; }
.pt-note ul { margin: 6px 0 0; padding-left: 18px; }
.pt-note-warn { background: var(--pt-warn-bg); border-color: var(--pt-warn-line); color: var(--pt-warn-ink); }
.pt-note-warn a { color: var(--pt-warn-ink); }
.pt-note-error { background: var(--pt-error-bg); border-color: #F5C2C2; color: var(--pt-error-ink); }

.pt-toc {
  margin: 0 0 28px;
  border: 1px solid var(--pt-line);
  border-radius: 14px;
  background: #fff;
}
.pt-toc summary {
  cursor: pointer;
  padding: 14px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pt-toc summary::-webkit-details-marker { display: none; }
.pt-toc summary::after { content: "+"; font-size: 1.2rem; color: var(--pt-soft); }
.pt-toc[open] summary::after { content: "\2212"; }
.pt-toc-list {
  list-style: none;
  margin: 0;
  padding: 0 18px 16px 18px;
  columns: 2;
  column-gap: 32px;
  font-size: 0.9rem;
}
.pt-toc-list li { break-inside: avoid; padding: 3px 0; }
.pt-toc-list a { color: var(--pt-soft); }
.pt-toc-list a:hover { color: var(--pt-brand); }

/* Texto dos documentos */
.pt-prose { font-size: 1rem; line-height: 1.7; overflow-wrap: break-word; }
.pt-prose > :first-child { margin-top: 0; }
.pt-prose h2 {
  font-size: 1.28rem;
  line-height: 1.3;
  margin: 40px 0 12px;
  padding-top: 8px;
  letter-spacing: -0.01em;
  scroll-margin-top: 150px;
}
.pt-prose h3 { font-size: 1.05rem; margin: 28px 0 8px; }
.pt-prose p { margin: 0 0 14px; }
.pt-prose ul, .pt-prose ol { margin: 0 0 16px; padding-left: 22px; }
.pt-prose li { margin: 4px 0; }
.pt-prose a { font-weight: 700; color: var(--pt-brand); }
.pt-prose a:hover { color: var(--pt-brand-dark); }
.pt-prose strong { font-weight: 700; color: var(--pt-ink); }
.pt-prose hr { border: 0; border-top: 1px solid var(--pt-line); margin: 32px 0; }
.pt-prose .pt-missing {
  background: var(--pt-warn-bg);
  color: var(--pt-warn-ink);
  border: 1px dashed #D9A640;
  border-radius: 6px;
  padding: 0 5px;
  font-weight: 700;
  font-size: 0.92em;
}
.pt-table {
  overflow-x: auto;
  margin: 0 0 20px;
  border: 1px solid var(--pt-line);
  border-radius: 12px;
}
.pt-prose table { width: 100%; border-collapse: collapse; font-size: 0.9rem; line-height: 1.5; min-width: 560px; }
.pt-prose th, .pt-prose td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--pt-line); }
.pt-prose th { background: var(--pt-bg-alt); font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; }
.pt-prose tr:last-child td { border-bottom: 0; }

.pt-versions { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--pt-line); }
.pt-versions-title { font-size: 1.05rem; margin-bottom: 10px; }
.pt-versions-list { list-style: none; margin: 0; padding: 0; font-size: 0.92rem; }
.pt-versions-list li { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 8px 0; border-bottom: 1px dashed var(--pt-line); }
.pt-versions-list li.is-viewing a { color: var(--pt-ink); font-weight: 700; }
.pt-versions-period { color: var(--pt-soft); }

.pt-doc-cta {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: var(--pt-radius);
  background: var(--pt-bg-alt);
  border: 1px solid var(--pt-line);
}
.pt-doc-cta p { margin: 0; }
.pt-doc-cta a { font-weight: 700; word-break: break-word; }
.pt-doc-cta-title { font-family: var(--font-display); font-weight: 700; margin-bottom: 4px !important; }

/* ---------- Formulario ---------- */
.pt-form { display: flex; flex-direction: column; gap: 22px; }
.pt-fieldset { border: 1px solid var(--pt-line); border-radius: var(--pt-radius); padding: 18px 20px 20px; margin: 0; min-width: 0; }
.pt-fieldset legend { font-family: var(--font-display); font-weight: 700; font-size: 1rem; padding: 0 6px; }
.pt-field { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; min-width: 0; }
.pt-field[hidden] { display: none; }
.pt-field label { font-weight: 700; font-size: 0.9rem; }
.pt-optional { font-weight: 500; color: var(--pt-soft); }
.pt-field input, .pt-field select, .pt-field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  color: var(--pt-ink);
  background: #fff;
  border: 1px solid #D9D6E0;
  border-radius: 12px;
  padding: 11px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pt-field textarea { resize: vertical; min-height: 140px; }
.pt-field input:focus, .pt-field select:focus, .pt-field textarea:focus {
  outline: none;
  border-color: var(--pt-brand);
  box-shadow: 0 0 0 3px rgba(146, 11, 218, 0.15);
}
.pt-field [aria-invalid="true"] { border-color: var(--color-danger); background: #FFFBFB; }
.pt-hint { margin: 0; font-size: 0.82rem; color: var(--pt-soft); }
.pt-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.pt-choices { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.pt-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--pt-line);
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
}
.pt-choice:hover { border-color: rgba(146, 11, 218, 0.4); }
.pt-choice input { accent-color: var(--pt-brand); width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.pt-choice:has(input:checked) { border-color: var(--pt-brand); background: #FBF6FE; }
.pt-form-privacy { margin: 0; font-size: 0.86rem; color: var(--pt-soft); }
.pt-form-privacy a { font-weight: 700; }
.pt-form .pt-btn-primary { align-self: flex-start; min-width: 220px; }
.pt-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Solicitacao enviada ---------- */
.pt-done { text-align: left; }
.pt-done-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #E7F6EE;
  color: var(--color-success);
  margin-bottom: 16px;
}
.pt-done-icon .pt-icon { width: 30px; height: 30px; }
.pt-protocol {
  display: inline-block;
  margin: 22px 0 18px;
  padding: 14px 22px;
  border-radius: 14px;
  background: var(--pt-brand-light);
  color: var(--pt-brand-dark);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}
.pt-done-actions { margin-top: 24px; }

/* ---------- Rodape ---------- */
.pt-footer { border-top: 1px solid var(--pt-line); background: var(--pt-bg-alt); font-size: 0.88rem; color: var(--pt-soft); }
.pt-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr;
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 28px;
}
.pt-footer-col p { margin: 0 0 6px; overflow-wrap: anywhere; }
/* Contatos do rodape: rotulo pequeno em cima, contato embaixo (nunca quebra no meio). */
.pt-footer-contacts { margin: 0; display: grid; gap: 10px; }
.pt-footer-contacts dt { font-size: 0.76rem; color: var(--pt-soft); margin: 0 0 1px; }
.pt-footer-contacts dd { margin: 0; overflow-wrap: anywhere; }
.pt-footer-col a { color: var(--pt-ink); font-weight: 600; }
.pt-footer-col a:hover { color: var(--pt-brand); }
.pt-brand-footer { margin-bottom: 10px; }
.pt-brand-footer .pt-brand-name { font-size: 1.05rem; }
.pt-footer-id { color: var(--pt-soft); }
.pt-footer-title { font-family: var(--font-display); font-weight: 700; color: var(--pt-ink); margin-bottom: 10px !important; }
.pt-footer-bottom { margin: 0; padding: 16px 0 28px; border-top: 1px solid var(--pt-line); font-size: 0.8rem; }

/* ---------- Telas menores ---------- */
@media (max-width: 1000px) {
  .pt-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .pt-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 20px; }
  .pt-side { position: static; margin: 0 -24px; }
  .pt-side-list {
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 24px 10px;
    scrollbar-width: thin;
  }
  .pt-side-list a { white-space: nowrap; border: 1px solid var(--pt-line); border-radius: var(--radius-pill); padding: 7px 14px; font-size: 0.85rem; }
  .pt-side-list a.is-active { border-color: transparent; }
  .pt-side-cta { margin: 0; padding: 0; border: 0; }
  .pt-footer-grid { grid-template-columns: 1fr 1fr; }
  .pt-footer-grid .pt-footer-col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .pt-wrap { padding: 0 16px; }
  .pt-side { margin: 0 -16px; }
  .pt-side-list { padding: 4px 16px 10px; }
  .pt-header-in { min-height: 58px; gap: 10px; }
  .pt-brand-sep { display: none; }
  .pt-brand-sub { display: none; }
  .pt-nav .pt-wrap { padding: 0; }
  .pt-nav-in { padding: 7px 16px; }
  .pt-lang a { padding: 4px 7px; }
  .pt-grid-2, .pt-grid-3 { grid-template-columns: minmax(0, 1fr); }
  .pt-hero-in { padding-top: 40px; padding-bottom: 44px; }
  .pt-hero-actions .pt-btn { flex: 1 1 100%; }
  .pt-home { padding-top: 32px; padding-bottom: 48px; }
  .pt-card { padding: 18px; }
  .pt-contact { flex-direction: column; padding: 22px; }
  .pt-toc-list { columns: 1; }
  .pt-row { grid-template-columns: minmax(0, 1fr); }
  .pt-fieldset { padding: 14px 14px 16px; }
  .pt-form .pt-btn-primary { align-self: stretch; }
  .pt-doc-cta { flex-direction: column; }
  .pt-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pt-protocol { font-size: 1.2rem; padding: 12px 16px; }
}

@media (max-width: 380px) {
  .pt-header-actions .pt-btn-sm { padding: 7px 10px; }
}

/* ---------- Impressao / PDF ---------- */
@media print {
  .pt-preview, .pt-header, .pt-side, .pt-doc-tools, .pt-doc-cta, .pt-footer, .pt-skip, .pt-toc { display: none !important; }
  .pt-body { display: block; }
  .pt-layout { display: block; padding: 0; }
  .pt-doc { max-width: none; }
  .pt-prose { font-size: 11pt; }
  .pt-prose a { color: inherit; font-weight: inherit; }
  .pt-prose h2 { break-after: avoid; }
  .pt-table { overflow: visible; border: 0; }
  .pt-prose table { min-width: 0; }
}

/* ---------- Central wezappi ---------- */
.pt-hero-sm .pt-hero-in { padding-top: 44px; padding-bottom: 48px; }
.pt-card-soon { cursor: default; opacity: .72; }
.pt-card-soon:hover { border-color: var(--pt-line); box-shadow: none; transform: none; }
.pt-soon {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--pt-bg-alt);
  border: 1px solid var(--pt-line);
  color: var(--pt-soft);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  vertical-align: middle;
}
.pt-home-note { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; color: var(--pt-soft); font-size: 0.92rem; }
.pt-home-note .pt-icon { width: 18px; height: 18px; }
.pt-side-group {
  margin: 14px 12px 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pt-soft);
}
.pt-side-group:first-child { margin-top: 0; }
.pt-side-soon { display: block; padding: 9px 12px; color: var(--pt-soft); font-size: 0.92rem; font-weight: 600; opacity: .75; }
.pt-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
.pt-pager-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  border: 1px solid var(--pt-line);
  border-radius: 12px;
  color: var(--pt-ink);
  font-weight: 700;
}
.pt-pager-link span { font-size: 0.78rem; font-weight: 600; color: var(--pt-soft); }
.pt-pager-link:hover { border-color: rgba(146, 11, 218, 0.45); color: var(--pt-brand-dark); }
.pt-pager-next { text-align: right; grid-column: 2; }

@media (max-width: 860px) {
  .pt-side-group { display: none; }
  .pt-side-soon { display: none; }
}
@media (max-width: 640px) {
  .pt-pager { grid-template-columns: 1fr; }
  .pt-pager-next { grid-column: 1; }
}

/* ---------- Suporte ---------- */
.pt-narrow { max-width: 820px; padding-top: 40px; padding-bottom: 72px; }
.pt-narrow .pt-doc { max-width: none; }
.pt-eyebrow a { color: inherit; }
.pt-note-ok { background: #E9F7EF; border-color: #BFE6CF; color: #14633F; }
.pt-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.pt-section-head .pt-section-title { margin: 0; }
.pt-empty { padding: 22px; border: 1px dashed var(--pt-line); border-radius: var(--pt-radius); color: var(--pt-soft); text-align: center; }
.pt-tickets { list-style: none; margin: 0; padding: 0; border: 1px solid var(--pt-line); border-radius: var(--pt-radius); overflow: hidden; }
.pt-tickets li + li { border-top: 1px solid var(--pt-line); }
.pt-ticket { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; color: var(--pt-ink); }
.pt-ticket:hover { background: var(--pt-bg-alt); color: var(--pt-ink); }
.pt-ticket-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pt-ticket-subject { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-ticket-meta { font-size: 0.82rem; color: var(--pt-soft); }
.pt-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
  background: var(--pt-bg-alt);
  color: var(--pt-soft);
  border: 1px solid var(--pt-line);
}
.pt-badge-aberto { background: #FFF6E0; border-color: #F2D38A; color: #7A4B00; }
.pt-badge-em_andamento { background: #E8F1FE; border-color: #BCD4FA; color: #1D4F9C; }
.pt-badge-aguardando_cliente { background: var(--pt-brand-light); border-color: #DCC2F2; color: var(--pt-brand-dark); }
.pt-badge-resolvido { background: #E9F7EF; border-color: #BFE6CF; color: #14633F; }
.pt-doc-meta .pt-badge { margin-right: 4px; }
.pt-thread { list-style: none; margin: 8px 0 24px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pt-msg { border: 1px solid var(--pt-line); border-radius: 14px; padding: 14px 16px; background: #fff; }
.pt-msg-equipe { background: #FBF6FE; border-color: #E7D3F7; }
.pt-msg-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-bottom: 8px; font-size: 0.88rem; }
.pt-msg-head time { color: var(--pt-soft); }
.pt-msg-equipe .pt-msg-head strong { color: var(--pt-brand-dark); }
.pt-msg-body { white-space: pre-line; overflow-wrap: anywhere; line-height: 1.6; }
.pt-reply .pt-field { margin-top: 0; }
.pt-reply-actions { display: flex; gap: 12px; }
.pt-close-form { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .pt-narrow { padding-top: 24px; }
  .pt-ticket { flex-direction: column; align-items: flex-start; }
  .pt-ticket-subject { white-space: normal; }
}

/* ---------- Status da plataforma ---------- */
.st-page { --st-ok: #1E8E5A; --st-aviso: #C98A00; --st-erro: #D33A3A; --st-manut: #2F6FDB; --st-vazio: #DAD7E0; }
.st-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--pt-radius);
  border: 1px solid var(--pt-line);
  background: #fff;
  margin-bottom: 24px;
}
.st-banner .st-dot { width: 14px; height: 14px; }
.st-banner-title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; }
.st-banner-sub { margin: 2px 0 0; font-size: 0.86rem; color: var(--pt-soft); }
.st-banner.st-ok { background: #EEF8F2; border-color: #C5E8D4; }
.st-banner.st-aviso { background: #FFF7E6; border-color: #F2D38A; }
.st-banner.st-erro { background: #FDEDED; border-color: #F5C2C2; }
.st-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--st-vazio); flex-shrink: 0; }
.st-ok .st-dot { background: var(--st-ok); }
.st-aviso .st-dot, .st-instavel .st-dot { background: var(--st-aviso); }
.st-erro .st-dot, .st-fora .st-dot { background: var(--st-erro); }
.st-manutencao .st-dot { background: var(--st-manut); }
.st-incident { border: 1px solid #F2D38A; background: #FFFBF0; border-radius: var(--pt-radius); padding: 16px 18px; margin-bottom: 16px; }
.st-incident-fora_do_ar { border-color: #F5C2C2; background: #FFF6F6; }
.st-incident-manutencao { border-color: #BCD4FA; background: #F4F8FF; }
.st-incident-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.st-incident-title { font-size: 1.02rem; margin: 0; }
.st-updates { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.92rem; }
.st-updates time { display: block; font-size: 0.8rem; color: var(--pt-soft); margin-top: 2px; }
.st-components { margin-top: 8px; }
.st-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--pt-line); border-radius: var(--pt-radius); }
.st-comp { padding: 18px 20px; }
.st-comp + .st-comp { border-top: 1px solid var(--pt-line); }
.st-comp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.st-comp-name { margin: 0; font-weight: 700; }
.st-comp-desc { margin: 2px 0 0; font-size: 0.84rem; color: var(--pt-soft); }
.st-state { display: inline-flex; align-items: center; gap: 7px; font-size: 0.86rem; font-weight: 700; white-space: nowrap; }
.st-state.st-ok { color: var(--st-ok); }
.st-state.st-instavel { color: var(--st-aviso); }
.st-state.st-fora { color: var(--st-erro); }
.st-state.st-manutencao { color: var(--st-manut); }
.st-state.st-sem_dados { color: var(--pt-soft); }
.st-bars { display: flex; gap: 2px; height: 32px; }
.st-bar { flex: 1 1 0; min-width: 0; border-radius: 2px; background: var(--st-vazio); }
.st-bar-ok { background: var(--st-ok); }
.st-bar-aviso { background: var(--st-aviso); }
.st-bar-erro { background: var(--st-erro); }
.st-bar:hover { opacity: .7; }
.st-bars-legend { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 0.78rem; color: var(--pt-soft); }
.st-bars-uptime { font-weight: 700; color: var(--pt-ink); }
.st-history { margin-top: 40px; }
.st-day { padding: 14px 0; border-bottom: 1px solid var(--pt-line); }
.st-day-title { font-size: 0.95rem; margin: 0 0 6px; }
.st-none { margin: 0; color: var(--pt-soft); font-size: 0.9rem; }
.st-day-vazio { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.st-day-vazio .st-day-title { margin: 0; }
.st-past + .st-past { margin-top: 12px; }
.st-past-title { margin: 0; font-weight: 700; }
@media (max-width: 640px) {
  .st-comp { padding: 16px 14px; }
  .st-bars { gap: 1px; height: 28px; }
  .st-comp-head { flex-direction: column; gap: 6px; }
}

/* ---------- Central: selo de status, busca, seu atendimento, contato ---------- */
.pt-body { --st-ok: #1E8E5A; --st-aviso: #C98A00; --st-erro: #D33A3A; --st-vazio: #DAD7E0; }
.pt-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pt-status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--st-vazio); flex-shrink: 0; }
.is-ok .pt-status-dot, .pt-status-dot.is-ok { background: var(--st-ok); }
.is-aviso .pt-status-dot, .pt-status-dot.is-aviso { background: var(--st-aviso); }
.is-erro .pt-status-dot, .pt-status-dot.is-erro { background: var(--st-erro); }
.pt-status-pill, .pt-hero-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.pt-status-pill.is-ok, .pt-hero-status.is-ok { color: #14633F; background: #EEF8F2; border-color: #C5E8D4; }
.pt-status-pill.is-aviso, .pt-hero-status.is-aviso { color: #7A4B00; background: #FFF7E6; border-color: #F2D38A; }
.pt-status-pill.is-erro, .pt-hero-status.is-erro { color: #9B1C1C; background: #FDEDED; border-color: #F5C2C2; }

.pt-incident-bar { border-top: 1px solid; }
.pt-incident-bar.is-aviso { background: #FFF7E6; border-color: #F2D38A; color: #7A4B00; }
.pt-incident-bar.is-erro { background: #FDEDED; border-color: #F5C2C2; color: #9B1C1C; }
.pt-incident-bar-in { display: flex; align-items: center; gap: 10px; padding-top: 9px; padding-bottom: 9px; font-size: 0.88rem; }
.pt-incident-bar-text { font-weight: 700; min-width: 0; }
.pt-incident-bar-link { margin-left: auto; font-weight: 700; color: inherit; white-space: nowrap; }
.pt-incident-bar-link:hover { color: inherit; opacity: .8; }

.pt-hero-busca { overflow: visible; }
.pt-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 52px;
}
.pt-hero-busca .pt-hero-title { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 18px; }
.pt-hero-status { display: none; margin-top: 16px; }
.pt-hero-status-link { font-weight: 600; opacity: .85; }
.pt-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 640px;
  padding: 6px 6px 6px 46px;
  background: #fff;
  border: 1px solid var(--pt-line);
  border-radius: 14px;
  box-shadow: var(--pt-shadow);
}
.pt-search:focus-within { border-color: var(--pt-brand); box-shadow: 0 0 0 4px rgba(146, 11, 218, 0.12), var(--pt-shadow); }
.pt-search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); display: inline-flex; color: var(--pt-soft); }
.pt-search-icon .pt-icon { width: 20px; height: 20px; }
.pt-search input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  color: var(--pt-ink);
}
.pt-search-btn { flex-shrink: 0; padding: 10px 18px; box-shadow: none; }
.pt-search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 15;
  max-height: min(70vh, 460px);
  overflow-y: auto;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--pt-line);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(22, 21, 26, 0.14);
}
.pt-search-item { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; color: var(--pt-ink); }
.pt-search-item:hover, .pt-search-item.is-active { background: var(--pt-bg-alt); color: var(--pt-ink); }
.pt-search-where, .pt-busca-where { font-size: 0.72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--pt-brand-dark); }
.pt-search-title { font-weight: 700; font-size: 0.95rem; }
.pt-search-snippet { font-size: 0.84rem; line-height: 1.45; color: var(--pt-soft); }
.pt-search mark, .pt-busca-snippet mark { background: #F4E6FD; color: inherit; border-radius: 3px; padding: 0 1px; }
.pt-search-empty { margin: 0; padding: 12px; font-size: 0.9rem; color: var(--pt-soft); }
.pt-search-empty p { margin: 0; }
.pt-search-ticket { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 700; color: var(--pt-brand-dark); }
.pt-search-ticket::after { content: "→"; }
.pt-search-ticket:hover { color: var(--pt-brand); }
.pt-search-all { position: sticky; bottom: -6px; display: block; margin: 4px -6px -6px; padding: 12px 18px; background: #fff; border-top: 1px solid var(--pt-line); border-radius: 0 0 14px 14px; font-size: 0.86rem; font-weight: 700; color: var(--pt-brand-dark); }
.pt-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.pt-chips-label { margin-right: 2px; font-size: 0.84rem; color: var(--pt-soft); }
.pt-chip { padding: 6px 12px; border: 1px solid var(--pt-line); border-radius: var(--radius-pill); background: #fff; font-size: 0.84rem; font-weight: 600; color: var(--pt-ink); white-space: nowrap; }
.pt-chip:hover { border-color: var(--pt-brand); color: var(--pt-brand-dark); }

.pt-me { padding: 22px; background: #fff; border: 1px solid var(--pt-line); border-radius: var(--pt-radius); box-shadow: var(--pt-shadow); }
.pt-me-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pt-me-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--pt-brand-light); color: var(--pt-brand-dark); flex-shrink: 0; }
.pt-me-title { margin: 0; font-size: 1.08rem; }
.pt-me-text { margin: 0 0 16px; font-size: 0.92rem; color: var(--pt-soft); }
.pt-me-alert, .pt-me-info { display: block; margin: 0 0 16px; padding: 10px 12px; border: 1px solid; border-radius: 10px; font-size: 0.9rem; font-weight: 700; }
.pt-me-alert { background: #FFF7E6; border-color: #F2D38A; color: #7A4B00; }
.pt-me-alert:hover { color: #7A4B00; border-color: #E2B955; }
.pt-me-info { background: var(--pt-bg-alt); border-color: var(--pt-line); color: var(--pt-ink); }
.pt-me-alert + .pt-me-alert, .pt-me-text + .pt-me-alert { margin-top: -6px; }
.pt-me-info:hover { color: var(--pt-brand-dark); }
.pt-me-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.pt-link-more { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; font-weight: 700; color: var(--pt-brand-dark); white-space: nowrap; }
.pt-link-more .pt-icon { width: 16px; height: 16px; }
.pt-card-guide, .pt-card-res { padding: 18px 20px; }
.pt-card-contact { flex-direction: column; gap: 12px; padding: 18px 20px; }
.pt-card-contact .pt-card-body { gap: 3px; }
.pt-res-status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 700; }
.pt-res-status.is-ok { color: var(--st-ok); }
.pt-res-status.is-aviso { color: #9A6A00; }
.pt-res-status.is-erro { color: var(--st-erro); }
.pt-card-small { font-size: 0.78rem; }
.pt-strip { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 16px 20px; background: #fff; border: 1px solid var(--pt-line); border-radius: var(--pt-radius); color: var(--pt-ink); transition: border-color .15s ease; }
.pt-strip:hover { border-color: rgba(146, 11, 218, 0.45); color: var(--pt-ink); }
.pt-strip-icon, .pt-strip-arrow { display: inline-flex; color: var(--pt-brand-dark); flex-shrink: 0; }
.pt-strip-body { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.pt-strip-title { font-family: var(--font-display); font-weight: 700; }
.pt-strip-text { font-size: 0.9rem; color: var(--pt-soft); }

.pt-contact-head { flex-wrap: wrap; }
.pt-open { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 0.88rem; font-weight: 700; color: var(--pt-soft); }
.pt-open-dot { width: 8px; height: 8px; border-radius: 50%; background: #9A96A3; flex-shrink: 0; }
.pt-open.is-open { color: #14633F; }
.pt-open.is-open .pt-open-dot { background: var(--st-ok); box-shadow: 0 0 0 4px rgba(30, 142, 90, 0.15); }
.pt-open-hours { font-weight: 500; color: var(--pt-soft); }
.pt-grid-contact { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.pt-card-strong { font-weight: 600; color: var(--pt-ink); }
.pt-break { overflow-wrap: anywhere; }

.pt-busca-page { padding-top: 32px; padding-bottom: 64px; }
.pt-search-support { max-width: none; margin-bottom: 16px; box-shadow: none; }
.pt-note-status a { font-weight: 700; white-space: nowrap; }
.pt-search-page { max-width: none; margin-bottom: 18px; box-shadow: none; }
.pt-busca-count { margin: 0 0 12px; font-size: 0.9rem; color: var(--pt-soft); }
.pt-busca-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pt-busca-item { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; background: #fff; border: 1px solid var(--pt-line); border-radius: 12px; color: var(--pt-ink); }
.pt-busca-item:hover { border-color: rgba(146, 11, 218, 0.45); color: var(--pt-ink); }
.pt-busca-title { font-weight: 700; }
.pt-busca-snippet { font-size: 0.88rem; color: var(--pt-soft); }
.pt-busca-help { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--pt-line); }
.pt-busca-help p { margin: 0; font-weight: 700; }

@media (max-width: 1000px) {
  .pt-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pt-me { max-width: 640px; }
}
@media (max-width: 760px) {
  .pt-status-pill { display: none; }
  .pt-hero-status { display: inline-flex; }
}
@media (max-width: 640px) {
  .pt-hero-grid { padding-top: 28px; padding-bottom: 32px; }
  .pt-hero-busca .pt-hero-title { margin-bottom: 14px; }
  .pt-search { padding-left: 40px; }
  .pt-search-icon { left: 13px; }
  .pt-search-btn { padding: 10px 14px; }
  .pt-chips { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .pt-chips::-webkit-scrollbar { display: none; }
  .pt-chips-label { display: none; }
  .pt-hero-status { white-space: normal; }
  .pt-me { padding: 18px; box-shadow: none; }
  .pt-card-guide { flex-direction: column; gap: 10px; padding: 14px; }
  .pt-card-guide .pt-card-icon, .pt-card-contact .pt-card-icon { width: 36px; height: 36px; border-radius: 10px; }
  .pt-card-guide .pt-card-text { display: none; }
  .pt-card-guide .pt-card-title { font-size: 0.95rem; }
  .pt-grid-3.pt-grid-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pt-grid-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pt-card-contact { gap: 10px; padding: 14px; }
  .pt-card-contact .pt-card-text:not(.pt-card-strong) { display: none; }
  .pt-incident-bar-in { flex-wrap: wrap; row-gap: 2px; }
  .pt-incident-bar-link { margin-left: 18px; }
  .pt-strip { padding: 14px 16px; }
}

/* Abrir chamado: guias sugeridos enquanto a pessoa escreve o assunto */
.pt-suggest { margin-top: 4px; padding: 12px 14px; border: 1px solid var(--pt-line); border-radius: 12px; background: var(--pt-bg-alt); }
.pt-suggest[hidden] { display: none; }
.pt-suggest-title { margin: 0 0 6px; font-size: 0.84rem; font-weight: 700; color: var(--pt-ink); }
.pt-suggest-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.pt-suggest-item { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 6px 8px; margin: 0 -8px; border-radius: 8px; color: var(--pt-ink); }
.pt-suggest-item:hover { background: #fff; color: var(--pt-brand-dark); }
.pt-suggest-name { font-weight: 700; font-size: 0.9rem; }
.pt-suggest-name::after { content: " ↗"; font-weight: 400; color: var(--pt-soft); }
.pt-suggest-where { font-size: 0.8rem; color: var(--pt-soft); }
.pt-suggest mark { background: #F4E6FD; color: inherit; border-radius: 3px; padding: 0 1px; }

/* ---------- Comunidade (/comunidade) ---------- */
.pt-btn-danger { background: #fff; color: var(--pt-error-ink); border-color: #F0B9B9; }
.pt-btn-danger:hover { background: var(--pt-error-bg); color: var(--pt-error-ink); border-color: #E59A9A; }
.pt-link-btn { padding: 0; border: 0; background: none; font: inherit; font-size: 0.86rem; font-weight: 700; color: var(--pt-brand-dark); cursor: pointer; }
.pt-link-btn:hover { color: var(--pt-brand); }
.pt-optional { font-weight: 400; color: var(--pt-soft); }

.pt-forum { padding-top: 32px; padding-bottom: 72px; }
.pt-forum-search { max-width: none; margin-bottom: 18px; box-shadow: none; }
.pt-forum-filters { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.pt-forum-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--pt-line); }
.pt-forum-tabs a { padding: 9px 14px; margin-bottom: -1px; border-bottom: 2px solid transparent; font-size: 0.92rem; font-weight: 700; color: var(--pt-soft); white-space: nowrap; }
.pt-forum-tabs a:hover { color: var(--pt-ink); }
.pt-forum-tabs a.is-active { color: var(--pt-brand-dark); border-bottom-color: var(--pt-brand); }
.pt-forum-cats { margin-top: 0; }
.pt-chip.is-active { background: var(--pt-brand-light); border-color: transparent; color: var(--pt-brand-dark); }
.pt-forum-empty p { margin: 0 0 12px; }

.pt-topics { list-style: none; margin: 0; padding: 0; border: 1px solid var(--pt-line); border-radius: var(--pt-radius); overflow: hidden; background: #fff; }
.pt-topics li + li { border-top: 1px solid var(--pt-line); }
.pt-topic { display: flex; align-items: center; gap: 16px; padding: 14px 18px; color: var(--pt-ink); }
.pt-topic:hover { background: var(--pt-bg-alt); color: var(--pt-ink); }
.pt-topic-stat { flex: 0 0 64px; display: flex; flex-direction: column; align-items: center; padding: 6px 4px; border: 1px solid var(--pt-line); border-radius: 12px; line-height: 1.15; color: var(--pt-soft); }
.pt-topic-stat strong { font-size: 1.05rem; color: var(--pt-ink); }
.pt-topic-stat span { font-size: 0.72rem; }
.pt-topic-stat.is-solved { background: #E9F7EF; border-color: #BFE6CF; color: #14633F; }
.pt-topic-stat.is-solved strong { color: #14633F; }
.pt-topic-stat.is-empty { border-style: dashed; }
.pt-topic-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pt-topic-title { font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.pt-topic-title .pt-badge { margin-right: 6px; vertical-align: 1px; }
.pt-topic-meta { font-size: 0.82rem; color: var(--pt-soft); }
.pt-badge-pin { background: var(--pt-bg-alt); border-color: var(--pt-line); color: var(--pt-ink); }
.pt-team-tag { display: inline-block; padding: 1px 8px; border-radius: var(--radius-pill); background: var(--pt-brand-light); color: var(--pt-brand-dark); font-size: 0.74rem; font-weight: 700; white-space: nowrap; }

.pt-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 0.9rem; }
.pt-pagination a { font-weight: 700; color: var(--pt-brand-dark); }
.pt-pagination .is-disabled { color: var(--pt-soft); opacity: .6; }
.pt-pagination-info { color: var(--pt-soft); }
.pt-forum-note { display: flex; align-items: flex-start; gap: 8px; margin: 22px 0 0; font-size: 0.88rem; color: var(--pt-soft); }
.pt-forum-note .pt-icon { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; color: var(--pt-brand); }
.pt-forum-note a { font-weight: 700; }

.pt-forum-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; padding-top: 40px; padding-bottom: 72px; }
.pt-forum-main { max-width: none; min-width: 0; }
.pt-forum-side { position: sticky; top: 136px; display: flex; flex-direction: column; gap: 14px; }
.pt-side-box { padding: 16px 18px; border: 1px solid var(--pt-line); border-radius: 14px; background: #fff; }
.pt-side-box p { margin: 0 0 12px; font-size: 0.88rem; color: var(--pt-soft); }
.pt-side-title { margin: 0 0 10px; font-family: var(--font-display); font-size: 0.95rem; }
.pt-side-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pt-side-links a { display: flex; flex-direction: column; padding: 7px 8px; margin: 0 -8px; border-radius: 8px; color: var(--pt-ink); }
.pt-side-links a:hover { background: var(--pt-bg-alt); color: var(--pt-brand-dark); }
.pt-side-links strong { font-size: 0.9rem; }
.pt-side-links span { font-size: 0.78rem; color: var(--pt-soft); }
.pt-side-foot { margin: 0; font-size: 0.86rem; }
.pt-side-foot a { font-weight: 700; }

.pt-post { padding: 18px 20px; border: 1px solid var(--pt-line); border-radius: 14px; background: #fff; }
.pt-post-question { margin-bottom: 18px; }
.pt-ugc { line-height: 1.65; overflow-wrap: anywhere; }
.pt-ugc p { margin: 0 0 12px; }
.pt-ugc p:last-child { margin-bottom: 0; }
.pt-ugc a { font-weight: 600; color: var(--pt-brand); word-break: break-all; }
.pt-ugc code { padding: 1px 6px; border-radius: 6px; background: var(--pt-bg-alt); border: 1px solid var(--pt-line); font-size: 0.88em; }
.pt-post-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 18px; margin-top: 12px; font-size: 0.86rem; }
.pt-post-actions:empty { display: none; }
.pt-inline-form > summary { list-style: none; cursor: pointer; font-weight: 700; color: var(--pt-soft); }
.pt-inline-form > summary::-webkit-details-marker { display: none; }
.pt-inline-form > summary:hover, .pt-inline-form[open] > summary { color: var(--pt-brand-dark); }
.pt-inline-form[open] { flex: 1 1 100%; }
.pt-inline-form .pt-form { margin-top: 8px; padding: 12px 14px; border: 1px solid var(--pt-line); border-radius: 12px; background: var(--pt-bg-alt); }
.pt-inline-form .pt-field:first-child { margin-top: 0; }
.pt-inline-form .pt-btn { margin-top: 12px; }
.pt-confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.pt-confirm .pt-btn { margin-top: 0; }

.pt-solution { margin: 0 0 24px; padding: 16px 18px; border: 1px solid #BFE6CF; border-radius: 14px; background: #F3FBF6; }
.pt-solution-title { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-family: var(--font-display); font-size: 1rem; color: #14633F; }
.pt-solution-title .pt-icon { width: 18px; height: 18px; }
.pt-solution-by { margin: 0 0 8px; font-size: 0.86rem; font-weight: 700; }
.pt-solution-body { font-size: 0.95rem; }
.pt-solution .pt-link-more { display: inline-block; margin-top: 8px; }

.pt-answers-title { margin: 8px 0 12px; }
.pt-answers { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pt-answer { padding: 16px 18px; border: 1px solid var(--pt-line); border-radius: 14px; background: #fff; scroll-margin-top: 150px; }
.pt-answer.is-team { background: #FBF6FE; border-color: #E7D3F7; }
.pt-answer.is-solution { border-color: #8FD3AC; box-shadow: 0 0 0 3px rgba(20, 99, 63, 0.08); }
.pt-answer.is-hidden { opacity: .7; border-style: dashed; }
.pt-answer:target { box-shadow: 0 0 0 3px rgba(146, 11, 218, 0.18); }
.pt-answer-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 0.88rem; }
.pt-answer-who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.pt-answer-head time { margin-left: auto; color: var(--pt-soft); white-space: nowrap; }
.pt-avatar { flex: 0 0 32px; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--pt-bg-alt); border: 1px solid var(--pt-line); font-size: 0.78rem; font-weight: 800; color: var(--pt-soft); }
.pt-answer.is-team .pt-avatar { background: var(--pt-brand); border-color: var(--pt-brand); color: #fff; }
.pt-answer-hidden { margin: 0 0 8px; }
.pt-forum-reply { scroll-margin-top: 150px; }
.pt-forum-reply .pt-section-title { margin-bottom: 10px; }

@media (max-width: 900px) {
  .pt-forum-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 24px; }
  .pt-forum-side { position: static; }
}
@media (max-width: 640px) {
  .pt-forum { padding-top: 20px; }
  .pt-topic { align-items: flex-start; gap: 12px; padding: 14px; }
  .pt-topic-stat { flex-basis: 52px; }
  .pt-forum-tabs { overflow-x: auto; scrollbar-width: none; }
  .pt-forum-cats { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .pt-post, .pt-answer { padding: 14px; }
  .pt-answer-head { flex-wrap: wrap; }
  .pt-answer-head time { margin-left: 42px; width: 100%; }
}
