/* HOUSE CTR global brand system v2 — exact logo artwork + lime palette */
:root{
  --housectr-lime:#7CFF00;
  --housectr-lime-soft:#B9FF78;
  --housectr-lime-deep:#326900;
  --housectr-black:#050705;
  --housectr-dark:#0A0F0A;
  --housectr-line:#2B3A2B;
  --accent:#7CFF00!important;
  --primary:#7CFF00!important;
  --purple:#7CFF00!important;
  --violet:#7CFF00!important;
}
a.brand.housectr-brand,
header .brand.housectr-brand,
.topbar .brand.housectr-brand,
.net-head .brand.housectr-brand,
.ws-brand.housectr-brand{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:94px!important;
  text-decoration:none!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow:visible!important;
}
.housectr-logo-img{
  display:block!important;
  width:98px!important;
  max-width:none!important;
  height:auto!important;
  object-fit:contain!important;
}
.housectr-brand small{display:none!important}

/* Core HOUSE CTR lime palette */
.ai-hero-badge{
  border-color:rgba(124,255,0,.38)!important;
  background:rgba(124,255,0,.10)!important;
  color:var(--housectr-lime)!important;
}
.ai-hero-badge span,
.public-hero .accent,
.user-page-preview-bar>span:last-child,
.industry-hub-page .pathway-tag,
.industry-hub-page .hub-hero-card>small,
.industry-hub-page .hero-pathways button span,
.industry-hub-page .hub-card-bottom a,
.business-contact-head,
.business-contact-links a,
.supplemental-actions a,
.supplemental-actions button,
.city-card b,
.city-actions a,
.net-head .eyebrow,
.topnav a.active{
  color:var(--housectr-lime)!important;
}
.login-preview-dots i:nth-child(2){background:var(--housectr-lime)!important}
.login-preview-dots i:nth-child(3){background:var(--housectr-lime-soft)!important}
.industry-hub-page{--hub-teal:var(--housectr-lime)!important}
.net-head{--accent:var(--housectr-lime)!important}

a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline-color:var(--housectr-lime)!important;
}
input:focus,select:focus,textarea:focus{
  border-color:var(--housectr-lime)!important;
  box-shadow:0 0 0 3px rgba(124,255,0,.13)!important;
}
.btn-primary,
.hiuk-ws-launch,
.toolbar button,
#wsSave,
.final-cta .btn-light{
  background:var(--housectr-lime)!important;
  border-color:var(--housectr-lime)!important;
  color:#071007!important;
}
.btn-primary:hover,
.hiuk-ws-launch:hover,
.toolbar button:hover,
#wsSave:hover{
  background:#91FF25!important;
  border-color:#91FF25!important;
  color:#050805!important;
}

