/* P116 additive reader repairs; existing native TOC and released assets unchanged. */
.single-post .entry-content h2[data-p116-toc-target],
.single-post .entry-content [data-p116-example-target],
.single-post .entry-content .p116-verification-source { scroll-margin-top:160px; }
.single-post .entry-content h2[data-p116-toc-target]:focus-visible,
#codex-mobile-toc-panel-v5[data-p116-ready] a:focus-visible,
#codex-mobile-toc-panel-v5[data-p116-ready] button:focus-visible,
.single-post .p116-verification-link:focus-visible { outline:3px solid #a86b00; outline-offset:3px; }
.single-post .entry-content .p116-template-tools { box-sizing:border-box; margin:10px 0 22px; padding:14px; border:1px solid #bacbdf; border-radius:10px; background:#f4f7fb; color:#16304e; font-size:14px; line-height:1.7; overflow-wrap:anywhere; }
.single-post .entry-content .p116-template-tools p { margin:0 0 8px; color:#16304e; }
.single-post .entry-content .p116-template-use { font-weight:700; }
.single-post .entry-content .p116-template-tools button { position:static; display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; min-height:44px; max-width:100%; margin:2px 8px 4px 0; padding:10px 14px; border:1px solid #16304e; border-radius:7px; background:#16304e; color:#fff; font:inherit; font-weight:700; line-height:1.5; cursor:pointer; white-space:normal; }
.single-post .entry-content .p116-template-tools .p116-select-button { background:#fff; color:#16304e; }
.single-post .entry-content .p116-template-tools button:focus-visible { outline:3px solid #a86b00; outline-offset:3px; }
.single-post .entry-content .p116-template-tools .p116-copy-status { margin:8px 0 0; }
.single-post .entry-content .p116-template-tools .p116-copy-status:empty { display:none; }
.single-post .entry-content .p116-template-index { margin:18px 0; padding:16px; border:1px solid #bacbdf; border-radius:10px; background:#f4f7fb; color:#16304e; line-height:1.7; }
.single-post .entry-content .p116-template-index p { margin:6px 0; font-size:14px; }
.single-post .entry-content .p116-template-index ul { display:flex; flex-wrap:wrap; gap:6px 14px; margin:10px 0 0; padding:0; list-style:none; }
.single-post .entry-content .p116-template-index a { display:inline-flex; align-items:center; min-height:44px; color:#16304e; text-decoration:underline; text-underline-offset:3px; overflow-wrap:anywhere; }
.single-post .entry-content .p116-template-index a:focus-visible { outline:3px solid #a86b00; outline-offset:3px; }
