/* NABWORK 4.0 — premium visual identity, brand-led polish.
 * Presentation-only layer: never hide controls or alter app state.
 * Palette matches the actual NABWORK artwork: deep navy / electric blue / cyan / mint.
 */
:root{
  --nw-ink:#09172e;
  --nw-navy:#101a34;
  --nw-blue:#098cf0;
  --nw-cyan:#0fb9d0;
  --nw-mint:#18c88b;
  --nw-soft:#f5f9fc;
  --nw-border:#dfebf3;
  --nw-shadow:0 18px 48px rgba(15,35,65,.075);
}
html{scroll-behavior:smooth}
body:not(.dark-mode){
  background:
    radial-gradient(ellipse 65% 26% at 1% 16%,rgba(14,165,233,.045),transparent 80%),
    radial-gradient(ellipse 60% 24% at 100% 38%,rgba(52,211,153,.045),transparent 85%),
    #f8fbfd;
}
.nab-header{
  background:rgba(255,255,255,.98)!important;
  border-bottom:1px solid #e5eef5!important;
  box-shadow:0 9px 34px rgba(6,26,55,.045)!important;
}
.nabwork-exact-header-logo{filter:drop-shadow(0 2px 4px rgba(4,24,52,.04))}
.nab30-header-inner .nab-nav-link{
  font-weight:800;
  border-radius:13px;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
.nab30-header-inner .nab-nav-link:hover,
.nab30-header-inner .nab-nav-link:focus-visible{background:#eff9fc;color:#087c97;transform:translateY(-1px)}
.nab-header .nab-icon-btn,
.nab-header .nab29-quick-btn{
  border:1px solid #e2edf4;
  border-radius:13px;
  background:#f8fbfe;
}
.nab-header .nab-icon-btn:hover,
.nab-header .nab29-quick-btn:hover{background:#ebf8fc;border-color:#bbe9ee;color:#056e88}
.nab-header-cta,
#addGigBtn{
  background:linear-gradient(105deg,#086775,#087762)!important;
  border:1px solid rgba(0,117,111,.14);
  border-radius:13px;
  box-shadow:0 7px 20px rgba(7,163,140,.17);
}
.nab-header-cta:hover,#addGigBtn:hover{filter:brightness(1.06);box-shadow:0 11px 26px rgba(7,163,140,.24)}

/* Hero — spacious editorial typography + subtle orbital/grid geometry */
#homeView .nab-hero{
  isolation:isolate;
  padding-top:clamp(74px,7.3vw,116px);
  padding-bottom:clamp(72px,7vw,110px);
  background:
    radial-gradient(ellipse 44% 67% at 15% 14%,rgba(2,138,232,.23),transparent 77%),
    radial-gradient(ellipse 48% 80% at 88% 68%,rgba(13,196,164,.17),transparent 80%),
    linear-gradient(116deg,#09142e 0%,#101e3c 52%,#082c3c 100%)!important;
  border-bottom:1px solid rgba(8,198,197,.28);
}
#homeView .nab-hero:before{
  content:"";
  position:absolute;inset:0;pointer-events:none;z-index:0;
  background-image:linear-gradient(rgba(148,225,240,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(148,225,240,.06) 1px,transparent 1px);
  background-size:70px 70px;
  opacity:.43;
  -webkit-mask-image:linear-gradient(90deg,transparent 6%,black 54%,transparent 99%);
  mask-image:linear-gradient(90deg,transparent 6%,black 54%,transparent 99%);
}
#homeView .nab-hero:after{
  content:"";
  width:clamp(260px,36vw,560px);height:clamp(260px,36vw,560px);
  position:absolute;right:-12%;top:0;transform:translateY(-27%);
  pointer-events:none;z-index:0;border-radius:50%;
  border:1px solid rgba(63,211,219,.13);
  box-shadow:0 0 0 45px rgba(21,186,201,.025),0 0 0 94px rgba(30,185,164,.018),inset 0 0 92px rgba(20,157,196,.07);
}
#homeView .nab-hero > .max-w-4xl{max-width:980px}
#homeView .nab-hero > .max-w-4xl > div:first-child{
  background:rgba(25,203,189,.085);
  border:1px solid rgba(75,226,209,.27);
  color:#96f3e4;
  border-radius:999px;
  letter-spacing:.015em;
  padding:9px 18px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07);
}
#homeView #heroTitle{
  font-size:clamp(2.25rem,4.25vw,4.42rem);
  line-height:1.2;
  letter-spacing:-.038em;
  font-weight:900;
  text-wrap:balance;
  margin-bottom:21px;
  text-shadow:0 8px 35px rgba(1,6,23,.16);
}
#homeView #heroTitle .text-emerald-400{
  color:#5bdddc;
  background:linear-gradient(105deg,#4ecbff 5%,#35e5bd 57%,#4bdd88);
  background-clip:text;-webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
#homeView #heroSubtitle{
  color:#d2e0ed;
  font-size:clamp(1rem,1.25vw,1.16rem);
  line-height:1.95;max-width:730px;
  margin-bottom:32px;
}
#homeView .nab-premium-primary,
#homeView .nab-premium-secondary,
#homeView #searchBtn{
  min-height:48px;border-radius:13px;font-weight:850;
  transition:transform .22s ease,box-shadow .22s ease,filter .22s ease;
}
#homeView .nab-premium-primary,
#homeView #searchBtn{
  background:linear-gradient(110deg,#056495 0%,#087a87 54%,#08785e 100%)!important;
  border:1px solid rgba(82,231,203,.38);
  box-shadow:0 11px 24px rgba(0,171,171,.21);
  color:white!important;
}
#homeView .nab-premium-secondary{
  background:rgba(255,255,255,.97);
  color:#102743;
  border:1px solid rgba(255,255,255,.75);
  box-shadow:0 10px 24px rgba(0,4,25,.15);
}
#homeView .nab-premium-primary:hover,
#homeView .nab-premium-secondary:hover,
#homeView #searchBtn:hover{transform:translateY(-2px);filter:brightness(1.04)}
#homeView .nab-premium-search{
  max-width:760px;
  border:1px solid rgba(255,255,255,.72);
  background:#fff;
  border-radius:19px;
  padding:8px;
  box-shadow:0 22px 65px rgba(0,7,28,.33),0 0 0 6px rgba(155,242,230,.07);
}
#homeView #searchInput{
  background:transparent;
  color:#17273f!important;
  min-width:0;
  min-height:48px;
  border:0;
  border-radius:11px;
  line-height:1.5;
}
#homeView #searchInput::placeholder{color:#71869a;opacity:1}
#homeView .nab-premium-search:focus-within{
  outline:3px solid rgba(54,211,229,.5);outline-offset:3px;
}
#homeView #searchBtn{min-width:105px;white-space:nowrap}

