/* Free tools (/tools/, views/sus/tools/): page template, the tool "window" card, and shared building blocks for the tool
   widgets. Every class starts with "tl-".

   ONE TEMPLATE ON EVERY PAGE (Marty's pick 2026-11-19: page template of design sample C, tool look of sample D):
     - Full-width light banner (.tl-hero): crumbs, h1, one-line lede, meta line. Blog typography: h1 44px (38px when long,
       32px when very long; _top.php sets .tl-h1-long / .tl-h1-xlong the same way the blog does), lede 18px, meta 14px, crumbs 13px, FAQ title 22px, FAQ answers 16px (all as the blog).
     - Standard container below it: the main column (.tl-content) with the sticky side "Download Now" box (.tl-side)
       beside it from 992px (stacked under it on phones). The side Download Now stays inside a 1260x640 screen.
     - Text outside the tool uses the blog's article type: 17px / 1.7 #333, h2 26px, h3 20px.
     - Tool pages: the tool is a WINDOW card (tool.php prints it; widgets never print it themselves):
         <section class="tl-tool tl-window tl-w-<slug>" id="tool">
           <div class="tl-window-bar"> icon + tool name + "Free Online Tool" tag </div>
           <div class="tl-window-body"> ...the widget... </div>
         </section>
       Inside the tool, the 65+ sizes apply: text 18px, labels 17px, helper text 16px (never under 15px), buttons 48px+.

   THE TOOL LOOK (sample D), for every widget:
     1. START ZONE: a generous dashed box that is the first thing in the tool.
          <div class="tl-zone" id="xxZone">
            <span class="tl-zone-icon" aria-hidden="true"><i class="fa fa-microphone"></i></span>
            <p class="tl-zone-title">Is your microphone working?</p>         (one short question)
            <button type="button" class="tl-btn tl-btn-lg" id="xxStart"><i class="fa fa-play" aria-hidden="true"></i> Start Microphone Test</button>
            <p class="tl-zone-sub">Takes about 10 seconds.</p>              (optional, one short line)
            <?php echo $quickSteps(); ?>                                     (optional: the data file's 1-2-3 in one quiet row)
            <?php echo $permNote( 'microphone' ); ?>                         (optional: the "click Allow" line)
            <div class="tl-zone-alt"><span class="tl-or">or</span>            (optional second way in)
              <button type="button" class="tl-btn-alt">Check All of Downloads</button></div>
          </div>
          <p class="tl-zone-guide"><i class="fa fa-lock" aria-hidden="true"></i> One reassuring line.</p>   (optional)
          <div class="tl-zone-more"><details class="tl-more">...</details> ...</div>   (optional: longer help, closed)
        Variants: .tl-zone.is-live = the live test area (keyboard, mouse, touch: put the test surface inside; it turns solid
        blue while active/focused: add .is-active from JS when testing starts), .tl-zone.is-answer = a PC-info answer card
        (solid border, the answer inside: .tl-answer-label / .tl-result / .tl-result-sub, or a .tl-spec list),
        .tl-zone.is-over = something dragged over it, .tl-zone.is-clickable = the whole zone clicks its main button
        (WZST.zoneClick in tools-core.js). .tl-zone-left = left-aligned content (long lists, forms).
     2. REPORT CARD: the results replace the zone (WZST.showReport(zone, report) hides one and shows the other).
          <div class="tl-report" id="xxReport" hidden>
            <div id="xxVerdict"></div>                 (WZST.verdict: the big green / amber / red answer)
            ...stats (.tl-stats), lists (.tl-spec, .tl-list), tabs (.tl-tabs)...
            <div class="tl-report-actions"><button class="tl-btn tl-btn-secondary">Test Again</button></div>
          </div>
     A tool can keep both on screen (e.g. a live level bar under the zone) if that is clearer; the rule is one obvious
     first button, short words inside the tool, longer explanations in a .tl-more or below the tool.

   Other building blocks (use these first; anything tool-specific goes in the widget's <style> under .tl-w-<slug>):
     .tl-btn                 primary button (blue, 48px+, 18px text; a verb: "Start Microphone Test"). + .tl-btn-secondary
                             (white), .tl-btn-danger (red), .tl-btn-sm (narrower, still 48px), .tl-btn-lg (the one obvious
                             first button: 56px, 20px; 62px inside a .tl-zone). .tl-btn-alt = the quiet "or" button.
     .tl-btn-row             a row of buttons that wraps on phones
     .tl-field, .tl-label, .tl-input, .tl-select, .tl-check (label wrapping a checkbox/radio, 24px box), .tl-help (16px)
     .tl-panel               light inner box; .tl-panel-title for its heading (a <h2> or <p>)
     .tl-result              the big answer (e.g. "1920 x 1080"); .tl-result-sub the line under it; .tl-answer-label above
     .tl-spec                name/value list: <dl class="tl-spec"><div><dt>Windows</dt><dd>Windows 11 Home</dd></div></dl>
     .tl-list > li           bordered rows (results lists); .tl-list-main / .tl-list-num inside a row
     .tl-tabs > .tl-tab      segmented tabs (role="tablist" / role="tab" aria-selected="true")
     .tl-stats > .tl-stat > .tl-stat-value + .tl-stat-label    grid of numbers
     .tl-status (+ .is-ok / .is-warn / .is-bad / .is-idle)     coloured status pill with an icon
     .tl-meter > .tl-meter-bar (style="width:..%")              level bar (mic level, progress)
     .tl-table               simple bordered table (wrap it in .tl-table-wrap to scroll sideways on phones)
     .tl-note, .tl-note-warn, .tl-note-bad                       message boxes
     .tl-kbd                 a key cap (<kbd class="tl-kbd">)
     .tl-stage               dark area for canvases/video (16:9 by default; set aspect-ratio yourself to change)
     .tl-fs                  a full-screen layer (for dead pixel / refresh-rate style tests); hidden until .is-on
     .tl-sr                  visible to screen readers only;   [hidden] always hides
     .tl-verdict (+ .is-ok / .is-warn / .is-bad / .is-info)    the big plain-language result: build it with WZST.verdict()
     .tl-permission          one line before a browser permission pop-up ($permNote('microphone') in the widget)
     .tl-ministeps           numbered 1-2-3 steps (li.is-current / li.is-done; WZST.steps(n)); + .tl-zone-steps = the
                             quiet one-row look used inside the zone ($quickSteps() prints the data file's steps this way)
     .tl-more                <details class="tl-more"><summary>More details</summary><div>...</div></details>

   Made for readers aged 65+ on Windows laptops (1260x640 and up): text at least #333 on white (secondary #3d4a5c), never
   light grey for anything that matters, buttons 48px+ with 18px text, big focus rings, gentle motion only.
   Sizes: the container is 970px on a 1260px laptop, so the tool window is 610px wide (554px inside its padding) next to
   the 300px side box; on phones it is the full width (down to 320px). */

