/* STLBEAST V1002 — Hub readability, accessibility, and conversion polish.
   Loaded last and deliberately scoped to the affected Hub systems. */
:root{
  --h1002-bg:#020711;
  --h1002-panel:#071522;
  --h1002-panel2:#0a1d2d;
  --h1002-line:#1b5274;
  --h1002-text:#f3f9ff;
  --h1002-body:#c4d4e2;
  --h1002-muted:#9db3c5;
  --h1002-cyan:#51d2ff;
}

/* Community subpages: remove light/dark collisions introduced by legacy layers. */
body.hub715-community-page{
  background:
    radial-gradient(circle at 52% -12%,rgba(24,156,238,.18),transparent 34%),
    var(--h1002-bg)!important;
  color:var(--h1002-text)!important;
}
body.hub715-community-page .hub333-community-hero{
  background:
    radial-gradient(circle at 72% 22%,rgba(42,177,255,.18),transparent 34%),
    linear-gradient(125deg,#071b2b,#020711 72%)!important;
}
body.hub715-community-page .hub333-community-hero h1,
body.hub715-community-page .hub333-section h2,
body.hub715-community-page .hub339-form-card h2,
body.hub715-community-page .hub339-form-card h3{
  color:var(--h1002-text)!important;
  -webkit-text-fill-color:var(--h1002-text)!important;
}
body.hub715-community-page .hub333-lead,
body.hub715-community-page .hub333-section>p{
  color:var(--h1002-body)!important;
  -webkit-text-fill-color:var(--h1002-body)!important;
}
body.hub715-community-page .hub333-btn.secondary{
  background:#071827!important;
  border-color:#245b7a!important;
  color:#eef8ff!important;
}
body.hub715-community-page .hub339-form-shell{
  width:min(calc(100% - 36px),1180px);
  padding-left:0;
  padding-right:0;
}
body.hub715-community-page .hub339-checklist{
  color:var(--h1002-body)!important;
}
body.hub715-community-page .hub339-mini,
body.hub715-community-page .hub339-form-card{
  background:linear-gradient(145deg,var(--h1002-panel2),#040d17)!important;
  border:1px solid var(--h1002-line)!important;
  color:var(--h1002-body)!important;
  box-shadow:0 22px 55px rgba(0,0,0,.28)!important;
}
body.hub715-community-page .hub339-mini b{
  color:var(--h1002-cyan)!important;
  -webkit-text-fill-color:var(--h1002-cyan)!important;
}
body.hub715-community-page .hub339-field label{
  color:#f3f9ff!important;
  -webkit-text-fill-color:#f3f9ff!important;
}
body.hub715-community-page .hub339-field input,
body.hub715-community-page .hub339-field select,
body.hub715-community-page .hub339-field textarea{
  background:#020b14!important;
  border:1px solid #286181!important;
  color:#f4f9ff!important;
  -webkit-text-fill-color:#f4f9ff!important;
}
body.hub715-community-page .hub339-field input:focus,
body.hub715-community-page .hub339-field select:focus,
body.hub715-community-page .hub339-field textarea:focus{
  border-color:#56d4ff!important;
  box-shadow:0 0 0 4px rgba(53,187,255,.17)!important;
}
body.hub715-community-page .hub339-field input[type="file"]{
  color:var(--h1002-body)!important;
  -webkit-text-fill-color:var(--h1002-body)!important;
}
body.hub715-community-page .hub339-field input[type="checkbox"]{
  width:18px;
  height:18px;
  accent-color:#159eea;
  vertical-align:-3px;
}
body.hub715-community-page .hub339-help{
  color:var(--h1002-muted)!important;
  -webkit-text-fill-color:var(--h1002-muted)!important;
}
body.hub715-community-page .hub339-required{
  color:#ff9d92!important;
  -webkit-text-fill-color:#ff9d92!important;
}
body.hub715-community-page .hub339-alert.good{
  background:#06251b!important;
  border-color:#2d8f69!important;
  color:#bff5dc!important;
}

/* Profile Vault: grid containers were accidentally styled as white cards. */
body.profile-vault-body .pv-card-grid,
body.profile-vault-body .pv-grid,
body.profile-vault-body .hub348-grid,
body.profile-vault-body .hub374-next-grid{
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:0!important;
}
body.profile-vault-body .hub364-vault-actions a,
body.profile-vault-body .hub364-vault-actions button{
  background:#071827!important;
  border-color:#245b7a!important;
  color:#edf8ff!important;
  -webkit-text-fill-color:#edf8ff!important;
}
body.profile-vault-body .hub364-vault-actions a.primary,
body.profile-vault-body .hub364-vault-actions button.primary{
  background:linear-gradient(180deg,#27baff,#087bd6)!important;
  border-color:#55caff!important;
  color:#03111a!important;
  -webkit-text-fill-color:#03111a!important;
}
body.profile-vault-body .hub364-empty{
  background:#211708!important;
  border-color:#9c6a25!important;
  color:#ffe0a5!important;
}
body.profile-vault-body .hub364-empty strong{
  color:#fff1cf!important;
  -webkit-text-fill-color:#fff1cf!important;
}
body.profile-vault-body .hub348-link-card span{
  color:#bed0de!important;
  -webkit-text-fill-color:#bed0de!important;
}
body.profile-vault-body .hub348-actions a.secondary,
body.profile-vault-body .hub374-next-grid a{
  background:#071827!important;
  border-color:#245b7a!important;
  color:#eaf7ff!important;
  -webkit-text-fill-color:#eaf7ff!important;
}
body.profile-vault-body .hub374-next-grid a span{
  color:#a9bece!important;
  -webkit-text-fill-color:#a9bece!important;
}
body.profile-vault-body .hub374-breadcrumbs{
  background:#071522!important;
  border-color:#225677!important;
  color:#d9e9f5!important;
}
body.profile-vault-body .hub374-breadcrumbs a{
  background:#0a2033!important;
  color:#83dcff!important;
}

/* Honest next-step revenue paths; no forced popup or false urgency. */
.hub1002-value-strip,
.hub1002-next-steps{
  border:1px solid var(--h1002-line);
  border-radius:14px;
  background:
    radial-gradient(circle at 88% 10%,rgba(78,60,255,.16),transparent 30%),
    linear-gradient(135deg,#081b2b,#040d17);
  color:var(--h1002-text);
  box-shadow:0 20px 48px rgba(0,0,0,.24);
}
.hub1002-value-strip{
  display:grid;
  grid-template-columns:minmax(220px,.8fr) minmax(280px,1.4fr) auto;
  gap:18px;
  align-items:center;
  padding:18px 20px;
  margin:0 0 22px;
}
.hub1002-value-strip strong,
.hub1002-next-steps h2{
  color:var(--h1002-text)!important;
  -webkit-text-fill-color:var(--h1002-text)!important;
}
.hub1002-value-strip span,
.hub1002-next-steps p{
  color:var(--h1002-body)!important;
  -webkit-text-fill-color:var(--h1002-body)!important;
  line-height:1.58;
}
.hub1002-value-strip a,
.hub1002-next-card a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  border:1px solid #4fcfff;
  border-radius:8px;
  padding:10px 15px;
  background:linear-gradient(180deg,#28baff,#087bd6);
  color:#03111a!important;
  -webkit-text-fill-color:#03111a!important;
  text-decoration:none;
  font-weight:900;
}
.hub1002-next-steps{
  width:min(calc(100% - 36px),1120px);
  margin:0 auto 64px;
  padding:clamp(22px,4vw,34px);
}
.hub1002-next-steps>p{max-width:780px}
.hub1002-next-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:18px;
}
.hub1002-next-card{
  padding:18px;
  border:1px solid #194966;
  border-radius:10px;
  background:#061522;
}
.hub1002-next-card h3{
  margin:0 0 8px;
  color:#f4f9ff!important;
  -webkit-text-fill-color:#f4f9ff!important;
}
.hub1002-next-card p{min-height:76px;margin:0 0 14px}
.hub1002-next-card a.secondary{
  background:#071827;
  color:#dff4ff!important;
  -webkit-text-fill-color:#dff4ff!important;
  border-color:#2a607f;
}
body :focus-visible{
  outline:3px solid #57d4ff!important;
  outline-offset:3px!important;
}
@media(max-width:820px){
  .hub1002-value-strip{grid-template-columns:1fr}
  .hub1002-value-strip a{justify-self:start}
  .hub1002-next-grid{grid-template-columns:1fr}
  .hub1002-next-card p{min-height:0}
}
@media(max-width:760px){
  body.hub715-community-page .hub339-form-shell{width:min(calc(100% - 18px),1180px)}
}
@media(prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important}
}

/* V1003 phone-width containment for Profile Vault and its contextual offer. */
@media(max-width:820px){
  html body.profile-vault-body .pv-wrap{
    box-sizing:border-box!important;
    max-width:calc(100% - 22px)!important;
  }
  html body.profile-vault-body .v999-context-offer{
    box-sizing:border-box!important;
    width:calc(100% - 22px)!important;
    max-width:calc(100% - 22px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}

/* V1003 complete fallback layout for the moderated community submission page.
   The legacy V333/V339/V715 styles are not required for this page to remain
   readable, responsive, and fully usable. */
body.hub715-community-page,
body.hub715-community-page *{
  box-sizing:border-box;
}
body.hub715-community-page{
  margin:0;
  overflow-x:hidden;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  line-height:1.55;
}
body.hub715-community-page .hub137-inner{
  width:min(calc(100% - 36px),1180px);
  margin-left:auto;
  margin-right:auto;
}
body.hub715-community-page .hub137-top{
  border-bottom:1px solid #153e59;
  background:#020711!important;
}
body.hub715-community-page .hub137-nav{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:22px;
  padding:15px 0;
}
body.hub715-community-page .hub137-logo,
body.hub715-community-page .hub715-brand{
  display:flex!important;
  align-items:center;
  gap:10px;
  min-width:0;
  color:#f3f9ff!important;
  text-decoration:none;
}
body.hub715-community-page .hub137-logo img{
  width:54px!important;
  height:54px!important;
  flex:0 0 54px;
  object-fit:contain;
}
body.hub715-community-page .hub715-brand-copy{
  display:grid!important;
  min-width:0;
}
body.hub715-community-page .hub715-brand-copy strong{
  color:#f3f9ff!important;
  -webkit-text-fill-color:#f3f9ff!important;
  font-size:1.02rem;
  letter-spacing:.03em;
  line-height:1.1;
}
body.hub715-community-page .hub715-brand-copy strong em{
  color:#4fc8ff!important;
  -webkit-text-fill-color:#4fc8ff!important;
  font-style:normal;
}
body.hub715-community-page .hub715-brand-copy small{
  margin-top:4px;
  color:#8faec2!important;
  font-size:.58rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
body.hub715-community-page .hub137-links{
  display:flex!important;
  align-items:center;
  justify-content:center;
  gap:clamp(10px,1.5vw,20px);
  min-width:0;
}
body.hub715-community-page .hub137-links a{
  color:#75d5ff!important;
  -webkit-text-fill-color:#75d5ff!important;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.03em;
  text-decoration:none;
  text-transform:uppercase;
  white-space:nowrap;
}
body.hub715-community-page .hub137-search-btn,
body.hub715-community-page .hub1003-menu{
  display:inline-flex;
  min-height:44px;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  border:1px solid #286181;
  border-radius:9px;
  background:#071827!important;
  color:#e9f8ff!important;
  -webkit-text-fill-color:#e9f8ff!important;
  font-weight:900;
  text-decoration:none;
}
body.hub715-community-page .hub1003-menu{
  display:none;
  font:inherit;
  cursor:pointer;
}
body.hub715-community-page main{
  display:block;
  width:100%;
}
body.hub715-community-page .hub333-community-hero{
  width:min(calc(100% - 36px),1180px);
  margin:30px auto 18px;
  padding:clamp(28px,5vw,58px);
  border:1px solid #1b5274;
  border-radius:22px;
  overflow:hidden;
  color:var(--h1002-text)!important;
  box-shadow:0 28px 75px rgba(0,0,0,.32);
}
body.hub715-community-page .hub333-community-wrap{
  max-width:900px;
}
body.hub715-community-page .hub333-pill{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:7px 12px;
  border:1px solid #25749d;
  border-radius:999px;
  background:#08243a;
  color:#69d7ff!important;
  -webkit-text-fill-color:#69d7ff!important;
  font-size:.7rem;
  font-weight:900;
  letter-spacing:.1em;
  text-transform:uppercase;
}
body.hub715-community-page .hub333-community-hero h1{
  max-width:860px;
  margin:18px 0 14px;
  font-size:clamp(2.3rem,6vw,5rem);
  line-height:.98;
  letter-spacing:-.025em;
}
body.hub715-community-page .hub333-lead{
  max-width:820px;
  margin:0;
  font-size:clamp(1rem,1.8vw,1.16rem);
  line-height:1.7;
}
body.hub715-community-page .hub333-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px;
}
body.hub715-community-page .hub333-btn,
body.hub715-community-page .hub339-action{
  display:inline-flex!important;
  min-height:44px;
  align-items:center;
  justify-content:center;
  padding:10px 16px!important;
  border:1px solid #245b7a!important;
  border-radius:9px;
  background:#071827!important;
  color:#eef8ff!important;
  -webkit-text-fill-color:#eef8ff!important;
  font-weight:900;
  line-height:1.2;
  text-align:center;
  text-decoration:none;
}
body.hub715-community-page .hub339-form-shell{
  display:block;
  margin:0 auto 24px;
}
body.hub715-community-page .hub339-checklist{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-bottom:14px;
}
body.hub715-community-page .hub339-mini{
  min-width:0;
  padding:18px!important;
  border-radius:12px!important;
  line-height:1.55;
}
body.hub715-community-page .hub339-mini b{
  display:block;
  margin-bottom:7px;
}
body.hub715-community-page .hub339-form-card{
  display:block;
  padding:clamp(20px,4vw,34px)!important;
  border-radius:16px!important;
}
body.hub715-community-page .hub339-hp{
  position:absolute!important;
  left:-9999px!important;
}
body.hub715-community-page .hub339-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
body.hub715-community-page .hub339-field{
  display:block;
  min-width:0;
}
body.hub715-community-page .hub339-field.full{
  grid-column:1/-1;
}
body.hub715-community-page .hub339-field label{
  display:block;
  margin-bottom:7px;
  font-weight:850;
}
body.hub715-community-page .hub339-field input:not([type="checkbox"]),
body.hub715-community-page .hub339-field select,
body.hub715-community-page .hub339-field textarea{
  display:block;
  width:100%;
  min-height:48px;
  padding:12px 14px;
  border-radius:9px;
  font:inherit;
}
body.hub715-community-page .hub339-field textarea{
  min-height:132px;
  resize:vertical;
}
body.hub715-community-page .hub339-field input[type="file"]{
  padding:9px!important;
}
body.hub715-community-page .hub339-field.full label:has(input[type="checkbox"]){
  display:grid;
  grid-template-columns:20px 1fr;
  gap:9px;
  align-items:start;
  line-height:1.5;
}
body.hub715-community-page .hub339-help{
  display:block;
  margin-top:7px;
  font-size:.82rem;
  line-height:1.45;
}
body.hub715-community-page .hub339-submit{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin-top:20px;
}
body.hub715-community-page .hub339-submit button{
  min-height:46px;
  padding:11px 18px;
  border:1px solid #4fcaff;
  border-radius:9px;
  background:linear-gradient(135deg,#0d9ee9,#7147ff);
  color:#fff;
  font:inherit;
  font-weight:900;
  cursor:pointer;
}
body.hub715-community-page .hub137-footer{
  margin-top:48px;
  padding:40px 0 24px;
  border-top:1px solid #153e59;
  background:#01060b!important;
  color:#9db3c5!important;
}
body.hub715-community-page .hub137-footer-grid{
  display:grid;
  grid-template-columns:1.4fr repeat(3,minmax(0,1fr));
  gap:28px;
}
body.hub715-community-page .hub137-footer section{
  min-width:0;
}
body.hub715-community-page .hub137-footer section>a,
body.hub715-community-page .hub137-footer p{
  display:block;
  margin:7px 0;
  color:#9db3c5!important;
  -webkit-text-fill-color:#9db3c5!important;
  text-decoration:none;
}
body.hub715-community-page .hub137-footer h3{
  color:#f3f9ff!important;
  -webkit-text-fill-color:#f3f9ff!important;
}
body.hub715-community-page .hub715-footer-lockup{
  display:flex!important;
  align-items:center;
  gap:10px;
}
body.hub715-community-page .hub715-footer-lockup img{
  width:46px!important;
  height:46px!important;
}
body.hub715-community-page .hub715-footer-lockup span{
  display:grid;
}
body.hub715-community-page .hub715-footer-lockup strong{
  color:#f3f9ff!important;
  -webkit-text-fill-color:#f3f9ff!important;
}
body.hub715-community-page .hub715-footer-lockup em{
  color:#51d2ff!important;
  -webkit-text-fill-color:#51d2ff!important;
  font-style:normal;
}

@media(max-width:900px){
  body.hub715-community-page .hub137-nav{
    grid-template-columns:1fr auto;
  }
  body.hub715-community-page .hub137-links{
    grid-column:1/-1;
    grid-row:2;
    flex-wrap:wrap;
  }
  body.hub715-community-page .hub137-search-btn{
    grid-column:2;
    grid-row:1;
  }
  body.hub715-community-page .hub137-footer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:760px){
  body.hub715-community-page .hub137-inner,
  body.hub715-community-page .hub333-community-hero,
  body.hub715-community-page .hub339-form-shell,
  body.hub715-community-page .hub1002-next-steps{
    width:calc(100% - 22px)!important;
  }
  body.hub715-community-page .hub137-nav{
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px;
    padding:11px 0;
  }
  body.hub715-community-page .hub1003-menu{
    display:flex;
  }
  body.hub715-community-page.hub1003-menu-ready .hub137-links{
    display:none!important;
  }
  body.hub715-community-page.hub1003-menu-ready .hub137-links.is-open{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-column:1/-1;
    grid-row:2;
    gap:6px;
    width:100%;
    padding:8px;
    border:1px solid #1b5274;
    border-radius:10px;
    background:#061522;
  }
  body.hub715-community-page .hub137-links a{
    display:flex;
    min-height:42px;
    align-items:center;
    justify-content:center;
    padding:8px;
    border:1px solid rgba(80,190,246,.15);
    border-radius:7px;
    white-space:normal;
    text-align:center;
  }
  body.hub715-community-page .hub137-search-btn{
    grid-column:1/-1;
    grid-row:3;
    width:100%;
  }
  body.hub715-community-page .hub333-community-hero{
    margin-top:14px;
    padding:26px 20px!important;
    border-radius:16px;
  }
  body.hub715-community-page .hub333-community-hero h1{
    font-size:clamp(2rem,11vw,3.45rem);
  }
  body.hub715-community-page .hub333-actions{
    display:grid;
    grid-template-columns:1fr;
  }
  body.hub715-community-page .hub339-checklist,
  body.hub715-community-page .hub339-form-grid,
  body.hub715-community-page .hub137-footer-grid{
    grid-template-columns:1fr;
  }
  body.hub715-community-page .hub339-field.full{
    grid-column:auto;
  }
  body.hub715-community-page .hub339-submit{
    display:grid;
    grid-template-columns:1fr;
  }
  body.hub715-community-page .hub339-submit button,
  body.hub715-community-page .hub339-submit a{
    width:100%;
  }
}

@media(max-width:360px){
  html body.profile-vault-body .h708-footer,
  html body.profile-vault-body .h708-footer *{
    box-sizing:border-box!important;
  }
  html body.profile-vault-body .h708-footer-grid{
    width:100%!important;
    max-width:100%!important;
    grid-template-columns:1fr!important;
    gap:22px!important;
    padding-left:14px!important;
    padding-right:14px!important;
  }
  html body.profile-vault-body .h708-footer-grid>section,
  html body.profile-vault-body .h708-footer-grid>nav,
  html body.profile-vault-body .h708-footer-grid form,
  html body.profile-vault-body .h708-footer-grid .h708-brand,
  html body.profile-vault-body .h708-footer-grid .h708-brand-copy{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }
}
