/* Template guides (/templates/…): layered on site.css. Tables scroll inside their box, never the page (390 px). */
.g-page{padding:28px 20px 60px}
.g-page h1{font-size:clamp(28px,4.4vw,44px)}
.g-page h2{text-align:left;font-size:clamp(22px,2.6vw,28px);margin-top:40px}
.g-page h3{font-size:18px;margin-top:22px}
.g-page section{padding:0}
.g-page ul,.g-page ol{padding-left:22px}
.g-page li{margin:6px 0}
.g-page .lead{font-size:19px;color:var(--ink-2)}
.g-cat{color:var(--coral-ink);font-weight:700;letter-spacing:.02em;text-transform:none;margin:0 0 6px}
.g-top-cta,.g-dl-row{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 8px}
.g-top-cta .btn,.g-dl-row .btn{white-space:normal;height:auto;min-height:42px;padding:8px 14px;text-align:center}
.g-kb{font-weight:500;opacity:.8}
.g-tbl{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:8px 0 16px;border:1px solid var(--line);border-radius:12px;background:var(--surface);max-width:100%}
.g-tbl table{border-collapse:collapse;width:100%;font-size:15px;line-height:1.5}
.g-tbl th,.g-tbl td{padding:9px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;min-width:7em}
.g-tbl thead th{background:var(--surface-2);font-weight:700;white-space:nowrap}
.g-tbl tbody th{font-weight:650;white-space:normal}
.g-tbl tr:last-child th,.g-tbl tr:last-child td{border-bottom:0}
.g-tbl .num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.g-tbl tfoot td{font-weight:750;background:var(--surface-2);border-top:1px solid var(--line)}
.g-meta th{width:34%}
.g-dl{margin:36px 0 8px;padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
.g-dl h2{margin-top:0}
.g-steps li{margin:10px 0}
.g-note{border-left:3px solid var(--coral);padding:8px 12px;background:var(--surface-2);border-radius:0 10px 10px 0;color:var(--ink-2)}
.g-cta{margin:44px 0 12px;padding:28px 22px;border-radius:22px;background:var(--ink);color:var(--paper);text-align:center}
.g-cta h2{color:inherit;text-align:center;margin-top:0}
.g-cta p{opacity:.88}
.g-cta .btn{white-space:normal;height:auto;min-height:52px}
.g-cards{list-style:none;padding:0!important;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.g-cards li{margin:0}
.g-cards a{display:flex;flex-direction:column;gap:6px;height:100%;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink);text-decoration:none}
.g-cards a:hover{border-color:var(--coral)}
.g-fmt{color:var(--indigo);font-weight:650}
@media (max-width:560px){.g-page{padding:20px 16px 48px}.g-page .lead{font-size:17px}.g-tbl table{font-size:14px}.g-tbl th,.g-tbl td{padding:8px 10px}.g-cards{grid-template-columns:1fr}}