/* Discovery / category rail / filters */
#homeView .nab-premium-categories{
  padding-top:clamp(34px,4vw,56px);
  padding-bottom:11px;
}
#homeView .nab-premium-categories .nab-cat-intro{margin-bottom:21px}
#homeView .nab-section-heading,
#homeView .nab-premium-categories h2{color:var(--nw-ink);letter-spacing:-.037em}
#homeView .nab-premium-categories h2{font-size:clamp(1.3rem,2.1vw,1.72rem);font-weight:900}
#homeView .nab-category-rail{gap:12px;padding:2px 1px 17px;scroll-padding-inline:12px}
#homeView .nab-category-rail .cat-btn{
  min-height:47px;border-radius:14px;
  padding-inline:19px;
  font-weight:800;
  border:1px solid #e3edf4;
  box-shadow:0 4px 13px rgba(22,51,80,.032);
}
#homeView .nab-category-rail .cat-btn:hover{
  border-color:#70d6d6;color:#087b94;background:#f1fcfd;
  transform:translateY(-1px);
}
#homeView .nab-category-rail .cat-btn.bg-slate-900{
  background:linear-gradient(100deg,#11325e,#087db5)!important;
  color:white!important;border-color:#206fa7!important;
  box-shadow:0 7px 19px rgba(7,88,145,.19);
}
#homeView .nab-discovery{margin-top:8px;padding-bottom:37px}
#homeView .nab-filter-details{
  border-radius:19px;border-color:var(--nw-border);
  background:#fff;box-shadow:0 12px 40px rgba(21,53,87,.052);
}
#homeView .nab-filter-details > summary{padding:20px 24px;min-height:76px;font-size:14px}
#homeView .nab-filter-details > summary:hover{background:#f7fcfe}
#homeView .nab-filter-details > .nab-filters-body{border-top:1px solid #eef3f8;padding:22px 24px 24px}

/* Actual marketplace cards stay data-driven; no synthetic reviews or services. */
#homeView .nab-premium-catalog{padding-bottom:66px}
#homeView #resultsTitle{font-weight:900;font-size:clamp(1.55rem,2.6vw,2.18rem)}
#homeView #gigsGrid{gap:clamp(16px,1.6vw,23px)}
#homeView #gigsGrid .nab-catalog-card{
  overflow:hidden;
  border:1px solid #e3edf3!important;
  border-radius:21px!important;
  background:#fff;
  box-shadow:0 8px 30px rgba(12,34,68,.045);
  transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease!important;
}
#homeView #gigsGrid .nab-catalog-card:hover,
#homeView #gigsGrid .nab-catalog-card:focus-within{
  transform:translateY(-5px);
  border-color:#9cdddf!important;
  box-shadow:0 20px 50px rgba(10,51,90,.105)!important;
}
#homeView #gigsGrid .nab-card-image{aspect-ratio:16/10;object-fit:cover}
#homeView #gigsGrid .nab-card-title{color:#12243f;font-weight:850}
#homeView .nab-results-count{background:#eaf6f9;color:#2d6376;padding:9px 13px}
#homeView .nab-refresh-btn{border-radius:12px;padding:10px 13px}
#homeView .nab-empty-state{
  border-radius:24px;border-color:#dfedf2;
  box-shadow:0 15px 42px rgba(21,52,91,.035);
  background:radial-gradient(ellipse at 50% 0%,rgba(29,202,193,.10),transparent 60%),linear-gradient(180deg,#fff,#f9fdff);
}

/* How-it-works: cohesive deep-navy gradient treatment */
#homeView .nab-onboarding{
  position:relative;isolation:isolate;
  border:1px solid rgba(80,208,209,.23);
  border-radius:30px;
  background:radial-gradient(ellipse 45% 75% at 92% -10%,rgba(11,180,202,.16),transparent 85%),linear-gradient(125deg,#0d1935,#112b41 76%,#103c43);
  box-shadow:0 23px 64px rgba(6,29,51,.11);
}
#homeView .nab-step-card{
  border-color:rgba(168,225,236,.17);
  background:rgba(255,255,255,.045);
  border-radius:19px;
  padding:24px;
  transition:background .2s ease,transform .2s ease;
}
#homeView .nab-step-card:hover{background:rgba(255,255,255,.085);transform:translateY(-2px)}
#homeView .nab-step-number{
  color:#b6fcdd;
  background:linear-gradient(120deg,rgba(23,143,218,.23),rgba(48,210,151,.18));
  border:1px solid rgba(115,234,225,.2);
  border-radius:13px;
  width:43px;height:43px;
}
#homeView .nab-onboarding .bg-emerald-600{
  background:linear-gradient(110deg,#056495,#08785e)!important;
  border:1px solid rgba(78,240,217,.18);
}

