/* Calculator template (reconscribe-reader-v2). The post body is wrapped in .rs-post. Article typography reaches only the
   direct children of .rs-post, so a calculator's own markup (one root element with its own scoped CSS in the post) is
   never restyled by it: this is what pushed the 351, 394 and 749 inputs down on the old theme. */
.rs-post{margin-top:0;font-size:16px;line-height:1.65;color:var(--text);overflow-wrap:break-word}
.rs-post>:first-child{margin-top:0}
.rs-post>p,.rs-post>ul,.rs-post>ol,.rs-post>blockquote,.rs-post>figure,.rs-post>table,.rs-post>div,.rs-post>details,.rs-post>section,.rs-post>nav{margin:0 0 16px}
.rs-post>h2{font:750 21px/1.3 var(--f);color:var(--ink);margin:32px 0 10px;scroll-margin-top:12px}
.rs-post>h3{font:700 17px/1.35 var(--f);color:var(--ink);margin:22px 0 8px}
.rs-post>h4{font:700 15.5px/1.4 var(--f);color:var(--ink);margin:18px 0 6px}
.rs-post>ul,.rs-post>ol{padding-left:22px}
.rs-post>ul>li+li,.rs-post>ol>li+li{margin-top:4px}
.rs-post>blockquote{border-left:3px solid var(--navy);background:var(--soft);padding:10px 12px;border-radius:0 var(--r2) var(--r2) 0}
.rs-post>table,.rs-post>div>table,.rs-post>figure>table{width:100%;border-collapse:collapse;font-size:14.5px}
.rs-post>table,.rs-post>figure.wp-block-table{display:block;overflow-x:auto}
.rs-post>div:has(>table){overflow-x:auto}
:is(.rs-post>table,.rs-post>div>table,.rs-post>figure>table) :is(th,td){padding:8px 10px;border:1px solid var(--line);text-align:left;vertical-align:top}
:is(.rs-post>table,.rs-post>div>table,.rs-post>figure>table) th{background:var(--soft);color:var(--ink);font-weight:650}
.rs-post img,.rs-post video,.rs-post iframe{max-width:100%}
.rs-post img{height:auto}
.rs-post .rs-i{display:none}
.rs-post>.ad{margin:28px 0}

/* widget roots: a clean box model and the base type size, whatever surrounds them */
.rs-post>:is([id$="-widget"],[class*="-widget"],[id^="gstc"],.gstc,.rs-calc){font-size:16px;line-height:1.5;max-width:100%}

.rel.one{grid-template-columns:1fr}
@media (min-width:760px){.rs-post>h2{font-size:22px}}
/* 2 Dec 2026 (designer polish, item 9): result values stay on one line; the label column wraps instead. */
.grat-widget .gw-row:not(.gw-rst) .gw-v{white-space:nowrap}
.grat-widget .gw-row .gw-k{min-width:0}
/* 2 Dec 2026 polish pass (FIX-LIST 4, 11): hints at 12.5 px; first table column keeps room for its label */
.grat-widget .gw-card .gw-hint,.grat-widget .gw-tax .gw-hint{font-size:12.5px}
.rs-calc-post table th:first-child,.rs-calc-post table td:first-child{min-width:96px}
