/* Local toolbox only. The approved homepage and shared header stay independent. */
.site-extension.section-tools {
  --paper: oklch(99% .005 82);
  --canvas: oklch(97.4% .008 82);
  --ink: oklch(29% .022 239);
  --muted: oklch(47% .016 239);
  --brand: oklch(41% .072 223);
  --line: oklch(85% .012 82);
  --section-rule: var(--line);
  --ftb-surface: oklch(99.5% .003 82);
  --ftb-field: oklch(99.5% .003 82);
  --ftb-hover: oklch(94.8% .014 82);
  --ftb-current: oklch(93% .024 223);
  --ftb-focus: oklch(48% .11 225);
  background: var(--canvas);
}
.section-tools main { font-size: 15px; }
.section-tools main :is(h1,h2,h3) { font-family: Manrope, sans-serif; }
.section-tools .ftb-layout {
  position: relative;
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
  width: calc(100% - 64px);
  max-width: 1380px;
  padding-block: 32px 64px;
}
.ftb-content, .ftb-workspace-body { min-width: 0; }
.ftb-sidebar { position: sticky; top: 24px; min-width: 0; }
.ftb-tools-nav { max-height: calc(100dvh - 48px); overflow-y: auto; }
.ftb-tools-nav > summary { display: none; }
.ftb-tools-nav:not([open]) > .ftb-sidebar-content { display: block; }
.ftb-sidebar-content { padding: 6px 12px 4px 6px; }
.ftb-skip { position: absolute; left: 0; top: 8px; z-index: 20; background: var(--ftb-surface); color: var(--brand); padding: 12px 16px; border-radius: 6px; transform: translateY(-200%); opacity: 0; pointer-events: none; }
.ftb-skip:focus { transform: translateY(0); opacity: 1; pointer-events: auto; outline: 3px solid var(--ftb-focus); outline-offset: 3px; }
.ftb-sidebar-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0 12px 22px; font-size: 16px; font-weight: 650; letter-spacing: -.02em; }
.ftb-sidebar-title > span { font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: 0; white-space: nowrap; }
.ftb-sidebar nav a { display: flex; align-items: center; min-height: 44px; padding: 11px 12px; border-radius: 7px; color: var(--ink); text-decoration: none; font-size: 14px; line-height: 1.45; transition: background .16s ease-out, color .16s ease-out; }
.ftb-sidebar nav a:hover { background: var(--ftb-hover); color: var(--brand); }
.ftb-sidebar nav a[aria-current="page"] { background: var(--ftb-current); color: var(--brand); font-weight: 700; }
.ftb-nav-group { margin-top: 25px; }
.section-tools .ftb-nav-group h2 { margin: 0 12px 8px; color: var(--muted); font-size: 12px; line-height: 1.5; font-weight: 600; letter-spacing: 0; }
.ftb-nav-group ul { list-style: none; margin: 0; padding: 0; }
.ftb-nav-group li + li { margin-top: 2px; }
.ftb-sidebar-help { margin: 28px 12px 0; padding-top: 0; }
.ftb-sidebar-help p { color: var(--muted); font-size: 12px; line-height: 1.7; max-width: 26ch; margin: 0 0 10px; }
.ftb-sidebar-help a { display: inline-block; color: var(--brand); font-size: 13px; line-height: 1.6; text-underline-offset: 4px; }
.ftb-directory-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-bottom: 27px; }
.section-tools .ftb-directory-heading h1 { font-size: 36px; line-height: 1.2; font-weight: 650; letter-spacing: -.04em; }
.ftb-directory-heading p { font-size: 16px; color: var(--muted); margin-top: 12px; line-height: 1.7; }
.ftb-free { font-size: 13px; color: var(--muted); padding-bottom: 5px; white-space: nowrap; }
.ftb-controls { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-bottom: 16px; }
.ftb-search { position: relative; display: flex; align-items: center; width: min(100%, 500px); }
.ftb-search input { font-family: inherit; width: 100%; height: 48px; padding: 12px 15px 12px 42px; border: 1px solid oklch(69% .018 82); border-radius: 7px; color: var(--ink); background: var(--ftb-surface); font-size: 15px; transition: border-color .16s ease-out; }
.ftb-search input:hover { border-color: var(--muted); }
.ftb-search input::placeholder { color: var(--muted); opacity: 1; }
.ftb-search-icon { position: absolute; left: 17px; width: 14px; height: 14px; border: 1.5px solid var(--muted); border-radius: 50%; pointer-events: none; z-index: 1; }
.ftb-search-icon::after { content: ''; position: absolute; width: 6px; height: 1.5px; background: var(--muted); right: -4px; bottom: -2px; transform: rotate(45deg); }
.ftb-tool-count { font-size: 13px; color: var(--muted); white-space: nowrap; }
.ftb-group { padding-top: 30px; scroll-margin-top: 24px; }
.ftb-group > header { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 12px; }
.section-tools .ftb-group h2 { font-size: 21px; line-height: 1.35; font-weight: 650; letter-spacing: -.025em; }
.ftb-group > header p { font-size: 13px; line-height: 1.6; color: var(--muted); }
.ftb-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; padding: 18px 0 24px; align-items: center; }
.section-tools .ftb-feature h3 { font-size: 25px; line-height: 1.28; letter-spacing: -.035em; font-weight: 650; }
.ftb-tool-copy h3 a { color: var(--ink); text-decoration: none; }
.ftb-tool-copy h3 a:hover { color:var(--brand); }
.ftb-tool-copy p { font-size: 15px; line-height: 1.75; color: var(--muted); max-width: 47ch; margin: 10px 0 0; }
.ftb-open { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; background: var(--brand); border: 1px solid var(--brand); color: oklch(99% .006 223); text-decoration: none; border-radius: 7px; font-size: 14px; font-weight: 650; padding: 10px 15px; margin-top: 20px; transition: background .16s ease-out, border-color .16s ease-out; }
.ftb-open:hover { background: oklch(35% .063 223); border-color: oklch(35% .063 223); color: oklch(99% .006 223); }
.ftb-preview { margin: 0; padding: 23px; background: oklch(95.6% .021 82); border-radius: 8px; min-width: 0; }
.ftb-preview figcaption { font-size: 13px; font-weight: 650; margin-bottom: 19px; line-height: 1.6; color: var(--ink); }
.ftb-preview p { font-size: 12px; line-height: 1.7; color: var(--muted); margin-top: 17px; max-width: 65ch; }
.ftb-cost-bars { display: grid; gap: 13px; }
.ftb-cost-row { display: grid; grid-template-columns: 72px minmax(35px, 1fr) 72px; gap: 10px; align-items: center; font-size: 12px; }
.ftb-cost-row > span { color: var(--muted); }
.ftb-cost-row strong { text-align: right; font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; }
.ftb-bar-track { height: 10px; background: oklch(89% .024 82); border-radius: 3px; overflow: hidden; }
.ftb-bar-track > span { display: block; height: 100%; background: oklch(64% .045 71); border-radius: 3px; }
.ftb-bar-track > .ftb-lowest { background: oklch(45% .08 225); }
.ftb-planning-preview { background: oklch(95.6% .012 243); }
.ftb-time-cash { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.ftb-time-cash div { min-width: 0; flex: 1; }
.ftb-time-cash span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.ftb-time-cash strong { font-size: 18px; font-weight: 650; line-height: 1.3; }
.ftb-time-cash b { font-size: 25px; font-weight: 400; color: var(--muted); }
.ftb-supplier-preview { background: oklch(95.6% .014 16); }
.ftb-utility-list { display: block; }
.ftb-tool-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0; min-width: 0; }
.section-tools .ftb-tool-row h3 { font-size: 18px; line-height: 1.4; font-weight: 650; letter-spacing: -.02em; }
.ftb-tool-row p { font-size: 14px; line-height: 1.75; margin-top: 6px; max-width: 57ch; }
.ftb-directory [data-directory-empty] { font-size: 15px; margin: 30px 0; }
.ftb-directory-end { display: flex; align-items: start; justify-content: space-between; gap: 22px; font-size: 13px; line-height: 1.7; color: var(--muted); margin-top: 30px; }
.ftb-directory-end p { margin: 0; }
.ftb-directory-end a { color: var(--brand); text-underline-offset: 4px; }
.ftb-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.section-tools :is(.ftb-search input,.ftb-open,.ftb-tool-copy h3 a,.ftb-sidebar a,.ftb-tools-nav summary,.ftb-breadcrumb a):focus-visible { outline: 3px solid var(--ftb-focus); outline-offset: 3px; }
/* Compact title and calculator body share one working column. */
.ftb-workspace-heading { padding: 1px 0 26px; margin-bottom: 28px; border-bottom: 1px solid var(--section-rule); }
.ftb-breadcrumb { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; font-size: 13px; line-height: 1.6; color: var(--muted); margin-bottom: 17px; }
.ftb-breadcrumb a { color: var(--brand); text-underline-offset: 4px; }
.section-tools .ftb-workspace-heading h1 { font-size: 29px; line-height: 1.3; letter-spacing: -.035em; font-weight: 650; max-width: 45ch; }
.ftb-workspace-heading > p { font-size: 15px; line-height: 1.75; color: var(--muted); max-width: 70ch; margin-top: 10px; }
.section-tools .ftb-workspace-body .page-body { padding: 0; background: transparent; }
.section-tools .ftb-workspace-body .wrap { width: 100%; max-width: none; margin: 0; }
/* No outer calculator card. Inputs and output are the meaningful groups. */
.section-tools :is(.bt-tool,.qt-tool) { background: transparent; border: 0; border-radius: 0; padding: 0; }
.section-tools .bt-workspace { grid-template-columns: minmax(0,1.04fr) minmax(0,1fr); gap: 32px; align-items: start; }
.section-tools .bt-form-heading { align-items: baseline; gap: 15px; margin-bottom: 24px; }
.section-tools .bt-form-heading h2 { font-size: 21px; line-height: 1.4; font-weight: 650; }
.section-tools .bt-form-heading > span { max-width: 27ch; font-size: 12px; line-height: 1.65; color: var(--muted); }
.section-tools .bt-fields { gap: 24px 20px; }
.site-extension.section-tools .bt-field label { font-size: 14px; line-height: 1.55; font-weight: 600; margin-bottom: 9px; }
.site-extension.section-tools .bt-field :is(input,select,textarea) { background: var(--ftb-field); border: 1px solid oklch(69% .018 82); border-radius: 6px; min-height: 46px; padding: 11px 12px; font-size: 15px; color: var(--ink); transition: border-color .16s ease-out; }
.site-extension.section-tools .bt-field :is(input,select,textarea):hover { border-color: var(--muted); }
.site-extension.section-tools .bt-field :is(input,select,textarea)::placeholder { color: var(--muted); opacity: 1; }
.site-extension.section-tools .bt-field :is(input,select,textarea)[aria-invalid="true"] { border-color: oklch(48% .13 25); }
.site-extension.section-tools .bt-field small { font-size: 12px; line-height: 1.7; max-width: 42ch; color: var(--muted); margin-top: 8px; }
.section-tools :is(.bt-tool,.qt-tool) :is(input,select,textarea,button,a,summary,[tabindex]):focus-visible { outline: 3px solid var(--ftb-focus); outline-offset: 3px; }
.site-extension.section-tools .bt-result { background: var(--ftb-surface); border: 1px solid var(--section-rule); border-radius: 8px; padding: 25px!important; }
.site-extension.section-tools .bt-result:has(.bt-errors) { background: oklch(95.7% .016 25); }
.section-tools .bt-result-eyebrow { font-size: 11px; line-height: 1.55; color: var(--muted); letter-spacing: .035em; margin-bottom: 13px; }
.site-extension.section-tools .bt-tool .bt-result-title { font-size: 25px; line-height: 1.35; color: var(--ink); font-weight: 600; margin-bottom: 23px; }
.site-extension.section-tools .bt-metrics dt { font-size: 14px; line-height: 1.65; }
.site-extension.section-tools .bt-metrics dd { font-size: 19px; line-height: 1.5; font-weight: 650; color: var(--ink); }
.section-tools .bt-metrics > div { padding: 14px 0; border-color: oklch(83% .02 82); }
.section-tools .bt-checks > div { font-size: 13px; line-height: 1.7; border-color: oklch(83% .02 82); }
.section-tools .bt-checks small { font-size: 12px; line-height: 1.65; }
.section-tools .bt-checks .bt-row-review strong { color: oklch(41% .1 66); }
.section-tools .bt-checks .bt-row-pass strong { color: oklch(39% .07 167); }
.site-extension.section-tools .bt-result-notes { font-size: 12px; line-height: 1.85; color: var(--muted); margin-top: 25px; }
.section-tools .bt-result-notes li + li { margin-top: 12px; }
.section-tools .bt-result .bt-errors { font-size: 14px; line-height: 1.8; }
.section-tools .bt-result .bt-errors a { color: oklch(41% .1 25); text-underline-offset: 3px; }
.section-tools .bt-method { gap: 35px; margin-top: 34px; padding-top: 26px; border-color: var(--section-rule); }
.section-tools .bt-method h2 { font-size: 19px; font-weight: 650; }
.section-tools .bt-method p { font-size: 13px; line-height: 1.85; max-width: 75ch; }
.section-tools .bt-method a { font-size: 13px; line-height: 1.8; }
.section-tools .bt-method .text-link::after { display: none; }
.section-tools .bt-actions { gap: 10px; flex-wrap: wrap; padding-top: 0; margin-top: 25px; border:0; }
.site-extension.section-tools .button.secondary.small { font-size: 13px; min-height: 44px; border: 1px solid oklch(65% .02 223); padding: 10px 14px; border-radius: 6px; background: var(--ftb-surface); color: var(--brand); }
.site-extension.section-tools .button.secondary.small:hover { background: var(--ftb-current); transform: none; box-shadow: none; }
.section-tools .bt-text-button { background: transparent; min-height: 44px; padding: 10px 12px; border-radius: 6px; font-size: 13px; color: var(--muted); text-decoration:none; }
.section-tools .bt-text-button:hover { background: var(--ftb-hover); color: var(--ink); }
.section-tools :is(.bt-tool,.qt-tool) button:disabled { cursor: not-allowed; opacity: .5; }
/* Decision tools use the same output group, including their copy controls. */
.section-tools .dt-tool .bt-workspace > div { border: 1px solid var(--section-rule); border-radius: 8px; background: var(--ftb-surface); padding: 25px!important; }
.section-tools .dt-tool .bt-result { padding: 0!important; border:0; background: transparent; }
.section-tools .dt-tool .bt-workspace > div:has(.bt-errors) { background: oklch(95.7% .016 25); }
.section-tools .dt-fieldset { margin-bottom: 29px; }
.section-tools .dt-fieldset legend { font-size: 14px; line-height: 1.5; font-weight: 650; color: var(--ink); margin-bottom: 17px; }
.section-tools .dt-fieldset + .dt-fieldset { padding-top: 0; border:0; }
.site-extension.section-tools .dt-score-table { font-size: 13px; line-height: 1.6; }
.section-tools .dt-score-table thead th { font-size: 12px; font-weight: 600; }
.section-tools .dt-score-table small { font-size: 12px; line-height: 1.7; }
.section-tools .dt-tool :is(.dt-subject,.dt-email-body) { background: var(--ftb-surface); border: 1px solid oklch(69% .018 82); border-radius: 6px; font-size: 14px; line-height: 1.8; padding: 13px 14px; }
.section-tools .dt-output-label { font-size: 14px; line-height: 1.5; }
.section-tools :is(.dt-output-note,.dt-copy-feedback) { font-size: 12px; line-height: 1.8; }
.section-tools .dt-export-actions { gap: 10px; margin-top: 18px; }
/* Editable quote matrix keeps strong row labels and a usable scroll region. */
.section-tools .qt-tool { --qt-paper: var(--ftb-surface); --qt-soft: oklch(95.7% .016 82); --qt-line: var(--section-rule); --qt-ink: var(--ink); --qt-muted: var(--muted); --qt-accent: var(--brand); font-size: 15px; }
.section-tools .qt-tool :is(input,select) { border-color: oklch(69% .018 82); border-radius: 6px; background: var(--ftb-field); font-size: 14px; min-height: 44px; }
.section-tools .qt-tool :is(input,select)[aria-invalid="true"] { border-color: oklch(48% .13 25); }
.section-tools .qt-request label { font-size: 14px; line-height: 1.5; }
.section-tools .qt-request { gap: 22px; grid-template-columns: minmax(0,1fr) 165px 110px; padding-bottom: 20px; }
.section-tools .qt-toolbar { padding: 15px 0 10px; margin-bottom: 14px; gap: 15px; }
.section-tools .qt-toolbar-actions { gap: 9px; }
.section-tools .qt-text-button { background: transparent; font-size: 13px!important; border-radius: 6px; min-height: 44px; padding: 10px 12px; }
.section-tools .qt-text-button:hover { background: var(--ftb-hover); }
.section-tools .qt-draft { font-size: 12px; line-height: 1.7; }
.section-tools .qt-scroll-hint { display: block; font-size: 12px; line-height: 1.7; margin: 0 0 10px; }
.section-tools .qt-table { font-size: 14px; }
.section-tools .qt-table th, .section-tools .qt-table td { padding: 12px 14px; }
.section-tools .qt-table thead th { background: var(--qt-soft); padding-block: 18px; }
.section-tools .qt-table .qt-name-input { background: transparent; font-size: 17px; font-weight: 650; }
.section-tools .qt-table tbody th { font-size: 13px; line-height: 1.55; }
.section-tools .qt-table tbody th small { font-size: 12px; line-height: 1.6; }
.section-tools .qt-supplier-top > span { font-size: 11px; letter-spacing: .025em; }
.section-tools .qt-remove { font-size: 12px!important; min-height: 36px; padding: 8px 7px; border-radius: 5px; }
.section-tools .qt-remove:hover { background: var(--ftb-surface); }
.section-tools .qt-supplier-status { font-size: 12px; line-height: 1.6; }
.section-tools .qt-output-row td { font-size: 14px; }
.section-tools .qt-total-row td { font-size: 20px; }
.section-tools :is(.qt-review-row li,.qt-complete-note) { font-size: 12px; line-height: 1.75; }
.section-tools .qt-result { padding: 26px 0 23px; gap: 24px; }
.section-tools .qt-result h3 { font-size: 22px; line-height: 1.4; font-weight: 650; }
.section-tools .qt-result p:last-child { font-size: 13px; line-height: 1.8; }
.section-tools .qt-result-kicker { font-size: 11px; line-height: 1.6; letter-spacing: .035em; }
.section-tools .qt-method { font-size: 13px; border-color: var(--section-rule); }
.section-tools .qt-method summary { min-height: 44px; padding-block: 12px; }
.section-tools .qt-method p { font-size: 13px; line-height: 1.85; }
.section-tools .tool-explainer { padding-top: 30px; gap: 35px; margin-top: 18px; }
.section-tools .tool-explainer h2 { font-size: 19px; line-height: 1.4; font-weight: 650; }
.section-tools .tool-explainer p { font-size: 13px; line-height: 1.85; max-width: 70ch; }
.section-tools .tool-explainer a { font-size: 13px; line-height: 1.7; }
@media (max-width: 1200px) {
  .section-tools .ftb-layout { grid-template-columns: 226px minmax(0,1fr); gap: 28px; }
  .section-tools .bt-workspace { grid-template-columns: 1fr; gap: 30px; }
  .section-tools .bt-result, .section-tools .dt-tool .bt-workspace > div { position: static; max-height: none; overflow: visible; }
  .ftb-group > header { align-items: start; flex-direction: column; gap: 5px; }
  .ftb-feature { grid-template-columns: 1fr; gap: 24px; }
  .ftb-preview { max-width: 560px; }
  .section-tools .bt-method { flex-direction: column; gap: 18px; }
  .section-tools .bt-method .text-link { flex: auto; }
  .section-tools .qt-request { grid-template-columns: minmax(0,1fr) 125px; }
  .section-tools .qt-item-field { grid-column: 1 / -1; }
  .section-tools .qt-result { flex-direction: column; align-items: start; gap: 18px; }
}
@media (max-width: 960px) {
  .section-tools .ftb-layout { grid-template-columns: 1fr; gap: 26px; width: calc(100% - 48px); padding-top: 24px; }
  .ftb-sidebar { position: static; }
  .ftb-tools-nav { max-height: none; overflow: visible; border: 1px solid var(--section-rule); border-radius: 8px; background: var(--paper); }
  .ftb-tools-nav > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 50px; padding: 13px 16px; font-size: 14px; font-weight: 650; line-height: 1.5; cursor: pointer; list-style: none; }
  .ftb-tools-nav > summary::-webkit-details-marker { display: none; }
  .ftb-tools-nav > summary::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: -4px 2px 0 0; flex-shrink: 0; }
  .ftb-tools-nav[open] > summary::after { transform: rotate(225deg); margin-top: 4px; }
  .ftb-nav-current { color: var(--muted); font-weight: 400; margin-left: auto; }
  .ftb-tools-nav:not([open]) > .ftb-sidebar-content { display: none; }
  .ftb-sidebar-content { padding: 12px 16px 22px; border-top: 1px solid var(--section-rule); }
  .ftb-sidebar-title { display: none; }
  .ftb-sidebar nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 14px; align-items: start; }
  .ftb-all-tools { grid-column: 1 / -1; margin-bottom: 10px; }
  .ftb-nav-group { margin-top: 12px; }
  .ftb-sidebar-help { margin-top: 22px; padding-top: 16px; display: flex; gap: 20px; align-items: baseline; justify-content: space-between; }
  .ftb-sidebar-help p { max-width: none; margin: 0; }
  .ftb-directory-heading { padding-bottom: 23px; }
  .section-tools .ftb-directory-heading h1 { font-size: 32px; }
  .ftb-feature { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; }
  .ftb-workspace-heading { margin-bottom: 25px; padding-bottom: 24px; }
  .section-tools .ftb-workspace-heading h1 { font-size: 27px; }
}
@media (max-width: 650px) {
  .section-tools .ftb-layout { width: calc(100% - 36px); padding-block: 18px 45px; gap: 22px; }
  .ftb-sidebar nav { grid-template-columns: 1fr; }
  .ftb-sidebar-help { flex-direction: column; gap: 10px; }
  .ftb-nav-current { max-width: 23ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ftb-directory-heading { align-items: start; flex-direction: column; gap: 10px; }
  .ftb-directory-heading p { font-size: 15px; }
  .ftb-free { padding: 0; }
  .ftb-controls { gap: 12px; }
  .ftb-search input { font-size: 14px; padding-right: 10px; }
  .ftb-tool-count { font-size: 12px; }
  .ftb-feature { grid-template-columns: 1fr; gap: 23px; }
  .section-tools .ftb-feature h3 { font-size: 23px; }
  .ftb-preview { padding: 20px; }
  .ftb-tool-row { align-items: start; flex-direction: column; gap: 14px; }
  .ftb-directory-end { flex-direction: column; gap: 12px; }
  .section-tools .bt-fields { grid-template-columns: 1fr; gap: 23px; }
  .section-tools .bt-form-heading { align-items: start; flex-direction: column; gap: 7px; }
  .section-tools .bt-form-heading > span { max-width: none; text-align: left; }
  .site-extension.section-tools .bt-result, .section-tools .dt-tool .bt-workspace > div { padding: 20px!important; }
  .site-extension.section-tools .dt-tool .bt-result { padding: 0!important; }
  .site-extension.section-tools .bt-tool .bt-result-title { font-size: 23px; }
  .site-extension.section-tools .bt-metrics dd { font-size: 18px; }
  .section-tools .bt-metrics > div { grid-template-columns: minmax(0,1fr) minmax(95px,.7fr); gap: 14px; }
  .section-tools .tool-explainer { display: block; }
  .section-tools .tool-explainer > div + div { margin-top: 27px; }
  .section-tools .qt-request { gap: 20px; }
  .section-tools .qt-table thead th:first-child, .section-tools .qt-table tbody th { width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .section-tools :is(.ftb-sidebar a,.ftb-search input,.ftb-open,.bt-field input,.bt-field select,.bt-field textarea) { transition: none; }
}
@media print {
  .ftb-sidebar { display: none; }
  .section-tools .ftb-layout { display: block; width: 100%; padding: 0; }
  .section-tools .bt-workspace { grid-template-columns: 1fr; }
  .section-tools .ftb-workspace-heading { padding-top: 0; }
  .section-tools .qt-table-scroll { overflow: visible; }
}

/* Tighten the working introduction and use recorded evidence in the directory. */
.section-tools .bt-tool-intro { display:block; padding:0; border:0; margin-bottom:23px; }
.section-tools .bt-tool-intro p { font-size:13px; line-height:1.7; max-width:80ch; color:var(--muted); }
.section-tools .bt-tool-intro>span { display:none; }
.ftb-observations { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.ftb-observations>div { min-width:0; }
.ftb-observations>div>span:first-child { display:block; font-size:12px; color:var(--muted); margin-bottom:8px; }
.ftb-observations strong { font-size:25px; font-weight:650; line-height:1.4; color:var(--ink); font-variant-numeric:tabular-nums; }
.ftb-observations strong small { font-size:13px; color:var(--muted); font-weight:450; }
.ftb-observation-weight { display:block; margin-top:8px; font-size:11px; color:var(--muted); }

/* Tactile directory graphics are quiet at rest and contain no lettering. */
.ftb-tactile { display:block; overflow:visible; }
.ftb-preview-top { display:flex; align-items:center; gap:15px; }
.ftb-preview-top>span { font-size:14px; font-weight:650; }
.ftb-preview-top small { display:block; font-size:12px; font-weight:450; color:var(--muted); margin-top:5px; }
.ftb-paper-stack { width:83px; height:66px; flex-shrink:0; }
.ftb-art-shadow { fill:oklch(29% .025 239 / .1); }
.ftb-art-edge { fill:oklch(84% .019 225); }
.ftb-art-paper { fill:oklch(99.7% .003 82); stroke:oklch(79% .02 225); stroke-width:1; }
.ftb-art-lines { fill:none; stroke:oklch(58% .035 225); stroke-width:2; stroke-linecap:round; }
.ftb-art-fold { fill:oklch(89% .043 225); }
.ftb-capacity-objects { width:100%; max-width:300px; height:76px; margin:0 auto 10px; }
.ftb-clock-edge { fill:oklch(54% .085 225); }
.ftb-clock-face { fill:oklch(94% .023 225); stroke:oklch(64% .062 225); stroke-width:1.5; }
.ftb-clock-hands { fill:none; stroke:oklch(39% .067 225); stroke-width:2; stroke-linecap:round; }
.ftb-clock-center { fill:oklch(39% .067 225); }
.ftb-coin-side { fill:oklch(71% .064 80); stroke:oklch(60% .07 80); stroke-width:1; }
.ftb-coin-top { fill:oklch(88% .068 80); stroke:oklch(60% .07 80); stroke-width:1; }
.ftb-coin-inset { fill:none; stroke:oklch(70% .056 80); stroke-width:1; }
.ftb-planning-preview .ftb-time-cash>div { text-align:center; }
.ftb-evidence-columns { display:block; width:100%; height:auto; margin:-3px 0 8px; }
.ftb-columns-ground { fill:none; stroke:oklch(79% .017 16); stroke-width:1; }
.ftb-column-front { fill:oklch(54% .07 16); }
.ftb-column-side { fill:oklch(44% .06 16); }
.ftb-column-top { fill:oklch(71% .063 16); }
.ftb-supplier-preview figcaption { margin-bottom:13px; }
@media (prefers-reduced-motion:no-preference) {
  .ftb-art-front,.ftb-art-back { transition:transform 200ms cubic-bezier(.16,1,.3,1); transform-origin:50% 60%; }
  .ftb-feature:has(.ftb-open:hover,.ftb-tool-copy h3 a:hover,.ftb-open:focus-visible) .ftb-art-front { transform:translate(-2px,-2px) rotate(-2deg); }
  .ftb-feature:has(.ftb-open:hover,.ftb-tool-copy h3 a:hover,.ftb-open:focus-visible) .ftb-art-back { transform:translate(2px,-2px) rotate(2deg); }
}

/* One tool link per directory row; whitespace and hover communicate the grouping. */
.ftb-utility-list .ftb-tool-copy { width:100%; }
.ftb-utility-list h3>a { display:flex; flex:1; min-width:0; align-items:center; gap:12px; min-height:52px; padding:13px 12px; margin-inline:-12px; border-radius:6px; transition:background 160ms ease-out,color 160ms ease-out; }
.ftb-utility-list h3>a:hover { background:var(--ftb-hover); }
.ftb-utility-list h3 { width:100%; }
.section-tools .ftb-breadcrumb a { text-decoration:none; }
.section-tools .ftb-breadcrumb a:hover { color:var(--ink); }
.section-tools .bt-method .text-link { display:inline-flex; align-items:center; align-self:start; gap:6px; min-height:44px; padding:8px 12px; margin-inline:-12px; border:0; border-radius:6px; text-decoration:none; }
.section-tools .bt-method .text-link:hover { background:var(--ftb-hover); }
.section-tools .qt-text-button { text-decoration:none; }
.section-tools .bt-method .text-link:focus-visible { outline:3px solid var(--ftb-focus); outline-offset:2px; }
