.template-p{max-width:1100px;margin:0 auto}
.template-p .tp-hero{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(280px,.92fr);gap:2rem;align-items:center;margin:1rem 0 2.2rem}
.template-p .tp-hero-figure{margin:0;border:1px solid rgba(148,163,184,.24);border-radius:20px;overflow:hidden;background:rgba(255,255,255,.025)}
.template-p .tp-hero-figure img{width:100%;height:auto;display:block}
.template-p .tp-hero-figure figcaption{padding:.9rem 1rem;font-size:.9rem;line-height:1.65}
.template-p .tp-kicker{letter-spacing:.075em;text-transform:uppercase;opacity:.75;font-size:.86rem;margin:.2rem 0 .55rem}
.template-p .tp-grc{font-weight:500}
.template-p .tp-latinized{font-size:1.02rem;opacity:.78;margin-top:-.4rem}
.template-p .tp-lead{font-size:1.05rem;line-height:1.9}
.template-p .tp-tags{display:flex;flex-wrap:wrap;gap:.52rem;margin:1rem 0}
.template-p .tp-tags span,.template-p .tp-grade{display:inline-flex;align-items:center;border:1px solid rgba(148,163,184,.32);border-radius:999px;padding:.34rem .66rem;font-size:.82rem;background:rgba(255,255,255,.035)}
.template-p .tp-section{margin:2.4rem 0 0;padding-top:.25rem}
.template-p .tp-section-label{font-size:.8rem;letter-spacing:.08em;opacity:.68;margin:0 0 .25rem}
.template-p .tp-grid{display:grid;gap:1rem}
.template-p .tp-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.template-p .tp-card,.template-p .tp-evidence-card,.template-p .tp-node-card,.template-p .tp-event,.template-p .tp-state-list>div{border:1px solid rgba(148,163,184,.25);border-radius:15px;padding:1rem 1.1rem;background:rgba(255,255,255,.028)}
.template-p .tp-card h3,.template-p .tp-evidence-card h3{margin-top:0}
.template-p .tp-card-wide{margin:1rem 0}
.template-p .tp-note{padding:.9rem 1rem;border-left:4px solid #92a9bd;background:rgba(146,169,189,.08);border-radius:8px}
.template-p .tp-boundary{padding:.9rem 1rem;border-left:4px solid #a9772b;background:rgba(169,119,43,.08);border-radius:8px}
.template-p .tp-node-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}
.template-p .tp-node-card{display:flex;flex-direction:column;gap:.35rem;text-decoration:none;color:inherit}
.template-p a.tp-node-card:hover{transform:translateY(-1px)}
.template-p .tp-node-card span,.template-p .tp-event span,.template-p .tp-state-list span{line-height:1.72}
.template-p .tp-event-list,.template-p .tp-state-list,.template-p .tp-evidence-list{display:grid;gap:.8rem}
.template-p .tp-event,.template-p .tp-state-list>div{display:grid;gap:.35rem}
.template-p .tp-evidence-head{display:flex;gap:.65rem;justify-content:space-between;align-items:flex-start;flex-wrap:wrap}
.template-p .tp-grade{white-space:nowrap;border-color:#8ab193;background:rgba(138,177,147,.1)}
.template-p .tp-grade-caution{border-color:#c8a15c;background:rgba(200,161,92,.1)}
.template-p .tp-mini{font-size:.86rem;opacity:.72;line-height:1.65}
.template-p .tp-inline-link{font-weight:700}
.template-p .tp-action-row{display:flex;flex-wrap:wrap;gap:.75rem;margin:1rem 0}
.template-p .tp-action{display:inline-flex;align-items:center;padding:.65rem .9rem;border:1px solid rgba(148,163,184,.34);border-radius:10px;text-decoration:none;font-weight:700}
.template-p .tp-action-secondary{font-weight:600}
.template-p .tp-action-disabled{opacity:.58;cursor:not-allowed;font-weight:500}
@media(max-width:760px){
  .template-p .tp-hero,.template-p .tp-grid-2,.template-p .tp-node-grid{grid-template-columns:1fr}
  .template-p .tp-hero{gap:1rem}
  .template-p .tp-hero-copy{order:1}
  .template-p .tp-hero-figure{order:2}
  .template-p .tp-action-row{flex-direction:column}
  .template-p .tp-action{width:100%;box-sizing:border-box}
}
