/* NABWORK 15.0 — owner-approved final brand consistency and hero balance.
   Cosmetic only. Existing source image, auth controls, route handlers, banking,
   Supabase integration and user data are not modified. */

/* Universal blue NAB / deep navy WORK mark, matching the approved homepage.
   Render it across ALL SPA routes, without altering the original asset on disk.
   Existing button keeps its accessible aria-label and onclick handler. */
.nab-header .nab30-leading > button:first-child .nabwork-exact-header-logo{
  display:none!important;
}
.nab-header .nab30-leading > button:first-child #cloudStatusDot{
  display:none!important;
}
.nab-header .nab30-leading > button:first-child::after{
  content:"NABWORK";
  display:block;
  flex:0 0 auto;
  font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  font-size:clamp(23px,2.1vw,32px);
  font-weight:950;
  line-height:1.12;
  letter-spacing:-.065em;
  white-space:nowrap;
  color:transparent;
  -webkit-text-fill-color:transparent;
  background:linear-gradient(90deg,#067cea 0%,#0c76d8 42.1%,#0d2443 42.5%,#0d2443 100%);
  -webkit-background-clip:text;
  background-clip:text;
}
.nab-header .nab30-leading > button:first-child:focus-visible{
  outline:3px solid #178fe8;
  outline-offset:4px;
  border-radius:9px;
}
/* The footer uses the same mark on a discreet pale plaque for sufficient
   contrast against its dark background. Its original accessible link remains. */
.nw-footer .nw-footer-logo{
  display:inline-flex!important;
  align-items:center;
  width:max-content;
  min-height:46px;
  background:#fff;
  border-radius:11px;
  padding:8px 15px 9px 12px;
  box-shadow:0 9px 26px rgba(0,0,0,.11);
}
.nw-footer .nw-footer-logo > img{display:none!important}
.nw-footer .nw-footer-logo::after{
  content:"NABWORK";
  display:block;
  font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  font-weight:950;
  font-size:27px;
  line-height:1.12;
  letter-spacing:-.065em;
  white-space:nowrap;
  color:transparent;
  -webkit-text-fill-color:transparent;
  background:linear-gradient(90deg,#067cea 0%,#0c76d8 42.1%,#0d2443 42.5%,#0d2443 100%);
  -webkit-background-clip:text;
  background-clip:text;
}
.nw-footer .nw-footer-logo:focus-visible{
  outline:3px solid #29a7f1;outline-offset:4px;
}
/* Existing desktop headline was a few pixels across the photo.
   Ease its type scale and constrain its column, without touching
   the approved image, floating icons, search, or CTA placement. */
@media(min-width:821px){
  #homeView .nw-v6-hero .nw-v6-hero-copy{
    width:52.5%!important;
    max-width:790px!important;
  }
  #homeView .nw-v6-hero #heroTitle{
    font-size:clamp(36px,3.76vw,64px)!important;
    max-width:100%!important;
    line-height:1.18!important;
    margin-bottom:clamp(17px,1.9vw,25px)!important;
  }
  #homeView .nw-v6-hero #heroSubtitle{max-width:min(100%,590px)!important}
  #homeView .nw-v6-hero .nab-premium-search{
    width:min(100%,37vw,560px)!important;
    max-width:min(100%,37vw,560px)!important;
  }
  #homeView .nw-v6-hero #searchBtn{
    padding:10px 15px!important;
    min-width:90px!important;
    font-size:14px!important;
  }
}
@media(min-width:821px) and (max-width:1180px){
  #homeView .nw-v6-hero .nw-v6-hero-copy{width:54%!important}
  #homeView .nw-v6-hero #heroTitle{font-size:clamp(35px,3.8vw,45px)!important}
}
@media(max-width:820px){
  .nab-header .nab30-leading > button:first-child::after{font-size:25px}
}
@media(max-width:600px){
  .nab-header .nab30-leading > button:first-child::after{
    font-size:clamp(21px,6.3vw,26px);
  }
  .nw-footer .nw-footer-logo::after{font-size:23px}
}
@media(max-width:365px){
  .nab-header .nab30-leading > button:first-child::after{font-size:20px}
}
