/* ==========================================================================
   n-Track global theme — bridge for the old pages      (2026-11-06, Matt)
   Plan: ~/global-theme-plan.md, decision 1 ("bridge first").

   The ~50 Bootstrap 3 + css/ntrack9.css pages are mostly white, with dark
   inline text, gold #CF9700 links, gold .n-btn buttons and white panels.
   This sheet restyles what they already contain, without rewriting them, so
   they share the theme's look (css/nt-theme.css tokens) until each is
   rebuilt properly.

   Opt in with <body class="nt-theme nt-legacy">. Loaded from the
   PAGE_COMMON_HEADER row after ntrack9.css; a page's own <style> blocks and
   inline styles come later, so:
     - generic tags use :where() to keep specificity low (0,1,1): the
       topbar and footer rows (.topbar …, .nt-footer …) load later in the
       page and keep winning;
     - page components (.section, .n-btn, .panel …) use full selectors to
       beat ntrack9 / Bootstrap;
     - the inline dark text colours the templates and copy rows carry
       (style="color:#333" …) are re-mapped with attribute selectors and
       !important, the only thing that outranks an inline style.
   Images are left as they are (Matt: download / upgrade / buy images get a
   v11 pass later).
   ========================================================================== */

/* 1 · Ground and type ------------------------------------------------------ */
/* Body text in Source Sans 3, headings in Inter, as on the homepage (an
   all-Inter try on 2026-11-06 was reverted: Matt preferred this). */
body.nt-legacy {
  background-color: var(--nt-ink);
  color: var(--nt-text-dim);
  font-family: var(--nt-font-body);
  font-weight: 400;
}
body.nt-legacy :where(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .titlehp, .section-h, .chapter-h) {
  color: var(--nt-text);
  font-family: var(--nt-font-display);
  font-weight: 700;
  letter-spacing: -.015em;
}
body.nt-legacy :where(h4, h5, h6, .subsection-h) { font-weight: 600; }
body.nt-legacy :where(strong, b) { color: var(--nt-text); }
body.nt-legacy :where(.muted, .text-muted, .help-block, .small, small) { color: var(--nt-text-faint); }
body.nt-legacy :where(hr) { border-color: var(--nt-line); }
body.nt-legacy :where(a, a:visited) { color: var(--nt-amber); }
body.nt-legacy :where(a:hover, a:focus) { color: var(--nt-amber-hi); }
body.nt-legacy :where(a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible) {
  outline: 2px solid var(--nt-amber);
  outline-offset: 2px;
}
body.nt-legacy :where(code, pre, kbd) { background: var(--nt-surface-2); color: var(--nt-text); border-color: var(--nt-line); }
body.nt-legacy :where(blockquote) { border-left-color: var(--nt-amber); }
body.nt-legacy :where(.fa-check, .feature-check) { color: var(--nt-ok); }

/* 2 · Inline colours from the templates and copy rows -----------------------
   Dark text (meant for a white page) becomes the theme's text; white panels
   become surfaces. Spacing variants of each value are listed. */
body.nt-legacy [style*="color:#2a2a2a" i], body.nt-legacy [style*="color: #2a2a2a" i],
body.nt-legacy [style*="color:#333" i],    body.nt-legacy [style*="color: #333" i],
body.nt-legacy [style*="color:#222" i],    body.nt-legacy [style*="color: #222" i],
body.nt-legacy [style*="color:#444" i],    body.nt-legacy [style*="color: #444" i],
body.nt-legacy [style*="color:#555" i],    body.nt-legacy [style*="color: #555" i],
body.nt-legacy [style*="color:#666" i],    body.nt-legacy [style*="color: #666" i],
body.nt-legacy [style*="color:#777" i],    body.nt-legacy [style*="color: #777" i],
body.nt-legacy [style*="color:#000" i],    body.nt-legacy [style*="color: #000" i],
body.nt-legacy [style*="color:black" i],   body.nt-legacy [style*="color: black" i],
body.nt-legacy [style*="color:rgb(0" i],   body.nt-legacy [style*="color: rgb(0" i],
body.nt-legacy [style*="color:rgba(0" i],  body.nt-legacy [style*="color: rgba(0" i] {
  color: var(--nt-text-dim) !important;
}
body.nt-legacy [style*="background:white" i],
body.nt-legacy [style*="background: white" i],
body.nt-legacy [style*="background-color:white" i],
body.nt-legacy [style*="background-color: white" i],
body.nt-legacy [style*="background:#fff;" i],
body.nt-legacy [style*="background: #fff;" i],
body.nt-legacy [style*="background-color:#fff;" i],
body.nt-legacy [style*="background-color: #fff;" i],
body.nt-legacy [style*="background:#fff " i],
body.nt-legacy [style*="background: #fff " i],
body.nt-legacy [style*="background-color:#fff " i],
body.nt-legacy [style*="background-color: #fff " i],
body.nt-legacy [style*="background:#fff" i],
body.nt-legacy [style*="background: #fff" i],
body.nt-legacy [style*="background-color:#fff" i],
body.nt-legacy [style*="background-color: #fff" i],
body.nt-legacy [style*="background:#ffffff" i],
body.nt-legacy [style*="background: #ffffff" i],
body.nt-legacy [style*="background-color:#ffffff" i],
body.nt-legacy [style*="background-color: #ffffff" i],
body.nt-legacy [style*="background:#fafafa" i],
body.nt-legacy [style*="background: #fafafa" i],
body.nt-legacy [style*="background-color:#fafafa" i],
body.nt-legacy [style*="background-color: #fafafa" i],
body.nt-legacy [style*="background:#f8f8f8" i],
body.nt-legacy [style*="background: #f8f8f8" i],
body.nt-legacy [style*="background-color:#f8f8f8" i],
body.nt-legacy [style*="background-color: #f8f8f8" i],
body.nt-legacy [style*="background:#f7f7f7" i],
body.nt-legacy [style*="background: #f7f7f7" i],
body.nt-legacy [style*="background-color:#f7f7f7" i],
body.nt-legacy [style*="background-color: #f7f7f7" i],
body.nt-legacy [style*="background:#f5f5f5" i],
body.nt-legacy [style*="background: #f5f5f5" i],
body.nt-legacy [style*="background-color:#f5f5f5" i],
body.nt-legacy [style*="background-color: #f5f5f5" i],
body.nt-legacy [style*="background:#f3f3f3" i],
body.nt-legacy [style*="background: #f3f3f3" i],
body.nt-legacy [style*="background-color:#f3f3f3" i],
body.nt-legacy [style*="background-color: #f3f3f3" i],
body.nt-legacy [style*="background:#f2f2f2" i],
body.nt-legacy [style*="background: #f2f2f2" i],
body.nt-legacy [style*="background-color:#f2f2f2" i],
body.nt-legacy [style*="background-color: #f2f2f2" i],
body.nt-legacy [style*="background:#f1f1f1" i],
body.nt-legacy [style*="background: #f1f1f1" i],
body.nt-legacy [style*="background-color:#f1f1f1" i],
body.nt-legacy [style*="background-color: #f1f1f1" i],
body.nt-legacy [style*="background:#f0f0f0" i],
body.nt-legacy [style*="background: #f0f0f0" i],
body.nt-legacy [style*="background-color:#f0f0f0" i],
body.nt-legacy [style*="background-color: #f0f0f0" i],
body.nt-legacy [style*="background:#eee;" i],
body.nt-legacy [style*="background: #eee;" i],
body.nt-legacy [style*="background-color:#eee;" i],
body.nt-legacy [style*="background-color: #eee;" i],
body.nt-legacy [style*="background:#eee " i],
body.nt-legacy [style*="background: #eee " i],
body.nt-legacy [style*="background-color:#eee " i],
body.nt-legacy [style*="background-color: #eee " i],
body.nt-legacy [style*="background:#eeeeee" i],
body.nt-legacy [style*="background: #eeeeee" i],
body.nt-legacy [style*="background-color:#eeeeee" i],
body.nt-legacy [style*="background-color: #eeeeee" i],
body.nt-legacy [style*="background:#ebebeb" i],
body.nt-legacy [style*="background: #ebebeb" i],
body.nt-legacy [style*="background-color:#ebebeb" i],
body.nt-legacy [style*="background-color: #ebebeb" i],
body.nt-legacy [style*="background:#e8e8e8" i],
body.nt-legacy [style*="background: #e8e8e8" i],
body.nt-legacy [style*="background-color:#e8e8e8" i],
body.nt-legacy [style*="background-color: #e8e8e8" i],
body.nt-legacy [style*="background:#e5e5e5" i],
body.nt-legacy [style*="background: #e5e5e5" i],
body.nt-legacy [style*="background-color:#e5e5e5" i],
body.nt-legacy [style*="background-color: #e5e5e5" i] {
  background-color: var(--nt-surface) !important;
}

