/* Free tools, one visual language (01/11/2026). Hub /tools/ and every tool page.
   Aldo 01/11: «i tool hanno una grafica pessima», «non hanno niente né personalità».
   Same tokens and anatomy as /integrations/ and the product pages: a flat dark hero island, white
   cards with hairlines on a light page, one teal element per view (the conversion CTA), amber never
   used here, no violet, no gradients. Each tool gets its own scene-kit cover (tools/<slug>/cover.webp),
   used as the hub card image, as the result preview in the tool hero and in "More free tools".
   Markup written by tools-v2-apply.mjs from tools-catalog.mjs. Contrast: every text >= 4.5:1. */

html.qd-light main.tl {
  --tl-ink: #0E1220; --tl-text: #323A4E; --tl-muted: #545D72;
  --tl-line: rgba(14,18,32,.10); --tl-line-2: rgba(14,18,32,.22);
  --tl-light: #F6F7FB; --tl-white: #FFFFFF;
  --tl-dark: #0B1020; --tl-dark-2: #141A2E; --tl-on-dark: #E8ECF5; --tl-on-dark-2: #B4BCCE; --tl-dark-line: rgba(232,236,245,.16);
  --tl-hit: #B42318; --tl-ok: #0B6B53;
  --tl-run-browser: #13856C; --tl-run-api: #2E63E0; --tl-run-server: #B35F12;
  --tl-wrap: 1184px; --tl-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--tl-white); color: var(--tl-text);
}
html.qd-light main.tl .section { max-width: none; margin: 0; padding-left: 0; padding-right: 0; background: transparent; }
html.qd-light main.tl .tl-wrap { max-width: var(--tl-wrap); margin: 0 auto; padding: 0 28px; box-sizing: border-box; }
html.qd-light main.tl :is(.tl-sr, .ipf-sr) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- hero island ---------- */
html.qd-light main.tl .section.tl-hero-band { padding: 20px 0 0; border: 0; }
html.qd-light main.tl .tl-hero { max-width: calc(var(--tl-wrap) - 24px); margin: 0 auto; box-sizing: border-box; background: var(--tl-dark); border-radius: 28px; padding: 48px 56px 52px; color: var(--tl-on-dark); }
html.qd-light main.tl .tl-hero-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 48px; align-items: center; }
html.qd-light main.tl .tl-hero-copy :is(h1, p, a, span, time, li) { color: inherit; }
html.qd-light main.tl .tl-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--tl-on-dark-2); }
html.qd-light main.tl .tl-crumbs a { text-decoration: none; }
html.qd-light main.tl .tl-crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
html.qd-light main.tl .tl-crumbs span[aria-hidden] { opacity: .7; }
html.qd-light main.tl .tl-hero .tl-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 24px 0 0; font-size: 15px; font-weight: 600; color: var(--tl-on-dark-2); }
html.qd-light main.tl .tl-hero h1 { margin: 14px 0 0; max-width: 22ch; font-family: var(--font-head, Sora, Inter, sans-serif); font-weight: 600; font-size: clamp(34px, 3.9vw, 52px); line-height: 1.07; letter-spacing: -.03em; color: #fff; }
html.qd-light main.tl .tl-hero .tl-lead { margin: 18px 0 0; max-width: 62ch; font-size: 18px; line-height: 1.62; color: #CDD3E1; }
html.qd-light main.tl .tl-hero .tl-byline { margin: 18px 0 0; font-size: 14px; color: var(--tl-on-dark-2); }
html.qd-light main.tl .tl-hero .tl-byline a { text-decoration: underline; text-underline-offset: 3px; }
html.qd-light main.tl .tl-hero .tl-byline time { white-space: nowrap; }
html.qd-light main.tl .tl-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }
html.qd-light main.tl :is(.tl-hero, .tl-offer, .section.final) .btn-cta { background: #25E3C2; color: #05070F; border: 0; }
html.qd-light main.tl :is(.tl-hero, .tl-offer, .section.final) .btn-cta:hover { background: #6EE7B7; color: #052E20; }
html.qd-light main.tl .tl-btn-ghost { display: inline-flex; align-items: center; min-height: 48px; box-sizing: border-box; padding: 0 20px; border-radius: 12px; border: 1px solid rgba(232,236,245,.32); font-weight: 600; font-size: 16px; text-decoration: none; color: #fff; transition: border-color .15s, background-color .15s; }
html.qd-light main.tl .tl-btn-ghost:hover { border-color: rgba(232,236,245,.7); background: rgba(232,236,245,.06); }
html.qd-light main.tl .tl-trust { margin: 16px 0 0; font-size: 15px; color: var(--tl-on-dark-2); }

/* where the work happens: a dot and a plain label, never a coloured pill */
html.qd-light main.tl .tl-run { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
html.qd-light main.tl .tl-run::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
html.qd-light main.tl .tl-hero .tl-run::before { background: #7FE3CE; }
html.qd-light main.tl .tl-hero .tl-run-api::before { background: #86B6FF; }
html.qd-light main.tl .tl-hero .tl-run-server::before { background: #FFC46B; }

/* hero art: the tool's own cover (tool pages) or three covers fanned (hub) */
html.qd-light main.tl .tl-hero-art { margin: 0; min-width: 0; }
html.qd-light main.tl .tl-tool-art { grid-column: 2; grid-row: 1; }
html.qd-light main.tl .tl-hero-art img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 0 0 1px rgba(232,236,245,.14), 0 24px 60px rgba(0,0,0,.35); }
html.qd-light main.tl .tl-hero-art figcaption { margin: 12px 2px 0; font-size: 14px; line-height: 1.5; color: var(--tl-on-dark-2); }
html.qd-light main.tl .tl-fan { position: relative; aspect-ratio: 480 / 360; }
html.qd-light main.tl .tl-fan a { position: absolute; width: 78%; display: block; border-radius: 16px; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
html.qd-light main.tl .tl-fan a img { border-radius: 16px; }
html.qd-light main.tl .tl-fan a:nth-child(1) { left: 0; top: 0; transform: rotate(-4deg); z-index: 1; }
html.qd-light main.tl .tl-fan a:nth-child(2) { right: 0; top: 12%; transform: rotate(3deg); z-index: 2; }
html.qd-light main.tl .tl-fan a:nth-child(3) { left: 9%; bottom: 0; transform: rotate(-1deg); z-index: 3; }
html.qd-light main.tl .tl-fan a:hover, html.qd-light main.tl .tl-fan a:focus-visible { transform: rotate(0) translateY(-6px); z-index: 4; }
html.qd-light main.tl .tl-fan a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---------- the tool console: white card inside the island ---------- */
html.qd-light main.tl .tl-console { grid-column: 1 / -1; min-width: 0; margin-top: 8px; background: var(--tl-white); color: var(--tl-text); border-radius: 18px; padding: 18px 18px 16px; box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 18px 50px rgba(0,0,0,.28); }
html.qd-light main.tl .tl-console :where(p, span, a) { color: inherit; }

/* ---------- hub: section chips ---------- */
html.qd-light main.tl .tl-find { position: sticky; top: var(--tl-nav-h, 68px); z-index: 40; margin-top: 28px; background: rgba(255,255,255,.96); border-top: 1px solid var(--tl-line); border-bottom: 1px solid var(--tl-line); -webkit-backdrop-filter: saturate(1.2) blur(8px); backdrop-filter: saturate(1.2) blur(8px); }
html.qd-light main.tl .tl-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 10px 0; }
html.qd-light main.tl .tl-chips::-webkit-scrollbar { display: none; }
html.qd-light main.tl .tl-chips a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; box-sizing: border-box; padding: 0 16px; border: 1px solid var(--tl-line); border-radius: 999px; background: #fff; color: var(--tl-text); font-size: 15px; font-weight: 500; white-space: nowrap; text-decoration: none; transition: border-color .15s, background .15s, color .15s; }
html.qd-light main.tl .tl-chips a:hover { border-color: var(--tl-line-2); background: var(--tl-light); color: var(--tl-ink); }
html.qd-light main.tl .tl-chips a:focus-visible { outline: 2px solid var(--tl-ink); outline-offset: 2px; }
html.qd-light main.tl .tl-chip-n { font-size: 13px; font-weight: 600; color: var(--tl-muted); font-variant-numeric: tabular-nums; }

/* ---------- bands and section heads ---------- */
html.qd-light main.tl .section.tl-band { padding: 72px 0; border: 0; }
html.qd-light main.tl .section.tl-band + .section.tl-band { padding-top: 8px; }
html.qd-light main.tl .section.tl-band.tl-light { background: var(--tl-light); }
html.qd-light main.tl .section.tl-band.tl-light + .section.tl-band { padding-top: 72px; }
html.qd-light main.tl .tl-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; }
html.qd-light main.tl .tl-head h2 { margin: 0; font-family: var(--font-head, Sora, Inter, sans-serif); font-weight: 600; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; letter-spacing: -.025em; color: var(--tl-ink); }
html.qd-light main.tl .tl-head p { margin: 10px 0 0; max-width: 62ch; font-size: 17px; line-height: 1.6; color: var(--tl-text); }
html.qd-light main.tl .tl-head .tl-count { margin: 0; font-size: 15px; font-weight: 600; color: var(--tl-muted); white-space: nowrap; }
html.qd-light main.tl .tl-head a.tl-count { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--tl-line-2); }
html.qd-light main.tl .tl-head a.tl-count:hover { color: var(--tl-ink); text-decoration-color: var(--tl-ink); }

/* ---------- tool cards (hub, More free tools) ---------- */
html.qd-light main.tl .tl-grid { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
html.qd-light main.tl .tl-grid li { margin: 0; padding: 0; }
/* a group of four fills one row instead of leaving a card alone on the second */
@media (min-width: 1024px) {
  html.qd-light main.tl .tl-grid[data-n="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  html.qd-light main.tl .tl-grid[data-n="4"] .tl-card-body { padding: 16px 16px 18px; }
  html.qd-light main.tl .tl-grid[data-n="4"] .tl-card-t { font-size: 17px; }
  html.qd-light main.tl .tl-grid[data-n="4"] .tl-card-d { font-size: 15px; }
}
html.qd-light main.tl .tl-card { display: flex; flex-direction: column; height: 100%; box-sizing: border-box; background: #fff; border: 1px solid var(--tl-line); border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--tl-text); transition: border-color .2s, box-shadow .2s, transform .2s; }
html.qd-light main.tl .tl-card:hover { border-color: var(--tl-line-2); box-shadow: 0 14px 34px rgba(14,18,32,.10); transform: translateY(-2px); }
html.qd-light main.tl .tl-card:focus-visible { outline: 2px solid var(--tl-ink); outline-offset: 3px; }
html.qd-light main.tl .tl-card-img { display: block; overflow: hidden; background: var(--tl-light); aspect-ratio: 480 / 300; }
html.qd-light main.tl .tl-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
html.qd-light main.tl .tl-card:hover .tl-card-img img { transform: scale(1.025); }
html.qd-light main.tl .tl-card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 20px 20px; }
html.qd-light main.tl .tl-card-t { font-family: var(--font-head, Sora, Inter, sans-serif); font-weight: 600; font-size: 18px; line-height: 1.3; letter-spacing: -.012em; color: var(--tl-ink); }
html.qd-light main.tl .tl-card-d { font-size: 15.5px; line-height: 1.55; color: var(--tl-text); }
html.qd-light main.tl .tl-card .tl-run { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--tl-muted); }
html.qd-light main.tl .tl-card .tl-run::before { background: var(--tl-run-browser); }
html.qd-light main.tl .tl-card .tl-run-api::before { background: var(--tl-run-api); }
html.qd-light main.tl .tl-card .tl-run-server::before { background: var(--tl-run-server); }

/* ---------- prose, tables, figures (light reading) ---------- */
/* content sections: some pages put the text in a .wrap, others straight in the <section>; the section
   carries the width and the gutter either way */
html.qd-light main.tl > .section:where(:not(.tl-band, .tl-hero-band, .tl-result-band, .final, .tool-figure-section, .tool-figure-section-2)) { box-sizing: border-box; max-width: var(--tl-wrap); margin: 0 auto; padding: 56px 28px; border: 0; }
html.qd-light main.tl > .section.prose { max-width: 832px; }
html.qd-light main.tl > .section.prose + .section.prose { padding-top: 0; }
html.qd-light main.tl > .section > .wrap { max-width: none; margin: 0; padding: 0; }
html.qd-light main.tl > .section > .wrap.prose { max-width: 776px; margin: 0 auto; }
html.qd-light main.tl .section.final > .wrap { margin: 0 auto; }
html.qd-light main.tl .prose h2, html.qd-light main.tl #faq h2, html.qd-light main.tl #related h2 { font-family: var(--font-head, Sora, Inter, sans-serif); font-weight: 600; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.18; letter-spacing: -.024em; color: var(--tl-ink); margin: 0 0 .6em; }
html.qd-light main.tl .prose h2:not(:first-child) { margin-top: 1.8em; }
html.qd-light main.tl .prose h3 { color: var(--tl-ink); }
html.qd-light main.tl .prose :is(p, li) { font-size: 18px; line-height: 1.7; color: var(--tl-text); }
html.qd-light main.tl .prose p { margin: 0 0 1em; }
html.qd-light main.tl .prose :is(ul, ol) { margin: 0 0 1.2em; }
html.qd-light main.tl .prose li + li { margin-top: .4em; }
html.qd-light main.tl .prose .table-wrap { margin: 1.4em 0; }
html.qd-light main.tl .prose :is(b, strong) { color: var(--tl-ink); font-weight: 600; }
html.qd-light main.tl .prose a { color: var(--tl-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(14,18,32,.35); }
html.qd-light main.tl .prose a:hover { text-decoration-color: var(--tl-ink); }
html.qd-light main.tl .table-wrap { background: #fff; border: 1px solid var(--tl-line); border-radius: 14px; overflow-x: auto; box-shadow: none; }
html.qd-light main.tl .tbl { font-size: 15.5px; color: var(--tl-text); background: transparent; }
html.qd-light main.tl .tbl th { background: var(--tl-light); color: var(--tl-ink); font-weight: 600; border-color: var(--tl-line); }
html.qd-light main.tl .tbl td { background: #fff; border-color: var(--tl-line); color: var(--tl-text); }
html.qd-light main.tl .tool-figure { margin: 0; }
html.qd-light main.tl .tool-figure img { display: block; width: 100%; height: auto; border-radius: 18px; border: 0; background: var(--tl-light); }
html.qd-light main.tl .tool-figure figcaption { margin: 12px 4px 0; max-width: 72ch; font-size: 15px; line-height: 1.55; color: var(--tl-muted); }
html.qd-light main.tl > .section:is(.tool-figure-section, .tool-figure-section-2):not(.final) { box-sizing: border-box; max-width: var(--tl-wrap); margin: 0 auto; padding: 16px 28px 8px; }

/* ---------- FAQ and related ---------- */
html.qd-light main.tl .faq .qa-list { background: #fff; border: 1px solid var(--tl-line); border-radius: 16px; box-shadow: none; }
html.qd-light main.tl .faq .qa { background: transparent; border: 0; border-top: 1px solid var(--tl-line); border-radius: 0; box-shadow: none; }
html.qd-light main.tl .faq .qa:first-child { border-top: 0; }
html.qd-light main.tl .faq summary h3 { color: var(--tl-ink); font-weight: 600; }
html.qd-light main.tl .faq .qa-a { color: var(--tl-text); font-size: 17px; line-height: 1.7; }
html.qd-light main.tl .rel-card { background: #fff; border: 1px solid var(--tl-line); border-radius: 14px; box-shadow: none; transition: border-color .15s, transform .15s; }
html.qd-light main.tl .rel-card:hover { border-color: var(--tl-line-2); transform: translateY(-1px); }
html.qd-light main.tl .rel-card b { color: var(--tl-ink); }
html.qd-light main.tl .rel-card span { color: var(--tl-muted); }

/* ---------- closing CTA: a flat dark island, one teal button ---------- */
html.qd-light main.tl .section.final { padding: 24px 0 72px; border: 0; }
html.qd-light main.tl .section.final :is(.final-in, .final-card) { margin: 0 auto; max-width: calc(var(--tl-wrap) - 24px); box-sizing: border-box; background: var(--tl-dark); background-image: none; border: 0; border-radius: 28px; box-shadow: none; padding: 48px 56px; text-align: left; }
html.qd-light main.tl .section.final :is(.final-in, .final-card)::before, html.qd-light main.tl .section.final :is(.final-in, .final-card)::after { display: none; }
html.qd-light main.tl .section.final h2 { margin: 0; color: #fff; font-family: var(--font-head, Sora, Inter, sans-serif); font-weight: 600; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; letter-spacing: -.025em; max-width: 26ch; }
html.qd-light main.tl .section.final p { margin: 14px 0 0; color: #CDD3E1; font-size: 18px; line-height: 1.6; max-width: 62ch; }
html.qd-light main.tl .section.final .btn-cta { margin-top: 26px; }
html.qd-light main.tl .section.final .final-note { margin-top: 14px; color: var(--tl-on-dark-2); font-size: 15px; }
html.qd-light main.tl .section.final :is(.btn-outline, .btn-ghost) { display: inline-flex; align-items: center; min-height: 48px; box-sizing: border-box; padding: 0 20px; border-radius: 12px; font-size: 16px; font-weight: 600; text-decoration: none; margin-left: 10px; background: transparent; border: 1px solid rgba(232,236,245,.32); color: #fff; }
html.qd-light main.tl .section.final :is(.btn-outline, .btn-ghost):hover { border-color: rgba(232,236,245,.7); background: rgba(232,236,245,.06); }

/* ================= the tool widgets inside the console (tools.css markup) ================= */
html.qd-light main.tl .tl-console .tool { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 6px 6px 2px; color: var(--tl-text); }
html.qd-light main.tl .tl-console :is(.tool-label, .tool-field > label) { color: var(--tl-ink); font-size: 14px; font-weight: 600; letter-spacing: 0; }
html.qd-light main.tl .tl-console .tool-hint { color: var(--tl-muted); font-size: 14.5px; line-height: 1.55; }
html.qd-light main.tl .tl-console .tool-hint a, html.qd-light main.tl .tl-console .tool a:not([class]) { color: var(--tl-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--tl-line-2); }
html.qd-light main.tl .tl-console .tool-err { color: var(--tl-hit); font-size: 15px; }
html.qd-light main.tl .tl-console .tool-err:empty { min-height: 0; margin: 0; }
html.qd-light main.tl .tl-console .tool :is(textarea, input[type=url], input[type=text], input[type=search], select) { background: #fff; color: var(--tl-ink); border: 1px solid var(--tl-line-2); border-radius: 10px; font-size: 15px; box-shadow: none; }
html.qd-light main.tl .tl-console .tool :is(textarea, input, select):focus { outline: none; border-color: var(--tl-ink); box-shadow: 0 0 0 3px rgba(14,18,32,.10); }
html.qd-light main.tl .tl-console .tool ::placeholder { color: var(--tl-muted); opacity: 1; }
html.qd-light main.tl .tl-console .tool select { background-image: linear-gradient(45deg, transparent 50%, var(--tl-muted) 50%), linear-gradient(135deg, var(--tl-muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
/* the run button of a tool is ink: teal stays for the offer under the result */
html.qd-light main.tl .tl-console .tool .btn-cta { background: var(--tl-ink); color: #fff; border: 0; border-radius: 10px; box-shadow: none; }
html.qd-light main.tl .tl-console .tool .btn-cta:hover { background: #262E44; color: #fff; }
html.qd-light main.tl .tl-console .tool .btn-cta:disabled { opacity: .6; }
html.qd-light main.tl .tl-console .tool .btn-ghost { background: #fff; color: var(--tl-ink); border: 1px solid var(--tl-line-2); border-radius: 999px; font-size: 14px; font-weight: 500; }
html.qd-light main.tl .tl-console .tool .btn-ghost:hover { background: var(--tl-light); border-color: var(--tl-ink); transform: none; }
html.qd-light main.tl .tl-console .tool .btn-ghost.is-done { border-color: var(--tl-ok); color: var(--tl-ok); }
html.qd-light main.tl .tl-console .tool-code { background: var(--tl-light); border: 1px solid var(--tl-line); border-radius: 12px; color: var(--tl-ink); font-size: 14px; }
html.qd-light main.tl .tl-console .tool code { color: var(--tl-ink); background: var(--tl-light); }
/* main.js wraps every <pre> of the site in a dark code window with its own toolbar: inside a tool the output
   already has its label and Copy button, and an empty hidden output left a dark "Code" bar on the page */
html.qd-light main.tl .tl-console .qd-code-block { background: none; border: 0; border-radius: 0; overflow: visible; color: var(--tl-ink); }
html.qd-light main.tl .tl-console .qd-code-toolbar { display: none; }
html.qd-light main.tl .tl-console .qd-code-block pre { border: 1px solid var(--tl-line); border-radius: 12px; }
html.qd-light main.tl .tl-console .qd-code-block :is(pre, code, span) { color: var(--tl-ink); }
html.qd-light main.tl .tl-console .qd-code-block .qd-code-comment { color: var(--tl-muted); }
html.qd-light main.tl .tl-console .qd-code-block .qd-code-string { color: #0B6B53; }
html.qd-light main.tl .tl-console .tool-or { color: var(--tl-muted); }
html.qd-light main.tl .tl-console .cc-tab { background: #fff; color: var(--tl-text); border: 1px solid var(--tl-line-2); }
html.qd-light main.tl .tl-console .cc-tab:hover { color: var(--tl-ink); border-color: var(--tl-ink); }
html.qd-light main.tl .tl-console .cc-tab.is-on { background: var(--tl-ink); color: #fff; border-color: var(--tl-ink); }
html.qd-light main.tl .tl-console .rg-check:hover { background: var(--tl-light); border-color: var(--tl-line); }
html.qd-light main.tl .tl-console .rg-check input { accent-color: var(--tl-ink); }
html.qd-light main.tl .tl-console .rg-check i, html.qd-light main.tl .tl-console .ua-row dt, html.qd-light main.tl .tl-console .ua-none { color: var(--tl-muted); }
html.qd-light main.tl .tl-console .ua-row { border-bottom-color: var(--tl-line); }
html.qd-light main.tl .tl-console :is(.rt-empty, .rt-group, .rt-maps, .rt-why) { color: var(--tl-muted); }
html.qd-light main.tl .tl-console .rt-row { background: #fff; border: 1px solid var(--tl-line); border-left: 3px solid var(--tl-line-2); border-radius: 10px; }
html.qd-light main.tl .tl-console .rt-row.is-ok { border-left-color: #13856C; }
html.qd-light main.tl .tl-console .rt-row.is-ok .rt-verdict { color: var(--tl-ok); }
html.qd-light main.tl .tl-console .rt-row.is-no { border-left-color: var(--tl-hit); }
html.qd-light main.tl .tl-console .rt-row.is-no .rt-verdict { color: var(--tl-hit); }
html.qd-light main.tl .tl-console .rt-row.is-warn { border-left-color: #B35F12; }
html.qd-light main.tl .tl-console :is(.rt-row.is-warn .rt-verdict, .rt-miss) { color: #8A4B0F; }
html.qd-light main.tl .tl-console .rt-url { color: var(--tl-ink); }
html.qd-light main.tl .tl-console .rt-why code { background: var(--tl-light); color: var(--tl-ink); }
html.qd-light main.tl .tl-console .rt-errors { border-color: rgba(179,95,18,.35); background: #FFF8EE; color: var(--tl-text); }

/* the action and the offer right under the result */
html.qd-light main.tl .tl-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin: 20px 0 0; padding: 18px 6px 4px; border-top: 1px solid var(--tl-line); }
html.qd-light main.tl .tl-next p { margin: 0; }
html.qd-light main.tl .tl-next-t { flex: 1 1 380px; max-width: 66ch; font-size: 16px; line-height: 1.55; color: var(--tl-text); }
html.qd-light main.tl .tl-next-t b { color: var(--tl-ink); font-weight: 600; }
html.qd-light main.tl .tl-next-a { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
html.qd-light main.tl .tl-next .btn-cta { margin: 0; background: #25E3C2; color: #05070F; border: 0; }
html.qd-light main.tl .tl-next .btn-cta:hover { background: #6EE7B7; color: #052E20; }
html.qd-light main.tl .tl-btn-line { display: inline-flex; align-items: center; min-height: 48px; box-sizing: border-box; padding: 0 18px; border-radius: 12px; border: 1px solid var(--tl-line-2); color: var(--tl-ink); font-weight: 600; font-size: 15.5px; text-decoration: none; transition: border-color .15s, background-color .15s; }
html.qd-light main.tl .tl-btn-line:hover { border-color: var(--tl-ink); background: var(--tl-light); }

/* ================= IP fraud score check: light result board ================= */
html.qd-light main.tl .ipf-search { position: relative; background: #fff; border: 1px solid var(--tl-line-2); border-radius: 12px; padding: 6px; transition: border-color .15s, box-shadow .15s; }
html.qd-light main.tl .ipf-search:focus-within { border-color: var(--tl-ink); box-shadow: 0 0 0 3px rgba(14,18,32,.10); }
html.qd-light main.tl .ipf-row { display: flex; gap: 6px; align-items: center; }
html.qd-light main.tl .ipf-row input { flex: 1; min-width: 0; height: 50px; padding: 0 12px; background: transparent; border: 0; outline: 0; color: var(--tl-ink); font: 500 1.08rem var(--tl-mono); }
html.qd-light main.tl .ipf-row input::placeholder { color: var(--tl-muted); font-family: Inter, sans-serif; font-size: 1rem; opacity: 1; }
html.qd-light main.tl .ipf-btn { height: 44px; padding: 0 18px; border-radius: 10px; border: 0; background: var(--tl-ink); color: #fff; font: 600 .98rem Inter, sans-serif; cursor: pointer; white-space: nowrap; transition: background-color .15s; }
html.qd-light main.tl .ipf-btn:hover { background: #262E44; }
html.qd-light main.tl .ipf-btn:disabled { opacity: .55; cursor: progress; }
html.qd-light main.tl .ipf-btn-ghost { background: #fff; color: var(--tl-ink); box-shadow: inset 0 0 0 1px var(--tl-line-2); }
html.qd-light main.tl .ipf-btn-ghost:hover { background: var(--tl-light); }
html.qd-light main.tl :is(.ipf-btn, .ipf-try, .ipf-act, .ipf-raw summary):focus-visible { outline: 2px solid var(--tl-ink); outline-offset: 2px; }
html.qd-light main.tl .ipf-busy { position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; overflow: hidden; }
html.qd-light main.tl .ipf-busy::after { content: ""; position: absolute; top: 0; bottom: 0; width: 24%; background: var(--tl-ink); animation: tl-slide 1.2s linear infinite; }
@keyframes tl-slide { 0% { left: -24%; } 100% { left: 100%; } }
html.qd-light main.tl .ipf-under { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 12px 4px 0; color: var(--tl-muted); font-size: 15px; }
html.qd-light main.tl .ipf-try { padding: 0; border: 0; background: none; color: var(--tl-ink); font: inherit; font-weight: 500; cursor: pointer; text-decoration: underline; text-decoration-color: var(--tl-line-2); text-underline-offset: 3px; }
html.qd-light main.tl .ipf-try:hover { text-decoration-color: var(--tl-ink); }
html.qd-light main.tl .ipf-status { margin: 8px 4px 0; min-height: 1.4em; color: var(--tl-muted); font-size: 15px; }
html.qd-light main.tl .ipf-status:empty { display: none; }
html.qd-light main.tl .ipf-status.is-err { color: var(--tl-hit); }
html.qd-light main.tl .ipf-limit { margin: 12px 0 0; padding: 20px 22px; background: var(--tl-light); border: 1px solid var(--tl-line); border-radius: 12px; max-width: 640px; }
html.qd-light main.tl .ipf-limit[hidden], html.qd-light main.tl .ipf-out[hidden], html.qd-light main.tl .ipf-busy[hidden], html.qd-light main.tl .ipf-flags[hidden], html.qd-light main.tl .ipf-cell[hidden] { display: none; }
html.qd-light main.tl .ipf-limit-h { margin: 0; color: var(--tl-ink); font-size: 1.05rem; font-weight: 600; }
html.qd-light main.tl .ipf-limit-p { margin: 8px 0 16px; color: var(--tl-text); font-size: 1rem; line-height: 1.6; }

html.qd-light main.tl .section.tl-result-band { padding: 40px 0 64px; border: 0; background: var(--tl-white); }
html.qd-light main.tl .ipf-out { margin: 0 0 24px; scroll-margin-top: 96px; }
html.qd-light main.tl .ipf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--tl-line); border: 1px solid var(--tl-line); border-radius: 18px; overflow: hidden; }
html.qd-light main.tl .ipf-cell { background: #fff; padding: 24px 26px; min-width: 0; }
html.qd-light main.tl .ipf-wide { grid-column: 1 / -1; }
html.qd-light main.tl .ipf-k { margin: 0 0 10px; color: var(--tl-muted); font-size: 14px; font-weight: 600; }
html.qd-light main.tl .ipf-k span { margin-left: 6px; color: var(--tl-muted); font-weight: 400; }
html.qd-light main.tl .ipf-ip { margin: 0; font: 600 clamp(1.7rem, 1.2rem + 1.8vw, 2.4rem)/1.1 var(--tl-mono); color: var(--tl-ink); overflow-wrap: anywhere; }
html.qd-light main.tl .ipf-where { margin: 10px 0 0; color: var(--tl-text); font-size: 16px; line-height: 1.55; }
html.qd-light main.tl .ipf-acts { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; }
html.qd-light main.tl .ipf-act { min-height: 36px; padding: 0 12px; border-radius: 8px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--tl-line-2); color: var(--tl-text); font: 600 .9rem Inter, sans-serif; cursor: pointer; }
html.qd-light main.tl .ipf-act:hover, html.qd-light main.tl .ipf-act.is-done { color: var(--tl-ink); background: var(--tl-light); }
html.qd-light main.tl .ipf-big { margin: 0; display: flex; align-items: baseline; gap: 6px; }
html.qd-light main.tl .ipf-big b { font: 600 3.4rem/1 var(--font-head, Sora, Inter, sans-serif); color: var(--tl-ink); letter-spacing: -.03em; }
html.qd-light main.tl .ipf-big span { color: var(--tl-muted); font: 500 1rem var(--tl-mono); }
html.qd-light main.tl .ipf-meter { position: relative; height: 8px; margin-top: 16px; background: var(--tl-light); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--tl-line); overflow: hidden; }
html.qd-light main.tl .ipf-meter i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--tl-ink); border-radius: 999px; transition: width .5s ease; }
html.qd-light main.tl .ipf-meter[data-s=hit] i { background: var(--tl-hit); }
html.qd-light main.tl .ipf-ticks { display: flex; justify-content: space-between; margin-top: 6px; color: var(--tl-muted); font: 500 .8rem var(--tl-mono); }
html.qd-light main.tl .ipf-verdict { margin: 14px 0 0; color: var(--tl-ink); font-size: 16px; line-height: 1.5; }
html.qd-light main.tl .ipf-flags { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--tl-line); }
html.qd-light main.tl .ipf-sum { grid-template-columns: repeat(4, minmax(0, 1fr)); }
html.qd-light main.tl .ipf-flag { background: #fff; padding: 16px 18px; }
html.qd-light main.tl .ipf-flag span { display: block; color: var(--tl-muted); font-size: 14px; }
html.qd-light main.tl .ipf-flag b { display: block; margin-top: 4px; font: 600 1.1rem var(--tl-mono); color: var(--tl-ink); }
html.qd-light main.tl .ipf-flag[data-s=hit] b, html.qd-light main.tl .ipf-k span[data-s=hit] { color: var(--tl-hit); }
html.qd-light main.tl .ipf-flag[data-s=na] b { color: var(--tl-muted); }
html.qd-light main.tl .ipf-flag i { display: block; margin-top: 6px; color: var(--tl-muted); font-size: 14px; font-style: normal; line-height: 1.45; }
html.qd-light main.tl .ipf-h { margin: 0 0 8px; color: var(--tl-ink); font-size: 15px; font-weight: 600; }
html.qd-light main.tl .ipf-rep { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; }
html.qd-light main.tl .ipf-group { min-width: 0; }
html.qd-light main.tl .ipf-why { margin: 0; padding: 0; list-style: none; }
html.qd-light main.tl .ipf-why li { margin: 0; padding: 10px 0; border-top: 1px solid var(--tl-line); color: var(--tl-text); font-size: 16px; line-height: 1.55; }
html.qd-light main.tl .ipf-why li:first-child { border-top: 0; padding-top: 0; }
html.qd-light main.tl .ipf-why b { color: var(--tl-ink); font-weight: 600; }
html.qd-light main.tl .ipf-why b[data-s=hit] { color: var(--tl-hit); }
html.qd-light main.tl .ipf-tw { overflow-x: auto; margin: 0 0 4px; }
html.qd-light main.tl .ipf-tw + .ipf-h, html.qd-light main.tl .ipf-small + .ipf-h { margin-top: 20px; }
html.qd-light main.tl .ipf-tbl { width: 100%; border-collapse: collapse; background: transparent; }
html.qd-light main.tl .ipf-tbl th { padding: 0 14px 8px 0; border: 0; border-bottom: 1px solid var(--tl-line-2); background: transparent; color: var(--tl-muted); font: 600 .88rem Inter, sans-serif; text-align: left; white-space: nowrap; }
html.qd-light main.tl .ipf-tbl td { padding: 9px 14px 9px 0; border: 0; border-top: 1px solid var(--tl-line); background: transparent; color: var(--tl-text); font: 500 .9rem/1.45 var(--tl-mono); vertical-align: top; }
html.qd-light main.tl .ipf-tbl tr:first-child td { border-top: 0; }
html.qd-light main.tl .ipf-tbl td:first-child { color: var(--tl-ink); font-family: Inter, sans-serif; font-size: .95rem; min-width: 180px; }
html.qd-light main.tl .ipf-tbl td[data-s=hit], html.qd-light main.tl .ipf-dl dd[data-s=hit] { color: var(--tl-hit); }
html.qd-light main.tl .ipf-small { margin: 10px 0 0; color: var(--tl-muted); font-size: 14px; line-height: 1.55; }
html.qd-light main.tl .ipf-dl { margin: 0; }
html.qd-light main.tl .ipf-dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; border-top: 1px solid var(--tl-line); }
html.qd-light main.tl .ipf-dl div:first-child { border-top: 0; padding-top: 0; }
html.qd-light main.tl .ipf-dl dt { color: var(--tl-muted); font-size: 15px; flex: none; }
html.qd-light main.tl .ipf-dl dd { margin: 0; color: var(--tl-ink); font: 500 .95rem var(--tl-mono); text-align: right; overflow-wrap: anywhere; min-width: 0; }
html.qd-light main.tl .ipf-dl dd[data-s=ok] { color: var(--tl-muted); }
html.qd-light main.tl .ipf-dl dd a, html.qd-light main.tl .ipf-src a, html.qd-light main.tl .ipf-report a, html.qd-light main.tl .ipf-scale a { color: var(--tl-ink); text-decoration: underline; text-decoration-color: var(--tl-line-2); text-underline-offset: 3px; }
html.qd-light main.tl .ipf-dl dd a { margin-left: 6px; font: inherit; }
html.qd-light main.tl :is(.ipf-src, .ipf-report, .ipf-scale) a:hover { text-decoration-color: var(--tl-ink); }
html.qd-light main.tl .ipf-raw summary { cursor: pointer; color: var(--tl-ink); font-size: 15px; font-weight: 600; list-style: none; }
html.qd-light main.tl .ipf-raw summary::-webkit-details-marker { display: none; }
html.qd-light main.tl .ipf-raw summary::before { content: "+"; display: inline-block; width: 16px; color: var(--tl-muted); font-family: var(--tl-mono); }
html.qd-light main.tl .ipf-raw[open] summary::before { content: "-"; }
html.qd-light main.tl .ipf-raw pre { margin: 14px 0 0; max-height: 320px; overflow: auto; padding: 14px 16px; background: var(--tl-light); border-radius: 10px; color: var(--tl-ink); font: .86rem/1.6 var(--tl-mono); white-space: pre; }
html.qd-light main.tl :is(.ipf-report, .ipf-note) { margin: 12px 2px 0; color: var(--tl-muted); font-size: 15px; line-height: 1.55; }
html.qd-light main.tl .ipf-src { margin: 8px 2px 0; color: var(--tl-muted); font-size: 14px; line-height: 1.6; max-width: 110ch; }
html.qd-light main.tl .ipf-scale { margin: 0; color: var(--tl-text); font-size: 17px; line-height: 1.65; max-width: 80ch; }
html.qd-light main.tl .ipf-cmd { margin: 14px 0 0; color: var(--tl-muted); font-size: 15px; line-height: 1.7; }
html.qd-light main.tl .ipf-cmd code { padding: 3px 8px; border-radius: 6px; background: var(--tl-light); box-shadow: inset 0 0 0 1px var(--tl-line); color: var(--tl-ink); font: 500 .9rem var(--tl-mono); overflow-wrap: anywhere; }
html.qd-light main.tl .ipf-also { margin: 12px 0 0; color: var(--tl-muted); font-size: 15px; line-height: 1.6; }
html.qd-light main.tl .ipf-also b { color: var(--tl-ink); font-weight: 600; }

/* the offer right after score and flags: a dark island, one teal button, one outline */
html.qd-light main.tl .ipf-cta.tl-offer { background: var(--tl-dark); padding: 26px 28px; }
html.qd-light main.tl .tl-offer .ipf-cta-h { margin: 0; color: #fff; font: 600 1.35rem/1.3 var(--font-head, Sora, Inter, sans-serif); letter-spacing: -.015em; }
html.qd-light main.tl .tl-offer .ipf-cta-p { margin: 8px 0 0; color: #CDD3E1; font-size: 17px; line-height: 1.6; max-width: 72ch; }
html.qd-light main.tl .tl-offer .ipf-cta-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0 0; }
html.qd-light main.tl .tl-offer .btn-cta { margin: 0; }
html.qd-light main.tl .tl-offer .ipf-cta-b { display: inline-flex; align-items: center; min-height: 48px; box-sizing: border-box; padding: 0 18px; border-radius: 12px; border: 1px solid rgba(232,236,245,.32); color: #fff; font: 600 1rem Inter, sans-serif; text-decoration: none; }
html.qd-light main.tl .tl-offer .ipf-cta-b:hover { border-color: rgba(232,236,245,.7); background: rgba(232,236,245,.06); }
html.qd-light main.tl .tl-offer .ipf-cta-note { margin: 12px 0 0; color: var(--tl-on-dark-2); font-size: 15px; line-height: 1.55; }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  html.qd-light main.tl .tl-hero { padding: 40px 36px 40px; }
  html.qd-light main.tl .tl-hero-split { grid-template-columns: minmax(0, 1fr); }
  html.qd-light main.tl .tl-hero-art { max-width: 520px; }
  html.qd-light main.tl .tl-tool-art { grid-column: 1; grid-row: auto; }
  html.qd-light main.tl .tl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.qd-light main.tl .ipf-grid { grid-template-columns: 1fr; }
  html.qd-light main.tl .ipf-flags { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html.qd-light main.tl .ipf-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.qd-light main.tl .ipf-rep { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  html.qd-light main.tl .section.tl-hero-band { padding-top: 12px; }
  html.qd-light main.tl .tl-hero { border-radius: 22px; padding: 28px 20px 24px; margin: 0 12px; }
  html.qd-light main.tl .tl-hero h1 { font-size: clamp(30px, 8.4vw, 38px); }
  html.qd-light main.tl .tl-hero .tl-lead { font-size: 17px; }
  /* on a phone the tool comes right under its name: the lead and byline follow it */
  html.qd-light main.tl .tl-tool .tl-hero-copy, html.qd-light main.tl.tl-tool .tl-hero-copy { display: contents; }
  html.qd-light main.tl.tl-tool .tl-hero-split { gap: 0; }
  html.qd-light main.tl.tl-tool .tl-crumbs { order: 1; }
  html.qd-light main.tl.tl-tool .tl-eyebrow { order: 2; margin-top: 18px; font-size: 14px; }
  html.qd-light main.tl.tl-tool .tl-hero h1 { order: 3; }
  html.qd-light main.tl.tl-tool .tl-console { order: 4; margin-top: 20px; }
  html.qd-light main.tl.tl-tool .tl-lead { order: 5; }
  html.qd-light main.tl.tl-tool .tl-byline { order: 6; }
  html.qd-light main.tl.tl-tool .tl-tool-art { order: 7; margin-top: 22px; }
  html.qd-light main.tl .tl-console { padding: 12px; border-radius: 14px; }
  html.qd-light main.tl .tl-fan { display: none; }
  html.qd-light main.tl .tl-wrap { padding: 0 16px; }
  html.qd-light main.tl > .section:where(:not(.tl-band, .tl-hero-band, .tl-result-band, .final, .tool-figure-section, .tool-figure-section-2)) { padding: 40px 16px; }
  html.qd-light main.tl .section.tl-band { padding: 48px 0; }
  html.qd-light main.tl .tl-grid { grid-template-columns: 1fr; gap: 16px; }
  html.qd-light main.tl > .section:is(.tool-figure-section, .tool-figure-section-2):not(.final) { padding: 12px 16px 4px; }
  html.qd-light main.tl .tl-cta-row > * { flex: 1 1 auto; justify-content: center; }
  html.qd-light main.tl .section.final :is(.final-in, .final-card) { padding: 32px 22px; border-radius: 22px; margin: 0 12px; }
  html.qd-light main.tl .section.final :is(.btn-outline, .btn-ghost) { margin: 12px 0 0; }
  html.qd-light main.tl .ipf-row { flex-wrap: wrap; }
  html.qd-light main.tl .ipf-row input { flex-basis: 100%; }
  html.qd-light main.tl .ipf-btn { flex: 1; }
  html.qd-light main.tl .ipf-cell { padding: 18px; }
  html.qd-light main.tl .ipf-act { min-height: 44px; }
  html.qd-light main.tl .ipf-try { display: inline-flex; align-items: center; min-height: 44px; }
  html.qd-light main.tl .ipf-under { row-gap: 0; }
  html.qd-light main.tl .ipf-flag { padding: 14px; }
  html.qd-light main.tl .ipf-big b { font-size: 2.8rem; }
  html.qd-light main.tl .ipf-tbl td:first-child { min-width: 130px; }
  html.qd-light main.tl .ipf-cta.tl-offer { padding: 22px 18px; }
  html.qd-light main.tl .tl-offer .ipf-cta-acts > * { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html.qd-light main.tl :is(.tl-card, .tl-card-img img, .tl-fan a, .rel-card, .ipf-meter i) { transition: none; }
  html.qd-light main.tl .tl-card:hover, html.qd-light main.tl .tl-fan a:hover { transform: none; }
  html.qd-light main.tl .tl-card:hover .tl-card-img img { transform: none; }
  html.qd-light main.tl .ipf-busy::after { animation: none; left: 0; width: 100%; opacity: .4; }
}

/* ---------- dark tools (Aldo 04/11/2026: «la parte del tool deve essere scura, così è più easy per gli occhi») ----------
   The console and the result card sit in the dark of the hero: the light tokens are redefined inside them, and
   the surfaces above that are painted #fff get dark ones here (same specificity, later in the file). The result
   band turns dark only once a result is showing, so an empty band stays out of sight. */
html.qd-light main.tl :is(.tl-console, .tl-result-band .ipf-out) {
  --tl-white: #141A2E; --tl-light: #1B2339; --tl-ink: #F3F5FA; --tl-text: #D3D9E6; --tl-muted: #A3ADC4;
  --tl-line: rgba(232,236,245,.10); --tl-line-2: rgba(232,236,245,.24);
  --tl-ok: #8EE0AE; --tl-hit: #FF9F96; --tl-run-server: #FFC978; --tl-run-browser: #7FE3CE; --tl-run-api: #9DBBFF;
  /* the older tools.css widgets (drop zone, bot list, tabs) read the site's own tokens */
  --bg: #141A2E; --bg-elev: #1B2339; --bg-card: #1B2339; --text: #F3F5FA; --muted: #A3ADC4; --line: rgba(232,236,245,.10);
  --accent: #8EE0AE; --accent-ink: #0B1020;
  color-scheme: dark;
}
html.qd-light main.tl .tl-console { box-shadow: 0 0 0 1px var(--tl-line), 0 18px 50px rgba(0,0,0,.28); }
html.qd-light main.tl .section.tl-result-band:has(.ipf-out:not([hidden])) { background: var(--tl-dark); }
html.qd-light main.tl .tl-console .tool :is(textarea, input[type=url], input[type=text], input[type=search], select),
html.qd-light main.tl .tl-console .ipf-search { background-color: var(--tl-dark); color: var(--tl-ink); }
html.qd-light main.tl .tl-console .tool :is(textarea, input, select):focus,
html.qd-light main.tl .tl-console .ipf-search:focus-within { box-shadow: 0 0 0 3px rgba(232,236,245,.14); }
html.qd-light main.tl .tl-console .tool .btn-cta, html.qd-light main.tl .tl-console .ipf-btn { color: var(--tl-dark); }
html.qd-light main.tl .tl-console .tool .btn-cta:hover, html.qd-light main.tl .tl-console .ipf-btn:hover { background: #fff; color: var(--tl-dark); }
html.qd-light main.tl .tl-console .tool .btn-ghost, html.qd-light main.tl .tl-console .ipf-btn-ghost { background: var(--tl-dark); }
html.qd-light main.tl .tl-console .cc-tab { background: var(--tl-dark); }
html.qd-light main.tl .tl-console .cc-tab.is-on { background: var(--tl-ink); color: var(--tl-dark); }
html.qd-light main.tl .tl-console .table-wrap { background: var(--tl-dark); border-color: var(--tl-line); }
html.qd-light main.tl .tl-console .tbl td { background: transparent; border-color: var(--tl-line); color: var(--tl-text); }
html.qd-light main.tl .tl-console .rt-row { background: var(--tl-light); }
html.qd-light main.tl .tl-result-band :is(.ipf-cell, .ipf-flag) { background: var(--tl-white); }
html.qd-light main.tl .tl-result-band .ipf-act { background: var(--tl-dark); }
/* singles-light.css pins the first column of a wide table on phones on a #fff cell */
html.qd-light main.tl .tl-console .tbl td:first-child { background: var(--tl-dark); }
html.qd-light main.tl .tl-console .tbl th:first-child { background: var(--tl-light); }
html.qd-light main.tl .tl-console .ipf-btn-ghost { color: var(--tl-ink); }
html.qd-light main.tl .tl-console .ipf-btn-ghost:hover { background: var(--tl-light); color: var(--tl-ink); }
/* code in the dark console: the dark-site colours of styles.css */
html.qd-light main.tl .tl-console .qd-code-block .qd-code-string { color: #a7f3d0; }
html.qd-light main.tl .tl-console .qd-code-block .qd-code-keyword { color: #7dd3fc; }