/* Projects entry point uses the same brand family as the home hero. */
#jobsView .nab-premium-job-hero{
  border:1px solid rgba(38,195,211,.15);
  border-radius:26px;
  padding:clamp(24px,3vw,36px);
  background:radial-gradient(ellipse 49% 88% at 93% 0%,rgba(7,179,206,.22),transparent 78%),linear-gradient(111deg,#0b1934,#103149 90%)!important;
  box-shadow:0 18px 44px rgba(12,35,73,.095);
}
#jobsView .nab-premium-job-hero > div > span{
  display:inline-flex;
  background:rgba(17,190,175,.16)!important;
  border:1px solid rgba(113,230,219,.2);
  color:#9af6e2!important;
  border-radius:100px;padding:7px 12px;letter-spacing:.045em;
}
#jobsView .nab-premium-job-hero h2{
  font-weight:900;letter-spacing:-.035em;
  font-size:clamp(1.45rem,2.3vw,2.15rem);
  line-height:1.35;
}
#jobsView .nab-premium-job-hero p{color:#d0e3ee;line-height:1.75}
#jobsView .nab-premium-job-cta{
  background:linear-gradient(100deg,#056495,#08785e)!important;
  border:1px solid rgba(118,237,221,.22);
  box-shadow:0 8px 27px rgba(9,130,165,.21);
}
#jobsView .nab-premium-alerts{
  border-color:var(--nw-border);
  border-radius:21px;
  box-shadow:0 10px 35px rgba(12,45,68,.055);
}
#jobsView #jobsList > *{border-radius:18px}

