/* TR Global v125 — high-end minimal public frontend refinement.
   This stylesheet is intentionally scoped to public buyer-facing pages.
   Portal workflows, permissions, forms and backend logic are not changed. */

:root{
  --tr124-navy:#091735;
  --tr124-navy-2:#102654;
  --tr124-blue:#264a9f;
  --tr124-blue-soft:#eef3fb;
  --tr124-gold:#b58a36;
  --tr124-ink:#101a36;
  --tr124-copy:#58657d;
  --tr124-line:#e4e8ef;
  --tr124-surface:#f7f8fa;
  --tr124-white:#ffffff;
  --tr124-radius:18px;
  --tr124-shadow:0 18px 48px rgba(16,31,70,.08);
  --tr124-container:min(1200px,calc(100% - 48px));
}

body.public-site{
  background:#fff!important;
  color:var(--tr124-ink)!important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
body.public-site :where(h1,h2,h3,h4){text-wrap:balance}
body.public-site :where(p,li){text-wrap:pretty}
body.public-site :where(.container,.bx-container){max-width:1200px}

/* Header: quieter, tighter and more editorial. */
body.public-site .tr-public-header-v121{
  background:rgba(255,255,255,.98)!important;
  border-bottom:1px solid rgba(16,26,54,.08)!important;
  box-shadow:none!important;
}
body.public-site .tr-public-header-v121 .container{
  width:var(--tr124-container)!important;
  max-width:1200px!important;
}
body.public-site .tr-public-header-v121 .topline{
  background:var(--tr124-navy)!important;
}
body.public-site .tr-public-header-v121 .topline-inner{
  min-height:26px!important;
  font-size:.61rem!important;
  letter-spacing:.11em!important;
  font-weight:760!important;
  opacity:.96;
}
body.public-site .tr-public-header-v121 .nav{
  min-height:72px!important;
  gap:12px!important;
}
body.public-site .tr-public-header-v121 .brand-mark{
  width:40px!important;
  height:40px!important;
  flex-basis:40px!important;
}
body.public-site .tr-public-header-v121 .brand-name strong{
  font-size:.86rem!important;
  letter-spacing:.02em!important;
  font-weight:850!important;
}
body.public-site .tr-public-header-v121 .brand-name small{
  margin-top:3px!important;
  font-size:.58rem!important;
  letter-spacing:.16em!important;
}
body.public-site .tr-public-header-v121 .nav-links{gap:3px!important}
body.public-site .tr-public-header-v121 .nav-links>a{
  min-height:38px!important;
  padding:8px 9px!important;
  border-radius:8px!important;
  color:#25304a!important;
  font-size:.72rem!important;
  font-weight:760!important;
  transition:background-color .16s ease,color .16s ease!important;
}
body.public-site .tr-public-header-v121 .nav-links>a:hover{
  background:#f4f6f9!important;
  color:var(--tr124-navy)!important;
}
body.public-site .tr-public-header-v121 .nav-links>a.active,
body.public-site .tr-public-header-v121 .nav-links>a[aria-current="page"]{
  background:transparent!important;
  color:var(--tr124-blue)!important;
  box-shadow:inset 0 -2px 0 var(--tr124-blue)!important;
  border-radius:0!important;
}
body.public-site .tr-public-header-v121 .nav-links>a.nav-project-link{
  margin-left:5px!important;
  border:1px solid #d7dde7!important;
  border-radius:10px!important;
  padding-inline:13px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.public-site .tr-public-header-v121 .nav-links>a.nav-project-link:hover{
  border-color:#bdc7d6!important;
  background:#fafbfc!important;
}
body.public-site .tr-public-header-v121 .nav-cta{
  min-height:40px!important;
  padding:9px 16px!important;
  border-radius:10px!important;
  background:var(--tr124-navy)!important;
  font-size:.73rem!important;
  font-weight:820!important;
  box-shadow:none!important;
}
body.public-site .tr-public-header-v121 .tr-language-switcher select{
  min-width:100px!important;
  height:38px!important;
  border-color:#dce1e9!important;
  border-radius:10px!important;
  padding-left:11px!important;
  background-color:#fff!important;
  font-size:.7rem!important;
  font-weight:760!important;
  box-shadow:none!important;
}

/* Shared type and buttons. */
body.public-site :where(.bx-kicker,.public-eyebrow,.public-kicker){
  color:var(--tr124-gold)!important;
  font-size:.7rem!important;
  font-weight:820!important;
  letter-spacing:.14em!important;
}
body.public-site :where(.bx-button,.btn,.public-footer-actions a){
  border-radius:11px!important;
  box-shadow:none!important;
  transition:background-color .16s ease,border-color .16s ease,color .16s ease!important;
}
body.public-site :where(.bx-button,.btn):hover{
  transform:none!important;
}
body.public-site .bx-button.primary,
body.public-site .btn.primary,
body.public-site .public-primary{
  background:var(--tr124-blue)!important;
  border-color:var(--tr124-blue)!important;
  color:#fff!important;
}
body.public-site .bx-button.primary:hover,
body.public-site .btn.primary:hover,
body.public-site .public-primary:hover{
  background:#1e3e88!important;
  border-color:#1e3e88!important;
}

/* Homepage: preserve the product-led composition, remove visual noise. */
body.home-client-visibility .bx-hero{
  padding:76px 0 72px!important;
  background:
    radial-gradient(circle at 84% 18%,rgba(74,112,190,.16),transparent 32%),
    linear-gradient(128deg,#081633 0%,#0c2451 58%,#123b7c 100%)!important;
}
body.home-client-visibility .bx-hero-grid{
  grid-template-columns:minmax(0,1.08fr) minmax(410px,.92fr)!important;
  gap:58px!important;
}
body.home-client-visibility .bx-hero h1{
  max-width:690px!important;
  margin:18px 0 18px!important;
  font-size:clamp(3.35rem,4.75vw,4.75rem)!important;
  line-height:.98!important;
  letter-spacing:-.052em!important;
}
body.home-client-visibility .bx-hero h1 em{color:#e4bc62!important}
body.home-client-visibility .bx-lead{
  max-width:620px!important;
  color:#d6e0f0!important;
  font-size:1.01rem!important;
  line-height:1.68!important;
}
body.home-client-visibility .bx-actions{margin-top:26px!important}
body.home-client-visibility .bx-actions .bx-button{
  min-height:48px!important;
  padding-inline:20px!important;
}
body.home-client-visibility .bx-hero .bx-button.primary{
  background:#fff!important;
  border-color:#fff!important;
  color:#12336f!important;
}
body.home-client-visibility .bx-hero .bx-button:not(.primary){
  background:transparent!important;
  border-color:rgba(255,255,255,.32)!important;
  color:#fff!important;
}
body.home-client-visibility .bx-proof-row{
  margin-top:24px!important;
  gap:12px 20px!important;
  color:#d0daeb!important;
  font-size:.83rem!important;
}
body.home-client-visibility .bx-proof-row i{
  width:18px!important;
  height:18px!important;
  background:#57d5a0!important;
  font-size:.68rem!important;
}
body.home-client-visibility .bx-collage{
  min-height:454px!important;
}
body.home-client-visibility .bx-collage-grid{
  height:438px!important;
  gap:11px!important;
}
body.home-client-visibility .bx-collage figure{
  border-radius:18px!important;
  border-color:rgba(255,255,255,.18)!important;
  box-shadow:0 18px 48px rgba(0,0,0,.18)!important;
}
body.home-client-visibility .bx-collage figcaption{
  inset:auto 10px 10px!important;
  padding:8px 10px!important;
  border-radius:10px!important;
  background:rgba(7,20,47,.78)!important;
  backdrop-filter:blur(8px)!important;
  font-size:.69rem!important;
}
body.home-client-visibility .bx-private-note{
  left:-18px!important;
  bottom:-14px!important;
  max-width:272px!important;
  padding:13px 15px!important;
  border:1px solid rgba(18,51,111,.08)!important;
  border-radius:14px!important;
  box-shadow:0 14px 34px rgba(4,16,43,.2)!important;
  font-size:.76rem!important;
  line-height:1.46!important;
}
body.home-client-visibility .bx-signal{
  border-bottom:1px solid var(--tr124-line)!important;
  background:#fff!important;
}
body.home-client-visibility .bx-signal article{
  padding:18px 15px!important;
}
body.home-client-visibility .bx-signal article strong{font-size:.8rem!important}
body.home-client-visibility .bx-signal article span{font-size:.72rem!important}

/* Sections and cards: flatter, more premium, less dashboard-like. */
body.public-site :where(.bx-section,.public-section,.mega-section){
  padding-block:clamp(62px,6vw,84px)!important;
}
body.public-site :where(.bx-section.alt,.public-section.alt){
  background:var(--tr124-surface)!important;
}
body.public-site :where(.bx-section-head,.public-section-head,.mega-heading) h2{
  color:var(--tr124-ink)!important;
  font-size:clamp(2.15rem,3.4vw,3.2rem)!important;
  line-height:1.04!important;
  letter-spacing:-.043em!important;
}
body.public-site :where(.bx-section-head,.public-section-head,.mega-heading)>p,
body.public-site :where(.bx-section-head,.public-section-head) p{
  color:var(--tr124-copy)!important;
  line-height:1.68!important;
}
body.public-site :where(.bx-program,.bx-cred,.tr121-check-card,.fabric-card,.product-card,.public-card,.mega-card){
  border-color:var(--tr124-line)!important;
  border-radius:var(--tr124-radius)!important;
  box-shadow:none!important;
  background:#fff!important;
}
body.public-site :where(.bx-program,.bx-cred,.tr121-check-card,.fabric-card,.product-card,.public-card,.mega-card):hover{
  transform:none!important;
  box-shadow:var(--tr124-shadow)!important;
}
body.public-site .bx-program-media{height:168px!important}
body.public-site .bx-program-content{padding:20px!important}
body.public-site .bx-program h3{font-size:1.18rem!important}
body.public-site .bx-program p{color:var(--tr124-copy)!important}
body.public-site .bx-route article,
body.public-site .bx-workspace,
body.public-site .auth-v017-benefits article{
  border-color:var(--tr124-line)!important;
  border-radius:16px!important;
  box-shadow:none!important;
}

/* Secondary public heroes: compact and intentional. */
body.public-site:not(.home-client-visibility) :is(.mega-public-hero,.public-page-hero){
  padding-block:72px!important;
}
body.public-site:not(.home-client-visibility) .mega-public-hero{
  background:linear-gradient(124deg,#0a1837 0%,#112b5d 100%)!important;
}
body.public-site:not(.home-client-visibility) :is(.mega-public-hero,.public-page-hero) h1{
  max-width:790px!important;
  margin:16px 0 18px!important;
  font-size:clamp(3rem,4.4vw,4.25rem)!important;
  line-height:1!important;
  letter-spacing:-.048em!important;
}
body.public-site:not(.home-client-visibility) :is(.mega-public-hero,.public-page-hero) p{
  max-width:680px!important;
  color:inherit;
  font-size:.98rem!important;
  line-height:1.68!important;
}

/* Catalogue hero. */
body.public-site .unified-catalogue-hero{
  padding:74px 0!important;
  background:
    radial-gradient(circle at 82% 14%,rgba(173,215,229,.35),transparent 30%),
    linear-gradient(180deg,#fff 0%,#f7f9fc 100%)!important;
}
body.public-site .unified-catalogue-hero .public-page-hero-grid{
  grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr)!important;
  gap:62px!important;
  align-items:center!important;
}
body.public-site .unified-catalogue-hero h1{
  max-width:690px!important;
  font-size:clamp(3.25rem,4.65vw,4.55rem)!important;
  line-height:.98!important;
}
body.public-site .unified-catalogue-hero p{
  max-width:620px!important;
  color:var(--tr124-copy)!important;
}
body.public-site .public-hero-actions{margin-top:26px!important}
body.public-site .public-hero-actions .btn{
  min-height:48px!important;
  padding-inline:20px!important;
}
body.public-site .public-secondary{
  border-color:#d4dbe6!important;
  background:#fff!important;
  color:var(--tr124-ink)!important;
}
body.public-site .unified-catalogue-proof{gap:8px!important}
body.public-site .unified-catalogue-proof span{
  padding:7px 11px!important;
  border:1px solid #dce2eb!important;
  border-radius:9px!important;
  background:rgba(255,255,255,.82)!important;
  color:#2d3852!important;
  font-size:.68rem!important;
  box-shadow:none!important;
}
body.public-site .unified-catalogue-visual{
  min-height:410px!important;
  gap:12px!important;
}
body.public-site .unified-catalogue-visual article{
  min-height:410px!important;
  border-radius:20px!important;
  box-shadow:0 16px 38px rgba(15,31,70,.1)!important;
}
body.public-site .unified-catalogue-visual article>.catalogue-visual-copy{
  left:17px!important;
  right:17px!important;
  bottom:17px!important;
}
body.public-site .catalogue-visual-fabric .fabric-swatch-stack{bottom:132px!important}

/* Trust centre and simple informational pages. */
body.public-site .trust-centre-hero,
body.public-site [data-trust-centre-hero],
body.public-site .mega-public-hero{
  min-height:0!important;
}
body.public-site .trust-centre-hero + section,
body.public-site .mega-public-hero + section{
  border-top:1px solid rgba(16,26,54,.04)!important;
}

/* Login and recovery pages. */
body.public-auth-v017 .auth-v017-section{
  padding:72px 0 82px!important;
  background:
    radial-gradient(circle at 78% 16%,rgba(79,111,189,.11),transparent 30%),
    linear-gradient(180deg,#fbfcfe 0%,#fff 100%)!important;
}
body.public-auth-v017 .auth-v017-grid{
  grid-template-columns:minmax(0,1fr) 420px!important;
  gap:58px!important;
}
body.public-auth-v017 .auth-v017-intro h1{
  max-width:660px!important;
  margin:18px 0!important;
  font-size:clamp(3.35rem,4.65vw,4.65rem)!important;
  line-height:.98!important;
  letter-spacing:-.052em!important;
}
body.public-auth-v017 .auth-v017-intro>p{
  max-width:650px!important;
  color:var(--tr124-copy)!important;
  font-size:.98rem!important;
  line-height:1.68!important;
}
body.public-auth-v017 .auth-v017-benefits{
  gap:10px!important;
  margin-top:26px!important;
}
body.public-auth-v017 .auth-v017-benefits article{
  min-height:68px!important;
  padding:13px 15px!important;
  background:#fff!important;
}
body.public-auth-v017 .auth-card{
  padding:30px!important;
  border:1px solid var(--tr124-line)!important;
  border-radius:22px!important;
  box-shadow:0 24px 64px rgba(16,31,70,.1)!important;
}
body.public-auth-v017 .auth-card input{
  min-height:50px!important;
  border-radius:11px!important;
  background:#fbfcfe!important;
}
body.public-auth-v017 .auth-card .btn{
  min-height:48px!important;
}
body.public-auth-v017 .auth-v017-account-note{
  border-left:2px solid var(--tr124-gold)!important;
  background:transparent!important;
}

/* Footer: reduce promotional weight and visual density. */
body.public-site .tr-public-footer-v121{
  background:var(--tr124-navy)!important;
}
body.public-site .tr-public-footer-v121 .container{
  width:var(--tr124-container)!important;
  max-width:1200px!important;
}
body.public-site .tr-public-footer-v121 .public-footer-cta{
  padding-block:24px!important;
  border-bottom-color:rgba(255,255,255,.1)!important;
}
body.public-site .tr-public-footer-v121 .public-footer-cta h2{
  max-width:680px!important;
  font-size:clamp(1.25rem,2vw,1.75rem)!important;
}
body.public-site .tr-public-footer-v121 .footer-main{
  padding-block:34px!important;
  gap:34px!important;
}
body.public-site .tr-public-footer-v121 :where(p,a){font-size:.78rem!important}
body.public-site .tr-public-footer-v121 h4{font-size:.74rem!important;letter-spacing:.09em!important}
body.public-site .tr-public-footer-v121 .footer-badges span{
  border-radius:8px!important;
  background:rgba(255,255,255,.06)!important;
}

/* Floating website utilities: useful without looking like ads. */
html:not(.tr-native-app):not(.tr-pwa-standalone):not(.tr-pwa-installed):not(.tr-windows-app) body.public-site .tr-install-button{
  right:18px!important;
  bottom:18px!important;
  min-height:44px!important;
  padding:6px 12px 6px 7px!important;
  border-radius:12px!important;
  border:1px solid rgba(255,255,255,.16)!important;
  background:rgba(9,23,53,.94)!important;
  box-shadow:0 12px 30px rgba(9,23,53,.2)!important;
}
html:not(.tr-native-app):not(.tr-pwa-standalone):not(.tr-pwa-installed):not(.tr-windows-app) body.public-site .lily-assistant{
  right:18px!important;
  bottom:72px!important;
}
html:not(.tr-native-app):not(.tr-pwa-standalone):not(.tr-pwa-installed):not(.tr-windows-app) body.public-site .lily-launch{
  min-height:42px!important;
  padding:5px 10px 5px 6px!important;
  border-radius:12px!important;
  box-shadow:0 10px 26px rgba(9,23,53,.16)!important;
}

@media(max-width:1180px){
  body.public-site .tr-public-header-v121 .nav-links{
    border-radius:14px!important;
    box-shadow:0 20px 50px rgba(9,23,53,.14)!important;
  }
  body.public-site .tr-public-header-v121 .nav-links>a.active,
  body.public-site .tr-public-header-v121 .nav-links>a[aria-current="page"]{
    border-radius:9px!important;
    background:var(--tr124-blue-soft)!important;
    box-shadow:none!important;
  }
  body.home-client-visibility .bx-hero-grid,
  body.public-site .unified-catalogue-hero .public-page-hero-grid{
    grid-template-columns:1fr!important;
  }
  body.home-client-visibility .bx-collage,
  body.public-site .unified-catalogue-visual{max-width:720px!important}
  body.public-auth-v017 .auth-v017-grid{grid-template-columns:minmax(0,1fr) 390px!important}
}

@media(max-width:760px){
  :root{--tr124-container:min(100% - 28px,1200px)}
  body.public-site .tr-public-header-v121 .topline{display:none!important}
  body.public-site .tr-public-header-v121 .nav{min-height:64px!important}
  body.public-site .tr-public-header-v121 .brand-mark{
    width:38px!important;height:38px!important;flex-basis:38px!important;
  }
  body.public-site .tr-public-header-v121 .tr-language-switcher select{
    min-width:82px!important;max-width:92px!important;height:36px!important;border-radius:9px!important;
  }
  body.public-site .tr-public-header-v121 .nav-toggle{
    min-height:36px!important;border-radius:9px!important;
  }
  body.home-client-visibility .bx-hero{
    padding:48px 0 54px!important;
  }
  body.home-client-visibility .bx-hero-grid{gap:38px!important}
  body.home-client-visibility .bx-hero h1{
    max-width:100%!important;
    margin:15px 0 17px!important;
    font-size:clamp(2.7rem,11.5vw,3.45rem)!important;
    line-height:1!important;
    letter-spacing:-.05em!important;
  }
  body.home-client-visibility .bx-lead{
    font-size:.97rem!important;
    line-height:1.62!important;
  }
  body.home-client-visibility .bx-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    margin-top:23px!important;
  }
  body.home-client-visibility .bx-actions .bx-button{width:100%!important}
  body.home-client-visibility .bx-proof-row{
    display:grid!important;
    gap:10px!important;
    margin-top:22px!important;
  }
  body.home-client-visibility .bx-collage{min-height:390px!important}
  body.home-client-visibility .bx-collage-grid{height:365px!important}
  body.home-client-visibility .bx-private-note{
    left:8px!important;right:8px!important;bottom:-16px!important;max-width:none!important;
  }
  body.public-site:not(.home-client-visibility) :is(.mega-public-hero,.public-page-hero),
  body.public-site .unified-catalogue-hero{
    padding-block:52px!important;
  }
  body.public-site:not(.home-client-visibility) :is(.mega-public-hero,.public-page-hero) h1,
  body.public-site .unified-catalogue-hero h1{
    font-size:clamp(2.55rem,11vw,3.35rem)!important;
    line-height:1.01!important;
  }
  body.public-site .unified-catalogue-hero .public-page-hero-grid{gap:38px!important}
  body.public-site .unified-catalogue-visual{
    min-height:350px!important;
    grid-template-columns:1.2fr .8fr!important;
    gap:8px!important;
  }
  body.public-site .unified-catalogue-visual article{
    min-height:350px!important;
    border-radius:16px!important;
  }
  body.public-site .catalogue-visual-fabric .fabric-swatch-stack{bottom:108px!important}
  body.public-auth-v017 .auth-v017-section{padding:50px 0 62px!important}
  body.public-auth-v017 .auth-v017-grid{grid-template-columns:1fr!important;gap:34px!important}
  body.public-auth-v017 .auth-v017-intro h1{
    font-size:clamp(2.7rem,11vw,3.5rem)!important;
  }
  body.public-auth-v017 .auth-card{padding:24px!important;border-radius:18px!important}
  body.public-site .tr-public-footer-v121 .footer-main{gap:22px!important}

  /* On phones, avoid fixed promotional controls covering the actual site. */
  html:not(.tr-native-app):not(.tr-pwa-standalone):not(.tr-pwa-installed):not(.tr-windows-app) body.public-site .tr-install-button{
    display:none!important;
  }
  html:not(.tr-native-app):not(.tr-pwa-standalone):not(.tr-pwa-installed):not(.tr-windows-app) body.public-site .lily-assistant{
    right:12px!important;
    bottom:12px!important;
  }
  html:not(.tr-native-app):not(.tr-pwa-standalone):not(.tr-pwa-installed):not(.tr-windows-app) body.public-site .lily-launch{
    width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;
    padding:4px!important;border-radius:50%!important;
  }
  html:not(.tr-native-app):not(.tr-pwa-standalone):not(.tr-pwa-installed):not(.tr-windows-app) body.public-site .lily-launch-copy{display:none!important}
  html:not(.tr-native-app):not(.tr-pwa-standalone):not(.tr-pwa-installed):not(.tr-windows-app) body.public-site .lily-launch-avatar{
    width:36px!important;height:36px!important;flex-basis:36px!important;
  }
}

@media(max-width:420px){
  :root{--tr124-container:min(100% - 22px,1200px)}
  body.public-site .tr-public-header-v121 .brand-name strong:after{
    font-size:.72rem!important;
  }
  body.public-site .tr-public-header-v121 .tr-language-switcher select{
    min-width:74px!important;max-width:80px!important;font-size:.61rem!important;
  }
  body.public-site .tr-public-header-v121 .nav-toggle{padding-inline:9px!important}
  body.home-client-visibility .bx-hero h1{font-size:clamp(2.55rem,12vw,3.15rem)!important}
}

@media(prefers-reduced-motion:reduce){
  body.public-site *,body.public-site *:before,body.public-site *:after{
    scroll-behavior:auto!important;
    transition-duration:.01ms!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
  }
}

/* Final fit-and-finish corrections after visual review. */
@media(min-width:761px){
  body.home-client-visibility .bx-private-note{
    left:16px!important;
    top:16px!important;
    right:auto!important;
    bottom:auto!important;
    max-width:248px!important;
    background:rgba(255,255,255,.94)!important;
    backdrop-filter:blur(10px)!important;
  }
}
@media(max-width:760px){
  body.public-site .tr-public-header-v121 .brand{
    flex:0 1 112px!important;
    max-width:112px!important;
    gap:7px!important;
  }
  body.public-site .tr-public-header-v121 .brand-name{
    max-width:66px!important;
    overflow:visible!important;
  }
  body.public-site .tr-public-header-v121 .brand-name strong{
    max-width:66px!important;
    font-size:0!important;
    line-height:1!important;
    overflow:visible!important;
    white-space:nowrap!important;
  }
  body.public-site .tr-public-header-v121 .brand-name strong:after{
    content:"TR GLOBAL"!important;
    display:block!important;
    font-size:.72rem!important;
    line-height:1!important;
    letter-spacing:.035em!important;
  }
  body.public-site .tr-public-header-v121 .brand-name small{display:none!important}
  body.public-site .tr-public-header-v121 .tr-language-switcher{
    margin-left:auto!important;
    flex:0 0 auto!important;
  }
  body.public-site .tr-public-header-v121 .nav-toggle{
    display:inline-flex!important;
    flex:0 0 auto!important;
  }
  body.home-client-visibility .bx-private-note{
    position:relative!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    max-width:none!important;
    margin:10px 0 0!important;
  }
  html:not(.tr-native-app):not(.tr-pwa-standalone):not(.tr-pwa-installed):not(.tr-windows-app) body.public-site .lily-assistant{
    left:auto!important;
    right:12px!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  html:not(.tr-native-app):not(.tr-pwa-standalone):not(.tr-pwa-installed):not(.tr-windows-app) body.public-site.tr124-utility-visible .lily-assistant{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
  }
}

/* Minimal utility presentation: no promotional cards over product imagery. */
body.home-client-visibility .bx-private-note{display:none!important}
html:not(.tr-native-app):not(.tr-pwa-standalone):not(.tr-pwa-installed):not(.tr-windows-app) body.public-site .tr-install-button{
  width:46px!important;
  min-width:46px!important;
  max-width:46px!important;
  height:46px!important;
  min-height:46px!important;
  padding:4px!important;
  justify-content:center!important;
  border-radius:50%!important;
}
html:not(.tr-native-app):not(.tr-pwa-standalone):not(.tr-pwa-installed):not(.tr-windows-app) body.public-site .tr-install-button>span:last-child{display:none!important}
html:not(.tr-native-app):not(.tr-pwa-standalone):not(.tr-pwa-installed):not(.tr-windows-app) body.public-site .tr-install-button-icon{
  width:36px!important;height:36px!important;flex:0 0 36px!important;
}
html:not(.tr-native-app):not(.tr-pwa-standalone):not(.tr-pwa-installed):not(.tr-windows-app) body.public-site .lily-launch{
  width:46px!important;
  min-width:46px!important;
  max-width:46px!important;
  height:46px!important;
  min-height:46px!important;
  padding:4px!important;
  justify-content:center!important;
  border-radius:50%!important;
}
html:not(.tr-native-app):not(.tr-pwa-standalone):not(.tr-pwa-installed):not(.tr-windows-app) body.public-site .lily-launch-copy{display:none!important}
html:not(.tr-native-app):not(.tr-pwa-standalone):not(.tr-pwa-installed):not(.tr-windows-app) body.public-site .lily-launch-avatar{
  width:36px!important;height:36px!important;flex:0 0 36px!important;
}

/* v125: premium dark-blue client workspace entry and recovery experience. */
body.public-auth-v017{
  background:#081337!important;
}
body.public-auth-v017 .auth-v017-section{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at 82% 18%,rgba(82,119,214,.30),transparent 34%),
    radial-gradient(circle at 18% 82%,rgba(30,61,135,.34),transparent 42%),
    linear-gradient(135deg,#07102f 0%,#0b1948 50%,#1d397f 100%)!important;
}
body.public-auth-v017 .auth-v017-section:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.014) 1px,transparent 1px);
  background-size:64px 64px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.42),transparent 86%);
}
body.public-auth-v017 .auth-v017-intro .public-eyebrow,
body.public-auth-v017 .auth-v017-intro .public-kicker{
  color:#e7c86e!important;
}
body.public-auth-v017 .auth-v017-intro h1{
  color:#fff!important;
  text-wrap:balance!important;
}
body.public-auth-v017 .auth-v017-intro>p{
  color:rgba(235,240,253,.82)!important;
}
body.public-auth-v017 .auth-v017-benefits article{
  border-color:rgba(255,255,255,.15)!important;
  background:rgba(255,255,255,.045)!important;
  box-shadow:none!important;
  backdrop-filter:blur(10px)!important;
}
body.public-auth-v017 .auth-v017-benefits i{
  background:rgba(118,151,235,.13)!important;
  color:#9cb7ff!important;
  border:1px solid rgba(156,183,255,.22)!important;
}
body.public-auth-v017 .auth-v017-benefits strong{
  color:#fff!important;
}
body.public-auth-v017 .auth-v017-benefits span{
  color:rgba(229,235,250,.68)!important;
}
body.public-auth-v017 .auth-v017-account-note{
  color:rgba(235,240,253,.78)!important;
  border-left-color:#e5c363!important;
  background:rgba(255,255,255,.025)!important;
  border-radius:0 12px 12px 0!important;
}
body.public-auth-v017 .auth-v017-account-note strong{
  color:#fff!important;
}
body.public-auth-v017 .auth-card{
  background:rgba(255,255,255,.985)!important;
  border-color:rgba(255,255,255,.7)!important;
  box-shadow:0 32px 90px rgba(0,6,35,.36)!important;
}
body.public-auth-v017 .auth-card .public-kicker{
  color:#b2882f!important;
}
body.public-auth-v017 .auth-card .btn.primary{
  background:linear-gradient(135deg,#263f9d,#485fc3)!important;
  border-color:transparent!important;
  box-shadow:0 10px 26px rgba(42,63,151,.23)!important;
}
body.public-auth-v017 .auth-card .btn.primary:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 13px 30px rgba(42,63,151,.29)!important;
}
body.public-auth-v017 main + .tr-public-footer-v121{
  border-top:1px solid rgba(255,255,255,.08)!important;
}
@media(max-width:700px){
  body.public-auth-v017 .auth-v017-section{
    background:
      radial-gradient(circle at 86% 9%,rgba(82,119,214,.28),transparent 30%),
      linear-gradient(155deg,#07102f 0%,#0c1b4f 62%,#1c397e 100%)!important;
  }
  body.public-auth-v017 .auth-v017-benefits article{
    background:rgba(255,255,255,.055)!important;
  }
  body.public-auth-v017 .auth-v017-account-note{
    padding-right:10px!important;
  }
}

/* Keep all public account recovery screens in the same blue client-workspace family. */
body[data-portal-page="forgot-password"],
body[data-portal-page="forgot-email"],
body[data-portal-page="reset-password"]{
  background:#081337!important;
}
body[data-portal-page="forgot-password"] .auth-section,
body[data-portal-page="forgot-email"] .auth-section,
body[data-portal-page="reset-password"] .auth-section{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at 82% 18%,rgba(82,119,214,.30),transparent 34%),
    radial-gradient(circle at 18% 82%,rgba(30,61,135,.34),transparent 42%),
    linear-gradient(135deg,#07102f 0%,#0b1948 50%,#1d397f 100%)!important;
}
body[data-portal-page="forgot-password"] .auth-copy .kicker,
body[data-portal-page="forgot-email"] .auth-copy .kicker,
body[data-portal-page="reset-password"] .auth-copy .kicker{
  color:#e7c86e!important;
}
body[data-portal-page="forgot-password"] .auth-copy h1,
body[data-portal-page="forgot-email"] .auth-copy h1,
body[data-portal-page="reset-password"] .auth-copy h1{
  color:#fff!important;
}
body[data-portal-page="forgot-password"] .auth-copy .lead,
body[data-portal-page="forgot-email"] .auth-copy .lead,
body[data-portal-page="reset-password"] .auth-copy .lead{
  color:rgba(235,240,253,.82)!important;
}
body[data-portal-page="forgot-password"] .auth-proof span,
body[data-portal-page="forgot-email"] .auth-proof span,
body[data-portal-page="reset-password"] .auth-proof span{
  color:#fff!important;
  border-color:rgba(255,255,255,.15)!important;
  background:rgba(255,255,255,.05)!important;
  box-shadow:none!important;
}
body[data-portal-page="forgot-password"] .auth-card,
body[data-portal-page="forgot-email"] .auth-card,
body[data-portal-page="reset-password"] .auth-card{
  background:rgba(255,255,255,.985)!important;
  border-color:rgba(255,255,255,.7)!important;
  box-shadow:0 32px 90px rgba(0,6,35,.36)!important;
}
@media(max-width:700px){
  body[data-portal-page="forgot-password"] .auth-section,
  body[data-portal-page="forgot-email"] .auth-section,
  body[data-portal-page="reset-password"] .auth-section{
    background:
      radial-gradient(circle at 86% 9%,rgba(82,119,214,.28),transparent 30%),
      linear-gradient(155deg,#07102f 0%,#0c1b4f 62%,#1c397e 100%)!important;
  }
}


/* v126: restore the full Install App / Android & Windows launcher on desktop. */
@media (min-width:761px){
  html:not(.tr-native-app):not(.tr-pwa-standalone):not(.tr-pwa-installed):not(.tr-windows-app) body.public-site .tr-install-button{
    width:auto!important;
    min-width:196px!important;
    max-width:none!important;
    height:auto!important;
    min-height:64px!important;
    padding:9px 18px 9px 9px!important;
    gap:11px!important;
    justify-content:flex-start!important;
    border-radius:999px!important;
    border:1px solid rgba(255,255,255,.18)!important;
    background:linear-gradient(135deg,#11134a 0%,#263fc0 100%)!important;
    box-shadow:0 18px 44px rgba(8,19,58,.28)!important;
    text-align:left!important;
  }
  html:not(.tr-native-app):not(.tr-pwa-standalone):not(.tr-pwa-installed):not(.tr-windows-app) body.public-site .tr-install-button:hover{
    transform:translateY(-2px)!important;
    box-shadow:0 22px 52px rgba(8,19,58,.34)!important;
  }
  html:not(.tr-native-app):not(.tr-pwa-standalone):not(.tr-pwa-installed):not(.tr-windows-app) body.public-site .tr-install-button>span:last-child{
    display:grid!important;
    min-width:0!important;
    gap:2px!important;
  }
  html:not(.tr-native-app):not(.tr-pwa-standalone):not(.tr-pwa-installed):not(.tr-windows-app) body.public-site .tr-install-button-icon{
    width:44px!important;
    height:44px!important;
    flex:0 0 44px!important;
    font-size:23px!important;
    background:rgba(255,255,255,.14)!important;
  }
  html:not(.tr-native-app):not(.tr-pwa-standalone):not(.tr-pwa-installed):not(.tr-windows-app) body.public-site .tr-install-button strong{
    display:block!important;
    font-size:14px!important;
    line-height:1.08!important;
    color:#fff!important;
    white-space:nowrap!important;
  }
  html:not(.tr-native-app):not(.tr-pwa-standalone):not(.tr-pwa-installed):not(.tr-windows-app) body.public-site .tr-install-button small{
    display:block!important;
    font-size:9px!important;
    line-height:1.1!important;
    color:#dce7ff!important;
    font-weight:800!important;
    text-transform:uppercase!important;
    letter-spacing:.075em!important;
    white-space:nowrap!important;
  }
  html:not(.tr-native-app):not(.tr-pwa-standalone):not(.tr-pwa-installed):not(.tr-windows-app) body.public-site .lily-assistant{
    bottom:96px!important;
  }
}
