/* TalkEstimate free tools + guides. Same tokens, type and nav as the home page (index.html);
   the tools add a worksheet look: ruled result rows, tabular figures, one clear total. */
:root {
  --blue: #1D4ED8; --blue-dark: #1E40AF; --blue-soft: #EFF6FF;
  --ink: #101828; --muted: #475467; --border: #E4E7EC;
  --surface: #F8FAFC; --green: #15803D; --amber: #B45309; --red: #B91C1C;
  --paper: #FFFDF7; --rule: #E9E4D6;
  --radius: 16px;
  /* cost-bar segments: distinguishable without color too (each has a label in the legend) */
  --c-mat: #1D4ED8; --c-lab: #60A5FA; --c-oth: #94A3B8; --c-oh: #F59E0B; --c-pro: #15803D;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: var(--ink); line-height: 1.55; background: #fff; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 420px) { .wrap { padding: 0 16px; } }
a { color: var(--blue); }
:focus-visible { outline: 3px solid #93C5FD; outline-offset: 2px; border-radius: 6px; }
.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; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 20; }
.skip:focus { left: 8px; }

/* Nav (same as the home page) */
nav.top { position: sticky; top: 0; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); z-index: 10; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.logo { font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; display: flex; align-items: center; }
.logo em { color: var(--blue); font-style: normal; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; display: block; margin-right: 9px; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.nav-links a[aria-current] { box-shadow: inset 0 -2px 0 var(--blue); padding-bottom: 2px; }
.btn { display: inline-block; background: var(--blue); color: #fff; font-weight: 800; text-decoration: none; padding: 12px 22px; border-radius: 12px; font-size: 15px; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--blue-dark); }
.nav-links a.btn, .nav-links a.btn:hover { color: #fff; box-shadow: none; }
.btn.ghost { background: #fff; color: var(--blue); border: 2px solid var(--blue); padding: 10px 18px; }
.btn.ghost:hover { background: var(--blue-soft); }
.lang-toggle { display: flex; border: 2px solid var(--border); border-radius: 10px; overflow: hidden; }
.lang-toggle a.lt { padding: 7px 12px; font-weight: 800; font-size: 13px; color: var(--muted); text-decoration: none; box-shadow: none; }
.lang-toggle a.lt.on { background: var(--blue); color: #fff; }
@media (max-width: 480px) { .nav-links a.btn { display: none; } }
@media (max-width: 760px) { .nav-links a.hide-sm { display: none; } .logo-word { display: none; } .logo-mark { margin-right: 0; } .nav-links { gap: 12px; } .nav-links a.btn { padding: 10px 14px; font-size: 14px; } }

/* Page head */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--blue); }
.crumbs span[aria-hidden] { margin: 0 6px; }
.page-head { padding: 18px 0 26px; }
.page-head .kicker { display: inline-block; background: var(--ink); color: #4ADE80; font-weight: 800; font-size: 12px; letter-spacing: 1.4px; padding: 6px 12px; border-radius: 20px; margin-bottom: 14px; }
.page-head h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; line-height: 1.1; letter-spacing: -0.8px; max-width: 820px; }
.page-head .sub { font-size: 18px; color: var(--muted); margin-top: 12px; max-width: 700px; }
.assure { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--ink); }
.assure span::before { content: "✓ "; color: var(--green); font-weight: 800; }

/* Calculator layout */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: 0 2px 10px rgba(16,24,40,.05); }
@media (max-width: 420px) { .panel { padding: 18px 16px; } }
.panel h2 { font-size: 17px; font-weight: 800; letter-spacing: 0; }
.step-label { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; margin: 22px 0 10px; }
.step-label:first-child { margin-top: 0; }
.step-label b { width: 24px; height: 24px; border-radius: 12px; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; letter-spacing: 0; }

/* Segmented control (two radio buttons) */
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 4px; gap: 4px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { text-align: center; padding: 11px 8px; border-radius: 9px; font-weight: 700; font-size: 15px; color: var(--muted); cursor: pointer; min-height: 44px; display: flex; flex-direction: column; justify-content: center; line-height: 1.25; }
.seg label small { font-weight: 600; font-size: 12px; color: inherit; opacity: .85; }
.seg input:checked + label { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(16,24,40,.12); }
.seg input:focus-visible + label { outline: 3px solid #93C5FD; outline-offset: 1px; }

/* Fields */
.field { display: grid; gap: 6px; margin-top: 12px; }
.field > label, .field > .flabel { font-weight: 700; font-size: 15px; }
.field .hint { color: var(--muted); font-size: 13px; font-weight: 500; }
.money, .pct, .num { position: relative; display: flex; align-items: center; }
.money::before { content: "$"; position: absolute; left: 14px; color: var(--muted); font-weight: 700; pointer-events: none; }
.pct::after { content: "%"; position: absolute; right: 14px; color: var(--muted); font-weight: 700; pointer-events: none; }
.field input[type=text], .field select { width: 100%; font: inherit; font-size: 18px; font-variant-numeric: tabular-nums; padding: 12px 14px; min-height: 48px; border: 2px solid var(--border); border-radius: 12px; background: #fff; color: var(--ink); }
.money input { padding-left: 28px !important; }
.pct input { padding-right: 34px !important; }
.field input:focus, .field select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(29,78,216,.15); }
.field input[aria-invalid=true] { border-color: var(--red); background: #FEF2F2; }
.field .err { color: var(--red); font-size: 14px; font-weight: 600; }
.field .err:empty { display: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
@media (max-width: 380px) { .row3 { grid-template-columns: 1fr 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips button { font: inherit; font-size: 14px; font-weight: 700; min-width: 52px; min-height: 40px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--border); background: #fff; color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums; }
.chips button:hover { border-color: var(--blue); color: var(--blue); }
.chips button[aria-pressed=true] { background: var(--blue-soft); border-color: var(--blue); color: var(--blue); }
.linkish { background: none; border: 0; padding: 6px 0; font: inherit; font-size: 14px; font-weight: 700; color: var(--blue); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
details.more { margin-top: 14px; border: 1px dashed var(--border); border-radius: 12px; padding: 4px 14px; }
details.more[open] { padding-bottom: 14px; }
details.more summary { cursor: pointer; font-weight: 700; padding: 10px 0; min-height: 44px; display: flex; align-items: center; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }

/* Result worksheet */
.result { position: sticky; top: 84px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; box-shadow: 0 10px 30px rgba(16,24,40,.08); }
@media (max-width: 900px) { .result { position: static; } }
@media (max-width: 420px) { .result { padding: 18px 16px; } }
.result .r-label { font-size: 13px; font-weight: 800; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }
.result .r-price { font-size: clamp(40px, 7vw, 56px); font-weight: 800; letter-spacing: -1px; line-height: 1.05; margin-top: 4px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.result .r-price.dim { color: #98A2B3; }
.result .r-sub { color: var(--muted); font-size: 15px; margin-top: 6px; }
.bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; margin: 18px 0 8px; background: var(--rule); }
.bar span { display: block; height: 100%; transition: width .25s ease; }
@media (prefers-reduced-motion: reduce) { .bar span { transition: none; } html { scroll-behavior: auto; } }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: 0; }
.sheet { margin-top: 16px; border-top: 2px solid var(--ink); }
.sheet .ln { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.sheet .ln b, .sheet .ln .v { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; }
.sheet .ln .k small { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
.sheet .ln.key { font-size: 17px; }
.sheet .ln.key .v { color: var(--green); font-weight: 800; }
.sheet .ln.neg .v { color: var(--red); }
.callout { margin-top: 16px; background: #fff; border-left: 4px solid var(--blue); border-radius: 10px; padding: 12px 14px; font-size: 15px; }
.callout b { font-variant-numeric: tabular-nums; }
.warns { list-style: none; padding: 0; margin-top: 12px; display: grid; gap: 8px; }
.warns li { background: #FFFBEB; border: 1px solid #FDE68A; color: #78350F; border-radius: 10px; padding: 10px 12px; font-size: 14px; font-weight: 600; }
.warns li.bad { background: #FEF2F2; border-color: #FECACA; color: var(--red); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.actions .btn { padding: 11px 16px; font-size: 15px; min-height: 44px; }
.fine { color: var(--muted); font-size: 13px; margin-top: 14px; line-height: 1.5; }
.toast { min-height: 20px; color: var(--green); font-weight: 700; font-size: 14px; margin-top: 8px; }

/* Phones: the live price follows you while you type (hidden once the full result is on screen) */
.pricebar { display: none; }
@media (max-width: 900px) {
  html { scroll-padding-bottom: 96px; }
  .pricebar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 15; display: flex; justify-content: space-between; align-items: center; gap: 12px;
    background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 16px; text-decoration: none; box-shadow: 0 10px 30px rgba(16,24,40,.35); transform: translateY(150%); transition: transform .2s ease; }
  .pricebar.show { transform: none; }
  .pricebar .pb-l { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: #94A3B8; text-transform: uppercase; }
  .pricebar .pb-v { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
  .pricebar .pb-go { font-size: 14px; font-weight: 700; color: #93C5FD; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .pricebar { transition: none; } }

/* Content sections below the tool */
section.block { padding: 56px 0; }
section.block.alt { background: var(--surface); }
section.block h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; letter-spacing: -0.4px; }
section.block .lead { color: var(--muted); font-size: 17px; margin-top: 10px; max-width: 720px; }
.prose { max-width: 720px; }
.prose p, .prose li { font-size: 17px; color: #344054; }
.prose p + p, .prose ul, .prose ol { margin-top: 14px; }
.prose h2 { margin-top: 44px; }
.prose h3 { font-size: 19px; margin-top: 28px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.formula { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 15px; background: var(--ink); color: #E2E8F0; border-radius: 12px; padding: 16px 18px; margin-top: 14px; overflow-x: auto; line-height: 1.8; }
.formula b { color: #4ADE80; font-weight: 700; }
.twin { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
@media (max-width: 640px) { .twin { grid-template-columns: 1fr; } }
.mini { background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; padding: 20px; }
.mini .tag { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; }
.mini .ln { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.mini .ln:last-child { border-bottom: 0; font-weight: 800; }
.mini .keep { margin-top: 10px; font-weight: 700; }
.mini .keep b { color: var(--green); }
table.conv { border-collapse: collapse; margin-top: 22px; width: 100%; max-width: 560px; font-variant-numeric: tabular-nums; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
table.conv caption { text-align: left; font-weight: 700; padding-bottom: 8px; color: var(--muted); font-size: 14px; }
table.conv th, table.conv td { padding: 10px 14px; text-align: right; border-bottom: 1px solid var(--border); font-size: 15px; }
table.conv th:first-child, table.conv td:first-child { text-align: left; }
table.conv thead th { background: var(--surface); font-size: 13px; letter-spacing: .5px; text-transform: uppercase; color: var(--muted); }
.cta-band { background: var(--ink); color: #fff; border-radius: 20px; padding: 32px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 3vw, 28px); }
.cta-band p { color: #CBD5E1; margin-top: 8px; font-size: 16px; max-width: 560px; }
.cta-band .note { font-size: 13px; color: #94A3B8; margin-top: 10px; }
@media (max-width: 720px) { .cta-band { grid-template-columns: 1fr; padding: 24px 20px; } .cta-band .btn { text-align: center; } }
.faq { max-width: 760px; margin-top: 24px; }
.faq details { border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; background: #fff; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 16px; }
.faq details p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 26px; }
.card { display: block; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--ink); box-shadow: 0 2px 8px rgba(16,24,40,.04); transition: border-color .15s; }
a.card:hover { border-color: var(--blue); }
.card .ct { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: var(--blue); text-transform: uppercase; }
.card h3 { font-size: 19px; margin-top: 8px; }
.card p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.card .go { margin-top: 12px; font-weight: 800; color: var(--blue); font-size: 15px; }
.card.soon { background: var(--surface); box-shadow: none; }
.card.soon .ct { color: var(--muted); }
.meta-line { color: var(--muted); font-size: 14px; margin-top: 10px; }

/* Release B tools (painting estimate, labor and job quote): repeatable measurement / crew rows, unit suffixes,
   section heads and subtotals in the worksheet. Scoped to .tool-b so Release A pages look exactly as before. */
.tool-b fieldset.bare { border: 0; padding: 0; min-width: 0; }
.tool-b .panel .hint { color: var(--muted); font-size: 13px; font-weight: 500; }
.tool-b .panel p.hint { margin-top: 6px; }
.tool-b .panel > .hint + .dimrow, .tool-b .panel > .hint + div { margin-top: 4px; }
.unit { position: relative; display: flex; align-items: center; }
.unit::after { content: attr(data-unit); position: absolute; right: 14px; color: var(--muted); font-weight: 700; font-size: 15px; pointer-events: none; }
.unit input { padding-right: 100px !important; }
.dimrow { border: 1px solid var(--border); border-radius: 12px; padding: 4px 12px 12px; margin-top: 10px; background: var(--surface); }
.dimhead { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.dimtitle { font-weight: 800; font-size: 14px; }
.dimhead .rm { font-size: 14px; padding: 6px 2px; }
.dims .field { margin-top: 0; gap: 4px; }
.row3.dims { align-items: end; } /* a label that wraps ("Costo / hora" at 320px) keeps the three boxes level */
.dims .field > label { font-size: 14px; }
.dims .field input[type=text] { font-size: 17px; padding: 10px; min-height: 46px; }
@media (max-width: 380px) { .row3.dims { grid-template-columns: 1fr 1fr 1fr; gap: 8px; } }
.tool-b .result .r-h { font-size: 13px; font-weight: 800; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; margin-top: 20px; }
.tool-b .result .r-h + .sheet { margin-top: 6px; }
.sheet .ln.sub .k, .sheet .ln.sub .v { font-weight: 800; }
.sheet .ln.total { font-size: 17px; border-top: 2px solid var(--ink); margin-top: -1px; }
.sheet .ln.total .v { font-weight: 800; }
.sheet .ln .k { min-width: 0; }
.sheet .ln.item { font-size: 14px; padding: 6px 0; }
.sheet .ln.item .v { font-weight: 600; color: var(--muted); }
.sheet .indent { display: inline-block; padding-left: 14px; }
.tool-b { --c-cont: #A78BFA; }
/* Anything scrolled or focused into view clears the sticky nav. */
.tool-b .result, .tool-b .field, .tool-b .dimrow, .tool-b .step-label { scroll-margin-top: 80px; }
/* 44px touch targets on the Release B pages (Release A's chips are 40px and its toggle 34px; left as approved). */
.chips button { min-height: 44px; } /* every tool page (was Release B only) */
.lang-toggle a.lt { padding: 12px 10px; min-width: 44px; text-align: center; } /* 44px touch target on every page */
@media (min-width: 901px) { .result.fit { max-height: calc(100vh - 100px); overflow-y: auto; overscroll-behavior: contain; } }

footer.foot-wrap { border-top: 1px solid var(--border); padding: 40px 0 52px; margin-top: 24px; }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.foot a { color: var(--muted); }
@media (max-width: 720px) { body { font-size: 17px; } }

/* Release B worksheets print with slightly narrower page margins (named page; Release A keeps 14mm). */
@page worksheet { margin: 10mm 12mm; }

/* Print: just the worksheet, the inputs it came from, and where it came from */
.print-only { display: none; }
@media print {
  @page { margin: 14mm; }
  body { background: #fff; color: #000; font-size: 12pt; }
  nav.top, .pricebar, .crumbs, .assure, .actions, .chips, .linkish, .no-print, footer.foot-wrap, .tool-page section.block, .cta-band, .cards, .skip, .seg, details.more summary { display: none !important; }
  .print-only { display: block; }
  .page-head { padding: 0 0 8pt; }
  .page-head h1 { font-size: 18pt; }
  .page-head .sub, .page-head .kicker { display: none; }
  .calc { display: block; }
  .panel, .result { box-shadow: none; border: 1px solid #999; position: static; margin-bottom: 8pt; padding: 8pt 12pt; background: #fff; }
  .result { break-inside: avoid; }
  /* Markup page: inputs and worksheet side by side, so it stays one page even with overhead open. */
  .tool-page:not(.tool-b) .calc { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10pt; align-items: start; }
  .tool-page:not(.tool-b) details.more > p.hint { display: none; }
  .tool-page:not(.tool-b) .result .r-price { font-size: 24pt; }
  .panel > .step-label:first-child, .panel > fieldset, #pct-hint, .field .hint, .fine + .fine { display: none !important; }
  .step-label { margin: 6pt 0 2pt; }
  .step-label b { display: none; }
  .field input, .field select { box-shadow: none !important; outline: none !important; caret-color: transparent; }
  .field { margin-top: 3pt; gap: 1pt; }
  .result .r-price { font-size: 30pt; }
  .bar { margin: 8pt 0 4pt; }
  .sheet .ln { padding: 4pt 0; }
  .callout { margin-top: 8pt; padding: 6pt 10pt; }
  .field input[type=text], .field select { border: 0; border-bottom: 1px solid #999; border-radius: 0; padding: 2pt 0 2pt 14pt; min-height: 0; font-size: 12pt; }
  details.more { border: 0; padding: 0; }
  details.more:not([open]) { display: none; }
  .bar span { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .legend i { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  /* Release B: the worksheet itself carries every input, so the form is left off the page. */
  .tool-b .panel { display: none !important; }
  .tool-b .result { border: 0; padding: 0; max-height: none; overflow: visible; break-inside: auto; }
  .tool-b .result .r-price { font-size: 24pt; }
  .tool-b .result .r-h { margin-top: 8pt; font-size: 9pt; }
  .tool-b .bar, .tool-b .legend { display: none; } /* the worksheet lists the same amounts */
  .tool-b .sheet .ln.item { font-size: 9.5pt; padding: 0.5pt 0; }
  .tool-b main { page: worksheet; }
  .tool-b .sheet .ln { font-size: 10.5pt; line-height: 1.3; padding: 2pt 0; break-inside: avoid; }
  .tool-b .callout { padding: 4pt 8pt; margin-top: 6pt; }
  .tool-b .warns { margin-top: 6pt; gap: 4pt; }
  .tool-b .sheet .ln .k small { display: inline; font-size: 8.5pt; margin-left: 6pt; }
  .tool-b .callout { break-inside: avoid; }
  .tool-b .toast, .tool-b .warns:empty { display: none; }
  .tool-b .fine { margin-top: 6pt; }
  .tool-b .page-head { padding-bottom: 4pt; }
  .tool-b .sheet .ln.total, .tool-b .sheet .ln.key { font-size: 12pt; }
  .tool-b .warns li, .tool-b .callout, .tool-b .fine { font-size: 10pt; }
  .tool-b .warns li { padding: 4pt 8pt; }
  .tool-b #printStamp { font-size: 10pt; color: #333; overflow-wrap: anywhere; }
  .tool-b .page-head h1 { font-size: 16pt; }
  .tool-b .result .r-price { font-size: 22pt; }
  .tool-b .fine { font-size: 9pt; }
}