/* Existing workspace surfaces inherit the color story, not new functionality. */
.nab25-hero{background:radial-gradient(circle at 93% -24%,rgba(13,178,210,.22),transparent 52%),linear-gradient(112deg,#0d1935 20%,#103448 100%)}
.nab26-hero{background:radial-gradient(circle at 90% 6%,rgba(16,185,181,.23),transparent 48%),linear-gradient(115deg,#0d1935,#103447)}

/* Dark theme compatibility: don't force white cards on dark surfaces. */
body.dark-mode{background:#0a1225}
body.dark-mode .nab-header{background:rgba(18,30,50,.98)!important;border-bottom-color:#31475b!important}
body.dark-mode .nab-header .nab-icon-btn,
body.dark-mode .nab-header .nab29-quick-btn{background:#25344a;color:#e6eff6;border-color:#3b5163}
body.dark-mode #homeView .nab-premium-categories h2,
body.dark-mode #homeView #resultsTitle{color:#f5faff}
body.dark-mode #homeView .nab-category-rail .cat-btn:not(.bg-slate-900){
  background:#18283e;color:#dcebf5;border-color:#344d63;box-shadow:none;
}
body.dark-mode #homeView .nab-filter-details,
body.dark-mode #homeView .nab-filter-details > summary:hover,
body.dark-mode #homeView #gigsGrid .nab-catalog-card,
body.dark-mode #homeView .nab-empty-state,
body.dark-mode #jobsView .nab-premium-alerts{background:#1b2a42;color:#f3f8ff;border-color:#38506a!important}
body.dark-mode #homeView .nab-filter-details > .nab-filters-body{border-color:#344d63}
body.dark-mode #homeView #gigsGrid .nab-card-title{color:#eef7ff}
body.dark-mode #homeView .nab-results-count{background:#24394c;color:#d6eaf1}
body.dark-mode #homeView .nab-premium-categories .text-slate-500{color:#a6b9c9}

/* Proportion and legibility, no horizontal overflow on small screens. */
@media(max-width:760px){
  #homeView .nab-hero{padding-top:67px!important;padding-bottom:74px!important}
  #homeView #heroTitle{font-size:clamp(2.05rem,7.6vw,3rem);line-height:1.28}
  #homeView #heroSubtitle{line-height:1.8;font-size:.97rem}
  #homeView .nab-premium-search{padding:6px;border-radius:15px}
  #homeView #searchInput{font-size:14px;padding-inline:11px}
  #homeView #searchBtn{min-width:79px;padding-inline:12px}
  #homeView .nab-premium-categories{padding-top:32px}
  #homeView .nab-discovery{padding-bottom:28px}
  #homeView .nab-onboarding{border-radius:22px}
  #homeView #gigsGrid{gap:16px}
  #jobsView .nab-premium-job-hero{border-radius:19px}
}
@media(max-width:390px){
  #homeView .nab-hero > .max-w-4xl > div:first-child{padding:8px 11px;font-size:10px}
  #homeView #heroTitle{font-size:1.93rem}
  #homeView .nab-premium-search{padding:5px}
  #homeView #searchInput{min-width:0;font-size:13px}
  #homeView #searchBtn{min-width:67px;font-size:12px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  #homeView .nab-catalog-card,
  #homeView .nab-premium-primary,
  #homeView .nab-premium-secondary,
  #homeView .nab-step-card,
  #homeView .cat-btn,
  .nab30-header-inner .nab-nav-link{transition:none!important;transform:none!important}
}


/* NABWORK DESIGN V1 / MOBILE DISCOVERY — 2026-10-18
 * Visual-only. All selectors stay within the public home view.
 * Do not change checkout, order, wallet, auth, page state or data.
 * Display only authentic marketplace records; no fictional counters or reviews.
 */
#homeView .nab-hero{
  padding-top:clamp(62px,6vw,96px);
  padding-bottom:clamp(62px,6vw,96px);
  background:
    radial-gradient(ellipse 38% 78% at -6% 60%,rgba(5,126,230,.29),transparent 80%),
    radial-gradient(ellipse 40% 70% at 107% 12%,rgba(4,159,219,.18),transparent 77%),
    linear-gradient(117deg,#071326 0%,#0b1d3a 52%,#092a45 100%)!important;
}
#homeView .nab-hero::before{
  background-image:
    linear-gradient(137deg,transparent 9%,rgba(31,123,215,.095) 9.2%,transparent 24%),
    linear-gradient(44deg,transparent 81%,rgba(36,158,224,.08) 81.2%,transparent 92%);
  background-size:100% 100%;
  opacity:1;
  -webkit-mask-image:none;
  mask-image:none;
}
#homeView .nab-hero::after{
  right:-8%;
  top:20%;
  width:clamp(220px,32vw,480px);
  height:clamp(220px,32vw,480px);
  box-shadow:0 0 0 41px rgba(18,104,189,.035),0 0 0 92px rgba(19,117,186,.025);
  border-color:rgba(39,157,228,.19);
}
#homeView .nab-hero > .max-w-4xl{max-width:900px}
#homeView .nab-hero > .max-w-4xl > div:first-child{
  color:#9de8fb;
  border-color:rgba(59,171,236,.35);
  background:rgba(7,78,145,.24);
  box-shadow:none;
}
#homeView #heroTitle{
  max-width:850px;
  margin-inline:auto;
  font-size:clamp(2.35rem,4.35vw,4.6rem);
  line-height:1.18;
  letter-spacing:-.042em;
}
#homeView #heroTitle .text-emerald-400{
  color:#4baafa;
  background:linear-gradient(100deg,#2699ff,#48c2ff 55%,#7ce8ed);
  background-clip:text;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
#homeView #heroSubtitle{
  max-width:660px;
  margin-inline:auto;
  color:#ccdbef;
  line-height:1.85;
}
#homeView .nab-premium-primary,
#homeView #searchBtn{
  background:linear-gradient(110deg,#0571cf,#098bee)!important;
  border-color:rgba(125,202,255,.38);
  box-shadow:0 10px 24px rgba(1,102,212,.20);
}
#homeView .nab-premium-secondary{
  background:rgba(13,31,58,.77);
  color:#eef8ff;
  border-color:rgba(132,175,218,.33);
  box-shadow:none;
}
#homeView .nab-premium-search{
  border-color:rgba(207,232,255,.88);
  border-radius:18px;
  box-shadow:0 24px 64px rgba(0,11,35,.29),0 0 0 5px rgba(84,168,245,.08);
}
#homeView #searchInput{
  font-size:16px;
  line-height:1.55;
}
#homeView .nab-premium-search:focus-within{
  outline:3px solid rgba(88,184,255,.62);
  outline-offset:3px;
}
#homeView .nab-premium-categories{
  background:linear-gradient(180deg,#fff,#f8fbff);
  padding-top:clamp(28px,3.2vw,44px);
  padding-bottom:14px;
}
#homeView .nab-category-rail{
  gap:10px;
  scroll-snap-type:x proximity;
  overscroll-behavior-x:contain;
  scrollbar-width:thin;
}
#homeView .nab-category-rail .cat-btn{
  flex-shrink:0;
  min-height:46px;
  scroll-snap-align:start;
  border-radius:13px;
  padding-inline:17px;
}
#homeView .nab-category-rail .cat-btn.bg-slate-900{
  background:linear-gradient(110deg,#0a5fa6,#1286d2)!important;
  border-color:#1577bd!important;
}
#homeView .nab-discovery{
  margin-top:0;
  padding-top:18px;
}
#homeView .nab-premium-catalog{
  padding-top:14px;
}
#homeView :is(.nab-premium-primary,.nab-premium-secondary,#searchBtn,.cat-btn,.nab-refresh-btn):focus-visible{
  outline:3px solid #42bfff;
  outline-offset:4px;
}
@media(max-width:760px){
  #homeView .nab-hero{
    padding-top:clamp(34px,7vw,52px)!important;
    padding-bottom:clamp(39px,8vw,58px)!important;
  }
  #homeView .nab-hero::after{
    right:-42%;
    top:28%;
    width:320px;
    height:320px;
  }
  #homeView #heroTitle{
    max-width:610px;
    font-size:clamp(1.92rem,7.2vw,2.68rem);
    line-height:1.23;
    letter-spacing:-.03em;
    margin-bottom:17px;
  }
  #homeView #heroSubtitle{
    font-size:clamp(.9rem,3.7vw,1rem);
    line-height:1.7;
    margin-bottom:23px;
  }
  #homeView .nab-hero > .max-w-4xl > div:first-child{
    max-width:100%;
    line-height:1.55;
    margin-bottom:19px;
  }
  #homeView .nab-hero > .max-w-4xl > div.flex.flex-wrap.justify-center{
    gap:10px;
    margin-bottom:22px;
  }
  #homeView .nab-premium-primary,
  #homeView .nab-premium-secondary{
    min-height:46px;
    padding:11px 16px;
    font-size:13px;
  }
  #homeView .nab-premium-search{
    max-width:100%;
    min-width:0;
    gap:4px;
    padding:5px;
    border-radius:15px;
  }
  #homeView #searchInput{
    min-width:0;
    width:100%;
    flex:1 1 auto;
    font-size:16px!important;
    padding-inline:12px;
    min-height:48px;
  }
  #homeView #searchBtn{
    flex:0 0 auto;
    min-width:76px;
    min-height:48px;
    padding-inline:13px;
    font-size:13px;
  }
  #homeView .nab-premium-categories{padding-top:27px}
  #homeView .nab-category-rail .cat-btn{min-height:46px;padding-inline:15px}
  #homeView .nab-premium-catalog{padding-top:9px}
}
@media(max-width:390px){
  #homeView #heroTitle{
    font-size:clamp(1.78rem,8vw,1.98rem);
  }
  #homeView #searchInput{font-size:16px!important;padding-inline:10px}
  #homeView #searchBtn{min-width:69px;font-size:12px;padding-inline:10px}
  #homeView .nab-premium-primary,
  #homeView .nab-premium-secondary{flex:1 1 auto;min-width:0;padding-inline:13px}
}
@media(prefers-reduced-motion:reduce){
  #homeView :is(.nab-premium-primary,.nab-premium-secondary,#searchBtn,.cat-btn){
    transition:none!important;
    transform:none!important;
  }
}