/* 3 · Sections ------------------------------------------------------------- */
body.nt-legacy .section { background-color: var(--nt-ink); }
/* The alternate band stays black with only a separator line underneath
   (Matt, 2026-11-06): a lighter grey band didn't work, and a top line sat a
   few px under the topbar's own line. */
body.nt-legacy .secondary.section,
body.nt-legacy .section.secondary {
  background-color: var(--nt-ink);
  border-top: 0;
  border-bottom: 1px solid var(--nt-line);
}
body.nt-legacy .jumbotron,
body.nt-legacy .well,
body.nt-legacy .panel,
body.nt-legacy .thumbnail,
body.nt-legacy .list-group-item,
body.nt-legacy .product-card,
body.nt-legacy .price-card,
body.nt-legacy .feature-card,
body.nt-legacy .activation_card,
body.nt-legacy .secondary.section .product-card,
body.nt-legacy #compare table {
  background-color: var(--nt-surface);
  border-color: var(--nt-line-2);
  color: var(--nt-text-dim);
}
body.nt-legacy .panel-heading,
body.nt-legacy .panel-footer { background-color: var(--nt-surface-2); border-color: var(--nt-line-2); color: var(--nt-text); }
body.nt-legacy .panel-body { color: var(--nt-text-dim); }
body.nt-legacy .feature-card a,
body.nt-legacy .icon-card-links a,
body.nt-legacy .pdf-btn,
body.nt-legacy .product-card { color: var(--nt-text); }

/* 4 · Buttons -------------------------------------------------------------- */
body.nt-legacy .n-btn,
body.nt-legacy .btn-primary,
body.nt-legacy .btn-warning,
body.nt-legacy .graphic_piece a {
  border: 2px solid transparent;
  border-radius: var(--nt-radius-sm);
  background: var(--nt-amber);
  background-image: none;
  color: var(--nt-amber-ink);
  font-family: var(--nt-font-display);
  font-weight: 700;
  text-shadow: none;
  box-shadow: none;
}
body.nt-legacy .n-btn:hover,  body.nt-legacy .n-btn:focus,
body.nt-legacy .btn-primary:hover, body.nt-legacy .btn-primary:focus,
body.nt-legacy .btn-warning:hover, body.nt-legacy .btn-warning:focus,
body.nt-legacy .graphic_piece a:hover {
  background: var(--nt-amber-press);
  color: var(--nt-amber-ink);
}
body.nt-legacy .n-btn[disabled], body.nt-legacy .n-btn:disabled { background: var(--nt-surface-3); color: var(--nt-text-faint); }
body.nt-legacy .n-btn2,
body.nt-legacy .btn-default,
body.nt-legacy .btn-link {
  border: 2px solid rgba(255, 255, 255, .85);
  border-radius: var(--nt-radius-sm);
  background: transparent;
  background-image: none;
  color: #fff;
  font-family: var(--nt-font-display);
  font-weight: 700;
  text-shadow: none;
  box-shadow: none;
}
body.nt-legacy .btn-link { border-color: transparent; color: var(--nt-amber); }
body.nt-legacy .n-btn2:hover,  body.nt-legacy .n-btn2:focus,
body.nt-legacy .btn-default:hover, body.nt-legacy .btn-default:focus,
body.nt-legacy .btn-default.active {
  border-color: #fff;
  background: #fff;
  color: var(--nt-ink);
}
/* ntrack9 makes some buttons black-on-gold inside dark bands; keep them readable */
body.nt-legacy .home-header .n-btn,
body.nt-legacy .product-focus-tabs .n-btn,
body.nt-legacy .subnav .n-btn,
body.nt-legacy #downloadWin .n-btn,
body.nt-legacy .btn-group .n-btn#bits32,
body.nt-legacy .btn-group .n-btn#bits64 { color: var(--nt-amber-ink) !important; }
body.nt-legacy .btn-group .n-btn.active { background: var(--nt-amber-press); color: var(--nt-amber-ink) !important; }

/* 5 · Forms ---------------------------------------------------------------- */
body.nt-legacy .form-control,
body.nt-legacy :where(input[type=text], input[type=email], input[type=password], input[type=search],
                      input[type=number], input[type=tel], input[type=url], select, textarea) {
  background-color: var(--nt-surface-2);
  border: 1px solid var(--nt-line-2);
  border-radius: var(--nt-radius-sm);
  color: var(--nt-text);
  box-shadow: none;
}
body.nt-legacy .form-control:focus,
body.nt-legacy :where(input, select, textarea):focus { border-color: var(--nt-amber); box-shadow: 0 0 0 3px rgba(255, 176, 0, .2); }
body.nt-legacy .form-control::placeholder,
body.nt-legacy :where(input, textarea)::placeholder { color: var(--nt-text-faint); }
body.nt-legacy .input-group-addon { background: var(--nt-surface-3); border-color: var(--nt-line-2); color: var(--nt-text-dim); }
body.nt-legacy :where(select option) { background: var(--nt-surface-2); color: var(--nt-text); }

/* 6 · Tables, tabs, modals, popovers --------------------------------------- */
body.nt-legacy .table,
body.nt-legacy :where(table) { color: var(--nt-text-dim); border-color: var(--nt-line); }
body.nt-legacy .table > thead > tr > th,
body.nt-legacy .table > tbody > tr > td,
body.nt-legacy .table > tbody > tr > th,
body.nt-legacy .table > tfoot > tr > td { border-color: var(--nt-line); }
body.nt-legacy .table > thead > tr > th { color: var(--nt-text); }
body.nt-legacy .table-striped > tbody > tr:nth-of-type(odd) { background-color: var(--nt-surface); }
body.nt-legacy .table-hover > tbody > tr:hover { background-color: var(--nt-surface-2); }
body.nt-legacy #compare td { color: var(--nt-text-dim); }
body.nt-legacy .nav-tabs { border-bottom-color: var(--nt-line-2); }
body.nt-legacy .nav-tabs > li > a { color: var(--nt-text-dim); border-color: transparent; }
body.nt-legacy .nav-tabs > li.active > a,
body.nt-legacy .nav-tabs > li.active > a:hover,
body.nt-legacy .nav-tabs > li.active > a:focus { color: var(--nt-amber) !important; background: transparent !important; border-color: transparent; }
body.nt-legacy .nav-pills > li > a { color: var(--nt-text-dim); }
body.nt-legacy .nav-pills > li.active > a { background: var(--nt-amber); color: var(--nt-amber-ink); }
body.nt-legacy .modal-content,
body.nt-legacy .popover,
body.nt-legacy .popover-mask {
  background-color: var(--nt-surface);
  border-color: var(--nt-line-2);
  color: var(--nt-text-dim);
  box-shadow: var(--nt-shadow);
}
body.nt-legacy .popover-title,
body.nt-legacy .modal-header,
body.nt-legacy .modal-footer { background-color: var(--nt-surface-2); border-color: var(--nt-line-2); color: var(--nt-text); }
body.nt-legacy .popover.bottom > .arrow::after { border-bottom-color: var(--nt-surface); }
body.nt-legacy .popover.top > .arrow::after { border-top-color: var(--nt-surface); }
/* the arrow's outer triangle is its border: the box's edge colour, so the
   outline runs on round the arrow (Bootstrap's is a faint black; Matt, 2026-11-09).
   rgb(81,83,85) = the line-2 white over the popover's surface, solid, so the
   arrow edge matches the box edge over the darker page. */
