/* The tools page's own styles (docs/design/prototype/pages/tools.html), generated by scripts/page-styles.py;
   check with --check. Loaded only on the pages built from it (inc/page-design.php). */

/* The free tools hub: the red hero, eight tool cards in the bento style, what happens to what you type, the
   closing band. Every card is one link; hover changes the border only. */
.elementor .pg-tools .hero .pill { cursor: default; }
.elementor .pg-tools .hero h1 { max-width: 15ch; }
.elementor .pg-tools .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 8px; }
.elementor .pg-tools .card { min-height: 0; padding: 26px 26px 22px; text-decoration: none; color: var(--ink); transition: border-color 0.2s, background-color 0.2s; }
.elementor .pg-tools .card:hover { border-color: var(--ink); }
.elementor .pg-tools .card .ico { width: 26px; height: 26px; margin-bottom: 18px; color: var(--signal); }
.elementor .pg-tools .card p { font-size: 15px; }
.elementor .pg-tools .reads { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 22px; padding: 0; list-style: none; }
.elementor .pg-tools .reads li { font: 12px/1 var(--mono); color: var(--ink-2); border: 1px dashed var(--line); border-radius: 6px; padding: 6px 8px; background: var(--paper); }
.elementor .pg-tools .go { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 500; font-size: 15px; }
.elementor .pg-tools .go .ic { color: var(--signal); }
.elementor .pg-tools .card:hover .go .ic { color: var(--ink); }
.elementor .pg-tools .feature { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; }
.elementor .pg-tools .feature .side { display: flex; flex-direction: column; }
.elementor .pg-tools .feature .term { margin-top: 30px; min-height: 0; align-self: start; }
.elementor .pg-tools .term-head { display: flex; justify-content: space-between; font: 12px/1 var(--mono); color: var(--ink-3); margin-bottom: 12px; }
.elementor .pg-tools .term-head em { font-style: normal; color: var(--signal-ink); }
.elementor .pg-tools .term .ln { display: grid; grid-template-columns: 16px 88px minmax(0, 1fr); gap: 6px; }
.elementor .pg-tools .term .miss { color: var(--attack); }
/* What happens to what you type: the copy beside a diagram of the path a check takes. */
.elementor .pg-tools .panel { min-height: 0; }
.elementor .pg-tools .art .lane { font: 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; }
.elementor .pg-tools .art .lane + .chain { margin-bottom: 22px; }
.elementor .pg-tools .chain { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.elementor .pg-tools .chain.later::before { left: 56%; }
.elementor .pg-tools .chain.later .node:first-child { grid-column: 3; }
.elementor .pg-tools .chain .node.off { border-style: dashed; color: var(--ink-3); }
.elementor .pg-tools .copy ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--ink-2); font-size: 15px; }
.elementor .pg-tools .copy li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; }
.elementor .pg-tools .copy li svg { width: 16px; height: 16px; margin-top: 3px; color: var(--signal); }
@media (max-width: 960px) {
	.elementor .pg-tools .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.elementor .pg-tools .grid > :last-child { grid-column: span 2; }
}
@media (max-width: 860px) {
	.elementor .pg-tools .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.elementor .pg-tools .chain.later .node:first-child { grid-column: 1; }
}
@media (max-width: 680px) {
	.elementor .pg-tools .grid { grid-template-columns: minmax(0, 1fr); }
	.elementor .pg-tools .grid > :last-child, .elementor .pg-tools .feature { grid-column: auto; }
	.elementor .pg-tools .feature { display: flex; flex-direction: column; gap: 0; }
	.elementor .pg-tools .feature .side { display: contents; }
	.elementor .pg-tools .feature .term { order: 1; margin: 0 0 20px; }
	.elementor .pg-tools .feature .go { order: 2; }
	.elementor .pg-tools .term .ln { grid-template-columns: 12px 84px minmax(0, 1fr); font-size: 12px; }
	.elementor .pg-tools .card { padding: 22px 20px 18px; }
}

/* The tools hub's pill is a label, not a link, and carries a tick (tools.html:58); the theme draws its
   badge with .pill::after, so the tick is drawn there, as text: without the arrow the badge otherwise draws
   (base.css, D10 T02 §2), centred, in the red and size the tick always had. */
.elementor .pg-tools .pill::after { content: "\2713" / ""; background-image: none; display: inline-grid; place-items: center; color: var(--signal); font-style: normal; font-size: 14px; }
