/* The crumb line and "Near this" (toolbox/_pages/pages.mjs), on every tool page and on the hubs; self-contained, so a
   tool's own styles never need to know them. Two looks, one set of rules: .bn-dark (the template's) and .bn-pear (kids). */
.bn-dark { --bn-ink: #f1f3ea; --bn-subtle: #adb8a7; --bn-muted: #8b9a87; --bn-line: #34413a; --bn-panel: #151c17; --bn-pear: #d8f697; --bn-pear-ink: #192310; }
.bn-pear { --bn-ink: #192310; --bn-subtle: #3a4a2a; --bn-muted: #5f6f4f; --bn-line: #0f1311; --bn-panel: #ffffff; --bn-pear: #d8f697; --bn-pear-ink: #192310; }
.bn-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; font: 700 12px/1.2 Figtree, "Avenir Next", system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--bn-muted); }
.bn-crumb a { color: var(--bn-subtle); text-decoration: none; }
.bn-dark.bn-crumb a:first-child { color: var(--bn-pear); }
.bn-pear.bn-crumb a:first-child { color: var(--bn-ink); }
.bn-crumb i { font-style: normal; opacity: .6; }
.bn-near { display: grid; gap: 12px; padding: 16px; margin-top: 32px; background: var(--bn-panel); color: var(--bn-ink); text-align: left; }
.bn-dark.bn-near { border: 1px solid var(--bn-line); border-radius: 18px; }
.bn-pear.bn-near { border: 2.5px solid #0f1311; box-shadow: 6px 6px 0 #0f1311; }
.bn-near h3 { font: 700 12px/1 Figtree, "Avenir Next", system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--bn-muted); margin: 0; }
.bn-near .l { display: flex; flex-wrap: wrap; gap: 8px; }
.bn-near .l a { font: 700 14px/1.2 Figtree, "Avenir Next", system-ui, sans-serif; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--bn-line); color: var(--bn-ink); text-decoration: none; overflow-wrap: anywhere; }
.bn-pear.bn-near .l a { border-radius: 0; border-width: 2px; box-shadow: 3px 3px 0 #0f1311; background: #fff; }
.bn-near .l a.fam { background: var(--bn-pear); color: var(--bn-pear-ink); border-color: var(--bn-pear); }
.bn-pear.bn-near .l a.fam { border-color: #0f1311; }
.bn-near .l a.fam::after, .bn-near .l a.hub::after { content: " ›"; }
.langs { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; font: 700 13px/1.4 Figtree, "Avenir Next", system-ui, sans-serif; color: var(--bn-muted); }
.langs a { color: var(--bn-subtle); text-decoration: underline; text-underline-offset: 2px; }
.langs span { color: var(--bn-ink); }
.bn-by { margin: 0; font: 600 13px/1.4 Figtree, "Avenir Next", system-ui, sans-serif; color: var(--bn-muted); }
.bn-by a { color: var(--bn-subtle); text-decoration: underline; text-underline-offset: 2px; }
.bn-ask { margin: 0; font: 700 14px/1.4 Figtree, "Avenir Next", system-ui, sans-serif; }
.bn-ask a { color: var(--bn-ink); text-decoration: underline; text-underline-offset: 3px; }
.bn-tech { margin: 24px 0 0; font: 500 13px/1.5 Figtree, "Avenir Next", system-ui, sans-serif; color: var(--bn-subtle); text-align: left; }
.bn-tech a { color: var(--bn-subtle); text-decoration: underline; text-underline-offset: 2px; }
.bn-checked { margin: 24px 0 0; font: 500 13px/1.5 Figtree, "Avenir Next", system-ui, sans-serif; color: var(--bn-subtle); text-align: left; }
.bn-tech + .bn-checked { margin-top: 4px; }
.bn-bench { margin: 8px 0 0; font: 500 13px/1.5 Figtree, "Avenir Next", system-ui, sans-serif; color: var(--bn-subtle); text-align: left; }
.bn-bench a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.bn-method { margin-top: 32px; color: var(--bn-ink); text-align: left; }
.bn-method h2 { font: 800 20px/1.2 Figtree, "Avenir Next", system-ui, sans-serif; margin: 0 0 12px; }
.bn-method dl { display: grid; gap: 4px 16px; margin: 0; }
.bn-method dt { font: 700 12px/1.3 Figtree, "Avenir Next", system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--bn-muted); margin-top: 8px; }
.bn-method dd { margin: 0; font: 400 16px/1.5 Figtree, "Avenir Next", system-ui, sans-serif; color: var(--bn-ink); }
/* "Found what you came for?" on the grown-ups' hubs, family pages and collections (pages.mjs found()). */
.bn-found { display: grid; gap: 10px; justify-items: center; text-align: center; margin-top: 24px; padding: 18px 16px; border: 1px solid var(--bn-line); border-radius: 18px; color: var(--bn-ink); }
.bn-found [hidden] { display: none !important; }
.bn-found .q { font: 700 17px/1.3 Figtree, "Avenir Next", system-ui, sans-serif; }
.bn-found .taps { display: flex; gap: 10px; justify-content: center; }
.bn-found button { font: 700 16px/1 Figtree, "Avenir Next", system-ui, sans-serif; min-height: 44px; min-width: 96px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--bn-pear); background: none; color: var(--bn-pear); cursor: pointer; }
.bn-found form { display: grid; gap: 10px; justify-items: center; width: min(100%, 360px); }
.bn-found label { display: grid; gap: 6px; width: 100%; text-align: left; font: 400 14px/1.4 Figtree, "Avenir Next", system-ui, sans-serif; color: var(--bn-subtle); }
.bn-found input { font: 400 16px/1.4 Figtree, "Avenir Next", system-ui, sans-serif; color: var(--bn-ink); background: var(--bn-panel); border: 1px solid var(--bn-line); border-radius: 12px; min-height: 44px; padding: 0 12px; width: 100%; }
.bn-found .kept, .bn-found .done { font: 400 13px/1.4 Figtree, "Avenir Next", system-ui, sans-serif; color: var(--bn-muted); }
.bn-found .done { font-size: 15px; color: var(--bn-ink); }
