/* seo.css: additions for the generated tool pages (web/seo/build.mjs). Tokens from styles.css. */
.tool .wrap { max-width: 980px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.tool__intro { font-size: 16.5px; color: var(--text); max-width: 66ch; margin-bottom: 28px; }
.tool__body { max-width: 900px; }
.tool__body h2 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; margin: 40px 0 12px; }
.tool__body h3 { font-size: 1.02rem; font-weight: 700; margin: 22px 0 8px; }
.tool__body p, .tool__body li { color: var(--muted); font-size: 16px; }
.tool__body p a, .tool__body li a, .tool__body td a { color: var(--text); }
.tool__body ul { padding-left: 20px; display: grid; gap: 6px; }
.tbl { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.run--sm th, .run--sm td { padding: 7px 10px; font-size: 14.5px; }
.run--sm td { font-weight: 600; }
.run--sm th { font-size: 11.5px; }
.run--grid td, .run--grid th { text-align: right; }
.run--grid td:first-child, .run--grid th:first-child { text-align: left; color: var(--muted); }
.run--plates small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 500; }
.links { margin-top: 32px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0 0 8px; }
.facts div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.facts dt { color: var(--muted); font-size: 12.5px; }
.facts dd { margin: 2px 0 0; font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.calc { display: flex; flex-wrap: wrap; gap: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.calc label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.calc input, .calc select { font: inherit; font-size: 17px; color: var(--text); background: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; width: 9em; font-variant-numeric: tabular-nums; }
.calc select { width: auto; }
.calc--wide input { width: 7em; }
.calc__out { margin-top: 18px; }
.calc__big { font-size: clamp(1.7rem, 6vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 12px; color: var(--text) !important; }
.calc__big span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.calc__msg { font-size: 15px; }
.rig { display: flex; align-items: center; justify-content: center; gap: 2px; min-height: 132px; margin: 8px 0 16px; padding: 6px 0; overflow-x: auto; }
.rig__end { width: 26px; height: 14px; background: var(--steel-hi); border-radius: 3px; flex: none; }
.rig__shaft { width: clamp(70px, 22vw, 200px); height: 8px; background: var(--steel-lo); flex: none; }
.pl { display: flex; align-items: center; justify-content: center; width: 20px; border-radius: 4px; flex: none; background: #2b2e33; border: 1px solid var(--line); }
.pl b { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 10.5px; font-weight: 700; color: var(--text); }
.pl-lb-45 { height: 124px; } .pl-lb-35 { height: 108px; } .pl-lb-25 { height: 92px; }
.pl-lb-10 { height: 66px; width: 15px; } .pl-lb-5 { height: 52px; width: 13px; } .pl-lb-2-5 { height: 42px; width: 11px; }
.pl-kg-25 { height: 124px; background: #b3261e; } .pl-kg-20 { height: 124px; background: #1f4fb0; }
.pl-kg-15 { height: 112px; background: #c9a227; } .pl-kg-15 b { color: #111; }
.pl-kg-10 { height: 98px; background: #2e7d32; } .pl-kg-5 { height: 64px; width: 15px; background: #e6e6e1; } .pl-kg-5 b { color: #111; }
.pl-kg-2-5 { height: 50px; width: 13px; background: #8f1d17; } .pl-kg-1-25 { height: 42px; width: 11px; background: #8d9196; }
.pl-lb-2-5 b, .pl-kg-1-25 b, .pl-kg-2-5 b { font-size: 8.5px; }
.qas--page { margin-top: 8px; }
.toollist li { margin-bottom: 6px; }
.cta { margin-top: 44px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.cta p { margin: 0 0 12px; }
@media (max-width: 520px) {
  .run--sm th, .run--sm td { padding: 6px 7px; font-size: 13.5px; }
  .nav nav { gap: 12px; }
  .pl { width: 16px; }
}
