/* Calculators and the tools list. Loaded after demo.css and getpaid.css. */
.intro h1 { max-width: 13em; }
.cf-sheet { margin-bottom: 1.25rem; }
.cf-sheet > h2 { margin-bottom: 1rem; }
.cf { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 0.9rem 1rem; }
.cf label, .fc-row label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.875rem; color: var(--muted); }
.cf input, .cf select, .fc-row input { font: inherit; font-size: 1.125rem; color: var(--ink); background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 0.55rem 0.7rem; width: 100%; max-width: 100%; font-variant-numeric: tabular-nums; }
.cf small { font-size: 0.75rem; }
.cf-sheet .hint { margin: 0.8rem 0 0; max-width: 80ch; }
.cf-sheet .stats { margin-top: 1.5rem; }
.cf-sheet textarea { width: 100%; font: 0.875rem/1.5 "DM Mono", ui-monospace, Menlo, Consolas, monospace; color: var(--ink); background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 0.7rem 0.8rem; resize: vertical; white-space: pre; display: block; margin-top: 0.75rem; }
.cf-sheet .gp-out { margin-top: 0.75rem; }
.cf-sheet .tbl { margin-top: 0.75rem; }
.cl-check { display: inline-flex; gap: 0.45rem; align-items: center; font-size: 0.9375rem; cursor: pointer; }
.cl-check input { width: 1.05rem; height: 1.05rem; accent-color: var(--ink); margin: 0; }
.fc-units { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin-bottom: 1.1rem; }
.fc-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; gap: 0.5rem 0.75rem; align-items: end; padding: 0.9rem 0; border-bottom: 1px solid var(--rule); }
.fc-row i { font-style: normal; }
.fc-res { grid-column: 1 / 6; margin: 0; font-size: 0.875rem; color: var(--muted); }
.fc-x { grid-row: 1; grid-column: 6; }
.fc-scale { max-width: 30rem; }
.fc-scale tr.hit td { background: rgba(191, 178, 26, 0.3); font-weight: 500; }
.cc-note { margin: 1.5rem 0 0; padding: 1rem 1.1rem; background: var(--ink); color: var(--bg); border-radius: 10px; max-width: 70ch; }
.cc-note b { font-weight: 600; }
.gp-read .gp-formula { display: block; width: fit-content; max-width: 100%; overflow-x: auto; margin-bottom: 0.6rem; }
.tl-list { list-style: none; margin: 0 0 3rem; padding: 0; border-top: 1px solid var(--rule); }
.tl-list a { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 0.25rem 2rem; padding: 1.1rem 0.25rem; border-bottom: 1px solid var(--rule); text-decoration: none; align-items: baseline; }
.tl-list a:hover { background: var(--panel); }
.tl-list b { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; }
.tl-list span { color: var(--muted); }
@media (max-width: 699px) {
  .fc-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fc-res, .fc-x { grid-column: 1 / -1; grid-row: auto; }
  .tl-list a { grid-template-columns: 1fr; }
}
