/* Guide tools: the interactive pieces inside long guides (calculators, charts, annotated mockups,
   checklists, state tabs, the wording checker). Loaded only on guides that use them. Every tool has a
   plain HTML version that shows without JavaScript; the script enhances it and adds .gt-on. */

.gt { margin-block: 2.25em; }
.prose .gt p, .prose .gt li { color: var(--label); }
.gt-label { display: block; font-size: var(--fs-sub); font-weight: 600; color: var(--label-2); letter-spacing: .01em; }
.gt-title { font-family: var(--font-display); font-size: var(--fs-title3); font-weight: 600; line-height: 1.2; }
.gt-panel { padding: clamp(1.25rem, 3.5vw, 2rem); border-radius: var(--r-md); background: var(--bg-2); }
.gt-note { font-size: var(--fs-foot); color: var(--label-2); }
.prose .gt-note { color: var(--label-2); }

/* The short answer at the top of a guide */
.gt-answer { padding: clamp(1.25rem, 3.5vw, 2rem); border-radius: var(--r-md); background: var(--bg-2); }
.gt-answer > .gt-label { margin-bottom: .6em; }
.prose .gt-answer ul, .gt-answer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .75em; }
.prose .gt-answer li { padding-left: 0; margin: 0; }
.gt-answer li b { display: block; color: var(--label); }
.gt-answer li span { color: var(--label-2); }

/* Byline */
.article__byline { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: var(--sp-5); color: var(--label-2); font-size: var(--fs-sub); }
.article__byline b { color: var(--label); font-weight: 600; }
.article__byline .byline__mark { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #161514; font: 700 .875rem/1 var(--font); }

/* Segmented choices (chips reused from the site) */
.gt-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.gt-chips .chip { font-size: var(--fs-sub); }

/* Fields */
.gt-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem 1.25rem; margin-top: 1.25rem; }
.gt-field { display: grid; gap: .35rem; min-width: 0; align-content: start; }
.gt-field label { font-size: var(--fs-sub); color: var(--label-2); }
.gt-field input, .gt-field select { width: 100%; min-height: 44px; padding: 0 .85rem; border: 1px solid var(--sep-opaque); border-radius: var(--r-xs); background: var(--field-bg); color: var(--label); font: 500 1rem var(--font); font-variant-numeric: tabular-nums; }
.gt-field input:focus-visible, .gt-field select:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.gt-money { position: relative; }
.gt-money::before { content: "$"; position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: var(--label-3); font-weight: 500; pointer-events: none; }
.gt-money input { padding-left: 1.6rem; }
.gt-scen { margin-top: 1.5rem; }
.gt-scen + .gt-scen { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--sep); }
.gt-scen__head { display: flex; align-items: center; gap: .6rem; }
.gt-swatch { width: 14px; height: 14px; border-radius: 4px; flex: none; }

