:root { --accent: #0E9F6E; --st-green: #0E9F6E; --st-amber: #b7791f; --st-red: #c53030; }
@media (prefers-color-scheme: dark) { :root { --accent: #34c88f; --on-accent: #06281c; --st-green: #34c88f; --st-amber: #e3a948; --st-red: #f07171; } }
/* Tool pages: extends lp.css (same tokens and classes). Small inline script on index.html only; no external assets. */
.tool-tag { margin-left: auto; font-size: var(--fs-small); color: var(--text-3); border: 1px solid var(--line); border-radius: 99px; padding: 2px 10px; }
.tool-page { display: grid; gap: var(--s-8); max-width: 42rem; padding: var(--s-2) 0 var(--s-8); }
.tool-page h1 { margin: 0; max-width: none; font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem); }
.tool-page h2 { margin: 0 0 var(--s-3); font-size: 1.375rem; }
.tool-page section { margin: 0; }
.tool-lead { margin: 0; font-size: 1.125rem; color: var(--text-2); max-width: 46ch; }
.calc { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); margin: 0; padding: var(--s-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); }
.calc .field { display: grid; gap: var(--s-1); min-width: 0; }
.calc .field small { font-size: var(--fs-tiny); color: var(--text-3); }
.calc input[type="number"] { width: 100%; min-height: 48px; padding: 0 var(--s-3); border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); color: var(--text); font: inherit; font-variant-numeric: tabular-nums; }
.calc input[type="number"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; }
.result { margin-top: var(--s-4); padding: var(--s-4); border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.result[data-status="Green"] { border-left-color: var(--st-green); }
.result[data-status="Amber"] { border-left-color: var(--st-amber); }
.result[data-status="Red"] { border-left-color: var(--st-red); }
.result dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-2) var(--s-4); margin: 0; }
.result dt { color: var(--text-2); }
.result dd { margin: 0; font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
.result .status-line { margin: var(--s-3) 0 0; font-weight: 650; }
.result .err { margin: 0; color: var(--st-red); }
.pill { display: inline-block; padding: 0 10px; border-radius: 99px; font-size: var(--fs-small); font-weight: 650; color: #fff; }
.pill.g { background: var(--st-green); } .pill.a { background: var(--st-amber); } .pill.r { background: var(--st-red); }
@media (prefers-color-scheme: dark) { .pill { color: #10151a; } }
.fact-list { margin: 0; padding-left: 1.1em; display: grid; gap: var(--s-3); }
.fact-list li::marker { color: var(--accent); }
.tool-page > * { min-width: 0; }
.tool-page .table-scroll { max-width: 100%; }
.compare td.num, .compare th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); counter-reset: c; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: var(--s-3); align-items: start; padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); }
.check-list li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border: 2px solid var(--accent); border-radius: 4px; }
.check-list strong { display: block; font-weight: 650; }
.check-list span { color: var(--text-2); font-size: var(--fs-small); }
.fill { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); margin: 0; }
.fill p { margin: 0; padding-bottom: var(--s-1); border-bottom: 1px solid var(--text-3); color: var(--text-3); font-size: var(--fs-small); }
.callout { background: var(--note-bg); color: var(--note-text); border-radius: var(--r-sm); padding: var(--s-3) var(--s-4); font-size: var(--fs-small); }
.callout p { margin: 0; }
.product-line { margin: var(--s-6) 0 var(--s-8); padding: var(--s-4); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r-sm); }
.product-line a { font-weight: 650; }
@media print {
  .test-note, .product-line, .funnel-nav, .noprint { display: none; }
  body { background: #fff; color: #000; }
  .tool-page { gap: 12px; padding: 0; }
  .check-list li { break-inside: avoid; }
  footer { margin-top: 16px; padding: 8px 0; }
}