/* ---------- Page ---------- */
.tl-page .header_container { position: sticky; top: 0; z-index: 1001; }
.tl-page .page { overflow: clip; }
.tl-skip { position: absolute; left: -9999px; top: 0; z-index: 2000; background: #fff; color: #000; padding: 12px 18px; font-size: 18px; }
.tl-skip:focus { left: 10px; top: 10px; }
.tl [hidden] { display: none !important; }
.tl-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.tl [id] { scroll-margin-top: 96px; }
.tl a { color: #2a6bb5; text-underline-offset: .15em; }
.tl a:hover { color: #1f4a8a; }
/* Big, high-contrast focus ring (dark orange, 3:1+ on white and on the light blues). */
.tl a:focus-visible, .tl button:focus-visible, .tl input:focus-visible, .tl select:focus-visible, .tl textarea:focus-visible,
.tl summary:focus-visible, .tl [tabindex]:focus-visible, .tl-skip:focus { outline: 4px solid #c25e00; outline-offset: 3px; }
/* The site's phone CSS hides every <br> (style.css: br{display:none} under 767px); bring them back inside /tools/. */
.tl br { display: inline; }

/* ---------- Banner (the blog's hero type) ---------- */
.tl-hero { background: linear-gradient(135deg, #e6edf8 0%, #f1f5fb 55%, #fbfcfe 100%); color: #16233b; padding: 14px 0 22px;
    border-bottom: 1px solid #dfe6f1; }
.tl-crumbs { font-size: 13px; line-height: 1.4; color: #3d4a5c; margin: 0 0 12px; }
.tl-crumbs .sep { margin: 0 8px; color: #5d6b80; }
.tl .tl-crumbs a { color: #2f4a7c; }
.tl-pill { display: inline-block; font-size: 15px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: #2f4a7c;
    background: #fff; border: 1px solid #c9d6ea; border-radius: 999px; padding: 3px 12px; margin-bottom: 10px; }
.tl .tl-hero h1 { color: #16233b; font-size: 44px; line-height: 1.12; font-weight: 700; letter-spacing: -.5px; margin: 0 0 12px; max-width: 900px;
    overflow-wrap: break-word; }
.tl .tl-hero h1.tl-h1-long { font-size: 38px; }
.tl .tl-hero h1.tl-h1-xlong { font-size: 32px; }
/* Even lines in big headings; Japanese breaks between phrases, not in the middle of a word (Edge and Chrome). */
.tl .tl-hero h1, .tl .tl-zone-title, .tl .tl-verdict-title { text-wrap: balance; }
html[lang="ja"] .tl .tl-hero h1, html[lang="ja"] .tl .tl-zone-title, html[lang="ja"] .tl h2 { word-break: auto-phrase; }
.tl .tl-lede { font-size: 18px; line-height: 1.5; color: #3a4a63; margin: 0 0 10px; max-width: 800px; }
.tl .tl-meta { color: #3d4a5c; font-size: 14px; line-height: 1.5; margin: 0; }
.tl-meta .dot { margin: 0 8px; color: #5d6b80; }
/* Translated pages run longer: a little tighter on laptops (as the blog does) so the side Download Now stays on screen. */
@media (min-width: 992px) {
    .tl .tl-hero-tr h1 { font-size: 40px; margin-bottom: 10px; }
    .tl .tl-hero-tr h1.tl-h1-long { font-size: 34px; }
    .tl .tl-hero-tr h1.tl-h1-xlong { font-size: 30px; }
    .tl .tl-hero-tr .tl-lede { font-size: 17px; line-height: 1.5; margin-bottom: 8px; }
}
/* Library entries: "Our Verdict: [badge]" sits on the meta line (Updated ... · Our Verdict: Safe to Remove). */
.tl .tl-meta .tl-meta-verdict { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; vertical-align: middle; }
.tl-meta-verdict-label { font-weight: 700; color: #2f4a7c; font-size: 16px; }

/* ---------- Layout: main column + sticky download box (side by side from 992px; stacked below) ---------- */
.tl-main { padding-top: 22px; padding-bottom: 64px; }
.tl-layout { display: block; }
.tl-content { min-width: 0; }
@media (min-width: 992px) {
    .tl-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; align-items: start; }
    .tl-side { position: sticky; top: 96px; }
}
@media (max-width: 991px) { .tl-side { margin-top: 44px; } }

/* ---------- Text outside the tool: the blog's article type (17px / 1.7, #333) ---------- */
.tl p, .tl li { font-size: 17px; line-height: 1.7; color: #333; }
.tl-intro { margin: 0 0 26px; max-width: 760px; }
.tl .tl-intro { font-size: 17px; line-height: 1.7; }
.tl-body h2, .tl-group h2, .tl-related h2, .tl-others h2, .tl-why h2 { font-size: 26px; font-weight: 700; color: #222; line-height: 1.3; margin: 44px 0 14px; }
.tl-body h3 { font-size: 20px; font-weight: 700; color: #222; line-height: 1.3; margin: 26px 0 12px; }
.tl-body p { margin: 0 0 16px; }
.tl-body ul, .tl-body ol { margin: 0 0 16px; padding-left: 24px; }
.tl-body li { margin-bottom: 6px; }
.tl-body img { max-width: 100%; height: auto; }
.tl-body strong { color: #1d2433; }
.tl-body code, .tl-table code { font-size: .92em; background: #eef2f7; padding: 1px 5px; border-radius: 3px; color: #1f3b6b; word-break: break-word; }
.tl-body > section:first-child > h2:first-child, .tl-content > section:first-child > h2:first-child { margin-top: 0; }
.tl-tool + .tl-privacy-line + .tl-body > section:first-child > h2:first-child { margin-top: 44px; }

/* Steps (the "How to Use" list under the tool) */
.tl-steps { list-style: none; counter-reset: step; padding: 0 !important; }
.tl .tl-steps li { counter-increment: step; position: relative; padding-left: 50px; margin-bottom: 16px; min-height: 34px; }
.tl-steps li:before { content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
    background: #2f5597; color: #fff; font-size: 17px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* Tip box (product tie-in with the download button) */
.tl-tip { display: flex; gap: 22px; align-items: flex-start; background: #f0f5fc; border: 1px solid #cfdcf0; border-left: 6px solid #6cb33f;
    border-radius: 12px; padding: 22px 24px; margin: 40px 0; }
.tl-tip img { flex: none; width: 64px; height: auto; }
.tl-tip-body { min-width: 0; }
.tl .tl-tip-title { font-size: 21px; font-weight: 700; color: #16233b; line-height: 1.3; margin: 0 0 8px; }
.tl .tl-tip p { font-size: 17px; line-height: 1.7; margin: 0 0 14px; }
.tl .tl-tip .tl-dl { display: inline-flex; width: auto; min-height: 52px; padding: 12px 28px; font-size: 18px; }
@media (max-width: 600px) { .tl-tip { flex-direction: column; padding: 18px; } .tl-tip img { width: 48px; } .tl .tl-tip .tl-dl { display: flex; width: 100%; } }

/* FAQ and sources */
.tl-faq { margin-top: 44px; }
.tl-faq h2, .tl-sources h2 { font-size: 22px; font-weight: 700; color: #222; line-height: 1.3; margin: 0 0 14px; }
.tl-faq-item { border: 1px solid #d3dceb; background: #fff; margin-bottom: 10px; border-radius: 10px; overflow: hidden; }
.tl-faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 56px;
    padding: 14px 20px; font-size: 17px; line-height: 1.45; font-weight: 600; color: #222; }
.tl-faq-item summary::-webkit-details-marker { display: none; }
.tl-faq-item summary:hover { background: #f3f6fb; }
.tl-faq-item[open] summary { background: #f6f8fc; }
.tl-faq-icon { flex: none; width: 24px; height: 24px; position: relative; margin-left: 16px; }
.tl-faq-icon:before, .tl-faq-icon:after { content: ''; position: absolute; left: 4px; right: 4px; top: 11px; height: 3px; border-radius: 2px; background: #2f5597; }
.tl-faq-icon:after { transform: rotate(90deg); transition: transform .15s; }
.tl-faq-item[open] .tl-faq-icon:after { transform: rotate(0deg); }
.tl-faq-answer { padding: 10px 20px 6px; }
.tl .tl-faq-answer p, .tl .tl-faq-answer li { font-size: 16px; line-height: 1.6; }
.tl-sources { margin-top: 36px; }
.tl-sources ul { padding-left: 22px; }
.tl .tl-sources li { font-size: 15px; line-height: 1.55; margin-bottom: 6px; }

/* Cards (tools, libraries) */
.tl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin: 0; padding: 0 !important; list-style: none; }
.tl .tl-cards li { margin: 0; }
.tl .tl-card { display: flex; gap: 14px; align-items: flex-start; height: 100%; border: 1px solid #d3dceb; border-radius: 12px; background: #fff;
    padding: 18px; text-decoration: none; color: #222; box-shadow: 0 1px 3px rgba(22, 35, 59, .05); transition: border-color .15s, box-shadow .15s; }
.tl .tl-card:hover, .tl .tl-card:focus { border-color: #8ea8d0; box-shadow: 0 8px 22px rgba(22, 35, 59, .12); }
.tl .tl-card:hover strong { text-decoration: underline; }
.tl-card-icon { flex: none; width: 48px; height: 48px; border-radius: 50%; background: #16233b; color: #fff; font-size: 22px;
    display: flex; align-items: center; justify-content: center; }
.tl-card-text { min-width: 0; }
.tl .tl-card strong { display: block; font-size: 18px; color: #1f3b6b; line-height: 1.3; margin-bottom: 6px; }
.tl .tl-card-text > span { display: block; font-size: 16px; line-height: 1.55; color: #3d4a5c; }
.tl .tl-card small { display: block; font-size: 15px; color: #2f4a7c; font-weight: 600; margin-top: 8px; }
.tl-group { margin-bottom: 12px; }
.tl-group-head h2 { margin-bottom: 6px !important; }
.tl-group-head h2 a { color: #222; text-decoration: none; }
.tl-group-head h2 a:hover { color: #1f4a8a; text-decoration: underline; }
.tl .tl-group-head p { color: #3d4a5c; font-size: 17px; margin: 0 0 16px; }
.tl-jump { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; }
.tl .tl-jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; border: 1px solid #b9c8e0; background: #fff; border-radius: 999px;
    padding: 8px 18px; font-size: 16px; font-weight: 600; color: #1f3b6b; text-decoration: none; }
.tl .tl-jump a:hover { background: #eef3fa; text-decoration: underline; }
.tl-why ul, .tl-others ul { list-style: none; padding: 0; margin: 0; }
.tl .tl-why li { padding-left: 32px; position: relative; margin-bottom: 8px; }
.tl-why li .fa { position: absolute; left: 0; top: 5px; color: #3d8b1f; font-size: 20px; }
.tl-others ul { display: flex; flex-wrap: wrap; gap: 10px; }
.tl .tl-others li { margin: 0; }
.tl .tl-others a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; border: 1px solid #b9c8e0; border-radius: 10px; padding: 10px 16px;
    font-size: 17px; color: #1f3b6b; text-decoration: none; background: #fff; }
.tl .tl-others a:hover { background: #eef3fa; text-decoration: underline; }
.tl-related { margin-top: 44px; }
.tl-back { margin-top: 28px; }
.tl .tl-back a { font-weight: 600; }

/* ---------- Side box (Download Now right after the product name, so it fits a 1260x640 screen in every language) ---------- */
.tl-box { border: 1px solid #d3dceb; border-radius: 12px; background: #f5f8fb; padding: 16px 16px 14px; }
.tl-box-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.tl-box-top img { flex: none; width: 40px; height: auto; }
.tl .tl-box-title { font-size: 19px; font-weight: 700; color: #16233b; line-height: 1.25; margin: 0; }
.tl .tl-box-text { font-size: 16px; line-height: 1.55; margin: 12px 0 0; color: #333; }
.tl .tl-box .tl-dl { font-size: 18px; letter-spacing: 0; min-height: 52px; padding: 12px 8px; gap: 8px; }
.tl .tl-box-small { font-size: 15px; color: #3d4a5c; text-align: center; margin: 6px 0 0; line-height: 1.5; }
.tl-privacy { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 12px 14px; border: 1px solid #c7e0ba; border-radius: 12px; background: #f3faef; }
.tl-privacy .fa { color: #3d8b1f; font-size: 20px; margin-top: 2px; }
.tl .tl-privacy p { font-size: 15px; line-height: 1.5; margin: 0; color: #2b4220; }
.tl-privacy strong { display: block; color: #24470f; font-size: 16px; }

/* Download button (same green as the blog) */
.tl .tl-dl { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; background: #6cb33f; color: #fff; font-size: 18px; font-weight: 700;
    text-transform: uppercase; padding: 13px 18px; border-radius: 6px; text-decoration: none; text-align: center; line-height: 1.2; }
.tl .tl-dl:hover, .tl .tl-dl:focus { background: #5a9a32; color: #fff; }

/* ---------- Library lists ---------- */
.tl-filter { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; background: #f4f8fe; border: 1px solid #c9d6ea; border-radius: 12px; padding: 18px 20px; margin: 0 0 18px; }
.tl .tl-filter label { display: block; font-size: 17px; font-weight: 600; color: #16233b; margin-bottom: 6px; }
.tl-filter-text { flex: 1 1 260px; }
.tl-filter-verdict { flex: 0 1 240px; }
.tl-az-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.tl .tl-az-nav a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 6px 8px; border: 1px solid #c9d3e0;
    border-radius: 8px; background: #fff; font-weight: 700; font-size: 17px; color: #1f3b6b; text-decoration: none; }
.tl .tl-az-nav a:hover { background: #eef3fa; text-decoration: underline; }
.tl .tl-az-letter { font-size: 24px; font-weight: 700; color: #16233b; margin: 26px 0 6px; padding-bottom: 4px; border-bottom: 2px solid #dfe6f1; }
.tl-az { list-style: none; padding: 0 !important; margin: 0; }
.tl .tl-az-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid #dde3ea; margin: 0; padding: 0; }
.tl .tl-az-item a { flex: 1 1 auto; min-width: 0; display: block; padding: 13px 2px; text-decoration: none; color: #1f3b6b; }
.tl .tl-az-item a strong { display: block; font-size: 18px; line-height: 1.35; }
.tl .tl-az-item a span { display: block; font-size: 16px; color: #3d4a5c; line-height: 1.5; margin-top: 3px; }
.tl .tl-az-item a:hover strong, .tl .tl-az-item a:focus strong { text-decoration: underline; color: #1f4a8a; }
.tl-az-related { border-top: 1px solid #dde3ea; }
.tl-badge { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; border-radius: 999px; padding: 3px 12px;
    white-space: nowrap; border: 1px solid transparent; line-height: 1.5; }
.tl-badge-remove { background: #fdecea; color: #9a2318; border-color: #f0b7b0; }
.tl-badge-optional { background: #fff4d6; color: #6b4b00; border-color: #e8c76a; }
.tl-badge-keep { background: #e6f4de; color: #285d12; border-color: #b3d99e; }
@media (max-width: 480px) { .tl .tl-az-item { flex-direction: column; align-items: flex-start; gap: 0; padding-bottom: 12px; } .tl .tl-az-item a { padding-bottom: 6px; } }

/* Facts table */
.tl-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 18px; }
.tl-table { width: 100%; border-collapse: collapse; margin: 0 0 18px; background: #fff; }
.tl-table th, .tl-table td { border: 1px solid #c9d3e0; padding: 10px 14px; font-size: 17px; line-height: 1.55; vertical-align: top; text-align: left; color: #333; }
.tl-table thead th { background: #eef3fa; color: #1f3b6b; }
.tl-table tbody th { width: 34%; background: #f6f8fb; color: #1d2433; font-weight: 600; }
.tl-table-wrap .tl-table { margin: 0; }

/* Library entry: the Quick Facts card takes the tool window look (dark title bar), so entries match the tool pages. */
.tl-facts { border: 1px solid #bfcde2; border-radius: 16px; overflow: hidden; background: #fff; margin: 0 0 8px;
    box-shadow: 0 14px 40px rgba(22, 35, 59, .10), 0 2px 6px rgba(22, 35, 59, .05); }
.tl .tl-facts > h2 { display: flex; align-items: center; gap: 12px; margin: 0; padding: 11px 24px; background: #16233b; color: #fff; font-size: 18px; line-height: 1.4; }
.tl .tl-facts > h2:before { content: '\f05a'; font-family: FontAwesome; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #2f6fd0;
    display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 400; }
.tl-facts .tl-table { margin: 0; border-style: hidden; }
.tl-facts .tl-table th, .tl-facts .tl-table td { border-color: #e1e7f0; padding: 13px 20px; }
.tl-facts .tl-table tbody th { background: #f7f9fc; }

/* ---------- The tool window (tool.php prints the frame; widgets fill .tl-window-body) ---------- */
.tl-tool { position: relative; background: #fff; border: 1px solid #bfcde2; border-radius: 16px; margin: 0 0 14px; font-size: 18px; line-height: 1.6; color: #333;
    box-shadow: 0 14px 40px rgba(22, 35, 59, .12), 0 2px 6px rgba(22, 35, 59, .06); }
.tl-tool:not(.tl-window) { padding: 22px; }
.tl-window-bar { display: flex; align-items: center; gap: 12px; padding: 10px 24px; min-height: 56px; background: #16233b; color: #fff; border-radius: 15px 15px 0 0; }
.tl-window-icon { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #2f6fd0; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.tl .tl-window-name { margin: 0; min-width: 0; font-size: 18px; font-weight: 700; line-height: 1.3; color: #fff; letter-spacing: .1px; }
.tl-window-tag { margin-left: auto; flex: none; font-size: 15px; font-weight: 600; line-height: 1.4; padding: 3px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .14); color: #eef3fa; white-space: nowrap; }
.tl-window-body { padding: 24px 28px 28px; }
.tl-window-body > :last-child { margin-bottom: 0; }
/* Text inside the tool: 18px for people aged 65+ (widget rules with a class still win: same weight, later in the page). */
.tl-tool p, .tl-tool li { font-size: 18px; line-height: 1.6; }
.tl .tl-privacy-line { font-size: 15px; color: #2b4220; margin: 0 0 6px 4px; line-height: 1.5; }
.tl-privacy-line .fa { color: #3d8b1f; margin-right: 4px; }

/* Start zone: the dashed, friendly first screen of every tool. */
.tl-zone { text-align: center; border: 3px dashed #8ea8d0; border-radius: 16px; background: #f4f8fe; padding: 24px 28px 26px; margin: 0 0 16px;
    transition: background-color .15s, border-color .15s, box-shadow .15s; }
.tl-zone > :last-child { margin-bottom: 0; }
.tl-zone.is-clickable { cursor: pointer; }
.tl-zone.is-clickable:hover, .tl-zone.is-over { background: #ebf2fc; border-color: #2f5597; }
.tl-zone-icon { display: inline-flex; align-items: center; justify-content: center; width: 68px; height: 68px; border-radius: 50%; background: #fff;
    box-shadow: 0 6px 18px rgba(22, 35, 59, .12); font-size: 32px; color: #2f5597; }
.tl .tl-zone-title { font-size: 26px; line-height: 1.3; font-weight: 700; color: #16233b; margin: 12px 0 14px; overflow-wrap: break-word; }
.tl .tl-zone-icon + .tl-zone-title { margin-top: 12px; }
.tl .tl-zone > .tl-zone-title:first-child { margin-top: 0; }
.tl .tl-zone-sub { font-size: 17px; line-height: 1.5; color: #3d4a5c; margin: 14px 0 0; }
.tl-zone .tl-btn-row { justify-content: center; margin: 0; }
.tl-zone .tl-btn-lg { min-height: 62px; padding: 14px 36px; font-size: 20px; border-radius: 10px; box-shadow: 0 4px 12px rgba(47, 85, 151, .28); }
.tl-zone .tl-btn-lg.tl-btn-secondary { box-shadow: none; }
.tl-zone .tl-btn-lg .fa { font-size: 1.15em; }
.tl-zone .tl-note, .tl-zone .tl-verdict, .tl-zone .tl-panel, .tl-zone .tl-field, .tl-zone .tl-more, .tl-zone .tl-flash { text-align: left; }
.tl-zone .tl-note { margin: 18px 0 0; }
.tl-zone-left { text-align: left; }
/* The "click Allow" line inside the zone: a quiet white strip under the button. */
.tl-zone .tl-permission { display: inline-flex; max-width: 540px; margin: 18px auto 0; text-align: left; background: #fff; border: 1px solid #cfdcf0;
    border-left: 1px solid #cfdcf0; border-radius: 10px; padding: 10px 16px; }
.tl .tl-zone .tl-permission p { font-size: 17px; }
.tl-zone .tl-permission > .fa { font-size: 22px; }
/* The second way in, under an "or" */
.tl-zone-alt { margin: 20px 0 0; }
.tl-or { display: flex; align-items: center; gap: 14px; max-width: 420px; margin: 0 auto 14px; font-size: 15px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .8px; color: #3d4a5c; }
.tl-or:before, .tl-or:after { content: ''; flex: 1 1 auto; height: 1px; background: #c6d3e6; }
.tl-btn-alt { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 10px 24px; border: 2px solid #b4c5df;
    border-radius: 10px; background: #fff; color: #1f4a8a; font: inherit; font-size: 18px; font-weight: 700; line-height: 1.3; text-decoration: underline;
    text-underline-offset: 3px; cursor: pointer; transition: background-color .12s, border-color .12s; }
.tl-btn-alt:hover { background: #eef3fa; border-color: #2f5597; color: #16233b; }
.tl-btn-alt .fa { font-size: 1.1em; text-decoration: none; }
/* One reassuring line under the zone, and longer help tucked away under it. */
.tl .tl-zone-guide { display: flex; justify-content: center; align-items: baseline; gap: 8px; margin: -2px 0 16px; font-size: 16px; line-height: 1.5; color: #3d4a5c; text-align: center; }
.tl-zone-guide .fa { color: #3d8b1f; }
.tl-zone-guide strong { color: #16233b; }
.tl-zone-more { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 16px; }
.tl-zone-more > details { flex: 1 1 240px; margin: 0; }
.tl-zone-more > details[open] { flex-basis: 100%; }
/* Live test area (keyboard, mouse, touch): solid blue while testing. */
.tl-zone.is-live { background: #f7faff; }
.tl-zone.is-live.is-active, .tl-zone.is-live:focus-within { border-style: solid; border-color: #2f5597; background: #fff; box-shadow: 0 0 0 4px rgba(47, 85, 151, .14); }
.tl-zone.is-live:focus { outline: none; }
/* Answer card (PC info tools): the answer itself, no dashes. */
.tl-zone.is-answer { border: 2px solid #c9d6ea; background: linear-gradient(180deg, #f4f8fe 0%, #fff 100%); }
.tl .tl-answer-label { font-size: 17px; font-weight: 600; color: #3d4a5c; margin: 14px 0 2px; text-transform: none; }
.tl-zone .tl-result { margin: 4px 0 6px; }
.tl-zone .tl-result-sub { margin: 0 0 4px; }
/* (the 1-2-3 inside the zone, .tl-zone-steps, is styled under "Mini steps" below, so it wins over the boxed look) */

/* Report card: results that replace the zone. */
.tl-report { margin: 0 0 4px; }
.tl-report > :last-child { margin-bottom: 0; }
.tl-report-head { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; margin: 0 0 18px; }
.tl .tl-report-title { font-size: 22px; font-weight: 700; line-height: 1.3; color: #16233b; margin: 0; }
.tl-report-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; border-top: 1px solid #e1e7f0; padding-top: 18px; margin: 22px 0 0; }
.tl-report-head .tl-report-actions { border: 0; padding: 0; margin: 0; }
@media (max-width: 480px) { .tl-report-actions > .tl-btn { flex: 1 1 100%; } }

/* Name/value list (PC info answers) */
.tl-spec { margin: 0 0 18px; border: 1px solid #dbe3ef; border-radius: 12px; overflow: hidden; background: #fff; }
.tl-spec > div { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: 4px 16px; padding: 12px 18px; border-top: 1px solid #e8edf4; }
.tl-spec > div:first-child { border-top: 0; }
.tl-spec dt { font-size: 17px; font-weight: 600; color: #3d4a5c; line-height: 1.5; }
.tl-spec dd { margin: 0; font-size: 18px; font-weight: 700; color: #16233b; line-height: 1.5; overflow-wrap: anywhere; }
@media (max-width: 480px) { .tl-spec > div { grid-template-columns: 1fr; gap: 0; } }

/* Result rows */
.tl-list { list-style: none; margin: 0 0 16px; padding: 0 !important; border: 1px solid #dbe3ef; border-radius: 12px; overflow: hidden; background: #fff; }
.tl .tl-list > li { display: flex; gap: 8px 14px; align-items: center; margin: 0; padding: 12px 18px; border-top: 1px solid #e8edf4; font-size: 18px; line-height: 1.45; }
.tl .tl-list > li:first-child { border-top: 0; }
.tl-list-main { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.tl-list-num { flex: none; font-weight: 700; color: #16233b; font-variant-numeric: tabular-nums; }

/* Tabs (segmented) */
.tl-tabs { display: flex; gap: 4px; padding: 5px; border-radius: 12px; background: #e9eef6; margin: 0 0 18px; }
.tl-tab { flex: 1 1 0; min-width: 0; min-height: 50px; margin: 0; padding: 8px 12px; border: 0; border-radius: 9px; background: transparent; color: #1f3b6b;
    font: inherit; font-size: 17px; font-weight: 700; line-height: 1.3; cursor: pointer; }
.tl-tab:hover { background: #dbe4f1; }
.tl-tab[aria-selected="true"], .tl-tab.is-on { background: #fff; color: #16233b; box-shadow: 0 2px 8px rgba(22, 35, 59, .14); }
.tl-tab:focus-visible { outline: 4px solid #c25e00; outline-offset: -2px; }
@media (max-width: 480px) { .tl-tab { font-size: 16px; padding: 8px 4px; } }

@media (max-width: 600px) {
    .tl-tool:not(.tl-window) { padding: 16px; }
    .tl-tool { border-radius: 12px; }
    .tl-window-bar { padding: 10px 16px; border-radius: 11px 11px 0 0; }
    .tl-window-tag { display: none; }
    .tl-window-body { padding: 16px; }
    .tl-zone { padding: 24px 16px 22px; }
    .tl .tl-zone-title { font-size: 22px; }
    .tl-zone .tl-btn-lg, .tl-zone .tl-btn-row > .tl-btn, .tl-btn-alt { width: 100%; padding-left: 16px; padding-right: 16px; }
    .tl .tl-zone-guide { justify-content: flex-start; text-align: left; }
    .tl .tl-hero h1, .tl .tl-hero h1.tl-h1-long { font-size: 30px; }
    .tl .tl-hero h1.tl-h1-xlong { font-size: 27px; }
    .tl .tl-lede { font-size: 17px; }
    .tl-hero { padding: 12px 0 18px; }
    .tl-body h2, .tl-group h2, .tl-related h2, .tl-others h2, .tl-why h2 { font-size: 24px; } .tl-faq h2, .tl-sources h2 { font-size: 22px; }
    .tl .tl-facts > h2 { padding: 10px 16px; }
}
@media (min-width: 601px) and (max-width: 991px) { .tl .tl-hero h1, .tl .tl-hero h1.tl-h1-long { font-size: 34px; } .tl .tl-hero h1.tl-h1-xlong { font-size: 30px; } }

/* ---------- Buttons: 48px+ tall, 18px text, a clear verb on every button; one blue (primary) button per step ---------- */
.tl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 11px 26px; border: 2px solid #2f5597;
    border-radius: 10px; background: #2f5597; color: #fff; font-size: 18px; font-weight: 700; line-height: 1.25; cursor: pointer; text-decoration: none;
    text-align: center; -webkit-appearance: none; appearance: none; transition: background-color .12s, border-color .12s; }
.tl-btn:hover, .tl-btn:focus { background: #22437c; border-color: #22437c; color: #fff; text-decoration: none; }
.tl-btn:active { transform: translateY(1px); }
/* Link buttons: beat ".tl a" so <a class="tl-btn"> keeps white text. */
.tl a.tl-btn, .tl a.tl-btn:hover, .tl a.tl-btn:focus { color: #fff; text-decoration: none; }
.tl a.tl-btn-secondary { color: #1f3b6b; }
.tl a.tl-btn-secondary:hover, .tl a.tl-btn-secondary:focus { color: #16233b; }
/* Disabled: grey with dark text (still readable), not a faded blue. */
.tl-btn[disabled], .tl-btn[aria-disabled="true"], .tl-btn[disabled]:hover, .tl-btn[aria-disabled="true"]:hover { background: #e4e8ee; border-color: #b8c1cd;
    color: #4a5568; cursor: not-allowed; transform: none; opacity: 1; box-shadow: none; }
.tl-btn-secondary { background: #fff; color: #1f3b6b; }
.tl-btn-secondary:hover, .tl-btn-secondary:focus { background: #eef3fa; color: #16233b; }
.tl-btn-danger { background: #b3261e; border-color: #b3261e; }
.tl-btn-danger:hover, .tl-btn-danger:focus { background: #8f1e18; border-color: #8f1e18; }
.tl-btn-sm { min-height: 48px; padding: 9px 18px; font-size: 18px; }
.tl-btn-lg { min-height: 56px; padding: 13px 32px; font-size: 20px; }
.tl-btn .fa { font-size: 1.05em; }
.tl-btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 0 16px; }
@media (max-width: 480px) { .tl-btn-row > .tl-btn { flex: 1 1 100%; } }

/* Form fields */
.tl-field { margin: 0 0 16px; }
.tl-label { display: block; font-size: 17px; font-weight: 600; color: #1d2433; margin: 0 0 6px; line-height: 1.4; }
.tl-input, .tl-select { display: block; width: 100%; max-width: 100%; min-height: 48px; padding: 9px 12px; font-size: 18px; color: #1d2433; background: #fff;
    border: 2px solid #8d9db5; border-radius: 8px; }
.tl-input::placeholder { color: #5d6b80; opacity: 1; }
.tl-input:focus, .tl-select:focus { border-color: #2f5597; outline: 3px solid #2f5597; outline-offset: 1px; }
.tl-check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 18px; font-weight: 400; line-height: 1.4; color: #333; margin: 0 0 8px; cursor: pointer; }
.tl-check input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: #2f5597; cursor: pointer; }
.tl .tl-help { font-size: 16px; color: #3d4a5c; margin: 4px 0 0; line-height: 1.5; }

/* Panels, results, stats */
.tl-panel { background: #f6f8fb; border: 1px solid #d5deea; border-radius: 12px; padding: 18px 20px; margin: 0 0 16px; }
.tl .tl-panel-title { font-size: 20px; font-weight: 700; color: #16233b; line-height: 1.3; margin: 0 0 10px; }
/* ".tl " in front so a <p class="tl-result"> beats the general ".tl p" text size. */
.tl .tl-result { font-size: 40px; font-weight: 700; line-height: 1.15; color: #16233b; margin: 4px 0; word-break: break-word; }
.tl .tl-result-sub { font-size: 18px; color: #333; margin: 0 0 12px; }
@media (max-width: 480px) { .tl .tl-result { font-size: 30px; } }
.tl-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin: 0 0 18px; }
.tl-stat { background: #f4f8fe; border: 1px solid #dfe7f3; border-radius: 12px; padding: 14px 16px; min-width: 0; }
.tl-stat-value { display: block; font-size: 24px; font-weight: 700; color: #16233b; line-height: 1.25; word-break: break-word; }
.tl-stat-label { display: block; font-size: 15px; color: #3d4a5c; margin-top: 4px; line-height: 1.4; }

/* Status pill */
.tl-status { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; line-height: 1.35; border-radius: 999px; padding: 6px 16px;
    background: #eef1f5; color: #3d4a5c; border: 1px solid #c9d3e0; }
.tl-status.is-ok { background: #e6f4de; color: #285d12; border-color: #b3d99e; }
.tl-status.is-warn { background: #fff4d6; color: #6b4b00; border-color: #e8c76a; }
.tl-status.is-bad { background: #fdecea; color: #9a2318; border-color: #f0b7b0; }

/* Meter */
.tl-meter { position: relative; height: 22px; background: #dfe5ee; border-radius: 11px; overflow: hidden; margin: 6px 0 12px; }
.tl-meter-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, #4f9a2a, #8cc63f 70%, #f0a500); border-radius: 11px;
    transition: width .08s linear; }

/* Notes */
.tl-note { background: #f0f5fc; border: 1px solid #cfdcf0; border-radius: 10px; padding: 14px 16px; margin: 0 0 16px; font-size: 18px; line-height: 1.55; color: #1f3358; }
.tl-note-warn { background: #fff7e0; border-color: #e8c76a; border-left: 6px solid #d29a00; color: #4d3800; }
.tl-note-bad { background: #fdecea; border-color: #f0b7b0; border-left: 6px solid #c0392b; color: #6e1a12; }
.tl .tl-note p, .tl .tl-note li { font-size: 18px; margin: 0 0 6px; color: inherit; }
.tl .tl-note p:last-child { margin-bottom: 0; }

/* ---------- For people aged 65+: result card, permission line, mini steps, "More details" ---------- */

/* Result card (WZST.verdict): icon + big plain-language line + "What to do next" steps.
   <div class="tl-verdict is-ok" role="status"><span class="tl-verdict-icon"><i class="fa fa-check"></i></span>
     <div class="tl-verdict-body"><p class="tl-verdict-title">Your microphone is working</p><p class="tl-verdict-text">...</p>
     <div class="tl-verdict-next"><p class="tl-verdict-next-title">What to do next</p><ol><li>...</li></ol></div></div></div> */
.tl-verdict { display: flex; gap: 16px; align-items: flex-start; border: 2px solid #c9d3e0; border-left-width: 8px; border-radius: 12px; background: #f6f8fb;
    padding: 18px 20px; margin: 0 0 18px; color: #1d2433; text-align: left; }
.tl-verdict-icon { flex: none; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px;
    color: #fff; background: #2f5597; }
.tl-verdict-body { min-width: 0; flex: 1 1 auto; }
.tl .tl-verdict-title { font-size: 24px; font-weight: 700; line-height: 1.3; margin: 8px 0 6px; color: inherit; }
.tl .tl-verdict-text { font-size: 18px; line-height: 1.55; margin: 0 0 8px; color: #333; }
.tl-verdict-next { margin-top: 10px; }
.tl .tl-verdict-next-title { font-size: 18px; font-weight: 700; margin: 0 0 6px; color: inherit; }
.tl-verdict-next ol { margin: 0; padding-left: 26px; }
.tl .tl-verdict-next li, .tl .tl-verdict-step { font-size: 18px; line-height: 1.55; margin: 0 0 6px; color: #333; }
.tl .tl-verdict-more p { font-size: 18px; color: #333; margin: 0 0 6px; }
.tl-verdict-more { margin-top: 10px; }
.tl-verdict.is-ok { border-color: #8cc77a; border-left-color: #3d8b1f; background: #eef8e8; color: #1f4a0c; }
.tl-verdict.is-ok .tl-verdict-icon { background: #3d8b1f; }
.tl-verdict.is-warn { border-color: #e8c76a; border-left-color: #c78f00; background: #fff7e0; color: #4d3800; }
.tl-verdict.is-warn .tl-verdict-icon { background: #b47f00; }
.tl-verdict.is-bad { border-color: #eaa59d; border-left-color: #c0392b; background: #fdeeec; color: #7a1f17; }
.tl-verdict.is-bad .tl-verdict-icon { background: #c0392b; }
.tl-verdict.is-info .tl-verdict-icon { background: #2f5597; }
.tl-verdict:focus { outline: 4px solid #c25e00; outline-offset: 3px; }
@media (max-width: 480px) { .tl-verdict { padding: 16px; gap: 12px; } .tl-verdict-icon { width: 42px; height: 42px; font-size: 22px; }
    .tl .tl-verdict-title { font-size: 21px; margin-top: 4px; } }

/* Permission line: shown before a browser permission pop-up. */
.tl-permission { display: flex; gap: 12px; align-items: flex-start; background: #f0f5fc; border: 1px solid #cfdcf0; border-left: 6px solid #2f5597;
    border-radius: 10px; padding: 12px 16px; margin: 0 0 16px; }
.tl-permission > .fa { flex: none; font-size: 24px; color: #2f4a7c; margin-top: 2px; }
.tl .tl-permission p { font-size: 18px; line-height: 1.5; margin: 0; color: #1f3358; }
.tl .tl-permission strong { color: #16233b; }

/* Mini steps 1-2-3 (boxed look; add .tl-zone-steps for the quiet one-row look). */
.tl-ministeps { list-style: none; counter-reset: ms; display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 0 0 18px; padding: 0 !important; }
.tl .tl-ministeps li { counter-increment: ms; flex: 1 1 150px; display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 10px 12px;
    background: #f6f8fb; border: 1px solid #d5deea; border-radius: 10px; font-size: 18px; line-height: 1.4; color: #1d2433; }
.tl-ministeps li:before { content: counter(ms); flex: none; width: 32px; height: 32px; border-radius: 50%; background: #2f5597; color: #fff; font-size: 18px;
    font-weight: 700; display: flex; align-items: center; justify-content: center; }
.tl .tl-ministeps li.is-current { background: #e8f0fb; border-color: #2f5597; box-shadow: inset 0 0 0 1px #2f5597; font-weight: 600; }
.tl .tl-ministeps li.is-done { background: #eef8e8; border-color: #b3d99e; }
.tl-ministeps li.is-done:before { content: '\2713'; background: #3d8b1f; }
@media (max-width: 600px) { .tl .tl-ministeps li { flex-basis: 100%; } }
/* The quiet stepper (.tl-zone-steps: inside the start zone, or at the top of the window): numbered circles in one row,
   joined by a thin line, each step's words centred under its number (long words wrap inside their own column). On
   phones: a plain numbered list. */
.tl .tl-ministeps.tl-zone-steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; max-width: 560px; margin: 22px auto 0; }
.tl .tl-ministeps.tl-zone-steps li { position: relative; flex: none; flex-direction: column; align-items: center; gap: 6px; padding: 0 6px; background: none; border: 0;
    box-shadow: none; font-size: 17px; line-height: 1.35; color: #1d2433; text-align: center; overflow-wrap: break-word; }
.tl-ministeps.tl-zone-steps li:before { position: relative; z-index: 1; width: 32px; height: 32px; font-size: 16px; background: #5d6f8f; }
.tl-ministeps.tl-zone-steps li + li:after { content: ''; position: absolute; top: 15px; height: 2px; left: calc(-50% + 24px); right: calc(50% + 24px); background: #aebfd8; }
.tl .tl-ministeps.tl-zone-steps li.is-current { background: none; border: 0; box-shadow: none; font-weight: 700; color: #16233b; }
.tl .tl-ministeps.tl-zone-steps li.is-done { background: none; border: 0; }
.tl-ministeps.tl-zone-steps li.is-current:before { background: #2f5597; box-shadow: 0 0 0 4px rgba(47, 85, 151, .18); }
.tl-ministeps.tl-zone-steps li.is-done:before { background: #3d8b1f; }
/* At the top of the window (a widget that doesn't put them in its zone): full width. */
.tl .tl-window-body > .tl-ministeps.tl-zone-steps { margin: 0 0 24px; max-width: none; }
@media (max-width: 600px) {
    .tl .tl-ministeps.tl-zone-steps { grid-auto-flow: row; grid-auto-columns: auto; gap: 10px; max-width: 340px; }
    .tl .tl-ministeps.tl-zone-steps li { flex-direction: row; align-items: center; gap: 12px; padding: 0; text-align: left; font-size: 18px; }
    .tl-ministeps.tl-zone-steps li + li:after { display: none; }
    .tl .tl-window-body > .tl-ministeps.tl-zone-steps { max-width: none; }
}

/* "More details" / "More options" toggle (closed by default). */
.tl-more { border: 1px solid #d3dceb; border-radius: 10px; background: #fff; margin: 0 0 16px; text-align: left; }
.tl-more > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 16px; font-size: 17px;
    font-weight: 700; color: #1f3b6b; border-radius: 10px; }
.tl-more > summary::-webkit-details-marker { display: none; }
.tl-more > summary:before { content: ''; flex: none; width: 10px; height: 10px; border-right: 3px solid #2f5597; border-bottom: 3px solid #2f5597;
    transform: rotate(-45deg); transition: transform .15s; margin: 0 4px 0 2px; }
.tl-more[open] > summary:before { transform: rotate(45deg); }
.tl-more > summary:hover { background: #f3f6fb; text-decoration: underline; }
.tl-more-body, .tl-more > div { padding: 4px 18px 16px; }

/* Key cap */
.tl-kbd { display: inline-block; min-width: 28px; padding: 2px 8px; font: 600 16px/1.4 Consolas, Menlo, monospace; text-align: center; color: #1d2433;
    background: #fff; border: 1px solid #9aa7b8; border-bottom-width: 3px; border-radius: 4px; }

/* Stage (video, canvas) */
.tl-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #111827; border-radius: 12px; overflow: hidden; display: flex;
    align-items: center; justify-content: center; color: #e2e8f0; font-size: 18px; margin: 0 0 16px; }
.tl-stage video, .tl-stage canvas { display: block; width: 100%; height: 100%; object-fit: contain; }

/* Full-screen layer */
/* Top of everything (the cookie banner and other pop-ups use very high z-indexes) when real full screen isn't available. */
.tl-fs { position: fixed; inset: 0; z-index: 2147483647; background: #000; display: none; }
.tl-fs.is-on { display: block; }
.tl-fs-hint { position: absolute; left: 50%; top: 16px; transform: translateX(-50%); background: rgba(0, 0, 0, .8); color: #fff; font-size: 18px;
    padding: 8px 16px; border-radius: 4px; pointer-events: none; }

/* Flashing-colours warning (WZST.flashWarning) */
.tl-flash { border: 2px solid #d29a00; background: #fff7e0; border-radius: 12px; padding: 18px 20px; margin: 0 0 16px; text-align: left; }
.tl .tl-flash-title { font-size: 21px; font-weight: 700; color: #4d3800; margin: 0 0 8px; }
.tl .tl-flash p { font-size: 18px; color: #4d3800; margin: 0 0 14px; }

/* ---------- Offer card (WZST.offer; tool.php prints it hidden at the end of the window as #tlOffer) ----------
   A calm product card right under a result: picture + title + one or two lines + up to 3 ticks, then ONE big green
   Download button (the side box's look) and the small "Free Scan · Download Time ... · For Windows 11 and 10" line.
   Same light blue-grey as the side box, so it reads as part of the tool window, not as an ad. */
.tl-offer { margin: 0 0 22px; padding: 18px 20px 16px; border: 1px solid #d3dceb; border-radius: 12px; background: #f5f8fb; text-align: left; }
.tl-offer-main { display: flex; gap: 18px; align-items: flex-start; }
.tl-offer-img { flex: none; width: 132px; height: auto; margin-top: 4px; }
.tl-offer-body { min-width: 0; flex: 1 1 auto; }
.tl .tl-offer-title { font-size: 21px; font-weight: 700; line-height: 1.3; color: #16233b; margin: 0 0 6px; }
.tl .tl-offer-text p { font-size: 17px; line-height: 1.55; color: #333; margin: 0 0 6px; }
.tl-offer-points { list-style: none; margin: 4px 0 0; padding: 0; }
.tl .tl-offer-points li { position: relative; padding-left: 26px; font-size: 17px; line-height: 1.5; color: #1d2433; margin: 0 0 4px; }
.tl-offer-points .fa { position: absolute; left: 0; top: 4px; color: #3d8b1f; font-size: 17px; }
.tl .tl-offer .tl-dl { margin: 14px 0 0; min-height: 56px; font-size: 19px; padding: 12px 18px; }
.tl .tl-offer-note, .tl .tl-exit .tl-offer-note { font-size: 15px; line-height: 1.5; color: #3d4a5c; text-align: center; margin: 8px 0 0; }
.tl .tl-offer-note, .tl .tl-exit .tl-offer-note { display: flex; flex-wrap: wrap; justify-content: center; }
.tl-offer-note .dot { margin: 0 6px; color: #5d6b80; }
.tl-offer-note span { white-space: nowrap; }
@media (max-width: 480px) {
    .tl-offer { padding: 16px; }
    .tl-offer-main { flex-direction: column; gap: 10px; }
    .tl-offer-img { width: 150px; margin: 0; }
    .tl .tl-offer-title { font-size: 19px; }
    .tl-offer-note span { white-space: normal; }
}

/* ---------- Exit banner (js/tools/tools-exit.js; the view prints it hidden as #tlExit) ----------
   Desktop only (the script checks), once per browser session, never during a test. Centered dialog on a dark overlay:
   big X (48px), picture left, headline, up to 3 ticks, the big green Download button, the small line, "No Thanks". */
html.tl-exit-open, html.tl-exit-open body { overflow: hidden; }
.tl-exit { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.tl-exit[hidden] { display: none; }
.tl-exit-overlay { position: absolute; inset: 0; background: rgba(10, 18, 34, .64); }
.tl-exit-dialog { position: relative; display: flex; gap: 28px; align-items: center; width: 100%; max-width: 820px; max-height: calc(100vh - 48px);
    overflow-x: hidden; overflow-y: auto; background: #fff; border-radius: 16px; padding: 36px 36px 26px; box-shadow: 0 24px 60px rgba(10, 18, 34, .35); text-align: left;
    animation: tl-exit-in .2s ease-out; }
.tl-exit-dialog:focus { outline: none; }
.tl-exit-dialog:focus-visible { outline: 4px solid #c25e00; outline-offset: 3px; }
@keyframes tl-exit-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tl-exit-x { position: absolute; top: 8px; right: 8px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: transparent; color: #16233b;
    font-size: 36px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.tl-exit-x:hover { background: #eef3fa; }
.tl-exit-x:focus-visible, .tl-exit-no:focus-visible, .tl .tl-exit-dl:focus-visible { outline: 4px solid #c25e00; outline-offset: 2px; }
.tl-exit-media { flex: none; width: 280px; }
.tl-exit-media img { display: block; width: 100%; height: auto; }
.tl-exit-body { min-width: 0; flex: 1 1 auto; }
.tl .tl-exit-title { font-size: 28px; font-weight: 700; line-height: 1.25; color: #16233b; margin: 0 40px 10px 0; text-wrap: balance; }
.tl .tl-exit-text { font-size: 18px; line-height: 1.55; color: #333; margin: 0 0 10px; }
.tl-exit-points { list-style: none; margin: 0 0 4px; padding: 0; }
.tl .tl-exit-points li { position: relative; padding-left: 28px; font-size: 18px; line-height: 1.5; color: #1d2433; margin: 0 0 4px; }
.tl-exit-points .fa { position: absolute; left: 0; top: 5px; color: #3d8b1f; font-size: 18px; }
.tl .tl-exit .tl-dl { margin: 16px 0 0; min-height: 58px; font-size: 20px; padding: 12px 20px; }
.tl-exit-no { display: block; margin: 12px auto 0; min-height: 44px; padding: 8px 16px; border: 0; background: transparent; color: #2f4a7c;
    font-size: 17px; font-weight: 600; text-decoration: underline; text-underline-offset: .15em; cursor: pointer; }
.tl-exit-no:hover { color: #16233b; }
@media (max-width: 760px) {
    .tl-exit-dialog { flex-direction: column; align-items: stretch; gap: 12px; padding: 28px 20px 18px; }
    .tl-exit-media { width: 200px; margin: 0 auto; }
}

/* Gentle motion: no transitions for visitors who ask for less motion. */
@media (prefers-reduced-motion: reduce) {
    .tl *, .tl *:before, .tl *:after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
    .tl-side, .tl-tip, .tl-related, .tl-others, .tl-jump, .tl-filter, .tl-az-nav, .tl-offer, .tl-exit { display: none !important; }
    .tl-layout { display: block !important; }
    .tl-tool { box-shadow: none; }
    .tl-window-bar { background: #fff; color: #000; border-bottom: 1px solid #999; }
    .tl .tl-window-name { color: #000; }
}
