/* Internal tools (/internal-tools, built from site/pages-src/internal-tools.html while INTERNAL_TOOLS is on; the home
   block site/pages-src/internal-tools-home.html). On top of /styles.css and /css/feature.css; light theme only, as the site. */

/* The pipeline board in the hero illustration (our own drawing, made of HTML). */
.it-board-card { max-width: 380px; }
.it-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.it-col { display: grid; align-content: start; gap: 6px; min-width: 0; padding: 8px; border-radius: 8px; background: var(--bg); }
.it-col-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.it-col-h b { color: var(--ink); }
.it-card { display: grid; gap: 2px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); font-size: 12.5px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.it-card small { font-size: 11px; font-weight: 500; color: var(--muted); }
.it-card-moving { border-color: var(--line-strong); box-shadow: var(--pop); transform: rotate(-2deg); }

/* One platform, three things to build (also the home block). */
.it-three { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .it-three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.it-three li { display: flex; flex-direction: column; gap: 6px; margin: 0; min-width: 0; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.it-three li.is-here { border: 2px solid var(--line-strong); box-shadow: var(--pop); }
.it-three b { font: 700 var(--fs-h3)/1.25 var(--body); color: var(--ink); }
.it-three span { color: var(--muted); font-size: 16px; line-height: 1.5; }
.it-three a { margin-top: auto; padding-top: 6px; color: var(--primary); font-weight: 600; font-size: var(--fs-sm); }
.it-three a::after { content: " \2192"; }
.it-three .it-new { align-self: flex-start; padding: 2px 9px; border-radius: 999px; background: var(--field); color: var(--brand); font: 600 12px/1.4 var(--body); }

/* Five use cases: three then two on wide screens. */
@media (min-width: 1100px) { .it-uses.fp-pay-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.it-uses > li { scroll-margin-top: 96px; }
.it-uses > li:target { outline: 3px solid var(--primary); outline-offset: 4px; border-radius: var(--radius); }

/* What the website's forms feed: cards without links. */
.it-feeds { margin-top: 18px; }
@media (min-width: 760px) { .it-feeds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.it-feeds li { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.it-feeds b { font: 600 var(--fs-h3)/1.3 var(--body); color: var(--ink); }
.it-feeds span { color: var(--muted); font-size: 16px; line-height: 1.5; }
.it .fp-proof { grid-template-columns: minmax(0, 1fr); }

