/* The header's CSS (layouts/NavHeader.astro, NavSearch.astro), out of the page HTML since lane fix181 (26 Nov 2026,
   ratchet W15: inline it weighed about 5 KB gzip on every page). Search first, then the header: the order they had inline.
   Linked before <header>, so the cascade order against the head's stylesheets is the one the inline blocks had. */
/* O140: Search scales with the 96 px header bar like the tabs: 21.25 px type, a 24 px glass, a 56 px box (48 on phones) */
.rt-n-sbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 56px; box-sizing: border-box; padding: 0 16px; border: 0; border-radius: 0; background: transparent; color: #153457; font: 500 var(--t-lead)/1 var(--rt-font); cursor: pointer; }
.rt-n-sbtn svg { flex: none; width: 24px; height: 24px; }
.rt-n-sbtn:hover, .rt-n-sbtn[aria-expanded="true"] { background: rgba(11, 95, 255, .07); }
.rt-n-sbtn:focus-visible, .rt-n-search-x:focus-visible, .rt-n-search-r a:focus-visible { outline: 2px solid var(--rt-ink); outline-offset: 2px; }
.rt-n-search { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; background: var(--rt-surface); border-top: 1px solid var(--rt-line); border-bottom: var(--rt-sheet-w) solid var(--rt-sheet-line); }
.rt-n-search[hidden] { display: none; }
.rt-n-search-in { box-sizing: border-box; max-width: var(--rt-data-width); margin: 0 auto; padding: 24px 16px 32px; }
.rt-n-search-lab { display: block; margin: 0 0 8px; color: var(--rt-mut); font: 400 var(--t-meta)/1.4 var(--rt-font); }
.rt-n-search-row { display: flex; gap: 8px; }
.rt-n-search-q { flex: 1 1 auto; min-width: 0; box-sizing: border-box; height: 48px; padding: 0 14px; border: 1px solid var(--rt-line2); border-radius: var(--rt-radius-sm); background: var(--rt-field); color: var(--rt-ink); font: 400 var(--t-body)/1.2 var(--rt-font); }
.rt-n-search-q:focus { outline: 2px solid var(--rt-ink); outline-offset: 0; }
.rt-n-search-x { flex: none; width: 48px; height: 48px; border: 2px solid var(--rt-btn-line); border-radius: 0; background: var(--rt-btn-bg); color: var(--rt-cta); font: 400 24px/1 var(--rt-font); cursor: pointer; }
.rt-n-search-st { margin: 12px 0 0; color: var(--rt-mut); font: 400 var(--t-meta)/1.4 var(--rt-font); }
.rt-n-search-st:empty { display: none; }
.rt-n-search-r { margin: 8px 0 0; padding: 0; list-style: none; max-height: min(60vh, 560px); overflow-y: auto; }
.rt-n-search-r li + li { border-top: 1px solid var(--rt-line); }
.rt-n-search-r a { display: block; padding: 12px 8px; text-decoration: none; }
.rt-n-search-r a:hover .rt-n-sr-t, .rt-n-search-r a[aria-selected="true"] .rt-n-sr-t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.rt-n-search-r a[aria-selected="true"] { background: var(--rt-panel); }
.rt-n-sr-t { display: block; color: var(--rt-ink); font: 600 var(--t-body)/1.3 var(--rt-font-display); }
.rt-n-sr-m { display: block; margin-top: 4px; color: var(--rt-mut); font: 400 var(--t-meta)/1.45 var(--rt-font); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (max-width: 959px) { .rt-n-sbtn-l { display: none; } .rt-n-sbtn { min-height: 48px; padding: 0 10px; } }
@media (max-width: 767.98px) { .rt-n-search-in { padding: 16px 16px 24px; } .rt-n-search-r { max-height: calc(100vh - 244px); } }   /* O140: 24 px more for the taller bar */
/* The six-item header (layouts/NavHeader.astro). Sizes are the kit's type steps (tokens.css);
   the shell (.rt-header, logo, burger) is chrome.css, unchanged. */
/* O140: the bar about 30% taller, 73 to 96 px at every width (chrome.css sizes .rt-header__inner and the phone menu's top
   from --rt-header-h). A tab is 56 px tall, centred, so its panel drops --rt-n-drop to open at the bar's foot. */
.rt-n { --rt-header-h: 96px; --rt-n-tab: 56px; --rt-n-drop: calc((var(--rt-header-h) - var(--rt-n-tab)) / 2); }
.rt-n .rt-header__inner { gap: 16px; }
/* O128 L6, O140: the logo grows with the bar, 60 to 78 px (9 px above and below it); under 800 px 48 to 62 px, capped by
   the screen's width so the logo, Search (44 px) and the burger (48 px) always fit one row: the image is 3.81 times as
   wide as it is tall. Copied pages keep the 6vw phone edge; kit pages (.rt-d) take a 12 px edge under 640 px (cohesion.css
   8), and under 400 px the row's gaps drop to 8 px. */
.rt-n .rt-header__logo img { height: 78px; }
@media (max-width: 799px) { .rt-n .rt-header__logo img { height: min(62px, calc((88vw - 128px) / 3.81)); } .rt-n .rt-header__logo { padding: 0; margin: 0; } }
@media (max-width: 639.98px) { :root:has(.rt-d) .rt-n .rt-header__logo img { height: min(62px, calc((100vw - 136px) / 3.81)); } }
@media (max-width: 399.98px) { :root .rt-n .rt-header__inner { gap: 8px; } .rt-n .rt-header__logo img { height: min(62px, calc((88vw - 112px) / 3.81)); } }
.rt-n .rt-burger { width: 48px; height: 48px; }
.rt-n .rt-burger span { width: 30px; }
.rt-n-ribbon { position: relative; display: flex; align-items: center; justify-content: center; min-height: 40px; box-sizing: border-box; padding: 0 48px; background: var(--rt-deep, #0A2540); color: #fff; }
.rt-n-ribbon[hidden], body.rt-menu-open .rt-n-ribbon { display: none; }
/* home lane, 13 Nov (O98): the new home's hero sells the same review, so the ribbon would repeat it, price first (O94.5): not on the home (div.rt-h.rt-h6), wherever it is served */
:root:has(.rt-h.rt-h6) .rt-n-ribbon { display: none; }
.rt-n-ribbon-a { display: inline-flex; align-items: center; gap: 0; min-width: 0; color: #fff; text-decoration: none; font: 400 var(--t-small, 13.6px)/1.3 var(--rt-font); white-space: nowrap; }
.rt-n-ribbon-a::before { content: ""; flex: none; width: 7px; height: 7px; margin-right: 10px; border-radius: 0; background: #36C6CC; }
.rt-n-ribbon-k { font-weight: 600; }
.rt-n-ribbon-t { margin-left: .3em; }
.rt-n-ribbon-a:hover .rt-n-ribbon-t, .rt-n-ribbon-a:focus-visible .rt-n-ribbon-t { text-decoration: underline; }
.rt-n-ribbon-a:focus-visible, .rt-n-ribbon-x:focus-visible { outline: 2px solid #7BE2E6; outline-offset: 2px; }
.rt-n-ribbon-x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: transparent; color: #fff; font: 400 20px/1 var(--rt-font); cursor: pointer; opacity: .8; }
.rt-n-ribbon-x:hover { opacity: 1; }
/* The price never truncates: the clause before it gives way first (below 1024 px), then "Customized" (phone). */
.rt-n-ribbon-k, .rt-n-ribbon-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.rt-n-ribbon-p { flex: none; margin-left: .45em; font-weight: 600; }
.rt-n-ribbon-i { display: none; }
/* critic r1 S2 (lane hub-o137): below 360 px the lead's short form, so nothing is cut ("Investment portfolio revie...") */
.rt-n-ribbon-s { display: none; font-weight: 600; }
@media (max-width: 359.98px) { .rt-n-ribbon-k { display: none; } .rt-n-ribbon-s { display: inline; } }
@media (max-width: 1023.98px) { .rt-n-ribbon-t { display: none; } }
@media (max-width: 767.98px) { .rt-n-ribbon { padding: 0 44px 0 16px; justify-content: flex-start; } .rt-n-ribbon-c { display: none; } .rt-n-ribbon-i { display: inline; } }
.rt-n-nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.rt-n-list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; white-space: nowrap; }
.rt-n-item { position: relative; }
/* O140: the tabs scale with the 96 px bar: 21.25 px type (was 17), a 56 px box (was 44), 16 px sides (was 12) */
.rt-n-link {
  display: inline-flex; align-items: center; min-height: var(--rt-n-tab); box-sizing: border-box; padding: 0 16px; border-radius: 0;
  color: #153457; font: 500 var(--t-lead)/1 var(--rt-font); text-decoration: none; transition: background var(--rt-dur-quick, 150ms) var(--rt-ease-out, cubic-bezier(0.22, 1, 0.36, 1)), color var(--rt-dur-quick, 150ms) var(--rt-ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}
.rt-n-item:hover > .rt-n-link, .rt-n-item:focus-within > .rt-n-link { background: rgba(11, 95, 255, .07); color: #093877; }
.rt-n-item.is-active > .rt-n-link { color: #093877; box-shadow: inset 0 -2px 0 #093877; border-radius: 0; }
.rt-n-panel {
  position: absolute; top: 100%; left: 0; z-index: 1001; display: none;
  width: 360px; box-sizing: border-box; padding: 6px 8px 8px; margin-top: var(--rt-n-drop);
  background: #fff; border: 1px solid rgba(21, 52, 87, .10); border-radius: 0;
  box-shadow: var(--rt-shadow-card);
  white-space: normal;
}
.rt-n-panel::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: var(--rt-n-drop); } /* hover bridge, from the tab to the panel */
/* Every panel opens from its tab's left edge and extends to the right (owner O77.5); only where the window is too narrow
   for that does the last tab's panel open leftwards from its right edge. */
.rt-n .rt-n-panel { width: 400px; }   /* the four tabs on every page (lane launch-wiring; was the preview-v4 header's) */
.rt-n .rt-n-item:first-child .rt-n-panel { width: 500px; }
@media (max-width: 1199.98px) { .rt-n-item:last-child .rt-n-panel { left: auto; right: 0; } }
.rt-n-panel ul { margin: 0; padding: 0; list-style: none; }
/* The parent ("All data", "All free tools" ...): the whole of the tab, set apart from the items under it by weight, an
   arrow and the indent of everything below it. */
.rt-n-parent {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; align-items: baseline;
  padding: 8px 40px 8px 12px; border-radius: 0; color: var(--rt-deep, #0A2540); text-decoration: none;
  transition: background var(--rt-dur-quick, 150ms) var(--rt-ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}
.rt-n-parent-l { font: 600 var(--t-body, 17px)/1.3 var(--rt-font-display, var(--rt-font)); color: var(--rt-deep, #0A2540); }
.rt-n-parent::after {
  content: ""; position: absolute; right: 14px; top: 13px; width: 16px; height: 11px; background: var(--rt-cta, #093877);
  -webkit-mask: var(--rt-arrow) center / contain no-repeat; mask: var(--rt-arrow) center / contain no-repeat;
  transition: transform var(--rt-dur-quick, 150ms) var(--rt-ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}
.rt-n-parent:hover, .rt-n-parent:focus-visible { background: #F0F5FB; }
.rt-n-parent:hover::after, .rt-n-parent:focus-visible::after { transform: translateX(3px); }
.rt-n-kids { margin: 0 !important; padding: 0 0 0 24px !important; }
.rt-n-kids .rt-n-card { padding: 6px 12px; }
.rt-n-kids .rt-n-card-l { font-weight: 400; }
/* O81.5: the Data panel in two parts, the world first and the US as one part, each under its own small heading */
/* O115: the two parts read as category headings, not links: outdented to the panel's left edge (the parent's text, 12 px
   left of the indented items) and a step bolder; the mark stays grey */
.rt-n-kids-h { display: flex; align-items: center; margin: 6px 12px 0 -12px; color: var(--rt-ico-mark); font: 700 var(--t-small)/1.3 var(--rt-font); }
/* O114 M2: the part's mark, a true grey (no gradient) */
.rt-n-mark { flex: none; width: 16px; height: 16px; margin: 0 8px 0 0; color: var(--rt-ico-mark); }
.rt-n-kids-h:first-child { margin-top: 2px; }
.rt-n-kids-h:not(:first-child) { padding-top: 8px; margin-top: 4px; border-top: 1px solid rgba(21, 52, 87, .10); }
.rt-n-item:hover > .rt-n-panel, .rt-n-item:focus-within > .rt-n-panel { display: block; }
.rt-n.is-quiet .rt-n-item > .rt-n-panel { display: none; }
.rt-n-groups, .rt-n-sub, .rt-n-sub ul { margin: 0; padding: 0; list-style: none; }
.rt-n-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 0; align-items: baseline;
  padding: 8px 12px; border-radius: 0; color: #153457; text-decoration: none; transition: background var(--rt-dur-quick, 150ms) var(--rt-ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}
.rt-n-card:hover, .rt-n-card:focus-visible { background: #F0F5FB; }
.rt-n-card:focus-visible, .rt-n-parent:focus-visible, .rt-n-link:focus-visible { outline: 2px solid var(--rt-cta, #093877); outline-offset: -2px; }
.rt-n-card-l { font: 500 var(--t-body, 17px)/1.3 var(--rt-font); color: #153457; }
.rt-n-card-f { font: 600 var(--t-body, 17px)/1.3 var(--rt-font); color: #093877; font-variant-numeric: tabular-nums; text-align: right; }
.rt-n-card-n { grid-column: 1 / -1; font: 400 var(--t-small, 13.6px)/1.4 var(--rt-font); color: #5E6D81; }
/* O114 M1, M3: the link's icon in its own 20 px column, level with the label's first line; the note under the label */
.rt-n-card--ico { grid-template-columns: 20px minmax(0, 1fr) auto; }
.rt-n-card--ico .rt-n-ico { grid-column: 1; grid-row: 1 / span 2; align-self: start; width: 20px; height: 20px; margin-top: 1px; color: var(--rt-deep); }
/* O121 I2 (critic r1 B3): the 3D icon twice the old 20 px, its object about 40 px, from a 70 px box whose air and shadow
   the margins take back; its column 40 px, the label and note beside it, the row as tall as the two lines or the icon */
.rt-n-card--ico:has(img.rt-n-ico) { grid-template-columns: 70px minmax(0, 1fr) auto; column-gap: 4px; align-items: center; padding-top: 4px; padding-bottom: 4px; }
/* O128 L2: the same 70 px picture, but its box overlaps the row above and below by 9 px each (its air and shadow), so a
   row is as tall as its two lines of text (about 50 px) and the whole Data panel fits a 1280 x 800 screen */
.rt-n-card--ico img.rt-n-ico { display: block; align-self: center; width: 70px; height: 70px; max-width: none; margin: -9px 0; object-fit: contain; }
.rt-n-card--ico .rt-n-card-l { grid-column: 2; }
.rt-n-card--ico .rt-n-card-n { grid-column: 2 / -1; }
.rt-n-menu { display: none; }
@media (max-width: 959px) {
  .rt-n-nav { display: none; }
  .rt-n .rt-burger { display: block; }
  .rt-n .rt-header__inner { padding: 0 var(--sqs-mobile-site-gutter, 16px); }
  .rt-n-menu {
    position: fixed; inset: var(--rt-header-h) 0 0 0; z-index: 999; overflow-y: auto; box-sizing: border-box;
    padding: 8px var(--sqs-mobile-site-gutter, 16px) 48px; background: #fff;
  }
  .rt-n-menu.is-open { display: block; }
  .rt-n-groups > li { border-bottom: 1px solid rgba(21, 52, 87, .08); }
  .rt-n-group {
    display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 56px; box-sizing: border-box;
    padding: 0 4px; border: 0; background: transparent; color: #153457; font: 500 var(--t-lead, 21.25px)/1.2 var(--rt-font); text-align: left; cursor: pointer;
  }
  .rt-n-group::after {
    content: ""; width: 9px; height: 9px; margin-right: 6px; border-right: 1.5px solid #93A0B2; border-bottom: 1.5px solid #93A0B2;
    transform: translateY(-3px) rotate(45deg); transition: transform var(--rt-dur-quick, 150ms) var(--rt-ease-out, cubic-bezier(0.22, 1, 0.36, 1));
  }
  .rt-n-group[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
  .rt-n-sub { display: none; padding: 0 0 12px; }
  .rt-n-group[aria-expanded="true"] + .rt-n-sub { display: block; }
  .rt-n-sub .rt-n-parent { padding: 12px 40px 12px 4px; }
  .rt-n-sub .rt-n-parent::after { right: 8px; }
  .rt-n-sub .rt-n-kids { padding-left: 20px !important; }
  .rt-n-sub .rt-n-card { padding: 8px 4px; }
  .rt-n-sub .rt-n-kids-h { margin-left: -16px; margin-right: 4px; }   /* O115: level with the parent's text */
  .rt-n-sub .rt-n-card[aria-current="page"] .rt-n-card-l, .rt-n-sub .rt-n-parent[aria-current="page"] .rt-n-parent-l { color: #093877; font-weight: 600; }
  .rt-n-quiet { display: flex; flex-wrap: wrap; column-gap: 24px; row-gap: 0; margin: 24px 4px 0; }   /* O114: wraps at 320 px, never a sideways scroll (O140: the product link left it) */
  .rt-n-quiet a { display: inline-flex; align-items: center; min-height: 44px; color: #5E6D81; font: 500 var(--t-body, 17px)/1 var(--rt-font); text-decoration: none; }
  body.rt-menu-open { overflow: hidden; }
}
@media (max-width: 799px) {
  .rt-n .rt-header__inner { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .rt-n-link, .rt-n-card, .rt-n-parent, .rt-n-parent::after, .rt-n-group::after { transition: none; }
}