/* NABWORK 5.0 — brand system refinements (PUBLIC HERO, HEADER AND DISCOVERY ONLY)
 * Visual-only, additive. Do not replace DOM elements, transaction controls or data.
 */
:root{
  --nw50-accent:#087bc8;
  --nw50-accent-strong:#075d9e;
  --nw50-focus:#21a5e8;
  --nw50-soft-border:#d8e8f2;
  --nw50-foreground:#10253e;
  --nw50-muted:#516b80;
  --nw50-elevation:0 12px 34px rgba(12,40,77,.075);
}
.nab-header{
  backdrop-filter:saturate(1.2) blur(15px);
  -webkit-backdrop-filter:saturate(1.2) blur(15px);
  box-shadow:0 8px 28px rgba(8,29,56,.06)!important;
}
.nab30-header-inner .nab-nav-link,
.nab-header .nab-icon-btn,
.nab-header .nab29-quick-btn{
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease;
}
.nab-header .nab-icon-btn:focus-visible,
.nab-header .nab29-quick-btn:focus-visible,
.nab30-header-inner .nab-nav-link:focus-visible{
  outline:3px solid var(--nw50-focus);
  outline-offset:3px;
}
#homeView .nab-hero{
  background:
    radial-gradient(ellipse 43% 76% at -6% 10%,rgba(18,112,214,.26),transparent 82%),
    radial-gradient(ellipse 34% 65% at 108% 72%,rgba(32,163,219,.18),transparent 84%),
    linear-gradient(116deg,#07152c 0%,#101e3b 55%,#073148 100%)!important;
}
#homeView .nab-hero > .max-w-4xl{
  padding-inline:clamp(0px,1.5vw,18px);
}
#homeView #heroTitle{
  max-width:900px;
  margin-inline:auto;
  letter-spacing:-.036em;
  text-wrap:balance;
}
#homeView #heroSubtitle{max-width:680px;text-wrap:pretty}
#homeView .nab-premium-primary,
#homeView #searchBtn{
  background:linear-gradient(114deg,#0877d4,#088ed4 68%,#087db7)!important;
  box-shadow:0 10px 25px rgba(2,106,197,.22);
}
#homeView .nab-premium-primary:focus-visible,
#homeView .nab-premium-secondary:focus-visible,
#homeView #searchBtn:focus-visible{
  outline:3px solid #7dd6ff;
  outline-offset:4px;
}
#homeView .nab-premium-search{
  border-color:#dceaf6;
  background:#fff;
  box-shadow:0 23px 65px rgba(0,13,42,.26),0 0 0 5px rgba(116,192,245,.10);
}
#homeView #searchInput{
  min-width:0;
  font-size:16px;
  color:#142a47!important;
}
#homeView #searchInput::placeholder{color:#647c90}
#homeView .nab-premium-categories .nab-cat-intro{
  gap:16px;
  align-items:end;
}
#homeView .nab-category-rail{
  scroll-snap-type:x proximity;
  scrollbar-width:thin;
  overscroll-behavior-x:contain;
}
#homeView .nab-category-rail .cat-btn{
  scroll-snap-align:start;
  min-height:46px;
  transition:background .2s,border-color .2s,box-shadow .2s;
}
#homeView .nab-category-rail .cat-btn:hover{
  box-shadow:0 7px 17px rgba(21,69,103,.08);
  transform:none;
}
#homeView .nab-filter-details,
#homeView .nab-empty-state{
  box-shadow:var(--nw50-elevation);
}
#homeView .nab-filter-details > summary{
  line-height:1.55;
  cursor:pointer;
}
#homeView .nab-filter-details :is(input,select,button):focus-visible{
  outline:3px solid var(--nw50-focus);
  outline-offset:2px;
}
#homeView #resultsTitle{letter-spacing:-.025em;text-wrap:balance}
#homeView .nab-results-count{
  border:1px solid #cfe7ef;
  border-radius:11px;
  font-weight:800;
}
#homeView .nab-refresh-btn{
  border:1px solid var(--nw50-soft-border);
  background:#fff;
  color:#28546d;
}
#homeView .nab-refresh-btn:hover{
  border-color:#aad9e9;
  background:#f4fbfe;
}
body.dark-mode .nab-header{
  background:rgba(17,31,53,.96)!important;
  border-bottom-color:#35506c!important;
}
body.dark-mode #homeView .nab-results-count{
  background:#243c53;
  color:#cfe4f0;
  border-color:#39536a;
}
body.dark-mode #homeView .nab-refresh-btn{
  color:#daedf6;
  background:#24354d;
  border-color:#3b536d;
}
@media(max-width:760px){
  #homeView .nab-hero{
    padding-top:clamp(37px,7.5vw,59px)!important;
    padding-bottom:clamp(46px,8.4vw,64px)!important;
  }
  #homeView #heroTitle{
    font-size:clamp(1.9rem,7.35vw,2.66rem);
    line-height:1.24;
    margin-bottom:17px;
  }
  #homeView #heroSubtitle{
    font-size:clamp(.92rem,3.65vw,1.04rem);
    line-height:1.75;
    margin-bottom:25px;
  }
  #homeView .nab-premium-search{
    min-width:0;
    padding:5px;
    gap:4px;
  }
  #homeView #searchInput{
    font-size:16px!important;
    min-height:48px;
    padding-inline:10px;
  }
  #homeView #searchBtn{min-height:48px}
  #homeView .nab-category-rail{
    gap:9px;
    scroll-padding-inline:10px;
  }
  #homeView .nab-premium-categories .nab-cat-intro{
    align-items:flex-start;
  }
  #homeView .nab-discovery{padding-bottom:29px}
}
@media(max-width:390px){
  #homeView #heroTitle{font-size:clamp(1.83rem,7.8vw,2.03rem)}
  #homeView #searchInput{font-size:16px!important}
  #homeView #searchBtn{min-width:68px}
  #homeView .nab-premium-categories h2{line-height:1.45}
}
@media(prefers-reduced-motion:reduce){
  .nab30-header-inner .nab-nav-link,
  .nab-header .nab-icon-btn,
  .nab-header .nab29-quick-btn,
  #homeView .nab-category-rail .cat-btn{transition:none!important}
}


