/* Component rules; retain their responsive overrides in the same file. */
.tkh-disclaimer{font-size:.8rem;padding:20px 24px;border-left:3px solid var(--tkh-teal);background:var(--wp--preset--color--mint);color:var(--tkh-muted);margin-block:36px!important}
.tkh-author{padding-block:28px;border-top:1px solid var(--tkh-border)}
.tkh-author .wp-block-post-author-biography{font-size:.95rem;color:var(--tkh-muted)}
.tkh-post-navigation{display:grid!important;grid-template-columns:1fr 1fr;gap:32px;margin-block:30px 50px!important;border-block:1px solid var(--tkh-border);padding-block:24px}
.tkh-post-navigation a{font-size:.95rem}
.tkh-post-navigation .post-navigation-link-next{text-align:right}
.tkh-comments{padding-block:32px 64px}
.tkh-comments input:not([type=checkbox]):not([type=submit]),.tkh-comments textarea{width:100%;padding:12px;border:1px solid #a5b8ac;border-radius:4px;background:#fff}
.tkh-comments input[type=submit]{background:var(--tkh-teal);color:#fff;border:0;border-radius:5px;padding:12px 20px;cursor:pointer}
.tkh-comments label{font-size:.85rem}
.tkh-comments .wp-block-comment-author-name{font-weight:650}
.tkh-comments .wp-block-comment-date{font-size:.8rem}

@media(max-width:599px){.tkh-post-navigation{grid-template-columns:1fr}.tkh-post-navigation .post-navigation-link-next{text-align:left}}

@media print{.tkh-post-navigation,.tkh-comments{display:none!important}}
/* Editorial patterns are ordinary blocks and remain editable after a theme change. */
.tkh-article-section{padding:24px;border:1px solid var(--tkh-border);border-radius:8px;margin-block:32px;background:var(--wp--preset--color--mint,#eaf2ed)}
.tkh-article-section h2{margin:0 0 16px;font-size:1.5rem;line-height:1.35}
.tkh-article-section>:last-child{margin-bottom:0}
.tkh-article-section li{margin-block:10px}
.tkh-section-care{background:var(--tkh-paper);border-left:4px solid var(--tkh-teal)}

@media(max-width:599px){.tkh-article-section{padding:20px}}
@media print{.tkh-related{display:none}}
/* Article sharing and correction reports. */
.tkh-quote-panel{position:fixed;z-index:100;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;padding:8px;border:1px solid var(--tkh-border);border-radius:12px;background:#fff;color:var(--tkh-ink);box-shadow:0 6px 24px #163b3826;font-size:.875rem;line-height:1.5;text-align:start}
.tkh-quote-panel[hidden],.tkh-quote-panel [hidden]{display:none!important}
.tkh-quote-actions{display:flex;align-items:center;gap:8px}
.tkh-quote-actions button{min-height:44px;min-width:44px;border:1px solid var(--tkh-teal);border-radius:8px;padding:8px 12px;background:var(--tkh-teal);color:#fff;font:inherit;font-weight:650;line-height:1.4;cursor:pointer;overflow-wrap:anywhere}
.tkh-quote-actions button:first-child{flex:1}
.tkh-quote-actions button:disabled{opacity:.65;cursor:wait}
.tkh-quote-actions .tkh-quote-close{flex:none;background:#fff;border-color:var(--tkh-border);color:var(--tkh-ink);font-size:1.35rem;padding:6px}
.tkh-quote-panel :is(button,textarea):focus-visible{outline:3px solid var(--tkh-teal);outline-offset:2px}
.tkh-quote-status{margin:8px 4px;color:var(--tkh-ink);font-size:.875rem}
.tkh-quote-status:empty{display:none}
.tkh-quote-panel label{display:block;margin:8px 4px 4px;font-weight:600}
.tkh-quote-panel textarea{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:8px;border:1px solid var(--tkh-border);border-radius:6px;background:#fff;color:var(--tkh-ink);font-size:1rem;line-height:1.5;resize:vertical}
@media print{.tkh-quote-panel{display:none!important}}
.tkh-share { padding-block: 1.25rem; border-block: 1px solid var(--tkh-border); }
.tkh-share .tkh-actions-label { margin: 0 0 .65rem; font-size: .95rem; font-weight: 700; }
.tkh-share-buttons { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .6rem; }
.tkh-actions-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .6rem; }
.tkh-more-actions { min-width: 0; max-width: 100%; }
.tkh-more-actions > summary { display: flex; align-items: center; justify-content: space-between; gap: .6rem; box-sizing: border-box; min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--tkh-border); border-radius: 999px; background: #fff; color: var(--tkh-ink); font-size: .9rem; font-weight: 650; line-height: 1.4; cursor: pointer; list-style: none; }
.tkh-more-actions > summary::-webkit-details-marker { display: none; }
.tkh-more-actions > summary::after { content: '+'; font-size: 1.2rem; line-height: 1; }
.tkh-more-actions[open] > summary::after { content: '−'; }
.tkh-more-actions > summary:hover { border-color: var(--tkh-teal); }
.tkh-share :is(a, button, summary, input, textarea):focus-visible { outline: 3px solid var(--tkh-teal); outline-offset: 3px; }
.tkh-secondary-actions { margin-top: .6rem; }
.tkh-share .tkh-secondary-actions .tkh-citation { margin-top: 0; }
.tkh-secondary-actions .tkh-citation-copy { text-decoration: none; }
@media (min-width: 600px) {
 .tkh-actions-enhanced .tkh-more-actions { display: block; width: 100%; }
 .tkh-actions-enhanced .tkh-more-actions > summary { display: none; }
 .tkh-actions-enhanced .tkh-secondary-actions { margin-top: 0; }
 .tkh-actions-enhanced .tkh-secondary-actions .tkh-citation { display: contents; }
 .tkh-actions-enhanced [data-tkh-citation-fallback] { flex-basis: 100%; min-width: 0; width: 100%; }
}
@media (max-width: 599px) {
 .tkh-actions-row { display: block; }
 .tkh-primary-actions, .tkh-secondary-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
 .tkh-primary-actions > :is(a, button), .tkh-secondary-actions > :is(a, button) { box-sizing: border-box; min-width: 0; padding-inline: .65rem; overflow-wrap: anywhere; }
 .tkh-more-actions { margin-top: .6rem; }
 .tkh-more-actions > summary { width: fit-content; }
 .tkh-secondary-actions { padding: .75rem; border: 1px solid var(--tkh-border); border-radius: .75rem; background: var(--wp--preset--color--mint, #eaf2ed); }
 .tkh-secondary-actions .tkh-citation { grid-column: 1 / -1; min-width: 0; }
 .tkh-secondary-actions .tkh-citation-copy { box-sizing: border-box; width: 100%; overflow-wrap: anywhere; }
}
.tkh-share-buttons :is(a, button) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--tkh-border); border-radius: 999px; background: #fff; color: var(--tkh-ink); font: inherit; font-size: .9rem; font-weight: 650; line-height: 1.4; text-decoration: none; cursor: pointer; }
.tkh-share-buttons :is(a, button):hover { border-color: var(--tkh-teal); background: var(--tkh-paper); }
.tkh-share-buttons button:disabled, .tkh-share-buttons button[aria-busy=true] { opacity: .65; cursor: wait; }
.tkh-share [hidden], .tkh-report-context[hidden], .tkh-report-context [hidden] { display: none !important; }
.tkh-share .tkh-action-status { margin: .5rem 0 0; color: var(--tkh-muted); font-size: .85rem; }
.tkh-share .tkh-action-status:empty { margin: 0; }
.tkh-share [data-tkh-copy-fallback] { margin-top: 1rem; }
.tkh-share label, .tkh-report-context label { display: block; font-size: .875rem; font-weight: 650; margin-bottom: .4rem; }
.tkh-share input, .tkh-share textarea, .tkh-report-context textarea { box-sizing: border-box; width: 100%; max-width: 100%; padding: .75rem; border: 1px solid var(--tkh-border); border-radius: .5rem; background: #fff; color: var(--tkh-ink); font: inherit; font-size: 1rem; }
.tkh-share .tkh-citation { margin-top: .6rem; }
.tkh-citation-copy, .tkh-citation summary { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 0; color: var(--tkh-teal); font: inherit; font-size: .875rem; line-height: 1.4; cursor: pointer; }
.tkh-citation-copy { border: 0; background: transparent; text-align: left; text-decoration: underline; text-underline-offset: .2em; }
.tkh-citation-copy:disabled { opacity: .65; cursor: wait; }
.tkh-citation summary { display: list-item; }
.tkh-share .tkh-citation textarea { resize: vertical; line-height: 1.6; }
.tkh-share .tkh-citation-note { margin: .5rem 0 0; color: var(--tkh-muted); font-size: .8rem; line-height: 1.6; }
.tkh-report-link { padding-block: .5rem 1.25rem; }
.tkh-report-link > a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; text-underline-offset: .2em; }
.tkh-report-link > p { margin: .15rem 0 0; color: var(--tkh-muted); font-size: .85rem; line-height: 1.6; }
.tkh-report-context { padding: clamp(1rem, 3vw, 1.5rem); margin-block: 0 1.5rem; border: 1px solid var(--tkh-border); border-radius: .75rem; background: #fff; }
.tkh-report-context h2 { margin: 0 0 .75rem; font-size: 1.4rem; }
.tkh-report-context p { font-size: .95rem; line-height: 1.6; }
.tkh-report-context textarea { resize: vertical; }
.tkh-contact-page .wpcf7 :is(label, .wpcf7-form-control-wrap) { display: block; max-width: 100%; }
.tkh-contact-page .wpcf7 label { margin-bottom: 1rem; }
.tkh-contact-page .wpcf7 :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea) { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; padding: .75rem; margin-top: .35rem; border: 1px solid var(--tkh-border); border-radius: .5rem; background: #fff; color: var(--tkh-ink); font: inherit; font-size: 1rem; }
.tkh-contact-page .wpcf7 textarea { resize: vertical; }
.tkh-contact-page .wpcf7 input[type="submit"] { min-height: 44px; padding: .65rem 1.25rem; border: 0; border-radius: .5rem; background: var(--tkh-teal); color: #fff; font: inherit; font-weight: 650; cursor: pointer; }
@media print { .tkh-share, .tkh-report-link, .tkh-report-context { display: none !important; } }
.tkh-correction-note { border: 1px solid var(--tkh-border); border-left: 3px solid var(--tkh-teal); border-radius: .25rem; padding: clamp(1rem, 3vw, 1.5rem); background: var(--wp--preset--color--mint); }
.tkh-correction-note h2 { font-family: var(--wp--preset--font-family--sans); font-size: 1.2rem; line-height: 1.4; margin: 0 0 .75rem; }
.tkh-correction-note p { font-size: 1rem; line-height: 1.7; overflow-wrap: anywhere; }
.tkh-correction-note p:last-child { margin-bottom: 0; }
@media print {
    .single-post .adsbygoogle, .single-post .google-auto-placed,
    .single-post .wp-block-uagb-table-of-contents, .single-post .wp-block-table-of-contents,
    .single-post #ez-toc-container, .single-post .lwptoc,
    .single-post .rb-table-contents { display: none !important; }
    .single-post main { max-width: 100%; padding: 0; }
    .single-post .tkh-article-header .wp-block-post-title { font-size: 26pt; line-height: 1.15; }
    .single-post .tkh-article-header .wp-block-post-excerpt { font-size: 12pt; }
    .single-post .tkh-article-header .wp-block-post-featured-image img { width: auto; height: auto; max-height: 180pt; margin-inline: auto; object-fit: contain; }
    .single-post .tkh-article-content { font-size: 12pt; line-height: 1.6; }
    .single-post .tkh-article-content h2 { font-size: 18pt; }
    .single-post .tkh-article-content h3 { font-size: 14pt; }
    .single-post :is(h1, h2, h3, h4) { break-after: avoid; }
    .single-post :is(p, li) { orphans: 3; widows: 3; }
    .single-post :is(img, table) { max-width: 100% !important; }
    .single-post .wp-block-table { overflow: visible; }
    .single-post :is(a, td, th) { overflow-wrap: anywhere; }
    .single-post :is(.tkh-disclaimer, .tkh-correction-note) { background: #fff; color: #000; border-color: #777; }
}
@media (max-width: 480px) { .tkh-share-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Native article tables: leave shortcode/plugin tables and tool pages alone. */
.single-post .tkh-article-content .tkh-editorial-table{overflow-x:auto;margin-block:1.5rem}
.single-post .tkh-article-content .tkh-editorial-table table{width:100%;min-width:32rem;border-collapse:collapse;border:1px solid var(--tkh-border);font-size:.95em;line-height:1.55}
.single-post .tkh-article-content .tkh-editorial-table :is(th,td){border:1px solid var(--tkh-border);padding:12px 16px;vertical-align:top;overflow-wrap:break-word}
.single-post .tkh-article-content .tkh-editorial-table th{text-align:start;font-weight:700}
.single-post .tkh-article-content .tkh-editorial-table thead{border-bottom:1px solid var(--tkh-border)}
.single-post .tkh-article-content .tkh-editorial-table thead th{background:#eaf2ed;color:var(--tkh-ink);line-height:1.45}
.single-post .tkh-article-content .tkh-editorial-table tbody tr>:first-child{font-weight:600}
.single-post .tkh-article-content .tkh-table-three table{table-layout:fixed;min-width:36rem}
.single-post .tkh-article-content .tkh-table-three tr>:first-child{width:25%}
.single-post .tkh-article-content .tkh-table-three tr>:nth-child(2),.single-post .tkh-article-content .tkh-table-three tr>:nth-child(3){width:37.5%}
.single-post .tkh-article-content .tkh-table-two table{min-width:28rem}
.single-post .tkh-article-content .tkh-table-wide table{min-width:44rem}
.single-post .tkh-article-content .tkh-editorial-table[data-tkh-table-ready]{overflow:visible}
.single-post .tkh-article-content .tkh-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.single-post .tkh-article-content .tkh-table-scroll:focus-visible{outline:2px solid var(--tkh-teal);outline-offset:3px;border-radius:2px}
.single-post .tkh-article-content .tkh-table-hint{font-size:.8rem;color:var(--tkh-muted);margin-block:1.25rem .4rem}
.single-post .tkh-article-content .tkh-table-hint[hidden]{display:none}
.single-post .tkh-article-content .tkh-table-hint:not([hidden])+.tkh-editorial-table{margin-top:0}
.tkh-table-expand{display:inline-flex;align-items:center;min-height:44px;margin-inline-start:12px;padding:8px 12px;border:1px solid var(--tkh-border);border-radius:6px;background:#fff;color:var(--tkh-teal);font:600 .875rem/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}
.tkh-table-expand[hidden]{display:none}
.tkh-table-viewer-open{overflow:hidden;scrollbar-gutter:stable}
.tkh-table-viewer{box-sizing:border-box;width:min(1240px,calc(100vw - 32px));height:min(900px,90vh);height:min(900px,90dvh);max-width:none;max-height:none;margin:auto;padding:20px;border:1px solid var(--tkh-border);border-radius:12px;background:var(--tkh-paper);color:var(--tkh-ink);font:1.0625rem/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-shadow:0 12px 60px #0004}
.tkh-table-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr);gap:12px}
.tkh-table-viewer::backdrop{background:#102f2be0}
.tkh-table-viewer-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.tkh-table-viewer .tkh-table-viewer-title{margin:0;font:600 1rem/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.tkh-table-viewer-close{flex-shrink:0;min-height:44px;padding:8px 14px;border:1px solid var(--tkh-teal);border-radius:6px;background:var(--tkh-teal);color:#fff;font:600 .875rem/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}
.tkh-table-viewer-content{display:grid;grid-template-rows:auto minmax(0,1fr);gap:10px;min-width:0;min-height:0}
.tkh-table-viewer .tkh-table-viewer-hint{margin:0;color:var(--tkh-muted);font-size:.8rem}
.tkh-table-viewer .tkh-editorial-table{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:12px;min-width:0;min-height:0;margin:0!important;overflow:visible}
.tkh-table-viewer .tkh-table-viewer-stage{overflow:auto;min-width:0;min-height:0;overscroll-behavior:contain;scrollbar-gutter:stable;scroll-padding-block-start:var(--tkh-table-head-height,0px)}
/* Separate borders prevent scrolled cell text bleeding through merged headings. */
.single-post .tkh-table-viewer .tkh-editorial-table table{border-collapse:separate;border-spacing:0;border-right:0;border-bottom:0}
.single-post .tkh-table-viewer .tkh-editorial-table :is(th,td){border-width:0 1px 1px 0}
.tkh-table-viewer-stage>table>thead.tkh-table-sticky-head{position:sticky;top:0;z-index:1;background:#eaf2ed;box-shadow:0 1px 0 var(--tkh-border)}
.tkh-table-viewer figcaption{margin:0;max-height:18vh;overflow:auto;overflow-wrap:anywhere;font-size:.875rem;line-height:1.5}
.tkh-table-viewer :is(a,button,[tabindex]):focus-visible{outline:3px solid var(--tkh-teal);outline-offset:2px}
@media(max-width:599px){.tkh-table-expand{display:flex;margin:6px 0 0}.tkh-table-viewer{width:calc(100vw - 16px);height:calc(100vh - 24px);height:calc(100dvh - 24px);padding:12px}}
@media print{.tkh-table-expand,.tkh-table-viewer{display:none!important}.tkh-table-viewer-open{overflow:visible}}
@media print{
 .single-post .tkh-article-content .tkh-table-hint{display:none!important}
 .single-post .tkh-article-content :is(.tkh-editorial-table,.tkh-table-scroll){overflow:visible!important}
 .single-post .tkh-article-content .tkh-editorial-table table{min-width:0!important;width:100%!important;table-layout:fixed}
 .single-post .tkh-article-content .tkh-editorial-table :is(th,td){padding:6pt;overflow-wrap:anywhere}
}
/* Article accessibility: readable prose/reference links and notice labels. */
.single-post .tkh-article-content>p:not(.has-background):not(.has-text-color):not(.has-link-color)>a:not(.wp-element-button):not(.wp-block-button__link),
.single-post .tkh-article-content>:is(ul,ol):not(.has-background):not(.has-text-color):not(.has-link-color) li>a,
.single-post .tkh-article-content .sb-bibliography a{color:var(--tkh-teal);text-decoration:underline;text-underline-offset:.2em}
.single-post .tkh-article-content>p:not(.has-background):not(.has-text-color):not(.has-link-color)>a:not(.wp-element-button):not(.wp-block-button__link):hover,
.single-post .tkh-article-content>:is(ul,ol):not(.has-background):not(.has-text-color):not(.has-link-color) li>a:hover,
.single-post .tkh-article-content .sb-bibliography a:hover{color:var(--tkh-ink)}
.single-post .tkh-article-content .uagb-notice-title{font-weight:700;font-size:1.125rem;line-height:1.5;margin:0}
.wpcf7 .wpcf7-text, .wpcf7 .wpcf7-textarea, .wpcf7 .wpcf7-select { max-width:100%; min-width:0; }
/* A normal reCAPTCHA is 304px wide. Use the phone's gutters when the content
   column is narrower, preserving the widget's size and challenge behaviour. */
@media (max-width:343px) {
 .wpcf7 .wpcf7-recaptcha:has(iframe[width="304"]) { display:block; }
 .wpcf7 .wpcf7-recaptcha > div:has(iframe[width="304"]) { margin-inline:calc(50% - 152px); }
}
/* Article views and topics stay compact, with comfortable link targets. */
.single-post .tkh-article-views{display:flex;align-items:center;gap:6px;margin:20px 0 0;color:var(--tkh-muted);font-size:.875rem;line-height:1.5;letter-spacing:0;font-weight:400}
.tkh-article-views .post-views-icon{flex:0 0 auto;width:14px;height:14px;font-size:14px;line-height:1}
.tkh-article-views .post-views-count,.tkh-article-views .post-views-label{font:inherit;color:inherit}
.single-post .tkh-article-topics{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-block:16px 24px!important;font-family:var(--wp--preset--font-family--sans);font-size:.875rem;font-weight:400;line-height:1.4;letter-spacing:0}
.tkh-article-topics-label{margin-inline-end:4px;color:var(--tkh-muted);font-size:.8rem;font-weight:600}
.tkh-article-topics .wp-block-post-terms__separator{display:none}
.tkh-article-topics a{display:inline-flex;align-items:center;min-height:44px;max-width:100%;padding:8px 14px;border:1px solid var(--tkh-border);border-radius:100px;background:#fff;color:var(--tkh-teal);font-weight:500;text-decoration:none;overflow-wrap:anywhere}
.tkh-article-topics a:hover{background:var(--wp--preset--color--mint,#eaf2ed);border-color:var(--tkh-teal);color:var(--tkh-ink)}
/* One optional bulk control above existing article FAQ accordions. */
.tkh-faq-controls{display:flex;justify-content:flex-end;margin:0 0 .75rem}
.tkh-digest-invitation{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px 24px;padding:24px 0;margin-block:32px;border-block:1px solid var(--tkh-border)}
.tkh-digest-invitation>div{flex:1 1 320px;min-width:0}
.tkh-digest-invitation h2{margin:0 0 8px;font-size:1.4rem;line-height:1.3}
.tkh-digest-invitation p{margin:0;color:var(--tkh-muted);font-size:.925rem;line-height:1.65}
.tkh-digest-invitation>a{display:inline-flex;align-items:center;min-height:44px;max-width:100%;color:var(--tkh-teal);font-size:.925rem;font-weight:650;overflow-wrap:anywhere}
.tkh-faq-controls button{box-sizing:border-box;min-height:44px;max-width:100%;padding:.5rem 1rem;border:1px solid var(--tkh-border);border-radius:999px;background:#fff;color:var(--tkh-teal);font:inherit;font-size:.875rem;font-weight:650;line-height:1.4;cursor:pointer}
.tkh-faq-controls button:hover{background:var(--tkh-paper);border-color:var(--tkh-teal)}
.tkh-faq-controls button:focus-visible{outline:2px solid var(--tkh-teal);outline-offset:3px}
/* Pending plugin animation timers cannot hide a newly opened bulk answer. */
@media screen{
 .tkh-faq-bulk-item.uagb-faq-item-active>.uagb-faq-content{display:block!important;height:auto!important;overflow:visible!important}
 .tkh-faq-bulk-item:not(.uagb-faq-item-active)>.uagb-faq-content{display:none!important}
}
@media print{.tkh-faq-controls{display:none!important}}
