/* DTF shared navigation — desktop sizing update, 2026-10-24.
 * Load AFTER the page theme, shared-tools.css and shared-header.css.
 * Uses the existing header classes; no route or JavaScript changes.
 * All rules are desktop-only, preserving the <=900px mobile layout.
 *
 * Primary-row selectors are prefixed `.topbar.dtf-shared-header` (3 classes)
 * so they beat the auth pages' `.dtf-account-page`-scoped rules (2 classes)
 * regardless of cascade order. They intentionally do NOT match the hashed
 * pricing/contact modules — those are enlarged separately in their own
 * *.module.css files. The tool-bar selectors use `.dtf-tools-desktop.dtf-tool-links`
 * (the exact classes on the shared <nav>) for the same reason.
 */
@media (min-width: 901px) {
  .topbar.dtf-shared-header .nav {
    height: 100px;
    gap: 20px;
  }
  .topbar.dtf-shared-header.scrolled .nav { height: 88px; }
  .topbar.dtf-shared-header .brand { gap: 12px; flex-shrink: 0; }
  .topbar.dtf-shared-header .brand-mark {
    width: 48px;
    height: 48px;
    font-size: 25px;
  }
  .topbar.dtf-shared-header .brand-copy { font-size: 20px; line-height: 1; }
  .topbar.dtf-shared-header .brand-copy b { font-size: 15px; }
  .topbar.dtf-shared-header .nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 17px;
    letter-spacing: .025em;
  }
  .topbar.dtf-shared-header .nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding-block: 10px;
    font-size: inherit;
    line-height: 1.4;
    white-space: nowrap;
  }
  .topbar.dtf-shared-header .nav-actions { flex-shrink: 0; gap: 18px; }
  .topbar.dtf-shared-header .nav-cta {
    min-height: 52px;
    padding: 14px 22px;
    align-items: center;
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: .035em;
    white-space: nowrap;
  }
  .topbar.dtf-shared-header .nav-cta svg { width: 19px; height: 19px; }
  .dtf-tools-bar .dtf-tools-desktop.dtf-tool-links { gap: 6px; }
  .dtf-tools-bar .dtf-tools-desktop.dtf-tool-links a {
    min-height: 60px;
    padding: 10px 12px;
    gap: 8px;
    font-size: 15px;
    line-height: 1.4;
  }
  .dtf-tools-desktop .dtf-tool-spark { font-size: 21px; }
  .dtf-tools-desktop .dtf-tool-dot-grid { width: 16px; height: 16px; }
  /* These fixed-header designs already reserve 88px in their hero spacing.
   * Reserve the larger primary row plus the new 61px tool row here.
   * Keep this constant while scrolling to avoid content jumps.
   */
  .dtf-header-fixed ~ main { padding-top: 73px; }
}
@media (min-width: 901px) and (max-width: 1150px) {
  .topbar.dtf-shared-header .nav { height: 96px; gap: 16px; }
  .topbar.dtf-shared-header.scrolled .nav { height: 88px; }
  .topbar.dtf-shared-header .brand { gap: 10px; }
  .topbar.dtf-shared-header .brand-mark { width: 44px; height: 44px; font-size: 23px; }
  .topbar.dtf-shared-header .brand-copy { font-size: 18px; }
  .topbar.dtf-shared-header .nav-links { gap: 20px; font-size: 16px; }
  .topbar.dtf-shared-header .nav-cta { padding-inline: 16px; font-size: 14px; gap: 10px; }
  .topbar.dtf-shared-header .preview-badge { display: none; }
  /* Two tidy rows keep all eight tools readable on narrower laptops. */
  .dtf-tools-bar .dtf-tools-desktop.dtf-tool-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 8px;
    row-gap: 0;
  }
  .dtf-tools-bar .dtf-tools-desktop.dtf-tool-links a { min-height: 52px; padding-inline: 8px; }
  .dtf-header-fixed ~ main { padding-top: 113px; }
}