/* Future HTML-native NABWORK lockup.
 * Prepared but intentionally NOT activated until the shared financial index.html
 * can be edited in coordination with the bank integration workstream.
 * SVG is inline DOM markup; NABWORK is text, not a PNG wordmark.
 */
.nw-native-brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  width:max-content;
  max-width:100%;
  text-decoration:none;
  color:#12263b;
  white-space:nowrap;
}
.nw-native-brand__mark{
  display:block;
  flex:0 0 auto;
  width:35px;
  height:35px;
}
.nw-native-brand__type{
  display:flex;
  min-width:0;
  flex-direction:column;
  align-items:flex-start;
  gap:0;
  line-height:1;
}
.nw-native-brand__name{
  font-family:Inter,"Arial Black",Arial,sans-serif;
  color:inherit;
  font-size:clamp(21px,2.05vw,28px);
  font-weight:900;
  font-synthesis:none;
  letter-spacing:-.054em;
  line-height:1.04;
}
.nw-native-brand__tagline{
  margin-top:4px;
  font-family:Inter,Arial,sans-serif;
  color:#59758b;
  font-size:9px;
  font-weight:800;
  letter-spacing:.12em;
  line-height:1.15;
}
body.dark-mode .nw-native-brand{color:#f6fbff}
body.dark-mode .nw-native-brand__tagline{color:#a2bed0}
@media(max-width:420px){
  .nw-native-brand{gap:7px}
  .nw-native-brand__mark{width:30px;height:30px}
  .nw-native-brand__name{font-size:21px}
  .nw-native-brand__tagline{font-size:7.8px;letter-spacing:.08em}
}


/* NABWORK 5.1 — focused responsive navigation treatment.
 * Keep every existing control, event handler and permission guard intact.
 * No global menu visibility overrides: the JavaScript-owned .hidden class wins.
 */
@media(max-width:1399px){
  .nab-mobile-navigation{
    border-top:1px solid #dce9f2!important;
    background:rgba(250,253,255,.98)!important;
  }
  .nab-mobile-navigation #nab29MobileToggle{
    min-height:48px;
    padding:12px 18px;
    color:#254861;
    font-size:13px;
    font-weight:850;
    line-height:1.55;
    letter-spacing:.005em;
    transition:background-color .18s,color .18s;
  }
  .nab-mobile-navigation #nab29MobileToggle:hover,
  .nab-mobile-navigation #nab29MobileToggle[aria-expanded="true"]{
    background:#ebf6fc;
    color:#075c91;
  }
  .nab-mobile-navigation #mobileMenu{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    padding:14px clamp(14px,3vw,28px) 18px;
    border-top:1px solid #d9eaf2;
    background:#f7fbff;
    max-height:min(66dvh,620px);
    overflow-y:auto;
    overscroll-behavior:contain;
  }
  .nab-mobile-navigation #mobileMenu > button{
    min-width:0;
    min-height:48px;
    padding:13px 15px;
    border-radius:13px;
    text-align:left;
    line-height:1.6;
    white-space:normal;
    overflow-wrap:anywhere;
    font-size:13px;
    font-weight:800;
    box-shadow:0 2px 8px rgba(11,45,80,.023);
    transition:background-color .16s,border-color .16s,box-shadow .16s;
  }
  .nab-mobile-navigation #mobileMenu > button:hover{
    border-color:#a6d6e9;
    box-shadow:0 7px 18px rgba(12,58,90,.065);
  }
  .nab-mobile-navigation #mobileMenu > button.bg-emerald-600{
    background:linear-gradient(110deg,#086cae,#0788bf)!important;
    border:1px solid rgba(132,201,237,.34);
    box-shadow:0 7px 22px rgba(3,107,174,.15);
    color:#fff;
    text-align:center;
    font-weight:900;
  }
  .nab-mobile-navigation :is(#nab29MobileToggle,#mobileMenu > button):focus-visible{
    outline:3px solid #1298d4;
    outline-offset:3px;
  }
  body.dark-mode .nab-mobile-navigation{
    background:#18293f!important;
    border-color:#334c64!important;
  }
  body.dark-mode .nab-mobile-navigation #nab29MobileToggle{
    color:#dfedf6;
  }
  body.dark-mode .nab-mobile-navigation #nab29MobileToggle:hover,
  body.dark-mode .nab-mobile-navigation #nab29MobileToggle[aria-expanded="true"]{
    background:#25445c;
    color:#a3e5fb;
  }
  body.dark-mode .nab-mobile-navigation #mobileMenu{
    background:#16283e;
    border-color:#35506b;
  }
  body.dark-mode .nab-mobile-navigation #mobileMenu > button:not(.bg-emerald-600){
    border-color:#46617a!important;
    background:#263b53!important;
    color:#eaf4fb!important;
  }
}
@media(max-width:460px){
  .nab-mobile-navigation #mobileMenu{gap:8px;padding:12px}
  .nab-mobile-navigation #mobileMenu > button{
    padding:12px 11px;
    font-size:12.5px;
    min-height:50px;
  }
}
@media(max-width:350px){
  .nab-mobile-navigation #mobileMenu > button{
    font-size:12px;
    padding-inline:9px;
  }
}
@media(prefers-reduced-motion:reduce){
  .nab-mobile-navigation #nab29MobileToggle,
  .nab-mobile-navigation #mobileMenu > button{transition:none!important}
}


