/* Free email templates page (2026-11-05). Uses site.css tokens. */
.tp-hero { padding-bottom: 30px; }
.tp-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tp-filter button { font: 600 14px var(--text-f); color: var(--soft); background: transparent; border: 1px solid var(--line2); border-radius: 999px; padding: 9px 16px; cursor: pointer; }
.tp-filter button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.tp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tp-card { border: 1px solid var(--line2); border-radius: 18px; background: var(--panel); overflow: hidden; display: flex; flex-direction: column; }
.tp-card[hidden] { display: none; }
.tp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 20px 22px 16px; border-bottom: 1px solid var(--line); }
.tp-head h3 { font-size: 20px; margin: 6px 0 4px; }
.tp-head small { color: var(--muted); font-size: 13.5px; }
.tp-tag { font: 700 11.5px var(--text-f); letter-spacing: .1em; text-transform: uppercase; color: var(--coral); }
.tp-copy { flex: none; padding: 8px 16px; font-size: 14px; }
.tp-mail { padding: 18px 22px 22px; display: grid; gap: 12px; flex: 1; align-content: start; }
.tp-subj { font-size: 14.5px; color: var(--ink); font-weight: 600; }
.tp-subj span { display: inline-block; margin-right: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tp-mail pre { margin: 0; white-space: pre-wrap; word-wrap: break-word; font: 15px/1.65 var(--text-f); color: var(--soft); }
.tp-note { margin: 26px 0 0; font-size: 13.5px; color: var(--muted); max-width: 760px; }
@media (max-width: 860px) { .tp-grid { grid-template-columns: 1fr; } }
