/* SWELL blocks have priority. Detailed, responsive tables for curated facts. */
body.tmg-managed-article .entry-content figure.tmg-table,body.tmg-managed-article .post_content figure.tmg-table{margin:1.7em 0 2em;border:1px solid #d9e5eb;border-radius:12px;overflow-x:auto;box-shadow:0 3px 14px rgba(19,48,62,.06);background:#fff}
body.tmg-managed-article .entry-content figure.tmg-table table,body.tmg-managed-article .post_content figure.tmg-table table{width:100%;border-collapse:separate;border-spacing:0;margin:0;border:0;table-layout:auto;min-width:0}
body.tmg-managed-article .entry-content figure.tmg-table td,body.tmg-managed-article .entry-content figure.tmg-table th,body.tmg-managed-article .post_content figure.tmg-table td,body.tmg-managed-article .post_content figure.tmg-table th{font-size:.94em;line-height:1.65;vertical-align:middle;padding:.85em 1em;border:0;border-bottom:1px solid #e5edf1;overflow-wrap:anywhere}
body.tmg-managed-article .entry-content figure.tmg-table tr:last-child td,body.tmg-managed-article .entry-content figure.tmg-table tr:last-child th,body.tmg-managed-article .post_content figure.tmg-table tr:last-child td,body.tmg-managed-article .post_content figure.tmg-table tr:last-child th{border-bottom:0}
body.tmg-managed-article .entry-content figure.tmg-table--info td:first-child,body.tmg-managed-article .post_content figure.tmg-table--info td:first-child{width:32%;background:#edf4f7;color:#24495a;font-weight:700;border-right:1px solid #e5edf1}
body.tmg-managed-article .entry-content figure.tmg-table--info tr:nth-child(2n) td:not(:first-child),body.tmg-managed-article .post_content figure.tmg-table--info tr:nth-child(2n) td:not(:first-child){background:#f8fbfc}
body.tmg-managed-article .entry-content figure.tmg-table--compare tr:first-child,body.tmg-managed-article .post_content figure.tmg-table--compare tr:first-child{background:#e6f1f4;color:#234b58;font-weight:700}
body.tmg-managed-article .entry-content figure.tmg-table--compare tr:nth-child(even),body.tmg-managed-article .post_content figure.tmg-table--compare tr:nth-child(even){background:#f7fafb}
body.tmg-managed-article .entry-content figure.tmg-table figcaption,body.tmg-managed-article .post_content figure.tmg-table figcaption{text-align:left;padding:.75em 1em;color:#506a75;background:#f8fafb;font-size:.86em;border-top:1px solid #e1eaf0}
@media(max-width:640px){body.tmg-managed-article .entry-content figure.tmg-table,body.tmg-managed-article .post_content figure.tmg-table{max-width:100%;overflow-x:auto}body.tmg-managed-article .entry-content figure.tmg-table--compare table,body.tmg-managed-article .post_content figure.tmg-table--compare table{min-width:440px}body.tmg-managed-article .entry-content figure.tmg-table td,body.tmg-managed-article .post_content figure.tmg-table td{padding:.7em .65em;font-size:.9em}}
/* Legacy article styling remains for already-saved classic drafts; new posts use SWELL blocks. */
/* tanoshimugurashi independent, legacy editorial system */
body.tmg-managed-article .entry-content .tmg-summary,body.tmg-managed-article .post_content .tmg-summary,
body.tmg-managed-article .entry-content .tmg-point,body.tmg-managed-article .post_content .tmg-point,
body.tmg-managed-article .entry-content .tmg-caution,body.tmg-managed-article .post_content .tmg-caution,
body.tmg-managed-article .entry-content .tmg-review,body.tmg-managed-article .post_content .tmg-review {
  margin:1.35em 0;padding:1.05em 1.25em;border-radius:8px;
  line-height:1.8;overflow-wrap:anywhere;
}
body.tmg-managed-article .entry-content .tmg-summary,body.tmg-managed-article .post_content .tmg-summary{background:#edf6f7;border-left:4px solid #287b85;}
body.tmg-managed-article .entry-content .tmg-point,body.tmg-managed-article .post_content .tmg-point{background:#f2f6fa;border-left:4px solid #547b9a;}
body.tmg-managed-article .entry-content .tmg-caution,body.tmg-managed-article .post_content .tmg-caution{background:#fff8ed;border-left:4px solid #bb8233;}
body.tmg-managed-article .entry-content .tmg-review,body.tmg-managed-article .post_content .tmg-review{background:#f7f7f5;border-left:4px solid #869193;}
body.tmg-managed-article .entry-content .tmg-phrase,body.tmg-managed-article .post_content .tmg-phrase{color:#255e6a;border-bottom:1px solid #a3c6c9;}
body.tmg-managed-article .entry-content .tmg-product-card,body.tmg-managed-article .post_content .tmg-product-card{
 margin:1.6em 0;padding:1.3em;border:1px solid #d4dfe3;border-radius:12px;
 background:#fff;box-shadow:0 2px 8px rgba(19,48,62,.05);
}
body.tmg-managed-article .entry-content .tmg-product-name,body.tmg-managed-article .post_content .tmg-product-name{font-size:1.05em;font-weight:700;margin:0 0 .8em;}
body.tmg-managed-article .entry-content .tmg-buy-links,body.tmg-managed-article .post_content .tmg-buy-links{display:flex;flex-wrap:wrap;gap:.65em;margin:0;}
body.tmg-managed-article .entry-content a.tmg-buy-link,body.tmg-managed-article .post_content a.tmg-buy-link{display:inline-block;padding:.55em 1.1em;
 background:#246b78;color:#fff!important;border-radius:6px;text-decoration:none!important;}
body.tmg-managed-article .entry-content a.tmg-buy-link:hover,body.tmg-managed-article .post_content a.tmg-buy-link:hover{background:#184c55;}
@media (prefers-color-scheme:dark){
 body.tmg-managed-article .entry-content .tmg-summary,body.tmg-managed-article .post_content .tmg-summary,body.tmg-managed-article .entry-content .tmg-point,body.tmg-managed-article .post_content .tmg-point,
 body.tmg-managed-article .entry-content .tmg-review,body.tmg-managed-article .post_content .tmg-review,body.tmg-managed-article .entry-content .tmg-caution,body.tmg-managed-article .post_content .tmg-caution,
 body.tmg-managed-article .entry-content .tmg-product-card,body.tmg-managed-article .post_content .tmg-product-card {background:#19252c;color:#eef4f6;border-color:#678e9e;}
}

/* 0.2.6 structured table: genuine header cells and improved mobile readability */
body.tmg-managed-article .entry-content figure.tmg-table thead th,body.tmg-managed-article .post_content figure.tmg-table thead th{background:#e6f1f4;color:#234b58;font-weight:700;text-align:left;border-bottom:2px solid #b7d2df}
body.tmg-managed-article .entry-content figure.tmg-table--info tbody td:first-child,body.tmg-managed-article .post_content figure.tmg-table--info tbody td:first-child{width:32%;background:#edf4f7;font-weight:700}
body.tmg-managed-article .entry-content figure.tmg-table--compare tbody tr:nth-child(even),body.tmg-managed-article .post_content figure.tmg-table--compare tbody tr:nth-child(even){background:#f7fafb}

/* v0.2.20: public-side mirror of editor product cards. The unique cr2-
   component selectors must not depend on the theme's content-wrapper class
   or the tmg-managed-article body class (draft previews may omit either).
   The entire stylesheet is enqueued only for the target managed/card post. */
.cr2-product-box{margin:1.7em 0 2em}
.cr2-product-card{position:relative;overflow:hidden;
 background:linear-gradient(135deg,#edf4ff 0%,#e8efff 48%,#f2edff 100%);border:1px solid rgba(100,116,139,.20);
 border-radius:24px;padding:18px;box-shadow:0 16px 35px rgba(35,52,85,.11)}
.cr2-product-card:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(#3b82f6,#8b5cf6)}
.cr2-product-layout{display:flex;gap:20px;align-items:center;position:relative;z-index:1}
.cr2-product-media{width:132px;min-width:132px;height:152px;border-radius:18px;overflow:hidden;background:white;display:flex;align-items:center;justify-content:center;padding:9px;box-shadow:0 8px 20px rgba(15,23,42,.09);box-sizing:border-box}
.cr2-product-media a{display:flex;width:100%;height:100%;align-items:center;justify-content:center}
.cr2-product-media img{width:100%;height:100%;object-fit:contain;border-radius:11px;max-width:100%;max-height:100%}
.cr2-no-image{font-size:11px;color:#64748b;text-align:center}
.cr2-product-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:10px}
.cr2-product-eyebrow{font:800 10px/1.5 system-ui,sans-serif;letter-spacing:.14em;color:#64748b}
.cr2-product-title{margin:0!important;padding:0!important;font-size:16px;font-weight:800;line-height:1.65;color:#253047!important;background:transparent!important}
a.cr2-product-title-link{color:#253047!important;text-decoration:none!important;background:transparent!important;box-shadow:none!important}
.cr2-product-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:2px}
a.cr2-shop-button{display:inline-flex;align-items:center;justify-content:center;padding:10px 17px;border-radius:12px;color:white!important;text-decoration:none!important;font:800 13px/1.4 system-ui,sans-serif;box-shadow:0 6px 14px rgba(15,23,42,.1)}
.cr2-shop-amazon{background:linear-gradient(135deg,#232f3e,#111827)}
.cr2-shop-rakuten-market{background:linear-gradient(135deg,#a72557,#d94678)}
.cr2-shop-rakuten-books{background:linear-gradient(135deg,#bf0000,#da3341)}
.cr2-shop-official{background:linear-gradient(135deg,#246b78,#1d4f66)}
@media(max-width:640px){.cr2-product-layout{gap:12px;align-items:flex-start}.cr2-product-media{width:96px;min-width:96px;height:120px}a.cr2-shop-button{padding:9px 11px;font-size:12px}}
/* Existing saved legacy links: presentation-only compatibility, no guessed images. */
body.tmg-managed-article .entry-content .tmg-product-card,body.tmg-managed-article .post_content .tmg-product-card{
 border-radius:24px!important;border:1px solid rgba(100,116,139,.18)!important;
 background:linear-gradient(135deg,#edf4ff 0%,#e8efff 48%,#f2edff 100%)!important;
 box-shadow:0 14px 32px rgba(35,52,85,.10)!important;
}
body.tmg-managed-article .entry-content .tmg-product-name,body.tmg-managed-article .post_content .tmg-product-name{color:#253047!important;font-weight:800!important;}
body.tmg-managed-article .entry-content .tmg-buy-links,body.tmg-managed-article .post_content .tmg-buy-links{display:flex!important;gap:9px!important;flex-wrap:wrap!important;}
body.tmg-managed-article .entry-content .tmg-buy-link,body.tmg-managed-article .post_content .tmg-buy-link{border-radius:12px!important;padding:10px 17px!important;background:#232f3e!important;}
body.tmg-managed-article .entry-content .tmg-buy-link[href*="rakuten"],body.tmg-managed-article .post_content .tmg-buy-link[href*="rakuten"]{background:#bf0000!important;}

/* v0.2.11: Navy/teal/gold editorial guide. Scoped to article & editor content.
   Keep product-card selectors and markup completely unchanged. */
:where(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) {
 --tmg-ink:#103d55;--tmg-ink-deep:#102f45;--tmg-gold:#d5b77b;--tmg-muted:#e7eef3;
}
/* H2: restrained ornamental diamond > preserved gold vertical separator > heading. */
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) h2.wp-block-heading:not(.tmg-sources-title){
 position:relative;display:block;box-sizing:border-box;
 padding:15px 20px 15px 86px!important; margin:2em 0 1.15em;
 color:#fff!important;background:linear-gradient(115deg,#123d55,#234e67)!important;
 border:1px solid #d5b77b!important;border-radius:3px!important;
 box-shadow:0 2px 0 rgba(16,47,69,.13);line-height:1.65;overflow-wrap:anywhere;
}
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) h2.wp-block-heading:not(.tmg-sources-title)::before{
 content:""!important;position:absolute;display:block;width:17px;height:17px;
 top:calc(50% - 9px);left:22px;border:2px solid #e0c486;
 transform:rotate(45deg);background:radial-gradient(circle,#e0c486 0 25%,transparent 28%);
 border-radius:1px;box-shadow:none;pointer-events:none;
}
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) h2.wp-block-heading:not(.tmg-sources-title)::after{
 content:""!important;position:absolute;display:block;width:2px;height:32px;left:62px;
 top:calc(50% - 16px);background:#d5b77b;transform:none;pointer-events:none;
}
/* H3: the less prominent sibling of H2, not another banner. */
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) h3.wp-block-heading{
 color:#173f55!important;background:transparent!important;
 padding:.3em .55em .35em .8em!important;margin:1.55em 0 .8em;
 border:0!important;border-left:3px solid #37768e!important;border-bottom:1px solid #d9bc83!important;
 border-radius:0!important;box-shadow:none!important;line-height:1.5;
}
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) h3.wp-block-heading::before,
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) h3.wp-block-heading::after{content:none!important;display:none!important}
/* H4: subordinate and minimal, never restyle SWELL's native icon boxes. */
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) h4.wp-block-heading{
 color:#245068!important;background:transparent!important;border:0!important;
 border-bottom:1px solid #cddfe8!important;padding:.2em .3em .25em!important;
 font-weight:700!important;box-shadow:none!important;
}
/* Standard lists: thin rule + dot + dividers. This CSS is enqueued only on
   Suite-managed or saved-product-card posts; do NOT require the optional
   body.tmg-managed-article class or SWELL's changing article wrapper.
   Explicit sources/plain lists are excluded. */
ul.wp-block-list:not(.is-style-plain):not(.tmg-source-links){
 display:block!important;list-style:none!important;margin:1em 0 1.15em!important;
 padding:0 0 0 14px!important;border-left:3px solid #568cad!important;
 background:transparent!important;box-shadow:none!important;
}
ul.wp-block-list:not(.is-style-plain):not(.tmg-source-links)>li{
 display:list-item!important;list-style:none!important;position:relative;
 padding:.31em .15em .36em 1.25em!important;margin:0!important;
 background:transparent!important;border:0!important;border-bottom:1px solid #dfe8ed!important;
 border-radius:0!important;box-shadow:none!important;color:inherit!important;line-height:1.65!important;
}
ul.wp-block-list:not(.is-style-plain):not(.tmg-source-links)>li:last-child{border-bottom:0!important}
ul.wp-block-list:not(.is-style-plain):not(.tmg-source-links)>li::before{
 content:""!important;display:block!important;position:absolute;left:.28em;top:1em;
 width:.37em;height:.37em;min-width:0;background:#397b9c!important;
 border:0!important;box-shadow:none!important;border-radius:50%!important;
}
/* References: intentionally plain, non-promotional text links. */
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) h2.tmg-sources-title{
 background:transparent!important;color:#233d50!important;font-size:1.08em!important;
 border:0!important;border-bottom:1px solid #dce6ed!important;border-radius:0!important;
 box-shadow:none!important;padding:.25em 0!important;margin:2.1em 0 .5em!important;
}
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) h2.tmg-sources-title::before,
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) h2.tmg-sources-title::after{content:none!important;display:none!important}
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) ul.tmg-source-links{
 display:block!important;list-style:none!important;border:0!important;box-shadow:none!important;
 background:transparent!important;padding:0!important;margin:.25em 0 1em!important;
}
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) ul.tmg-source-links>li{
 padding:.15em 0!important;background:transparent!important;border:0!important;box-shadow:none!important;
 border-radius:0!important;margin:0!important;list-style:none!important;
}
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) ul.tmg-source-links>li::before{content:none!important;display:none!important}
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) ul.tmg-source-links a{
 color:#246da1!important;text-decoration:underline!important;text-underline-offset:2px;
}
/* Tables: restrained navy heading + rows with thin separators and alternating pale paper. */
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) figure.tmg-table{
 border:1px solid #ccdae3!important;border-radius:4px!important;
 box-shadow:none!important;background:#fff!important;overflow-x:auto;
}
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) figure.tmg-table thead th{
 background:#19465e!important;color:#fff!important;border-color:#d5b77b!important;
 border-bottom:2px solid #d5b77b!important;font-weight:700;
}
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) figure.tmg-table tbody tr:nth-child(even) td{
 background:#f2f6f8!important;
}
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) figure.tmg-table tbody td{
 border-bottom:1px solid #dce5ec!important;
}
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) figure.tmg-table figcaption{
 border-top:1px solid #dce5ec!important;background:#f7f9fa!important;color:#526875!important;
}
/* Native SWELL is-style-icon_info / is-style-big_icon_* paragraph styles
   are intentionally NEVER overridden. WordPress theme owns their appearance.
   Future nonstandard decorations must use .tmg-*-box explicit classes. */
/* SWELL FAQ "guidepost" style: Q1/Q2 path, navy question strip, paper answer with A tab.
   Only the class generated by the app; never alter manually authored FAQ blocks. */
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) dl.swell-block-faq.tmg-faq-guide{
 display:block!important;position:relative!important;counter-reset:tmg-q;
 padding:4px 0 4px 55px!important;margin:1.35em 0 1.55em!important;
 background:transparent!important;border:0!important;box-shadow:none!important;
}
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) dl.swell-block-faq.tmg-faq-guide::before{
 content:"";position:absolute;left:22px;top:16px;bottom:14px;width:2px;background:#99b1c4;
}
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) .tmg-faq-guide>.swell-block-faq__item{
 position:relative!important;display:block!important;counter-increment:tmg-q;
 margin:0 0 1.12em!important;padding:0!important;background:transparent!important;
 border:0!important;box-shadow:none!important;
}
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) .tmg-faq-guide>.swell-block-faq__item .faq_q{
 position:relative!important;display:block!important;margin:0!important;
 padding:12px 18px!important;background:#1b465f!important;color:#fff!important;
 border:0!important;border-radius:3px 6px 6px 3px!important;
 font-weight:700!important;font-size:1.01em!important;line-height:1.6!important;
 box-shadow:none!important;
}
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) .tmg-faq-guide>.swell-block-faq__item .faq_q::before{
 content:"Q" counter(tmg-q)!important;display:grid!important;place-items:center;
 position:absolute!important;left:-55px!important;top:calc(50% - 17px)!important;
 width:34px!important;height:34px!important;border:2px solid #80a2b7!important;
 border-radius:50%!important;background:#fff!important;color:#173b52!important;
 font:700 13px/1 system-ui,sans-serif!important;box-sizing:border-box;
}
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) .tmg-faq-guide>.swell-block-faq__item .faq_q::after{
 content:""!important;display:block;position:absolute;left:11px;bottom:-7px;
 width:0;height:0;border-left:8px solid #1b465f;border-bottom:8px solid transparent;
}
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) .tmg-faq-guide>.swell-block-faq__item .faq_a{
 display:block!important;position:relative!important;box-sizing:border-box;
 margin:7px 0 0!important;padding:13px 17px 14px 52px!important;
 border:1px solid #e1d4b8!important;border-radius:3px!important;
 background:#fffcf7!important;color:#283f4b!important;
 box-shadow:0 1px 4px rgba(22,44,60,.055)!important;
 line-height:1.7!important;
}
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) .tmg-faq-guide>.swell-block-faq__item .faq_a::before{
 content:"A"!important;position:absolute;display:grid!important;place-items:center;
 top:13px!important;left:12px!important;width:27px!important;height:27px!important;
 background:#f2e7ce!important;border:1px solid #d6bc83!important;color:#645432!important;
 border-radius:2px!important;font:700 16px/1 Georgia,serif!important;
}
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) .tmg-faq-guide>.swell-block-faq__item .faq_a p{
 margin:0!important;padding:0!important;color:inherit!important;line-height:1.75!important;
}
@media(max-width:640px){
 :is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) h2.wp-block-heading:not(.tmg-sources-title){padding:11px 12px 11px 66px!important;font-size:1.15em!important}
 :is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) h2.wp-block-heading:not(.tmg-sources-title)::before{left:15px;width:13px;height:13px;top:calc(50% - 7px)}
 :is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) h2.wp-block-heading:not(.tmg-sources-title)::after{left:46px;height:27px;top:calc(50% - 13px)}
 :is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) dl.swell-block-faq.tmg-faq-guide{padding-left:45px!important}
 :is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) dl.swell-block-faq.tmg-faq-guide::before{left:17px}
 :is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) .tmg-faq-guide>.swell-block-faq__item .faq_q::before{left:-45px!important;width:30px!important;height:30px!important;top:calc(50% - 15px)!important}
 :is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) .tmg-faq-guide>.swell-block-faq__item .faq_q{padding:10px 12px!important}
 :is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) .tmg-faq-guide>.swell-block-faq__item .faq_a{padding:10px 10px 10px 43px!important}
}