/* Calculator results */
.gt-calc__out { margin-top: 1.75rem; }
.gt-totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: .75rem; margin-top: 1rem; }
.gt-total { padding: 1rem 1.1rem; border-radius: var(--r-sm); background: var(--bg-elev); }
.gt-total span { display: flex; align-items: center; gap: .5rem; font-size: var(--fs-sub); color: var(--label-2); }
.gt-total b { display: block; margin-top: .3rem; font-family: var(--font-display); font-size: var(--fs-title2); font-weight: 600; font-variant-numeric: tabular-nums; }
.gt-total small { display: block; margin-top: .2rem; font-size: var(--fs-foot); color: var(--label-3); }
.gt-chart { margin-top: 1.25rem; border-radius: var(--r-sm); background: var(--bg-elev); padding: 1rem .75rem .5rem; }
.gt-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.gt-chart text { font: 500 12px var(--font); fill: var(--label-3); font-variant-numeric: tabular-nums; }
.gt-chart .gt-axis { stroke: var(--sep); stroke-width: 1; }
.gt-chart .gt-grid { stroke: var(--sep); stroke-width: 1; stroke-dasharray: 2 4; }
.gt-chart .gt-line { fill: none; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.gt-chart .gt-end { font-weight: 700; font-size: 13px; }
.gt-cross { font-size: var(--fs-body); margin-top: 1rem; }
.gt-yeartable { margin-top: 1rem; }

/* Bar chart */
.gt-bars__rows { display: grid; gap: .9rem; margin-top: 1.25rem; }
.gt-bar { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 3.75rem; align-items: center; gap: .75rem; }
.gt-bar__name { font-weight: 600; font-size: var(--fs-sub); }
.gt-bar__track { display: block; height: 28px; border-radius: 6px; background: var(--fill); overflow: hidden; }
.gt-bar__fill { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--label-3); transition: width .6s var(--ease-out); }
.gt-bar--hi .gt-bar__fill { background: var(--brand); }
.gt-bar__val { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.gt-bars .gt-fallback { margin-top: 1rem; }
.gt-on .gt-fallback { display: none; }

/* Two-column "what moves" grid */
.gt-moves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.gt-moves > div { padding: 1.25rem; border-radius: var(--r-sm); background: var(--bg-2); }
.prose .gt-moves ul, .gt-moves ul { list-style: none; padding: 0; margin: .75rem 0 0; display: grid; gap: .6rem; }
.prose .gt-moves li { margin: 0; padding-left: 1.75rem; position: relative; font-size: var(--fs-body); }
.gt-moves li::before { position: absolute; left: 0; top: .1em; width: 1.25rem; height: 1.25rem; border-radius: 50%; display: grid; place-items: center; font: 700 .75rem/1 var(--font); color: #fff; }
.gt-moves li.y::before { content: "✓"; background: var(--success); }
.gt-moves li.n::before { content: "✕"; background: var(--danger); }
.gt-moves li.m::before { content: "~"; background: var(--label-3); }

/* Annotated mockups */
.gt-mock { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.gt-mock--phone { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); }
.prose .gt-on .gt-notes, .gt-on .gt-notes { display: none; }
.gt-detail { position: sticky; top: calc(var(--nav-h) + 1.5rem); padding: 1.25rem 1.25rem 1rem; border-radius: var(--r-md); background: var(--bg-2); }
.gt-detail__n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #161514; font: 700 14px/1 var(--font); }
.gt-detail__t { display: block; margin-top: .7rem; font-family: var(--font-display); font-size: var(--fs-title3); font-weight: 600; line-height: 1.2; }
.prose .gt-detail__b { margin-top: .5rem; color: var(--label); font-size: var(--fs-body); line-height: 1.55; }
.gt-detail__nav { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: 1rem; padding-top: .85rem; border-top: 1px solid var(--sep); font-size: var(--fs-sub); color: var(--label-2); }
.gt-detail__nav button { min-height: 40px; padding: 0 .9rem; border: 0; border-radius: 999px; background: var(--fill-2); color: var(--label); font: 600 var(--fs-sub) var(--font); cursor: pointer; }
.gt-detail__nav button:hover { background: var(--fill-3); }
.gt-detail__hint { margin-top: .75rem; font-size: var(--fs-foot); color: var(--label-3); }
.gt-frame { position: relative; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--sep), var(--shadow-float); overflow: hidden; font-family: Arial, Helvetica, sans-serif; color: #222; }
.gt-frame__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #ecebe8; border-bottom: 1px solid #dddad5; }
.gt-frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfccc6; }
.gt-frame__bar span { margin-left: 8px; flex: 1; padding: 3px 10px; border-radius: 6px; background: #fff; font: 11px var(--font); color: #77736c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gt-frame--phone { border-radius: 34px; padding: 10px; background: #1c1b19; box-shadow: var(--shadow-float); max-width: 20rem; }
.gt-frame--phone .gt-site { border-radius: 26px; overflow: hidden; }
.gt-site { position: relative; background: #fff; font-size: 13px; line-height: 1.4; }
.gt-site * { box-sizing: border-box; }
.gt-site > div, .gt-site .ms-card, .gt-site .ms-quote, .gt-site .ms-input, .gt-site .ms-ba, .gt-site .ms-rel, .gt-site .ms-table, .gt-site .ms-photo, .gt-site .ms-badge { position: relative; }
.gt-pin { position: absolute; left: var(--x, 92%); top: var(--y, 50%); z-index: 3; width: 28px; height: 28px; margin: -14px 0 0 -14px; border: 2px solid #fff; border-radius: 50%; background: var(--brand); color: #161514; font: 700 13px/1 var(--font); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.25); transition: transform .2s var(--ease-out); }
.gt-pin:hover, .gt-pin[aria-pressed="true"] { transform: scale(1.18); background: #161514; color: var(--brand); }
.prose .gt-notes, .gt-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; counter-reset: none; }
.prose .gt-notes li { margin: 0; padding: .9rem 1rem .9rem 3.1rem; position: relative; border-radius: var(--r-sm); background: var(--bg-2); font-size: var(--fs-body); transition: background-color .2s, box-shadow .2s; }
.gt-notes li::before { content: attr(data-n); position: absolute; left: .9rem; top: .9rem; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #161514; font: 700 13px/26px var(--font); text-align: center; }
.gt-notes li b { display: block; color: var(--label); }
.gt-notes li.is-on { background: var(--bg-elev); box-shadow: 0 0 0 2px var(--label); }

/* Pieces of the mock sites */
.ms-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; border-bottom: 1px solid #eee; }
.ms-logo { font-weight: 700; font-size: 14px; color: #1f4e5f; }
.ms-links { display: flex; gap: 12px; font-size: 11px; color: #555; }
.ms-btn { display: inline-block; padding: 7px 12px; border-radius: 4px; background: #1f4e5f; color: #fff; font-size: 11px; font-weight: 700; }
.ms-hero { padding: 26px 18px 22px; background: linear-gradient(180deg, #e9f1f3, #fff); }
.ms-hero h4, .ms-hero .ms-h4 { margin: 0; font-weight: 600; text-wrap: wrap; font-size: 20px; line-height: 1.15; color: #1b2a30; font-family: Georgia, serif; }
.ms-hero p { margin: 8px 0 12px; font-size: 12px; color: #4b5a60; }
.ms-sec { padding: 16px 18px; border-top: 1px solid #f0f0f0; }
.ms-sec h5, .ms-sec .ms-h5 { margin: 0 0 8px; font-weight: 700; text-wrap: wrap; font-size: 13px; color: #1b2a30; }
.ms-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ms-card { padding: 10px; border-radius: 6px; background: #f5f7f8; font-size: 11px; color: #333; }
.ms-quote { padding: 12px; border-radius: 6px; background: #fff8e8; font-size: 11.5px; font-style: italic; color: #4a3f2a; }
.ms-stars { color: #e3a21a; letter-spacing: 1px; font-style: normal; }
.ms-form { display: grid; gap: 6px; }
.ms-input { padding: 7px 9px; border: 1px solid #d8dde0; border-radius: 4px; font-size: 11px; color: #888; background: #fff; }
.ms-foot { padding: 14px 18px; background: #1b2a30; color: #c9d4d8; font-size: 10.5px; line-height: 1.5; }
.ms-small { font-size: 10.5px; color: #777; }
.ms-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ms-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.ms-ba div { height: 54px; border-radius: 4px; background: #e2dfda; display: grid; place-items: center; font-size: 10px; color: #777; }
.ms-rows { display: grid; font-size: 11px; }
.ms-rows > div { display: flex; justify-content: space-between; gap: 8px; padding: 5px 2px; border-bottom: 1px solid #eee; }
.ms-rows .h { font-weight: 700; }
.ms-rows .ok { color: #1f7a37; font-weight: 700; }
.ms-rows .wl { color: #a35a00; font-weight: 700; }
.ms-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.ms-table th, .ms-table td { padding: 5px 4px; border-bottom: 1px solid #eee; text-align: left; }
.ms-table td.ok { color: #1f7a37; font-weight: 700; }
.ms-table td.wl { color: #a35a00; font-weight: 700; }
.ms-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid #d8dde0; border-radius: 6px; font-size: 10.5px; color: #333; }
.ms-photo { height: 74px; border-radius: 6px; background: linear-gradient(135deg, #d9e7dc, #f1e7d3); display: grid; place-items: center; font-size: 10px; color: #6a6a6a; text-align: center; padding: 6px; }

/* Checklist */
.prose .gt-check ul, .gt-check ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .5rem; }
.prose .gt-check li { margin: 0; padding: 0; }
.gt-check label { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .75rem; padding: .85rem 1rem; border-radius: var(--r-sm); background: var(--bg-elev); cursor: pointer; }
.gt-check input { width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; accent-color: #161514; }
.gt-check input:checked + span { color: var(--label-3); text-decoration: line-through; text-decoration-color: var(--label-3); }
.gt-check span b { display: block; color: var(--label); }
.gt-check input:checked + span b { color: var(--label-3); }
.gt-progress { display: flex; align-items: center; gap: .75rem; margin-top: .75rem; font-size: var(--fs-sub); color: var(--label-2); }
.gt-progress i { flex: 1; height: 6px; border-radius: 3px; background: var(--fill-2); overflow: hidden; }
.gt-progress i::after { content: ""; display: block; height: 100%; width: var(--p, 0%); background: var(--brand); transition: width .35s var(--ease-out); }

/* Tabs (states, ratings) */
.gt-tabs .gt-chips { margin-bottom: 1.25rem; }
.gt-on .gt-tab[hidden] { display: none; }
.gt-tab > h3:first-child { margin-top: 0; }
.gt-tab dl { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: .75rem 1.25rem; margin: 0; }
.gt-tab dt { font-weight: 600; color: var(--label); font-size: var(--fs-body); }
.gt-tab dd { margin: 0; color: var(--label); font-size: var(--fs-body); }
.gt-on .gt-tab > h3.gt-tabname { display: none; }

/* Wording checker */
.gt-lint textarea { width: 100%; min-height: 9rem; margin-top: .75rem; padding: .85rem 1rem; border: 1px solid var(--sep-opaque); border-radius: var(--r-xs); background: var(--field-bg); color: var(--label); font: 1rem/1.5 var(--font); resize: vertical; }
.gt-lint textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.prose .gt-lint__hits, .gt-lint__hits { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; }
.prose .gt-lint__hits li { margin: 0; padding: .85rem 1rem; border-radius: var(--r-sm); background: var(--bg-elev); font-size: var(--fs-body); }
.gt-lint__hits li b { display: block; }
.gt-lint__hits mark { background: #fde3bd; color: #161514; padding: 0 .2em; border-radius: 3px; }
.gt-lint__ok { margin-top: 1rem; font-weight: 600; color: var(--success); }

/* Sort cards (allowed or not) */
.gt-sort__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .75rem; margin-top: 1rem; }
.gt-card { position: relative; display: grid; gap: .5rem; align-content: start; min-height: 8.5rem; padding: 1rem 1.1rem; border: 0; border-radius: var(--r-sm); background: var(--bg-elev); text-align: left; font: inherit; color: var(--label); cursor: pointer; box-shadow: 0 0 0 1px var(--sep); }
.gt-card b { font-size: var(--fs-body); }
.gt-card .gt-verdict { font-size: var(--fs-sub); color: var(--label-2); }
.gt-card .gt-verdict strong { display: inline-block; margin-right: .35rem; padding: .1rem .5rem; border-radius: 999px; font-size: var(--fs-cap); text-transform: uppercase; letter-spacing: .06em; color: #fff; }
.gt-card[data-v="yes"] .gt-verdict strong { background: var(--success); }
.gt-card[data-v="no"] .gt-verdict strong { background: var(--danger); }
.gt-card[data-v="check"] .gt-verdict strong { background: var(--label-3); }
.gt-on .gt-card .gt-verdict { display: none; }
.gt-on .gt-card.is-open .gt-verdict { display: block; }
.gt-on .gt-card:not(.is-open)::after { content: "Tap to check"; align-self: end; font-size: var(--fs-foot); color: var(--label-3); }

/* Decision helper */
.gt-quiz__q { margin-top: 1.25rem; }
.gt-quiz__q p { font-weight: 600; margin: 0 0 .6rem; }
.gt-quiz__result { margin-top: 1.5rem; padding: 1.25rem; border-radius: var(--r-sm); background: var(--bg-elev); box-shadow: 0 0 0 2px var(--label); }
.gt-quiz__result h4 { font-family: var(--font-display); font-size: var(--fs-title3); margin: 0 0 .4rem; }
.gt-quiz__result p { margin: .4rem 0 0; }

/* Ownership layers */
.gt-layers { display: grid; gap: .6rem; }
.gt-layer { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; padding: 1rem 1.15rem; border-radius: var(--r-sm); background: var(--bg-2); align-items: start; }
.gt-layer b { font-family: var(--font-display); font-size: 1.15rem; }
.gt-layer span { font-size: var(--fs-sub); color: var(--label-2); }
.gt-layer span em { display: block; font-style: normal; font-weight: 600; color: var(--label); margin-bottom: .2rem; }

/* Steps (how parents choose) */
.gt-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; counter-reset: s; }
.gt-step { padding: 1.1rem 1.15rem; border-radius: var(--r-sm); background: var(--bg-2); }
.gt-step::before { counter-increment: s; content: "Step " counter(s); display: block; font-size: var(--fs-cap); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--label-3); }
.gt-step b { display: block; margin-top: .35rem; font-family: var(--font-display); font-size: 1.15rem; }
.gt-step span { display: block; margin-top: .35rem; font-size: var(--fs-sub); color: var(--label-2); }
.prose .gt-rank, .gt-rank { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .45rem; }
.prose .gt-rank li { margin: 0; display: grid; grid-template-columns: 2rem minmax(0, 1fr); align-items: center; gap: .5rem; padding: .55rem .9rem; border-radius: var(--r-xs); background: var(--bg-2); }
.gt-rank li b { font-variant-numeric: tabular-nums; color: var(--label-3); }
.gt-rank li.is-you { background: #fde3bd; }

/* Copy button */
.gt-copy { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; padding: 1rem 1.15rem; border-radius: var(--r-sm); background: var(--bg-2); }
.gt-copy code { flex: 1 1 18rem; font: 600 1rem/1.4 var(--font); color: var(--label); }

@media (max-width: 760px) {
  .gt-mock, .gt-mock--phone { grid-template-columns: minmax(0, 1fr); }
  .gt-detail { position: static; }
  .gt-frame--phone { margin-inline: auto; }
  .gt-moves { grid-template-columns: minmax(0, 1fr); }
  .gt-bar { grid-template-columns: 5.75rem minmax(0, 1fr) 3.25rem; gap: .5rem; }
  .gt-layer { grid-template-columns: minmax(0, 1fr); gap: .4rem; }
  .gt-steps { grid-template-columns: minmax(0, 1fr); }
  .gt-tab dl { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .gt-tab dd { margin-bottom: .75rem; }
  .ms-cards { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .gt-bar__fill, .gt-progress i::after, .gt-pin { transition: none; }
}

/* Redirect planner: reuses the lint textarea; the output is a read-only box of lines. */
.gt-redir textarea { width: 100%; min-height: 8rem; margin-top: .75rem; padding: .85rem 1rem; border: 1px solid var(--sep-opaque); border-radius: var(--r-xs); background: var(--field-bg); color: var(--label); font: .95rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; resize: vertical; }
.gt-redir textarea:focus-visible, .gt-redir input:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.gt-redir .gt-redir__out { background: var(--bg-2); min-height: 7rem; }
.gt-redir input[type="text"] { width: 100%; padding: .7rem .9rem; border: 1px solid var(--sep-opaque); border-radius: var(--r-xs); background: var(--field-bg); color: var(--label); font: 1rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* robots.txt checker */
.gt-robots textarea { width: 100%; min-height: 8rem; margin-top: .75rem; padding: .85rem 1rem; border: 1px solid var(--sep-opaque); border-radius: var(--r-xs); background: var(--field-bg); color: var(--label); font: .95rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; resize: vertical; }
.gt-robots textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.gt-robots__out { margin-top: 1rem; }
.gt-robots__table { width: 100%; border-collapse: collapse; font-size: var(--fs-sub); }
.gt-robots__table th { text-align: left; font-weight: 600; color: var(--label-2); padding: .5rem .6rem; border-bottom: 1px solid var(--sep); }
.gt-robots__table td { padding: .6rem; border-bottom: 1px solid var(--sep); vertical-align: top; }
.gt-robots__table small { display: block; color: var(--label-3); }
.gt-robots__table code { font: 600 .9rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.gt-robots--no td:nth-child(2) b { color: var(--danger); }
.gt-robots--part td:nth-child(2) b { color: var(--label-2); }
.gt-robots--ok td:nth-child(2) b { color: var(--success); }
.gt-robots__why { display: block; margin-top: .2rem; color: var(--label-2); }
.gt-robots__table td:first-child { width: 38%; }
.gt-robots .table-wrap { overflow: visible; }
.gt-robots .table-wrap table.gt-robots__table, .gt-robots__table { min-width: 0; width: 100%; table-layout: fixed; }
.gt-robots__table td, .gt-robots__table th { overflow-wrap: anywhere; }
.gt-robots__table code { font-size: .82rem; }

/* Fill-in template: the finished wording, gaps shown until filled */
.gt-fill__out { margin-top: 1.25rem; padding: 1rem 1.15rem; border-radius: var(--r-sm); background: var(--bg-elev); font-size: var(--fs-sub); line-height: 1.55; }
.prose .gt-fill__out p, .gt-fill__out p { margin: 0 0 .6rem; }
.gt-fill__out p:last-child { margin-bottom: 0; }
.gt-fill__gap { padding: 0 .3em; border-radius: 4px; background: #fde3bd; color: #161514; }