/* NABWORK 5.2 — marketplace discovery dark-theme contrast and focus polish.
 * All selectors limited to public discovery, nonfinancial appearance only.
 * The light search surface is retained intentionally for legibility.
 */
body.dark-mode #homeView .nab-premium-categories{
  background:linear-gradient(180deg,#0c1b31,#0c192d);
  border-bottom:1px solid #253b50;
}
body.dark-mode #homeView .nab-premium-categories .nab-cat-intro,
body.dark-mode #homeView .nab-premium-categories .nab-cat-intro h2{
  color:#edf8ff;
}
body.dark-mode #homeView .nab-premium-categories .nab-cat-intro .text-emerald-700{
  color:#8bebd6;
}
body.dark-mode #homeView .nab-premium-categories .nab-cat-intro .text-slate-500{
  color:#bacfdf;
}
body.dark-mode #homeView .nab-category-rail .cat-btn:not(.bg-slate-900){
  background:#1a3149;
  border-color:#38556e;
  color:#e7f4ff;
}
body.dark-mode #homeView .nab-category-rail .cat-btn:not(.bg-slate-900):hover{
  background:#25445d;
  border-color:#6198b4;
  color:#fff;
}
body.dark-mode #homeView .nab-filter-details{
  background:#192d45;
  color:#f4faff;
  border-color:#37526b;
}
body.dark-mode #homeView .nab-filter-details > summary{
  color:#f0f8ff;
}
body.dark-mode #homeView .nab-filter-details > summary:hover{
  background:#223a53;
}
body.dark-mode #homeView .nab-filter-details :is(.text-slate-500,.text-slate-600,.text-slate-700){
  color:#c6dce9;
}
body.dark-mode #homeView .nab-filter-details .nab-filters-body{
  border-color:#38556f;
}
body.dark-mode #homeView .nab-filter-details :is(input[type="text"],select){
  background-color:#0e2238;
  color:#f1f8ff;
  border-color:#496780;
}
body.dark-mode #homeView .nab-filter-details input::placeholder{
  color:#a9c4d6;
  opacity:1;
}
body.dark-mode #homeView .nab-filter-details input[type="range"]{
  color-scheme:dark;
}
body.dark-mode #homeView .nab-filter-details button{
  background:#254059;
  border-color:#48677e;
  color:#e5f4fc;
}
body.dark-mode #homeView .nab-filter-details button:hover{
  background:#2d526b;
  color:#fff;
}
body.dark-mode #homeView .nab-filter-details :is(input,select,button):focus-visible{
  outline:3px solid #69cbed;
  outline-offset:3px;
}
body.dark-mode #homeView .nab-premium-catalog .text-emerald-700{
  color:#87ead9;
}
body.dark-mode #homeView .nab-premium-catalog .nab-section-heading{
  color:#f6faff;
}
body.dark-mode #homeView #gigCount{
  background:#253d55;
  border-color:#40617a;
  color:#e0eff8;
}
@media(max-width:760px){
  #homeView .nab-filter-details :is(input[type="text"],select){
    min-height:44px;
    font-size:16px;
  }
  #homeView .nab-filter-details > summary{
    min-height:54px;
    gap:10px;
  }
  #homeView .nab-category-rail .cat-btn{
    min-height:48px;
  }
}
@media(prefers-reduced-motion:reduce){
  #homeView .nab-category-rail .cat-btn{
    transition:none!important;
    transform:none!important;
  }
}