/* Light workspace surfaces use a deeper green for readable text accents. */
.ws-head{
  background:rgba(5,7,5,.97)!important;
  border-bottom-color:#243124!important;
  color:#fff!important;
}
.ws-head nav a{color:#DDE7DD!important}
.ws-head nav a:hover,.ws-head nav a.active{color:var(--housectr-lime)!important}
.ws-hero .eyebrow,
.audience-card .tag,
.uk-city-pills b,
td a,
.quick-links a,
.hiuk-ws-grid a{
  color:var(--housectr-lime-deep)!important;
}

/* Remove the remaining purple feel from the homepage preview. */
.user-page-preview{
  border-color:rgba(124,255,0,.22)!important;
}
.user-page-preview-image>span{
  border-color:rgba(124,255,0,.38)!important;
}
.home-proof span:hover{
  border-color:rgba(124,255,0,.40)!important;
}

/* Homepage hero search is intentionally removed in HOUSE CTR v5. */
@media(max-width:700px){
  a.brand.housectr-brand,
  header .brand.housectr-brand,
  .topbar .brand.housectr-brand,
  .net-head .brand.housectr-brand,
  .ws-brand.housectr-brand{min-width:82px!important}
  .housectr-logo-img{width:84px!important}
}


/* HOUSE CTR navigation overflow protection — logo intentionally untouched */
.housectr-header-two-row{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
.housectr-header-two-row .topnav,
.housectr-header-two-row>nav,
.housectr-header-two-row .main-nav{
  flex:1 1 auto!important;
  min-width:0!important;
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  column-gap:11px!important;
  row-gap:4px!important;
  overflow:visible!important;
  padding-right:4px!important;
}
.housectr-header-two-row .topnav a,
.housectr-header-two-row>nav a,
.housectr-header-two-row .main-nav a{
  flex:0 0 auto!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
@media(max-width:1280px){
  .housectr-header-two-row .topnav,
  .housectr-header-two-row>nav,
  .housectr-header-two-row .main-nav{
    column-gap:8px!important;
  }
  .housectr-header-two-row .topnav a,
  .housectr-header-two-row>nav a,
  .housectr-header-two-row .main-nav a{
    font-size:.82rem!important;
  }
}
@media(max-width:1040px){
  .housectr-header-two-row .topnav,
  .housectr-header-two-row>nav,
  .housectr-header-two-row .main-nav{
    flex:0 0 100%!important;
    width:100%!important;
    justify-content:flex-start!important;
    padding-top:8px!important;
    padding-right:0!important;
  }
}


/* HOUSE CTR compact signup + dashboard fit — logo untouched */
.housectr-signup-compact{
  padding:8px 15px!important;
  min-height:42px!important;
  font-size:.86em!important;
  border-radius:13px!important;
}
@media(min-width:981px){
  .public-hero .user-page-preview{
    width:513px!important;
    max-width:513px!important;
    min-width:513px!important;
  }
  .public-hero .login-preview-note{
    width:513px!important;
  }
}
@media(max-width:820px){
  .housectr-header-two-row{
    padding-bottom:0!important;
  }
}





/* HOUSE CTR exact production header grid — based on built homepage markup; logo untouched */
body.public .topbar:has(> .search){
  height:94px!important;
  min-height:94px!important;
  display:grid!important;
  grid-template-columns:104px minmax(0,1fr) auto!important;
  grid-template-rows:50px 44px!important;
  column-gap:18px!important;
  row-gap:0!important;
  align-items:center!important;
  padding:0 28px!important;
  overflow:visible!important;
}
body.public .topbar:has(> .search) > .brand{
  grid-column:1!important;
  grid-row:1 / span 2!important;
  align-self:center!important;
  justify-self:start!important;
  margin:0!important;
}
body.public .topbar:has(> .search) > .topnav{
  grid-column:2 / 4!important;
  grid-row:1!important;
  justify-self:end!important;
  align-self:center!important;
  display:flex!important;
  flex-wrap:nowrap!important;
  gap:12px!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:visible!important;
  font-size:13px!important;
  white-space:nowrap!important;
}
body.public .topbar:has(> .search) > .search{
  grid-column:2!important;
  grid-row:2!important;
  justify-self:end!important;
  align-self:center!important;
  width:min(520px,100%)!important;
  max-width:520px!important;
  min-width:260px!important;
  margin:0!important;
  padding:7px 12px!important;
  border-radius:11px!important;
  box-sizing:border-box!important;
}
body.public .topbar:has(> .search) > .top-actions{
  grid-column:3!important;
  grid-row:2!important;
  justify-self:end!important;
  align-self:center!important;
  margin-left:0!important;
  display:flex!important;
  gap:9px!important;
}
body.public .topbar:has(> .search) > .top-actions a[href*="plan=free"]{
  padding:8px 14px!important;
  min-height:40px!important;
  font-size:13px!important;
  border-radius:12px!important;
}
body.public .topbar:has(> .search) > .top-actions a[href*="mode=login"]{
  padding:8px 14px!important;
  min-height:40px!important;
  font-size:13px!important;
}

/* Remove the duplicate white hero search box directly. */
body.public .public-hero .public-search{
  display:none!important;
}

/* Keep the dashboard exactly 5% smaller than the original 540px design. */
@media(min-width:981px){
  body.public .public-hero .user-page-preview{
    width:513px!important;
    max-width:513px!important;
    min-width:513px!important;
    transform:none!important;
  }
  body.public .public-hero .login-preview-note{
    width:513px!important;
  }
}

@media(max-width:1360px){
  body.public .topbar:has(> .search) > .topnav{
    gap:8px!important;
    font-size:12px!important;
  }
}
@media(max-width:1100px){
  body.public .topbar:has(> .search){
    height:auto!important;
    min-height:0!important;
    display:flex!important;
    flex-wrap:wrap!important;
    gap:8px 12px!important;
    padding:10px 4vw!important;
  }
  body.public .topbar:has(> .search) > .brand{
    order:1!important;
  }
  body.public .topbar:has(> .search) > .topnav{
    order:2!important;
    flex:1 1 calc(100% - 120px)!important;
    justify-content:flex-end!important;
    flex-wrap:wrap!important;
  }
  body.public .topbar:has(> .search) > .search{
    order:3!important;
    flex:1 1 100%!important;
    width:100%!important;
    max-width:none!important;
  }
  body.public .topbar:has(> .search) > .top-actions{
    order:4!important;
    margin-left:auto!important;
  }
}

.housectr-session-control{display:inline-flex;align-items:center;gap:8px;margin-left:10px}.housectr-session-name{font-size:.78rem;color:#61777b;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.housectr-session-signout{border:1px solid #c8d8d9;background:#fff;color:#0c6463;border-radius:999px;padding:7px 10px;font:inherit;font-size:.76rem;font-weight:850;cursor:pointer}.housectr-session-signout:hover{background:#eef7f5}@media(max-width:720px){.housectr-session-name{display:none}.housectr-session-control{margin-left:0}}

/* Shared page frame. Keep each feature's data cards and form controls readable. */
html{background:#050705}
body:not(.housectr-signup-page){background:#050705!important}
body.public:not(.charts-page) .topbar,
body .topbar,
body .community-head,
body .ws-head,
body .net-head{
  background:rgba(5,8,5,.97)!important;
  border-bottom-color:#263626!important;
  color:#f4f8f1!important;
}
.topbar .topnav a,
.topbar .top-actions .btn-secondary,
.community-head nav a,
.ws-head nav a,
.net-head .topnav a{color:#d6e4d2!important}
.topbar .topnav a:hover,
.community-head nav a:hover,
.community-head nav a.active,
.ws-head nav a:hover,
.net-head .topnav a:hover{color:var(--housectr-lime)!important}
.topbar .search{background:#0e170e!important;border-color:#314631!important;color:#cbdaca!important}
.topbar .search input{color:#f5f8f1!important}
.topbar .search input::placeholder{color:#adbfaa!important}
.topbar .top-actions .btn-secondary{background:#152015!important;border-color:#405940!important}
.topbar .topnav.mobile-open{background:#0a120a!important;border-color:#395139!important}
body .sidebar{background:#080d08!important;border-color:#263626!important}
body .sidebar .side-link:hover,
body .sidebar .side-link.active{background:rgba(124,255,0,.12)!important;border-color:rgba(124,255,0,.25)!important;color:#e9f7e6!important}
body.public .info-hero{background:linear-gradient(130deg,#101b10,#080d08)!important;border-color:#2b3c2b!important}

/* Community and member navigation: dark shell around existing light information cards. */
.community-head .community-brand.housectr-brand,
.charts-feature-head .charts-feature-brand.housectr-brand,
.lab-head .lab-brand.housectr-brand,
.qa-head>a.housectr-brand,
.housectr-headerless-brand .housectr-brand,
.housectr-chart-logo{
  display:inline-flex!important;
  align-items:center!important;
  gap:11px;
  min-width:94px;
  flex:0 0 auto;
  text-decoration:none!important;
  color:#f4f8f1!important;
}
.housectr-logo-descriptor{font-size:.78rem;font-weight:850;letter-spacing:.1em;color:var(--housectr-lime)!important;white-space:nowrap}
.community-head .community-brand.housectr-brand img.housectr-logo-img,
.charts-feature-head .charts-feature-brand.housectr-brand img.housectr-logo-img,
.lab-head .lab-brand.housectr-brand img.housectr-logo-img,
.qa-head>a.housectr-brand img.housectr-logo-img,
.housectr-chart-logo img.housectr-logo-img,
.housectr-headerless-brand img.housectr-logo-img{width:98px!important;max-width:98px!important;height:auto!important}
.community-head{min-height:72px;flex-wrap:wrap}
.community-head nav{align-items:center}
.community-head .community-nav-injected{color:var(--housectr-lime)!important}
.community-main{color:#eff6ea}
.community-main > .hero h1,
.community-main > .section-head h2{color:#f4f8f1}
.community-main > .hero p,
.community-main > .section-head p{color:#b9c9b5}
.community-main > .hero .eyebrow,
.community-main > .section-head .eyebrow{color:var(--housectr-lime)!important}
.community-main :is(.beta-box,.panel,.card,.notice,.profile-preview,.forum-post,.v111-row,.v111-public-card,.v112-check,.opp121-card,.opp121-count,.rolews-card,.rolews-panel,.rolews-metric,.rolews-item,.v115-person){color:#12252a}
.community-main :is(.hc-dashboard-launch,.v117-item,.v160-card,.v160-step,.v160-plan,.v160-option,.v160-saved-item,.v164-card,.v161-actions,.v162-card,.v162-stat,.v162-tabs button,.v166-organiser,.v166-editor,.v167-stat,.v168-config,.v169-export,.v170-finder,.v170-row,.v171-preview,.v172-item,.mgr-card,.mgr-panel,.mgr-metric,.mgr-item,.v120-row,.v122-row,.v123-row,.v124-row,.v125-panel,.v126-row,.v128-row,.v131-org,.v131-application,.v132-review,.v133-reminder,.v134-card,.v135-count,.v135-item,.v136-row,.v137-card,.v139-network,.v140-card,.v140-form,.v141-row,.v142-metric,.v143-template-panel,.v144-draft,.v145-row,.v146-row,.v147-row,.v148-pick,.v149-check,.v150-row){color:#12252a}
.community-main :is(.beta-box,.panel,.card,.profile-preview,.forum-post,.v111-row,.v111-public-card,.opp121-card,.rolews-card,.rolews-panel,.rolews-metric,.rolews-item,.v115-person) .eyebrow{color:#316400!important}
.community-main .rolews-boundary{color:#173629}
.community-main :is(.empty,.v111-danger-note,.opp121-warn){color:#415751}
.community-main .hc-dashboard-launch .hc-kicker{color:#326900!important}
.community-main > .quick-links a{color:var(--housectr-lime-soft)!important}

.hc-member-nav{background:#0d160d!important;border-color:#2b3c2b!important}
.hc-member-nav a{color:#dcebd8!important}
.hc-member-nav a:hover,.hc-member-nav a:focus-visible{background:#203420!important;color:#fff!important}
.hc-member-nav a[aria-current="page"]{background:var(--housectr-lime)!important;color:#0a1308!important}
.hc-member-tools{color:#b9c9b5}
.hc-member-tools a{color:var(--housectr-lime-soft)!important}
.hc-shell,.hc-empty-page{color:#edf5e9}
.hc-shell :is(.hc-shell-hero>div:not(.hc-dark),.hc-shell-section,.hc-route,.hc-dashboard-launch),
.hc-empty-page :is(.hc-empty-hero,.hc-empty-panel,.hc-account-grid a){color:#12252a}
.hc-shell .hc-dark{background:#101c10!important;color:#f5f8f1!important}
.hc-shell .hc-shell-hero .hc-dark .hc-kicker{color:var(--housectr-lime)!important}
.hc-shell :is(.hc-shell-section,.hc-shell-hero,.hc-dashboard-launch) .hc-kicker,
.hc-empty-page .hc-kicker{color:#326900!important}
.housectr-appbar{background:#0d160d!important;border-color:#2b3c2b!important;color:#eaf5e5!important}
.housectr-appbar a{color:var(--housectr-lime-soft)!important}

/* Workspaces keep their white editors and tables while the page and header are black. */
.ws-head ~ main{color:#eef6e9}
.ws-head ~ main .ws-hero p:not(.eyebrow),
.ws-head ~ main .section-title span{color:#b9c9b5}
.ws-head ~ main :is(.audience,.beta-note,.governance,.freshness-panel,.editor,.table-wrap){color:#12252a}
.ws-head ~ main .eyebrow{color:var(--housectr-lime)!important}
.ws-head ~ main :is(.audience,.beta-note,.governance,.freshness-panel,.editor,.table-wrap) .eyebrow{color:#326900!important}
body .housectr-session-name{color:#bed1b8}
body .housectr-session-signout{border-color:#3d593b;background:#152315;color:#dfffd4}
body .housectr-session-signout:hover{background:#203820}

/* Existing chart destinations remain separate links beside their logo. */
.housectr-chart-head-start{display:flex;align-items:center;gap:16px;min-width:0;flex-wrap:wrap}
.housectr-chart-head-start>a:not(.housectr-chart-logo){white-space:normal}
.housectr-headerless-brand{display:flex;align-items:center;min-height:72px;padding:10px max(18px,4vw);border-bottom:1px solid #263626;background:#050805}
.housectr-headerless-brand .housectr-brand{width:max-content}
.public .v161-actions{color:#12252a}
body:is(.charts-lab-page,.charts-page,.chart-detail-page,.charts-watchlist-page,.chart-compare-page,.chart-history-page,.chart-badge-page,.charts-qa-page) td a{color:var(--housectr-lime)!important}
@media(max-width:700px){
  .community-head .community-brand.housectr-brand img.housectr-logo-img,
  .charts-feature-head .charts-feature-brand.housectr-brand img.housectr-logo-img,
  .lab-head .lab-brand.housectr-brand img.housectr-logo-img,
  .qa-head>a.housectr-brand img.housectr-logo-img,
  .housectr-chart-logo img.housectr-logo-img,
  .housectr-headerless-brand img.housectr-logo-img{width:84px!important;max-width:84px!important}
  .housectr-logo-descriptor{font-size:.7rem}
  .housectr-chart-head-start{gap:9px}
  .housectr-headerless-brand{min-height:64px}
}
@media print{
  body:not(.housectr-signup-page){background:#fff!important}
  .housectr-headerless-brand{display:none!important}
}
