/* HUU 9.0.36: strict selected navigation state, exact approved owl and unobtrusive saved goals. */
.sidebar nav .huu-menu-link.active:not(.tier-locked),
.sidebar nav .huu-menu-link.active:not(.tier-locked):hover {
  background:linear-gradient(115deg,#ff9d12 0%,#ff7205 62%,#fc5d00 100%) !important;
  color:#fff !important;
  border:0 !important;
  border-left:0 !important;
  box-shadow:0 5px 12px rgba(247,113,8,.22) !important;
  padding:11px 13px !important;
}
.sidebar nav .huu-menu-link:not(.active):not(.tier-locked) {
  background:transparent!important;
  color:#151b24!important;
  box-shadow:none!important;
  border:0!important;
}
.sidebar nav .huu-menu-link:not(.active):not(.tier-locked):hover {
  background:#fff0e0!important;
  color:#c8610b!important;
  box-shadow:none!important;
}
.sidebar nav .huu-menu-link.active .nav-icon,
.sidebar nav .huu-menu-link.active .nav-icon svg {color:#fff!important;stroke:#fff!important;}
.sidebar nav .huu-menu-link.active .huu-menu-label {color:#fff!important;}
.sidebar nav .huu-menu-link:focus-visible {outline:3px solid #ffd0a3;outline-offset:2px;}
/* Approved HUU image is positioned by a background layer, unaffected by legacy .welcome>img !important dimensions. */
.view[data-screen="dashboard"] .huu-hero-935 {
 background:linear-gradient(110deg,#fff 0%,#fff9f4 56%,#fff0e0 100%)!important;
 border-color:#f5e7d8!important;
 height:220px!important;
 min-height:220px!important;
 padding:26px 32px!important;
 box-shadow:0 9px 24px rgba(49,39,29,.065)!important;
 margin:0 0 17px!important;
 isolation:isolate;
}
.view[data-screen="dashboard"] .huu-hero-935::before {display:none!important;content:none!important}
.view[data-screen="dashboard"] .huu-hero-935 .huu-hero-copy {position:relative;max-width:min(66%,650px)!important;z-index:4;align-self:flex-start}
.view[data-screen="dashboard"] .huu-hero-935 h1 {color:#1d2533!important;font-size:clamp(24px,2.5vw,34px)!important;line-height:1.2!important;letter-spacing:-.8px!important;margin:9px 0 9px!important;max-width:620px}
.view[data-screen="dashboard"] .huu-hero-935 .huu-hero-copy p {color:#68717e!important;font-size:13px!important;max-width:450px!important;margin:0 0 16px!important}
.view[data-screen="dashboard"] .huu-hero-935 .huu-hero-waves {position:absolute;bottom:0;left:0;right:0;width:100%;height:49%;z-index:0;pointer-events:none;opacity:.78;max-width:none!important}
.view[data-screen="dashboard"] .huu-hero-935 .huu-original-wave {
 position:absolute;
 display:block;
 bottom:0;
 right:0;
 width:min(93%,900px);
 height:154px;
 max-width:none;
 pointer-events:none;
 z-index:2;
 background-image:url('/assets/huu-wave-approved.png');
 background-size:contain;
 background-position:right bottom;
 background-repeat:no-repeat;
}
/* Prefer one clean graph block, with stronger card boundaries matching the approved direction. */
.view[data-screen="dashboard"] .stat-grid{gap:12px!important;margin-bottom:16px}
.view[data-screen="dashboard"] .stat{box-shadow:0 6px 20px rgba(42,52,58,.08)!important;border-radius:18px!important;border-width:1px!important}
.view[data-screen="dashboard"] .stat[data-kind="paid"]{background:linear-gradient(155deg,#fff 0%,#f0fbf2 100%)}
.view[data-screen="dashboard"] .stat[data-kind="awaiting"]{background:linear-gradient(155deg,#fff 0%,#fff8e9 100%)}
.view[data-screen="dashboard"] .stat[data-kind="overdue"]{background:linear-gradient(155deg,#fff 0%,#fff0f0 100%)}
.view[data-screen="dashboard"] .stat[data-kind="expenses"]{background:linear-gradient(155deg,#fff 0%,#f2f0ff 100%)}
.view[data-screen="dashboard"] .stat[data-kind="profit"]{background:linear-gradient(155deg,#fff 0%,#ebfaef 100%)}
/* Goal exists only after being set; never leave an empty strip on dashboard. */
#dashboard-goal[hidden],#goal-settings[hidden],#goal-form[hidden]{display:none!important}
#goal-settings{display:block;max-width:100%;margin-top:0}
.huu-goal-settings-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.huu-goal-settings-head h2{margin:0 0 7px}
.huu-goal-settings-head p{margin:0;line-height:1.6;font-size:12px}
#goal-form{border:0;border-top:1px solid #eeeae5;border-radius:0;box-shadow:none;margin:15px 0 0;padding:15px 0 0}
@media(max-width:1100px){.view[data-screen="dashboard"] .huu-hero-935 .huu-original-wave{width:min(90%,840px);height:143px}}
@media(max-width:760px){
 .view[data-screen="dashboard"] .huu-hero-935{height:190px!important;min-height:190px!important;padding:18px 18px!important}
 .view[data-screen="dashboard"] .huu-hero-935 .huu-original-wave{width:100%;height:110px;right:-18px}
 .view[data-screen="dashboard"] .huu-hero-935 .huu-hero-copy{max-width:78%!important}
 .view[data-screen="dashboard"] .huu-hero-935 h1{font-size:23px!important;max-width:350px}
 .view[data-screen="dashboard"] .huu-hero-935 .huu-hero-copy p{font-size:11px!important;max-width:220px!important}
 .view[data-screen="dashboard"] .huu-hero-935 .huu-hero-waves{height:43%}
}
@media(max-width:440px){
 .view[data-screen="dashboard"] .huu-hero-935{height:195px!important;min-height:195px!important}
 .view[data-screen="dashboard"] .huu-hero-935 .huu-original-wave{width:100%;height:90px;right:-7px}
 .view[data-screen="dashboard"] .huu-hero-935 h1{font-size:19px!important}
 .view[data-screen="dashboard"] .huu-hero-935 .huu-hero-copy{max-width:85%!important}
}

/* 9.0.53: readably dark, sharp sidebar typography (no faded/oversized bold text). */
.sidebar nav .huu-menu-link:not(.tier-locked){
  color:#151b24!important;
  font-size:14px!important;
  font-weight:600!important;
  opacity:1!important;
  filter:none!important;
  text-shadow:none!important;
  transform:none!important;
}
.sidebar nav .huu-menu-link:not(.tier-locked) .huu-menu-label{
  color:inherit!important;
  font-size:inherit!important;
  font-weight:inherit!important;
  opacity:1!important;
  filter:none!important;
  text-shadow:none!important;
  -webkit-font-smoothing:auto;
}
.sidebar nav .huu-menu-link:not(.tier-locked) .nav-icon svg{
  stroke:currentColor!important;
  stroke-width:2!important;
  opacity:1!important;
  filter:none!important;
}
.sidebar nav .huu-menu-link.active:not(.tier-locked),
.sidebar nav .huu-menu-link.active:not(.tier-locked):hover{color:#fff!important}
.sidebar nav .huu-menu-link:not(.active):not(.tier-locked):hover{color:#151b24!important;background:#fff0df!important}
/* Gated options keep a clear disabled appearance, without making their labels illegible. */
.sidebar nav .huu-menu-link.tier-locked{opacity:.87!important;color:#59616a!important}
.sidebar nav .huu-menu-link.tier-locked .huu-menu-label{color:inherit!important;font-weight:580!important}