/* NABWORK 5.5 — active HTML/SVG wordmark for marketplace header.
 * The exact brand geometry comes from public/nabwork-brand-mark.svg.
 * Existing home navigation, connection status dot and account controls stay intact.
 */
.nab30-leading > button .nw-native-brand{
  display:inline-flex;
  align-items:center;
  gap:clamp(7px,.8vw,10px);
  max-width:100%;
}
.nab30-leading > button .nw-native-brand__mark{
  width:clamp(32px,2.65vw,38px);
  height:clamp(32px,2.65vw,38px);
  flex:0 0 auto;
}
.nab30-leading > button .nw-native-brand__name{
  font-size:clamp(21px,1.84vw,27px);
  letter-spacing:-.053em;
  line-height:1.05;
}
.nab30-leading > button .nw-native-brand__tagline{
  font-size:9px;
  letter-spacing:.103em;
  line-height:1.15;
}
.nab30-leading > button:hover .nw-native-brand__name{
  color:#066da4;
}
body.dark-mode .nab30-leading > button .nw-native-brand__name{
  color:#f2f8ff;
}
body.dark-mode .nab30-leading > button .nw-native-brand__tagline{
  color:#accedd;
}
@media(max-width:600px){
  .nab30-leading > button .nw-native-brand__mark{
    width:32px;
    height:32px;
  }
  .nab30-leading > button .nw-native-brand__name{font-size:21px}
  .nab30-leading > button .nw-native-brand__tagline{font-size:7.5px;letter-spacing:.06em}
}
@media(max-width:365px){
  .nab30-leading > button .nw-native-brand{gap:6px}
  .nab30-leading > button .nw-native-brand__mark{width:29px;height:29px}
  .nab30-leading > button .nw-native-brand__name{font-size:19px}
  .nab30-leading > button .nw-native-brand__tagline{font-size:6.9px;letter-spacing:.04em}
}
@media(prefers-reduced-motion:reduce){
  .nab30-leading > button .nw-native-brand__name{transition:none!important}
}


/* NABWORK 5.6 — native mobile-brand layout hardening.
 * Corrects a legacy index.html rule that sizes button > span:first-child to 36px
 * under 365px. That first span is now the ENTIRE vector+text wordmark, not the icon.
 * Do not alter application navigation, user state or financial controls.
 */
.nab30-header-inner .nab30-leading > button{
  min-height:44px;
  max-width:100%;
}
.nab30-header-inner .nab30-leading > button > .nw-native-brand{
  width:max-content;
  height:auto;
  max-width:100%;
  min-width:0;
  vertical-align:middle;
}
.nab30-header-inner .nab30-leading > button > .nw-native-brand .nw-native-brand__mark{
  flex-shrink:0;
}
.nab30-header-inner .nab30-leading > button #cloudStatusDot{
  flex:0 0 8px;
  align-self:center;
}
.nab30-header-inner .nab30-leading > button:focus-visible{
  outline:3px solid #117dbb;
  outline-offset:4px;
  border-radius:12px;
}
@media(max-width:600px){
  .nab30-header-inner .nab30-leading > button{
    gap:8px;
  }
  .nab30-header-inner .nab30-leading > button > .nw-native-brand{
    gap:7px;
  }
}
@media(max-width:365px){
  /* Specificity + explicit width/height defeat the obsolete 36×36 raster-era rule. */
  .nab30-header-inner .nab30-leading > button > .nw-native-brand{
    width:max-content!important;
    height:auto!important;
    max-width:100%;
    flex:0 0 auto;
  }
  .nab30-header-inner .nab30-leading > button > .nw-native-brand .nw-native-brand__type{
    min-width:0;
  }
  .nab30-header-inner .nab30-leading > button #cloudStatusDot{
    flex-basis:7px;
  }
}
body.dark-mode .nab30-header-inner .nab30-leading > button:focus-visible{
  outline-color:#7bd7f7;
}
@media(prefers-reduced-motion:reduce){
  .nab30-header-inner .nab30-leading > button > .nw-native-brand{
    scroll-behavior:auto;
  }
}


/* NABWORK 5.8 — restore approved horizontal raster lockup.
 * User-supplied visual reference is the existing 690×134 transparent logo.
 * Never replace the header artwork with the square alternative vector.
 */
.nab30-header-inner .nab30-leading > button .nabwork-exact-header-logo{
  display:block;
  width:248px;
  max-width:100%;
  height:auto;
  max-height:52px;
  aspect-ratio:690 / 134;
  object-fit:contain;
  flex:0 1 auto;
}
.nab30-header-inner .nab30-leading > button #cloudStatusDot{
  flex:0 0 8px;
  align-self:center;
}
.nab30-header-inner .nab30-leading > button:focus-visible{
  outline:3px solid #0a85ad;
  outline-offset:3px;
  border-radius:9px;
}
@media(max-width:1440px){
  .nab30-header-inner .nab30-leading > button .nabwork-exact-header-logo{width:216px}
}
@media(max-width:1100px){
  .nab30-header-inner .nab30-leading > button .nabwork-exact-header-logo{width:192px}
}
@media(max-width:600px){
  .nab30-header-inner .nab30-leading > button .nabwork-exact-header-logo{width:166px}
}
@media(max-width:365px){
  .nab30-header-inner .nab30-leading > button .nabwork-exact-header-logo{width:142px}
  .nab30-header-inner .nab30-leading > button #cloudStatusDot{flex-basis:7px}
}
@media(prefers-reduced-motion:reduce){
  .nab30-header-inner .nab30-leading > button .nabwork-exact-header-logo{transition:none!important}
}