body.nt-legacy .popover.bottom > .arrow { border-bottom-color: rgb(81, 83, 85); }
body.nt-legacy .popover.top > .arrow { border-top-color: rgb(81, 83, 85); }
body.nt-legacy .popover.left > .arrow { border-left-color: rgb(81, 83, 85); }
body.nt-legacy .popover.right > .arrow { border-right-color: rgb(81, 83, 85); }
body.nt-legacy .close { color: #fff; opacity: .8; text-shadow: none; }
body.nt-legacy .alert { border-color: var(--nt-line-2); background: var(--nt-surface-2); color: var(--nt-text-dim); }
body.nt-legacy .badge,
body.nt-legacy .label-default { background: var(--nt-surface-3); color: var(--nt-text); }

/* 7 · Semantic UI pages (store, the in-app manuals) ------------------------- */
body.nt-legacy .ui.segment,
body.nt-legacy .ui.segments,
body.nt-legacy .ui.card,
body.nt-legacy .ui.cards > .card,
body.nt-legacy .ui.message,
body.nt-legacy .ui.table,
body.nt-legacy .ui.menu,
body.nt-legacy .ui.vertical.menu {
  background: var(--nt-surface);
  border-color: var(--nt-line-2);
  box-shadow: none;
  color: var(--nt-text-dim);
}
body.nt-legacy .ui.header,
body.nt-legacy .ui.card > .content > .header,
body.nt-legacy .ui.cards > .card > .content > .header,
body.nt-legacy .ui.items > .item > .content > .header { color: var(--nt-text); font-family: var(--nt-font-display); }
body.nt-legacy .ui.card > .content > .description,
body.nt-legacy .ui.cards > .card > .content > .description,
body.nt-legacy .ui.items > .item > .content > .description,
body.nt-legacy .ui.list > .item,
body.nt-legacy .ui.list .description { color: var(--nt-text-dim); }
body.nt-legacy .ui.card > .content > .meta,
body.nt-legacy .ui.cards > .card > .content > .meta,
body.nt-legacy .ui.items > .item .meta { color: var(--nt-text-faint); }
body.nt-legacy .ui.card > .extra,
body.nt-legacy .ui.cards > .card > .extra,
body.nt-legacy .ui.card > .content,
body.nt-legacy .ui.cards > .card > .content { border-color: var(--nt-line); color: var(--nt-text-faint); }
body.nt-legacy .ui.menu .item { color: var(--nt-text-dim); }
body.nt-legacy .ui.menu .active.item { background: var(--nt-surface-2); color: var(--nt-text); }
body.nt-legacy .ui.table thead th { background: var(--nt-surface-2); color: var(--nt-text); border-color: var(--nt-line); }
body.nt-legacy .ui.table td { border-color: var(--nt-line); }
body.nt-legacy .ui.button { background: transparent; border: 2px solid rgba(255, 255, 255, .85); color: #fff; box-shadow: none; font-family: var(--nt-font-display); }
body.nt-legacy .ui.button:hover { background: #fff; color: var(--nt-ink); }
body.nt-legacy .ui.primary.button,
body.nt-legacy .ui.yellow.button,
body.nt-legacy .ui.orange.button { background: var(--nt-amber); border-color: transparent; color: var(--nt-amber-ink); }
body.nt-legacy .ui.primary.button:hover,
body.nt-legacy .ui.yellow.button:hover,
body.nt-legacy .ui.orange.button:hover { background: var(--nt-amber-press); color: var(--nt-amber-ink); }
body.nt-legacy .ui.divider:not(.vertical):not(.horizontal) { border-top-color: var(--nt-line); border-bottom-color: transparent; }

/* 8 · Additions from /upgrade (2026-11-06) ----------------------------------- */
/* Bootstrap's bordered tables (the comparison table) */
body.nt-legacy .table-bordered,
body.nt-legacy .table-bordered > thead > tr > th,
body.nt-legacy .table-bordered > thead > tr > td,
body.nt-legacy .table-bordered > tbody > tr > th,
body.nt-legacy .table-bordered > tbody > tr > td,
body.nt-legacy .table-bordered > tfoot > tr > td { border-color: var(--nt-line); }
/* Inline black borders, drawn for a white page: outlined buttons become the
   theme's white outline, other boxes get the theme's line. */
body.nt-legacy [style*="border: 1px solid rgba(0,0,0" i], body.nt-legacy [style*="border:1px solid rgba(0,0,0" i],
body.nt-legacy [style*="border: 1px solid rgba(0, 0, 0" i], body.nt-legacy [style*="border:1px solid rgba(0, 0, 0" i],
body.nt-legacy [style*="border: 1px solid #000" i], body.nt-legacy [style*="border:1px solid #000" i],
body.nt-legacy [style*="border: 1px solid black" i], body.nt-legacy [style*="border:1px solid black" i],
body.nt-legacy [style*="border: 1px solid #333" i], body.nt-legacy [style*="border:1px solid #333" i] {
  border-color: var(--nt-line-2) !important;
}
body.nt-legacy .n-btn2[style*="border" i],
body.nt-legacy .btn-default[style*="border" i] { border: 2px solid rgba(255, 255, 255, .85) !important; }
body.nt-legacy .n-btn2[style*="border" i]:hover,
body.nt-legacy .btn-default[style*="border" i]:hover { border-color: #fff !important; color: var(--nt-ink) !important; }
body.nt-legacy #free_upgrade { color: var(--nt-text-faint); }

/* 9 · From the /upgrade review (Matt, 2026-11-06) ----------------------------- */
/* Copy rows and templates set light weights inline (<span style=
   "font-weight:300">, the edition name at 100). Source Sans at those weights
   reads as a different, faded face next to the theme, so lift them all to
   the normal weight. */
body.nt-legacy [style*="font-weight:100" i], body.nt-legacy [style*="font-weight: 100" i],
body.nt-legacy [style*="font-weight:200" i], body.nt-legacy [style*="font-weight: 200" i],
body.nt-legacy [style*="font-weight:300" i], body.nt-legacy [style*="font-weight: 300" i],
body.nt-legacy [style*="font-weight:lighter" i], body.nt-legacy [style*="font-weight: lighter" i] {
  font-weight: 400 !important;
}

/* Selects: no native chrome, a filled triangle like the page's fa-caret-down
   (the one beside "Already have n-Track Studio 10?"). */
body.nt-legacy select.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 50px;
  padding: 0 46px 0 16px;
  background-color: var(--nt-surface-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M0 0h12L6 7z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 12px 7px;
  color: var(--nt-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color .18s var(--nt-ease), background-color .18s var(--nt-ease);
}
body.nt-legacy select.form-control:hover { border-color: var(--nt-line-hover); background-color: var(--nt-surface-3); }
body.nt-legacy select.form-control::-ms-expand { display: none; }

/* Buy pop-up (js/buy_form.js CreateBuyPopover, shared by /upgrade and /buy):
   no separator under the product line; "Pay with card" is the amber
   primary, "Pay with PayPal" a ghost in PayPal blue (#4F82F8) with the
   wordmark recoloured to match, as on the v11 buy page (buy2). */
body.nt-legacy .buy-popover .media { border-bottom: 0 !important; padding-bottom: 0 !important; margin-bottom: 14px !important; }
body.nt-legacy .buy-popover .media-body,
body.nt-legacy .buy-popover .n-font { color: var(--nt-text); }
body.nt-legacy .buyButtonCard,
body.nt-legacy .buyButtonPaypal {
  border-radius: var(--nt-radius-sm);
  font-family: var(--nt-font-display);
  font-size: 15px;
  font-weight: 700;
  text-shadow: none;
  box-shadow: none;
  transition: background-color .18s var(--nt-ease), border-color .18s var(--nt-ease);
}
body.nt-legacy .buyButtonCard {
  border: 2px solid transparent;
  background: var(--nt-amber);
  color: var(--nt-amber-ink);
}
body.nt-legacy .buyButtonCard:hover,
body.nt-legacy .buyButtonCard:focus-visible { background: var(--nt-amber-press); color: var(--nt-amber-ink); }
body.nt-legacy .buyButtonPaypal {
  border: 2px solid #4F82F8;
  background: transparent;
  color: #fff;
}
body.nt-legacy .buyButtonPaypal:hover,
body.nt-legacy .buyButtonPaypal:focus-visible { border-color: #769DF9; background: rgba(79, 130, 248, .12); color: #fff; }
body.nt-legacy .buyButtonPaypal img {
  vertical-align: -3px;
  filter: brightness(0) saturate(100%) invert(41%) sepia(80%) saturate(1033%) hue-rotate(201deg) brightness(99%) contrast(96%);
}

/* 10 · Dropdown menus (Matt, 2026-11-06) ------------------------------------
   A native select's open list is drawn by the OS and can't be styled, so
   js/nt-theme.js puts a button + list in place of each select.form-control,
   in the footer language menu's style (FOOTER row, "Language menu"). The
   select stays in the page, hidden, and still drives the page's scripts. */
body.nt-legacy .nt-select { position: relative; display: block; }
body.nt-legacy .nt-select__native {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  margin: 0 !important; padding: 0 !important;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  border: 0 !important; opacity: 0; pointer-events: none;
}
body.nt-legacy .nt-select__btn {
  display: block;
  width: 100%;
  height: 50px;
  padding: 0 46px 0 16px;
  border: 1px solid var(--nt-line-2);
  border-radius: var(--nt-radius-sm);
  background: var(--nt-surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M0 0h12L6 7z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat right 18px center / 12px 7px;
  color: var(--nt-text);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 48px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: border-color .18s var(--nt-ease), background-color .18s var(--nt-ease);
}
body.nt-legacy .nt-select__btn:hover,
body.nt-legacy .nt-select.is-open .nt-select__btn { border-color: var(--nt-line-hover); background-color: var(--nt-surface-3); }
body.nt-legacy .nt-select.is-open .nt-select__btn {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M0 7h12L6 0z' fill='%23ffffff'/%3E%3C/svg%3E");
}
body.nt-legacy .nt-select__menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 40;
  max-height: 340px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 12px;
  background: #31353d;   /* 2026-11-18: matches the topbar/footer menus */
  box-shadow: 0 16px 32px -8px #000;
}
body.nt-legacy .nt-select__menu[hidden] { display: none; }
body.nt-legacy .nt-select__menu li { margin: 0; }
body.nt-legacy .nt-select__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}
body.nt-legacy .nt-select__item:hover,
body.nt-legacy .nt-select__item:focus { outline: 0; background: rgba(255, 255, 255, .08); }
body.nt-legacy .nt-select__item[aria-selected="true"]::after {
  content: "";
  flex: none;
  width: 9px;
  height: 5px;
  margin-top: -3px;
  border-left: 1.5px solid var(--nt-amber);
  border-bottom: 1.5px solid var(--nt-amber);
  transform: rotate(-45deg);
}

/* 11 · /download (2026-11-06) ------------------------------------------------
   Styling only: the page's tab logic, user-agent detection and the arch
   switches (SwitchArch / SwitchArchMac / SwitchArchLinux, which toggle
   .active and set the download id) are untouched.
   Many buttons carry inline color:…!important, which no stylesheet can beat,
   so text colour is painted with -webkit-text-fill-color instead. */

/* amber buttons get dark text even where an inline colour says white */
body.nt-legacy .n-btn { -webkit-text-fill-color: var(--nt-amber-ink); }

/* one row of architecture toggles + the Download button (.win-btn-group):
   unselected = white outline, selected (.active) = solid white, Download = amber */
body.nt-legacy .win-btn-group > .btn.n-btn {
  background: transparent;
  background-image: none;
  border: 2px solid var(--nt-line-2);
  -webkit-text-fill-color: #fff;
  font-family: var(--nt-font-display);
  font-weight: 700;
  box-shadow: none;
  text-shadow: none;
  transition: background-color .18s var(--nt-ease), border-color .18s var(--nt-ease);
}
body.nt-legacy .win-btn-group > .btn.n-btn:hover,
body.nt-legacy .win-btn-group > .btn.n-btn:focus { background: rgba(255, 255, 255, .08); border-color: var(--nt-line-hover); }
body.nt-legacy .win-btn-group > .btn.n-btn.active,
body.nt-legacy .win-btn-group > .btn.n-btn.active:hover,
body.nt-legacy .win-btn-group > .btn.n-btn.active:focus {
  background: #fff;
  border-color: #fff;
  -webkit-text-fill-color: var(--nt-ink);
}
body.nt-legacy .win-btn-group > .btn.n-btn.download-demo {
  background: var(--nt-amber);
  border-color: var(--nt-amber);
  -webkit-text-fill-color: var(--nt-amber-ink);
}
body.nt-legacy .win-btn-group > .btn.n-btn.download-demo:hover,
body.nt-legacy .win-btn-group > .btn.n-btn.download-demo:focus {
  background: var(--nt-amber-press);
  border-color: var(--nt-amber-press);
}

/* Linux package tabs (DEB / Snap / Flatpak) and their box */
body.nt-legacy .tab-option { background: var(--nt-surface-2); border-color: var(--nt-line-2); color: var(--nt-text-dim); }
body.nt-legacy .tab-option:hover:not(.active) { background: var(--nt-surface-3); color: #fff; }
body.nt-legacy .tab-option.active { background: var(--nt-surface); border-color: var(--nt-line-2); border-bottom-color: var(--nt-surface); color: #fff; }
body.nt-legacy .package-box { background: var(--nt-surface); border-color: var(--nt-line-2); color: var(--nt-text-dim); }
body.nt-legacy .package-title { color: #fff; }

/* apt-install pop-up */
body.nt-legacy #popover { background: var(--nt-surface); border-color: var(--nt-line-2); color: var(--nt-text-dim); box-shadow: var(--nt-shadow); border-radius: 12px; }
body.nt-legacy #popover pre { background: var(--nt-surface-2); color: #fff; border: 1px solid var(--nt-line); }
body.nt-legacy #popover .close { color: var(--nt-text-faint); }
body.nt-legacy #popover .close:hover { color: #fff; }
body.nt-legacy #popover .copy-code { background: var(--nt-amber); color: var(--nt-amber-ink); }
body.nt-legacy #popover .copy-code:hover { background: var(--nt-amber-press); }
body.nt-legacy #aptinstall { color: var(--nt-amber); }

/* languages list */
body.nt-legacy .languages-section h2 { color: #fff; }
body.nt-legacy .languages-trigger { background: var(--nt-surface-2); border-color: var(--nt-line-2); color: #fff; }
body.nt-legacy .languages-trigger:hover { background: var(--nt-surface-3); border-color: var(--nt-line-hover); }
body.nt-legacy .languages-popover { background: #31353d; border-color: rgba(255, 255, 255, .26); box-shadow: 0 16px 32px -8px rgba(0, 0, 0, .55); }
body.nt-legacy .language-item { color: var(--nt-text-dim); }

/* FAQ accordion, radios, version labels, video modal */
body.nt-legacy .product-focus .faq-item { background: var(--nt-surface); border-color: var(--nt-line-2); color: var(--nt-text); }
body.nt-legacy .product-focus .faq-item:hover { background: var(--nt-surface-2); }
body.nt-legacy .product-focus .faq-answer { background: var(--nt-surface-2); border-color: var(--nt-line-2); color: var(--nt-text-dim); }
body.nt-legacy .custom-radio,
body.nt-legacy .custom-radio .radio-label,
body.nt-legacy .version_radio { color: var(--nt-text-faint); }
body.nt-legacy .custom-radio .radio-box { border-color: var(--nt-line-hover); }
body.nt-legacy .custom-radio input[type="radio"]:checked ~ .radio-box { border-color: var(--nt-amber); }
body.nt-legacy .custom-radio input[type="radio"]:checked ~ .radio-box::before { color: var(--nt-amber); }
body.nt-legacy .modal-content2 { background: var(--nt-surface); border: 1px solid var(--nt-line-2); }
/* a btn-default n-btn standing alone is a download link (Snap): amber */
body.nt-legacy :not(.win-btn-group) > .btn.btn-default.n-btn {
  border: 2px solid var(--nt-amber);
  background: var(--nt-amber);
  -webkit-text-fill-color: var(--nt-amber-ink);
}
body.nt-legacy :not(.win-btn-group) > .btn.btn-default.n-btn:hover,
body.nt-legacy :not(.win-btn-group) > .btn.btn-default.n-btn:focus { background: var(--nt-amber-press); border-color: var(--nt-amber-press); }
body.nt-legacy .n-btn[disabled],
body.nt-legacy .n-btn:disabled { -webkit-text-fill-color: var(--nt-text-faint); }

/* 12 · /download, round 2 (Matt's review, 2026-11-06) ------------------------ */
/* Tabs: no divider line, and no "throb" — ntrack9 grew the underline from
   scale(0) on hover. Hover now only brightens the text; the active tab
   keeps a still amber underline. */
body.nt-legacy .nav-tabs { border-bottom: 0 !important; }
body.nt-legacy .nav-tabs > li > a { color: var(--nt-text-dim); transition: color .18s var(--nt-ease); }
body.nt-legacy .nav-tabs > li > a:hover,
body.nt-legacy .nav-tabs > li > a:focus { color: #fff !important; background: transparent !important; }
body.nt-legacy .nav-tabs > li > a::after,
body.nt-legacy .nav-tabs > li:hover > a::after { transform: none !important; transition: none !important; opacity: 0; background: var(--nt-amber); }
body.nt-legacy .nav-tabs > li.active > a::after { opacity: 1; }
body.nt-legacy .nav-tabs > li.active > a,
body.nt-legacy .nav-tabs > li.active > a:hover,
body.nt-legacy .nav-tabs > li.active > a:focus { color: var(--nt-amber) !important; }

/* Architecture row: one segmented control. ntrack9 forces amber borders on
   every .n-btn (2px #F3B100 !important, #C99606 when active), so these
   borders need !important too. Unselected = dark, selected = white,
   Download = amber; outer corners rounded only. */
body.nt-legacy .win-btn-group > .btn.n-btn {
  border: 1px solid var(--nt-line-2) !important;
  border-radius: 0 !important;
  background: var(--nt-surface-2);
  -webkit-text-fill-color: var(--nt-text-dim);
  font-weight: 600;
}
body.nt-legacy .win-btn-group > .btn.n-btn:hover,
body.nt-legacy .win-btn-group > .btn.n-btn:focus { background: var(--nt-surface-3); border-color: var(--nt-line-hover) !important; -webkit-text-fill-color: #fff; }
body.nt-legacy .win-btn-group > .btn.n-btn.active,
body.nt-legacy .win-btn-group > .btn.n-btn.active:hover,
body.nt-legacy .win-btn-group > .btn.n-btn.active:focus {
  background: #fff;
  border-color: #fff !important;
  -webkit-text-fill-color: var(--nt-ink);
  font-weight: 700;
}
body.nt-legacy .win-btn-group > .btn.n-btn.download-demo,
body.nt-legacy .win-btn-group > .btn.n-btn.download-demo:hover,
body.nt-legacy .win-btn-group > .btn.n-btn.download-demo:focus {
  border-color: var(--nt-amber) !important;
  -webkit-text-fill-color: var(--nt-amber-ink);
  font-weight: 700;
}
body.nt-legacy .win-btn-group > .btn.n-btn.download-demo { background: var(--nt-amber); }
body.nt-legacy .win-btn-group > .btn.n-btn.download-demo:hover,
body.nt-legacy .win-btn-group > .btn.n-btn.download-demo:focus { background: var(--nt-amber-press); border-color: var(--nt-amber-press) !important; }
body.nt-legacy .win-btn-group > .btn.n-btn:first-child { border-radius: var(--nt-radius-sm) 0 0 var(--nt-radius-sm) !important; }
body.nt-legacy .win-btn-group > .btn.n-btn.download-demo { border-radius: 0 var(--nt-radius-sm) var(--nt-radius-sm) 0 !important; }

/* Accordion rows and "Included languages": the same look as the dropdowns
   on /upgrade (dark field, 1px edge, filled white triangle). */
body.nt-legacy .product-focus .faq-item,
body.nt-legacy .languages-trigger {
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--nt-line-2);
  border-radius: var(--nt-radius-sm);
  background: var(--nt-surface-2);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  align-items: center;
  transition: border-color .18s var(--nt-ease), background-color .18s var(--nt-ease);
}
body.nt-legacy .product-focus .faq-item:hover,
body.nt-legacy .languages-trigger:hover,
body.nt-legacy .languages-container:hover .languages-trigger { background: var(--nt-surface-3); border-color: var(--nt-line-hover); }
body.nt-legacy .product-focus .faq-item.expanded { border-radius: var(--nt-radius-sm) var(--nt-radius-sm) 0 0; }
body.nt-legacy .product-focus .faq-answer { border-color: var(--nt-line-2); border-radius: 0 0 var(--nt-radius-sm) var(--nt-radius-sm); }
body.nt-legacy .product-focus .faq-item .faq-icon { display: none; }
body.nt-legacy .product-focus .faq-item::after,
body.nt-legacy .languages-trigger::after {
  content: "" !important;
  flex: none;
  width: 12px;
  height: 7px;
  margin-left: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M0 0h12L6 7z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center / 12px 7px;
  transition: transform .2s var(--nt-ease);
}
body.nt-legacy .product-focus .faq-item.expanded::after { transform: rotate(180deg); }
body.nt-legacy .languages-trigger { display: inline-flex; }
body.nt-legacy .languages-popover { border-radius: 12px; padding: 6px 12px; }

/* "Already have…" closing box section */
body.nt-legacy .nt-dl-close { padding: var(--nt-s7) 0; background: var(--nt-ink); }

/* User manual / Download older versions / Forum: three equal cards (Forum
   had no class, so it was a different weight, height and hover). */
body.nt-legacy .icon-card-links { display: flex; flex-wrap: wrap; float: none; }
body.nt-legacy .icon-card-links > div { display: flex; float: none; }
body.nt-legacy .icon-card-links a,
body.nt-legacy .icon-card-links a.n-btn2 {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 40px 24px;
  border: 1px solid var(--nt-line-2) !important;
  border-radius: var(--nt-radius);
  background: var(--nt-surface);
  color: #fff;
  font-family: var(--nt-font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  transition: border-color .2s var(--nt-ease), background-color .2s var(--nt-ease), transform .2s var(--nt-ease);
}
body.nt-legacy .icon-card-links a:hover,
body.nt-legacy .icon-card-links a:focus,
body.nt-legacy .icon-card-links a.n-btn2:hover,
body.nt-legacy .icon-card-links a.n-btn2:focus {
  border-color: var(--nt-amber) !important;
  background: var(--nt-surface-2);
  color: #fff;
  transform: translateY(-3px);
  text-decoration: none;
}
body.nt-legacy .icon-card-links a span { margin-bottom: 14px; color: var(--nt-amber); font-size: 30px; }
@media (max-width: 991px) {
  body.nt-legacy .icon-card-links > div { width: 100%; margin-bottom: 16px; }
}

/* 13 · /download, round 3 (Matt's review, 2026-11-06) ------------------------ */
/* Tabs: the topbar's amber underline, grown from the centre on hover (a
   transform on X only, .18s), still under the active tab. Replaces §12's
   static underline. */
body.nt-legacy .nav-tabs > li > a { position: relative; }
body.nt-legacy .nav-tabs > li > a::after,
body.nt-legacy .nav-tabs > li:hover > a::after {
  left: 13px !important;
  right: 13px !important;
  width: auto !important;
  bottom: 3px !important;
  height: 2px !important;
  border-radius: 2px;
  background: var(--nt-amber) !important;
  opacity: 1 !important;
  transform: scaleX(0) !important;
  transform-origin: center;
  transition: transform .18s ease !important;
}
body.nt-legacy .nav-tabs > li > a:hover::after,
body.nt-legacy .nav-tabs > li > a:focus::after,
body.nt-legacy .nav-tabs > li.active > a::after { transform: scaleX(1) !important; }

/* Architecture row: all amber, the selected architecture white, thin dark
   dividers between the segments (no dark buttons). */
body.nt-legacy .win-btn-group > .btn.n-btn,
body.nt-legacy .win-btn-group > .btn.n-btn:focus {
  border: 0 !important;
  background: var(--nt-amber);
  box-shadow: inset -1px 0 0 rgba(8, 9, 10, .35);
  -webkit-text-fill-color: var(--nt-amber-ink);
  font-weight: 700;
}
body.nt-legacy .win-btn-group > .btn.n-btn:hover { background: var(--nt-amber-press); -webkit-text-fill-color: var(--nt-amber-ink); }
body.nt-legacy .win-btn-group > .btn.n-btn.active,
body.nt-legacy .win-btn-group > .btn.n-btn.active:hover,
body.nt-legacy .win-btn-group > .btn.n-btn.active:focus {
  background: #fff;
  -webkit-text-fill-color: var(--nt-ink);
}
body.nt-legacy .win-btn-group > .btn.n-btn.download-demo,
body.nt-legacy .win-btn-group > .btn.n-btn.download-demo:focus { background: var(--nt-amber); box-shadow: none; }
body.nt-legacy .win-btn-group > .btn.n-btn.download-demo:hover { background: var(--nt-amber-press); }

/* Version and beta labels: white (the page greys them by ID, !important) */
body.nt-legacy .version_radio,
body.nt-legacy .version_radio label,
body.nt-legacy .custom-radio,
body.nt-legacy .custom-radio .radio-label,
body.nt-legacy #winlabelStableVersionNumber, body.nt-legacy #winlabelBetaVersionNumber,
body.nt-legacy #maclabelStableVersionNumber, body.nt-legacy #maclabelBetaVersionNumber,
body.nt-legacy #linuxlabelStableVersionNumber, body.nt-legacy #linuxlabelBetaVersionNumber,
body.nt-legacy #linuxlabelStableVersionNumberFlatpak, body.nt-legacy #linuxlabelBetaVersionNumberFlatpak,
body.nt-legacy #linuxlabelStableVersionNumberSnap, body.nt-legacy #linuxlabelBetaVersionNumberSnap { color: #fff !important; }

/* Trial-version table (TRIAL_VERSION_INFO_TABLE copy, with its own white
   <style>): the comparison-table look from the v11 buy page (buy2,
   .buy-cmp): dark rounded card, hairline rows, white header in Inter. */
body.nt-legacy .trial-version-info-card {
  padding: 8px 0 0;
  border: 1px solid var(--nt-line);
  border-radius: var(--nt-radius-lg);
  background: var(--nt-surface);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
  color: var(--nt-text-dim);
  overflow: hidden;
}
body.nt-legacy .trial-version-info-intro { padding: 14px 18px 6px; font-size: 15px; color: var(--nt-text-dim); opacity: 1; }
body.nt-legacy table.trial-version-info-table { border-collapse: separate; border-spacing: 0; background: transparent; }
body.nt-legacy table.trial-version-info-table th,
body.nt-legacy table.trial-version-info-table td {
  padding: 13px 18px;
  border: 0;
  border-bottom: 1px solid var(--nt-line);
  background: transparent;
  color: var(--nt-text-dim);
  font-size: 15px;
  vertical-align: middle;
}
body.nt-legacy table.trial-version-info-table thead th {
  background: var(--nt-surface-2);
  color: var(--nt-text);
  font-family: var(--nt-font-display);
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--nt-line-2);
}
body.nt-legacy table.trial-version-info-table tbody td:first-child { color: var(--nt-text); }
body.nt-legacy table.trial-version-info-table tbody tr:hover > td { background: rgba(255, 255, 255, .035); }
body.nt-legacy table.trial-version-info-table tbody tr:last-child > td { border-bottom: 0; }
body.nt-legacy .trial-version-info-required { color: var(--nt-text); font-weight: 700; }

/* 14 · /download, round 4 (Matt, 2026-11-06) -------------------------------- */
/* No box around a clicked tab: Bootstrap 3 outlines a:focus (a ring after a
   mouse click too), and its active tab has a 1px #ddd frame. The amber
   underline marks the selected tab. */
body.nt-legacy .nav-tabs > li > a,
body.nt-legacy .nav-tabs > li > a:focus,
body.nt-legacy .nav-tabs > li > a:active,
body.nt-legacy .nav-tabs > li.active > a,
body.nt-legacy .nav-tabs > li.active > a:focus,
body.nt-legacy .nav-tabs > li.active > a:hover {
  outline: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Architecture row: selected = the deeper amber, no hover colours on these
   four, and a clear 2px dark divider between the segments. */
body.nt-legacy .win-btn-group > .btn.n-btn,
body.nt-legacy .win-btn-group > .btn.n-btn:hover,
body.nt-legacy .win-btn-group > .btn.n-btn:focus,
body.nt-legacy .win-btn-group > .btn.n-btn.download-demo,
body.nt-legacy .win-btn-group > .btn.n-btn.download-demo:hover,
body.nt-legacy .win-btn-group > .btn.n-btn.download-demo:focus {
  background: var(--nt-amber);
  -webkit-text-fill-color: var(--nt-amber-ink);
  box-shadow: none;
  transform: none;
}
body.nt-legacy .win-btn-group > .btn.n-btn.active,
body.nt-legacy .win-btn-group > .btn.n-btn.active:hover,
body.nt-legacy .win-btn-group > .btn.n-btn.active:focus { background: var(--nt-amber-press); -webkit-text-fill-color: var(--nt-amber-ink); }
body.nt-legacy .win-btn-group > .btn.n-btn:not(.download-demo) { border-right: 2px solid var(--nt-ink) !important; }
body.nt-legacy .win-btn-group > .btn.n-btn.active:not(.download-demo),
body.nt-legacy .win-btn-group > .btn.n-btn.active:not(.download-demo):hover,
body.nt-legacy .win-btn-group > .btn.n-btn.active:not(.download-demo):focus,
body.nt-legacy .win-btn-group > .btn.n-btn:not(.download-demo):hover,
body.nt-legacy .win-btn-group > .btn.n-btn:not(.download-demo):focus { border-right: 2px solid var(--nt-ink) !important; }

/* 15 · /download, round 5 (Matt, 2026-11-09) -------------------------------- */
/* Tabs: the hover underline matches the hover text (white); amber only on
   the selected tab. */
body.nt-legacy .nav-tabs > li > a::after,
body.nt-legacy .nav-tabs > li:hover > a::after { background: #fff !important; }
body.nt-legacy .nav-tabs > li.active > a::after { background: var(--nt-amber) !important; }

/* Architecture row: back to round 4 (all amber, dark dividers, no hover
   colours), with a much clearer selected state: a markedly deeper amber,
   pressed in (inner shadow), heavier text. Unselected segments stay the
   Download button's amber. */
/* Round 7 (Matt, 2026-11-09): the deep pressed amber read as dimmed, not
   chosen. Selected is now the BRIGHTEST segment (amber-hi, a light top edge)
   with a tick before the label; unselected keep the Download amber. */
body.nt-legacy .win-btn-group > .btn.n-btn.active:not(.download-demo),
body.nt-legacy .win-btn-group > .btn.n-btn.active:not(.download-demo):hover,
body.nt-legacy .win-btn-group > .btn.n-btn.active:not(.download-demo):focus {
  background: var(--nt-amber-hi);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55);
  -webkit-text-fill-color: var(--nt-ink);
  font-weight: 700;
}
body.nt-legacy .win-btn-group > .btn.n-btn.active:not(.download-demo)::before {
  content: '';
  display: inline-block;
  width: .8em;
  height: .8em;
  margin-right: .4em;
  vertical-align: -.02em;
  background: var(--nt-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8.5l4 4 8-9' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8.5l4 4 8-9' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
body.nt-legacy .win-btn-group > .btn.n-btn:not(.active):not(.download-demo) { font-weight: 600; }
/* Round 8 (Matt, 2026-11-10, variant 2 of 5; no ticks): the selected
   segment is the Download button's full amber, the others are dimmed. */
body.nt-legacy .win-btn-group > .btn.n-btn.active:not(.download-demo),
body.nt-legacy .win-btn-group > .btn.n-btn.active:not(.download-demo):hover,
body.nt-legacy .win-btn-group > .btn.n-btn.active:not(.download-demo):focus {
  background: var(--nt-amber);
  box-shadow: none;
  -webkit-text-fill-color: var(--nt-amber-ink);
}
body.nt-legacy .win-btn-group > .btn.n-btn.active:not(.download-demo)::before { content: none; }
body.nt-legacy .win-btn-group > .btn.n-btn:not(.active):not(.download-demo),
body.nt-legacy .win-btn-group > .btn.n-btn:not(.active):not(.download-demo):focus { background: #8a6512; -webkit-text-fill-color: rgba(0, 0, 0, .62); }
body.nt-legacy .win-btn-group > .btn.n-btn:not(.active):not(.download-demo):hover { background: #a67a17; -webkit-text-fill-color: rgba(0, 0, 0, .75); }
/* Round 10 (Matt, 2026-11-18; round 9's dark pressed segment read as
   "almost black"). Modelled on the LIVE site's switcher, which Matt approved:
   every segment the same flat amber, light amber dividers; the selected one
   only a few shades darker, with a darker 2px edge and a soft shadow at the
   top, so it sits slightly in. (Text stays amber-ink: the live white-on-amber
   is ~2:1.) */
body.nt-legacy .win-btn-group > .btn.n-btn:not(.active):not(.download-demo),
body.nt-legacy .win-btn-group > .btn.n-btn:not(.active):not(.download-demo):focus {
  background: var(--nt-amber);
  box-shadow: none;
  -webkit-text-fill-color: var(--nt-amber-ink);
}
body.nt-legacy .win-btn-group > .btn.n-btn:not(.active):not(.download-demo):hover {
  background: var(--nt-amber-press);
  -webkit-text-fill-color: var(--nt-amber-ink);
}
body.nt-legacy .win-btn-group > .btn.n-btn.active:not(.download-demo),
body.nt-legacy .win-btn-group > .btn.n-btn.active:not(.download-demo):hover,
body.nt-legacy .win-btn-group > .btn.n-btn.active:not(.download-demo):focus {
  background: #eba200;
  box-shadow: inset 0 0 0 2px #c98d00, inset 0 4px 7px rgba(0, 0, 0, .16);
  -webkit-text-fill-color: var(--nt-amber-ink);
  font-weight: 700;
}
body.nt-legacy .win-btn-group > .btn.n-btn:not(.download-demo),
body.nt-legacy .win-btn-group > .btn.n-btn:not(.download-demo):hover,
body.nt-legacy .win-btn-group > .btn.n-btn:not(.download-demo):focus,
body.nt-legacy .win-btn-group > .btn.n-btn.active:not(.download-demo),
body.nt-legacy .win-btn-group > .btn.n-btn.active:not(.download-demo):hover,
body.nt-legacy .win-btn-group > .btn.n-btn.active:not(.download-demo):focus { border-right: 2px solid var(--nt-amber-hi) !important; }

/* 16 · /download v11 graphics (Matt, 2026-11-09) ---------------------------- */
/* img/v11/download-{win,mac,linux,android,ios}.webp: transparent, one 1400x1008
   shape for every platform (switching tabs no longer jumps). The old art had a
   white margin, hence the template's 108% float; the new art fits its column.
   The desktop graphics open the video (.video-to-modal2) and the old ones had
   a play icon baked in: now a CSS button centred on each screen (--px/--py,
   the screen's centre in the image). */
body.nt-legacy .product-img { float: none !important; width: 100% !important; height: auto; margin: 0 !important; }
body.nt-legacy a.video-to-modal2:has(> .product-img) { position: relative; display: block; opacity: 1 !important; }
body.nt-legacy #winTab   { --nt-px: 53.5%; --nt-py: 39.6%; }
body.nt-legacy #macTab   { --nt-px: 50%;   --nt-py: 47.3%; }
body.nt-legacy #linuxTab { --nt-px: 46.5%; --nt-py: 39.6%; }
body.nt-legacy a.video-to-modal2:has(> .product-img)::after {
  content: '';
  position: absolute;
  left: var(--nt-px, 50%);
  top: var(--nt-py, 45%);
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l10.5-6.5z' fill='%230e0f11'/%3E%3C/svg%3E") no-repeat 56% 50% / 30px 30px,
    rgba(255, 255, 255, .94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  transition: transform .25s var(--nt-ease);
}
body.nt-legacy a.video-to-modal2:has(> .product-img):hover::after { transform: scale(1.06); }
@media (max-width: 767px) {
  body.nt-legacy a.video-to-modal2:has(> .product-img)::after { width: 54px; height: 54px; margin: -27px 0 0 -27px; background-size: 24px 24px, auto; }
}

/* 17 · /upgrade v11 intro offer (Matt, 2026-11-09) -------------------------- */
/* upgrade.php takes an extra 20% off every upgrade and prints a banner under
   the title ({UPGRADE_INTRO_BANNER}) and a note under each price row
   ({UPGRADE_INTRO_NOTE}). */
body.nt-legacy .nt-upg-intro {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: -6px 0 34px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 176, 0, .45);
  border-radius: var(--nt-radius);
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(255, 176, 0, .16), transparent 60%),
    var(--nt-surface-2);
  color: var(--nt-text-dim);
  font-size: 16px;
  line-height: 1.4;
}
body.nt-legacy .nt-upg-intro b { color: #fff; font-weight: 700; }
body.nt-legacy .nt-upg-intro__tag {
  flex: none;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--nt-amber);
  color: var(--nt-amber-ink);
  -webkit-text-fill-color: var(--nt-amber-ink);
  font-family: var(--nt-font-display);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
body.nt-legacy .nt-upg-intro-note {
  clear: both;
  float: right;
  margin: 6px 0 0;
  color: #6ee7a8;
  font-size: 14px;
  font-weight: 600;
}
@media (max-width: 600px) {
  body.nt-legacy .nt-upg-intro { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 15px; }
}

/* 18 · /download details (Matt, 2026-11-10) --------------------------------- */
/* The info under each platform's title in the devices' silver: "for Windows
   v…", build / release / size, What's new + RSS, "works with". "Download"
   (the line under "n-Track Studio") pure white. */
body.nt-legacy { --nt-silver: #c5c9cf; }
body.nt-legacy .product-info-col h2 + h3 { opacity: 1 !important; color: #fff !important; }
body.nt-legacy .product-info-col h4 > span[style*="opacity"] { opacity: 1 !important; color: var(--nt-silver) !important; }
body.nt-legacy .product-info-col .download_info,
body.nt-legacy .product-info-col .download_info li,
body.nt-legacy .product-info-col .download_info span,
body.nt-legacy .product-info-col .download_info strong,
body.nt-legacy .product-info-col .download-requirements,
body.nt-legacy .product-info-col .download-requirements * { color: var(--nt-silver) !important; opacity: 1 !important; }
body.nt-legacy .product-info-col .download_info a,
body.nt-legacy .product-info-col .download-requirements a { color: var(--nt-silver) !important; -webkit-text-fill-color: var(--nt-silver); opacity: 1 !important; }
body.nt-legacy .product-info-col .download_info a:hover,
body.nt-legacy .product-info-col .download-requirements a:hover { color: #fff !important; -webkit-text-fill-color: #fff; }

/* "Try out more n-Track apps" arrows: round ghost buttons (were Bootstrap's
   square carousel controls) */
body.nt-legacy .apps-we-make-arrows { display: flex; justify-content: flex-end; gap: 10px; }
body.nt-legacy .apps-we-make-arrows .carousel-control {
  position: static;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 0 18px;
  border: 1px solid var(--nt-line-2) !important;   /* the bundle's .apps-we-make .carousel-control sets amber, a border and white with !important */
  border-radius: 50%;
  background: transparent !important;
  background-image: none !important;
  color: #fff !important;
  opacity: 1;
  text-shadow: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .18s var(--nt-ease), border-color .18s var(--nt-ease);
}
body.nt-legacy .apps-we-make-arrows .carousel-control:hover { background: var(--nt-surface-3) !important; border-color: var(--nt-line-hover) !important; }
body.nt-legacy .apps-we-make-arrows .carousel-control .fa { position: static; margin: 0; width: auto; height: auto; font-size: 22px; line-height: 1 !important; color: #fff; }
/* the app cards: the site's card edge and corners */
body.nt-legacy .apps-we-make .product-card { border: 1px solid var(--nt-line); border-radius: var(--nt-radius-lg); background: var(--nt-surface); }
body.nt-legacy .apps-we-make a:hover .product-card { border-color: var(--nt-line-hover); }
/* "Android App" / "iOS App": the mobile tabs' equivalent of "for Windows v…" */
body.nt-legacy .product-info-col h2 + h4[style*="opacity"] { opacity: 1 !important; color: var(--nt-silver) !important; }

/* 19 · /download live screens (Matt, 2026-11-10) ---------------------------- */
/* The screenshots without device frames: the desktop Timeline in the homepage
   hero's window (bar with three dots, white-26% hairline, deep shadow), the
   phone and tablet screens with the same hairline; all of them animated by
   js/nt-live-screens.js (overlay .ntl). Windows keeps the Microsoft Store
   award, Linux keeps Tux. */
body.nt-legacy .nt-dl-scene { position: relative; display: block; padding: 3% 0 9%; }
body.nt-legacy .nt-dl-win {
  position: relative;
  display: block;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 12px;
  overflow: hidden;
  background: #0b0c0e;
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .85);
}
body.nt-legacy .nt-dl-win__bar { display: flex; align-items: center; gap: 7px; height: 26px; padding: 0 12px; background: #1a1c20; border-bottom: 1px solid rgba(255, 255, 255, .14); }
body.nt-legacy .nt-dl-win__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
body.nt-legacy .nt-dl-shot { position: relative; display: block; overflow: hidden; }
body.nt-legacy .nt-dl-shot img { display: block; width: 100%; height: auto; max-width: none; }
/* the video play button, centred on the window */
body.nt-legacy a.video-to-modal2 .nt-dl-win::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l10.5-6.5z' fill='%230e0f11'/%3E%3C/svg%3E") no-repeat 56% 50% / 30px 30px,
    rgba(255, 255, 255, .94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  transition: transform .25s var(--nt-ease);
}
body.nt-legacy a.video-to-modal2:hover .nt-dl-win::after { transform: scale(1.06); }
body.nt-legacy a.video-to-modal2 { opacity: 1 !important; }
body.nt-legacy .nt-dl-badge { position: absolute; left: -2%; bottom: 0; z-index: 3; width: 24%; height: auto; border-radius: 4.2%; box-shadow: 0 24px 46px -14px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .14); }
body.nt-legacy .nt-dl-tux { position: absolute; right: -2%; bottom: 0; z-index: 3; width: 19%; height: auto; filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .6)); }
/* phone and tablet: the bare screens, layered */
body.nt-legacy .nt-dl-scene--mob { aspect-ratio: 1.39; padding: 0; }
body.nt-legacy .nt-dl-scene--mob .nt-dl-shot {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 14px;
  background: #000;
  box-shadow: 0 34px 60px -20px rgba(0, 0, 0, .9);
}
body.nt-legacy .nt-dl-mob--tablet { right: 1%; top: 3%; width: 72%; }
body.nt-legacy .nt-dl-mob--back { right: 1%; top: 5%; width: 70%; border-radius: 18px !important; }
body.nt-legacy .nt-dl-mob--phone { left: 1%; bottom: 5%; width: 64%; z-index: 2; border-radius: 18px !important; }
@media (max-width: 767px) {
  body.nt-legacy a.video-to-modal2 .nt-dl-win::after { width: 54px; height: 54px; margin: -27px 0 0 -27px; background-size: 24px 24px, auto; }
}

/* the live overlay (the homepage's .hv-live, js/home-v11.js §6b, as .ntl) */
body.nt-legacy .ntl { position: absolute; inset: 0; pointer-events: none; container-type: inline-size; contain: layout paint; }
body.nt-legacy .ntl > * { position: absolute; display: block; }
body.nt-legacy .ntl__m { overflow: hidden; }
body.nt-legacy .ntl__mc { position: absolute; inset: 0; }
body.nt-legacy .ntl__mp { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; height: max(1px, .16cqw); }
body.nt-legacy .ntl__m.is-h .ntl__mp { top: 0; bottom: 0; left: 0; right: auto; height: auto; width: 2px; width: max(1px, .16cqw); }
body.nt-legacy .ntl__ph { margin-left: -.4167%; }
body.nt-legacy .ntl__ph.is-g { margin-left: 0; }
body.nt-legacy .ntl__m.is-min { min-width: 1px; }   /* the small cards' track and input meters: never rounded away */
body.nt-legacy .ntl__ph::before,
body.nt-legacy .ntl__ph::after { content: ''; position: absolute; }
body.nt-legacy .ntl__ph::before { left: 0; right: 0; top: 0; aspect-ratio: 16 / 10; background: #d1a85c; clip-path: polygon(0 0, 100% 0, 50% 100%); }
body.nt-legacy .ntl__ph::after { left: 43.75%; width: 12.5%; top: 1%; bottom: 0; background: #92805a; }
body.nt-legacy .ntl__clk { background: rgb(18, 22, 23); }
body.nt-legacy .ntl__clk > span {
  position: absolute; top: 50%; transform: translateY(-50%);
  text-align: center; white-space: nowrap; line-height: 1;
  font-family: var(--nt-font-display); font-variant-numeric: tabular-nums;
  font-size: 12px; font-size: 1.24cqw; font-weight: 500; color: #e6e8ea;
}
body.nt-legacy .ntl__clk .is-l { text-align: left; }
body.nt-legacy .ntl__clk .ntl__sep { color: #c9cdd0; font-weight: 400; }
body.nt-legacy .ntl__clk .ntl__t {
  text-align: left; font-family: 'Roboto Mono', ui-monospace, Menlo, Consolas, monospace;
  font-size: 8px; font-size: .76cqw; font-weight: 400; color: #8d9296; transform: translateY(-38%);
}
body.nt-legacy .ntl__pclk {
  display: grid !important; place-items: center; background: rgb(8, 9, 10);
  font-family: ui-monospace, 'SF Mono', Menlo, 'Roboto Mono', Consolas, monospace;
  font-size: 9px; font-size: 2.85cqw; letter-spacing: .04em; color: #e7e9ec; line-height: 1;
}
body.nt-legacy .ntl__pad { border-radius: 5% / 5%; }
body.nt-legacy .ntl__pad.is-now:not(.is-on) { background: rgb(108, 116, 127); }
body.nt-legacy .ntl__gap { background: rgb(12, 14, 15); }

/* /upgrade title (Matt, 2026-11-18): "Upgrade to" in the dim text colour and a
   lighter weight, so "n-Track Studio 11" stands as its own name (as "Get" on /buy). */
body.nt-legacy .nt-upg-lead { color: var(--nt-text-dim); font-weight: 500; }   /* same grey as the intro line's plain text (Matt, 2026-11-19) */