/* v0.2.12: secondary headings share H2's navy/gold vocabulary, not its banner. */
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) h3.wp-block-heading {
 position:relative!important;box-sizing:border-box!important;
 background:linear-gradient(100deg,#e5f0f5,#f7fafb)!important;
 color:#173f55!important;padding:.65em .8em .68em 3.05em!important;
 margin:1.65em 0 .82em!important;border:0!important;
 border-left:3px solid #35728b!important;border-bottom:1px solid #c9ad75!important;
 border-radius:1px!important;box-shadow:none!important;line-height:1.55!important;
}
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) h3.wp-block-heading::before {
 content:""!important;display:block!important;position:absolute!important;left:1.05em;top:calc(50% - 5px);
 width:10px;height:10px;background:#c7a66b!important;border:1px solid #af8d4a!important;
 transform:rotate(45deg)!important;border-radius:0!important;box-shadow:none!important;
}
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) h3.wp-block-heading::after {
 content:""!important;display:block!important;position:absolute!important;left:2.3em;top:calc(50% - 12px);
 width:1px;height:24px;background:#b5965e!important;border:0!important;transform:none!important;
}
/* H4: an unobtrusive heading — gold square and fine underline only. */
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) h4.wp-block-heading {
 position:relative!important;display:block!important;color:#24465c!important;
 background:transparent!important;border:0!important;border-bottom:1px solid #d2bd91!important;
 border-radius:0!important;box-shadow:none!important;padding:.3em .1em .35em 1.25em!important;
 margin:1.3em 0 .7em!important;font-weight:700!important;line-height:1.55!important;
}
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) h4.wp-block-heading::before {
 content:""!important;display:block!important;position:absolute!important;left:.25em;top:calc(50% - 3.5px);
 width:7px;height:7px;background:#c69a51!important;border:0!important;border-radius:1px!important;
 transform:none!important;box-shadow:none!important;
}
:is(body.tmg-managed-article .entry-content,body.tmg-managed-article .post_content,body.tmg-managed-article .wp-block-post-content,.editor-styles-wrapper) h4.wp-block-heading::after {content:none!important;display:none!important}
/* Editor-only color correction for our dark admin canvas: H2/H3/H4 keep the
   same tones as the front-end; this does not affect public pages. */
html.ktdm-canvas-dark .editor-styles-wrapper h2.wp-block-heading:not(.tmg-sources-title) {color:#fff!important}
html.ktdm-canvas-dark .editor-styles-wrapper h3.wp-block-heading {color:#173f55!important}
html.ktdm-canvas-dark .editor-styles-wrapper h4.wp-block-heading {color:#24465c!important}
