.site-header .tv13-actions .tx-header-download {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 11px;
  color: #154d80;
  background: transparent;
  border: 1px solid #bdcfde;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
}
.site-header .tx-header-download svg { display: block; flex: none; }
.site-header .tv13-actions .tx-header-download:hover { background: #eaf3fa; border-color: #7899b8; }
.site-header .tx-header-download:focus-visible { outline: 3px solid #1966b4; outline-offset: 2px; }
html[data-theme="dark"] .site-header .tv13-actions .tx-header-download { color: #e9f4ff; border-color: #7991a8; background: #192d40; }
html[data-theme="dark"] .site-header .tv13-actions .tx-header-download:hover { background: #274763; }

footer.site-footer:has(#footer-app) { background-color: #0c2135; }
footer.site-footer .fx-essential .testor-footer-install,
footer.site-footer .fx-essential [data-testor-install],
footer.site-footer > .fx-app-download { display: none !important; }
footer.site-footer .fx-main:has(> #footer-app) { display: grid !important; align-items: start; }
footer.site-footer .fx-main > #footer-app {
  min-width: 0;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 12px;
  margin: 0;
  text-align: start;
  direction: rtl;
  color: #fff;
  scroll-margin-top: 100px;
}
footer.site-footer #footer-app h2 { margin: 0 !important; color: #fff; font-size: 16px !important; line-height: 1.45 !important; font-weight: 700; }
footer.site-footer #footer-app p { margin: 8px 0 0; max-width: 27ch; color: #c6d8e7; font-size: 14px; line-height: 1.65; }
footer.site-footer .fx-app-stores { display: flex; flex-wrap: wrap; gap: 8px; }
footer.site-footer .fx-app-stores a {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid #608098;
  border-radius: 8px;
  background: #19364b;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}
footer.site-footer .fx-app-stores svg { display: block; width: 18px; height: 18px; flex: none; }
footer.site-footer .fx-app-stores a:hover { background: #284b66; border-color: #cee6f7; }
footer.site-footer .fx-app-stores a:focus-visible { outline: 3px solid #a3d7ff; outline-offset: 3px; }
footer.site-footer .social-r2-footer nav { display: flex; flex-wrap: wrap; gap: 8px; }
footer.site-footer:has(#footer-app) .social-r2-footer .social-r2-footer-title { color: #c6d8e7 !important; }
footer.site-footer .social-r2-footer .social-r2-link {
  position: relative;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 8px;
  border-radius: 10px;
  background: #f2f6f9 !important;
}
footer.site-footer .social-r2-footer .social-r2-link:hover { background: #d9eafb !important; }
footer.site-footer .social-r2-footer .social-r2-link > span {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

@media (min-width: 1130px) {
  footer.site-footer .fx-main:has(> #footer-app) {
    grid-template-columns: minmax(0,1.36fr) minmax(0,1.16fr) repeat(3,minmax(0,.84fr)) !important;
    gap: 24px clamp(20px,2.5vw,58px) !important;
  }
  footer.site-footer .fx-main:has(> #footer-app) > * { grid-column: auto !important; }
  footer.site-footer .fx-main:has(> #footer-app) .fx-links { row-gap: 2px; }
}
@media (min-width: 1300px) and (max-width: 1700px) {
  .site-header.tv13-header .tv13-header-shell:has(#header-app) > .tv13-primary {
    position: static !important;
    inset: auto !important;
    transform: none !important;
  }
}
@media (min-width: 701px) and (max-width: 1129px) {
  footer.site-footer .fx-main:has(> #footer-app) {
    grid-template-columns: repeat(6,minmax(0,1fr)) !important;
    gap: 24px clamp(20px,3vw,38px) !important;
  }
  footer.site-footer .fx-main:has(> #footer-app) > :is(.fx-about,#footer-app) { grid-column: span 3 !important; }
  footer.site-footer .fx-main:has(> #footer-app) > nav { grid-column: span 2 !important; min-width: 0; }
  footer.site-footer .fx-main:has(> #footer-app) .fx-links { grid-template-columns: 1fr !important; }
}
@media (max-width: 700px) {
  footer.site-footer .fx-main:has(> #footer-app) { gap: 16px !important; }
  footer.site-footer .fx-main > #footer-app {
    grid-column: 1 / -1 !important;
    width: 100%;
    padding-block: 16px;
    border-block-start: 1px solid #355267;
    padding-block-end: 0;
  }
  footer.site-footer #footer-app p { max-width: none; margin-top: 3px; }
  footer.site-footer #footer-app .fx-app-stores { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; }
  footer.site-footer .fx-app-stores a.fx-app-preferred { color: #10283c; background: #f3f8fc; border-color: #f3f8fc; }
  #main-content .t25-home-hero :is(.t25-home-actions .wa-app-link, .home-copy-benefit) { display: none !important; }
  #main-content .t25-home-hero .t25-home-actions .mr-book {
    grid-column: 1 / -1; justify-self: stretch; box-sizing: border-box; width: 100%; max-width: none;
  }
  html body .site-header.tv13-header .tv13-header-shell:has(#header-app) {
    display: flex !important;
    align-items: center;
    justify-content: space-between !important;
    gap: 12px !important;
    min-height: 64px;
  }
  .site-header.tv13-header .tv13-header-shell:has(#header-app) > .social-r2-header,
  .site-header .tv13-actions #header-app { display: none !important; }
  .site-header .tv13-header-shell:has(#header-app) .tv13-brand span { display: inline !important; }
  .site-header .tv13-header-shell:has(#header-app) .tv13-actions { gap: 8px !important; }
  .site-header .tv13-header-shell:has(#header-app) .tv13-menu {
    min-width: 44px; min-height: 44px; background: transparent !important;
    border-color: transparent !important; box-shadow: none !important;
  }
  #tv13Nav .t26-mobile-primary > .tx-menu-download { color: #19518b; }
  #tv13Nav .tx-menu-download svg { width: 20px; height: 20px; flex: none; }
  html[data-theme="dark"] #tv13Nav .t26-mobile-primary > .tx-menu-download { color: #b5d9ff; }
}
@media (min-width: 701px) {
  #tv13Nav .t26-mobile-primary > .tx-menu-download,
  #tv13Nav .t26-mobile-more > .tx-menu-social { display: none !important; }
}

@media (min-width: 1024px) {
  #main-content.tr-page > .tr-hero { padding-inline: max(4vw,calc((100vw - 2240px)/2)) !important; }
  #main-content.tr-page > .tr-hero > :is(h1,p,.tr-actions,nav) { margin-inline: 0 !important; }
  #main-content.tr-page > .tr-hero p { max-inline-size: 68ch; }
  #main-content.tr-page .tr-guide-grid {
    display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,20rem),1fr)) !important;
    gap: clamp(16px,1.6vw,30px);
  }
  #main-content.tr-page .tr-guide-card { min-width: 0; }
  #main-content.tr-guide:has(> .tp-photo--article) {
    --article-width: min(92vw,2240px);
    display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
    column-gap: clamp(28px,4vw,74px); align-items: center;
    width: var(--article-width); max-width: 100%; margin-inline: auto !important;
  }
  #main-content.tr-guide:has(> .tp-photo--article) > * { grid-column: 1 / -1; min-width: 0; }
  #main-content.tr-guide:has(> .tp-photo--article) > .tr-hero {
    grid-column: 1; width: 100%; padding-inline: 0 !important;
  }
  #main-content.tr-guide > .tr-hero + .tp-photo--article {
    grid-column: 2; width: 100%; max-width: 48rem !important; margin: 28px 0 !important;
  }
  #main-content.tr-guide > .tp-photo--article :is(picture,img) {
    display: block; height: auto !important; aspect-ratio: auto !important; max-height: 28rem; object-fit: contain !important;
  }
  #main-content.tr-guide:has(> .tp-photo--article) > :is(.tr-answer,.tr-status,.tr-editorial,.tr-promo) { width: 100% !important; }
}
@media (min-width: 1024px) and (max-width: 1599px) {
  #main-content.tr-guide:has(> .tp-photo--article) .tr-hero-grid {
    grid-template-columns: minmax(0,1fr) !important; gap: 18px;
  }
}
