/* Páginas de protocolos por especialidade (/protocolos/), 29/nov/2026. Carrega depois de feegow.css e tema.css. */

/* Ilustração do topo: os 3 quadros de decisão do protocolo */
.pt-quadros { display: grid; gap: 10px; padding: 16px; }
.pt-q { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 4px 12px; align-items: baseline; padding: 12px 14px; border-radius: var(--r-md); background: var(--glass); border: 1px solid var(--hairline); }
.pt-q > span { font: 500 .7rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.pt-q b { font: 650 1rem/1.3 var(--f-ui); color: var(--ink); }
.pt-q small { grid-column: 2; color: var(--ink-2); font-size: .82rem; line-height: 1.4; }
.pt-q.pt-conduta { border: 1.5px solid var(--warn, #E8913A); background: color-mix(in srgb, var(--warn, #E8913A) 10%, var(--glass)); }
.pt-q.pt-conduta b { color: var(--ink); }

/* Gráfico da linha do tempo (peso e escada de dose) */
.pt-chart { margin: 26px 0 0; padding: 18px; border-radius: var(--r-xl); }
.pt-chart svg { display: block; width: 100%; height: auto; }
.pt-chart figcaption { margin-top: 10px; color: var(--ink-3); font-size: .82rem; }
.pt-chart .ax { stroke: var(--hairline); stroke-width: 1; }
.pt-chart .peso { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pt-chart .pc { fill: var(--accent); }
.pt-chart .pcasa { fill: var(--bg, #fff); stroke: var(--accent); stroke-width: 2; }
.pt-chart .dose { fill: color-mix(in srgb, var(--violet, #7C5CFF) 22%, transparent); stroke: var(--violet, #7C5CFF); stroke-width: 1.5; }
.pt-chart text { fill: var(--ink-2); font: 500 12px var(--f-ui); }
.pt-chart .tt { fill: var(--ink); font-weight: 650; }

/* Hub: cartões das especialidades e tabela de escores */
.pt-esp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.pt-esp article { display: flex; flex-direction: column; padding: 24px 22px; border-radius: var(--r-lg); min-width: 0; }
.pt-esp h3 { margin: 0 0 8px; font: 650 1.15rem var(--f-ui); color: var(--ink); }
.pt-esp p { margin: 0 0 12px; color: var(--ink-read, var(--ink-2)); line-height: 1.55; }
.pt-esp .esc { margin-top: auto; font: 500 .8rem var(--f-mono); color: var(--ink-3); letter-spacing: .02em; }
.pt-esp a.btn { align-self: flex-start; margin-top: 14px; }
.pt-tab { width: 100%; margin-top: 22px; border-collapse: collapse; font-size: .93rem; }
.pt-tab th, .pt-tab td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--hairline); }
.pt-tab th { font: 600 .78rem var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.pt-tab td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.pt-tab-wrap { overflow-x: auto; border-radius: var(--r-lg); padding: 4px 8px; }

@media (max-width: 760px) {
  .pt-esp { grid-template-columns: minmax(0, 1fr); }
  .pt-tab td:first-child { white-space: normal; }
  .pt-q { grid-template-columns: minmax(0, 1fr); }
  .pt-q small { grid-column: 1; }
}

/* Nexo Imagem (/nexo-imagem/): ilustração desenhada do resultado, 29/nov/2026 */
.nx-res { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 16px; align-items: start; }
.nx-foto { border-radius: var(--r-md); border: 1px solid var(--hairline); overflow: hidden; background: #E9C7AE; }
.nx-foto svg { display: block; width: 100%; height: auto; }
.nx-foto .pele { fill: #E6C0A4; }
.nx-foto .pele2 { fill: #DDB091; }
.nx-foto .lesao { fill: #6B4434; }
.nx-foto .lesao2 { fill: #8A5A44; }
.nx-foto .borda { fill: none; stroke: #FFFFFF; stroke-width: 1.5; stroke-dasharray: 4 3; opacity: .9; }
.nx-dados { display: grid; gap: 8px; min-width: 0; }
.nx-selo { justify-self: start; font: 600 .72rem var(--f-ui); color: var(--accent-ink, var(--accent)); padding: 4px 9px; border-radius: var(--r-pill); border: 1px solid currentColor; }
.nx-faixa { padding: 9px 11px; border-radius: var(--r-md); border: 1.5px solid var(--warn, #E8913A); background: color-mix(in srgb, var(--warn, #E8913A) 10%, var(--glass)); font: 600 .86rem/1.35 var(--f-ui); color: var(--ink); }
.nx-hip { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.nx-hip li { display: grid; grid-template-columns: minmax(0, 1fr) 70px; gap: 8px; align-items: center; font-size: .84rem; color: var(--ink-2); }
.nx-hip i { display: block; height: 6px; border-radius: 3px; background: var(--accent); opacity: .75; }
.nx-hip .h2 i { width: 60%; } .nx-hip .h3 i { width: 35%; }
.nx-prox { margin: 0; font-size: .8rem; color: var(--ink-3); line-height: 1.4; }
.nx-faixas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.nx-faixas div { padding: 20px; border-radius: var(--r-lg); }
.nx-faixas b { display: block; margin-bottom: 6px; font: 650 1rem var(--f-ui); color: var(--ink); }
.nx-faixas p { margin: 0; color: var(--ink-read, var(--ink-2)); line-height: 1.55; }
.nx-faixas .alta { border: 1.5px solid var(--danger, #D64545); }
.nx-faixas .media { border: 1.5px solid var(--warn, #E8913A); }
@media (max-width: 760px) { .nx-res { grid-template-columns: minmax(0, 1fr); } .nx-foto { max-width: 220px; } .nx-faixas { grid-template-columns: minmax(0, 1fr); } }
.nx-cena { margin: 26px 0 0; border-radius: var(--r-xl); overflow: hidden; }
.nx-cena img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.nx-cena figcaption { padding: 12px 18px 16px; color: var(--ink-3); font-size: .85rem; }
