/* HUU 9.0.35 – approved brand assets plus fresh wave geometry and complete functional sidebar */
.sidebar nav::before{content:none!important;display:none!important}
.app-shell{grid-template-columns:244px minmax(0,1fr)}
.sidebar{background:#fff!important;box-shadow:3px 0 20px rgba(35,30,24,.03);border-right:1px solid #eeece8;padding:20px 12px 15px}
.sidebar .brand{padding:0 12px 20px}
.sidebar .brand img{width:150px;max-height:71px}
.sidebar nav{gap:3px!important;overflow-y:auto;min-height:0;padding:0 1px 16px;scrollbar-width:thin}
.sidebar nav .huu-menu-link{border-radius:13px;padding:11px 13px!important;min-height:43px;display:flex;align-items:center;gap:11px;color:#343b45!important;font-size:13px;font-weight:700;background:transparent;transition:background .12s,color .12s}
.sidebar nav .huu-menu-link.active,.sidebar nav .huu-menu-link:hover{background:linear-gradient(110deg,#fff0e0,#ffe4cd)!important;color:#dd6615!important;box-shadow:inset 3px 0 0 #fa7916}
.sidebar nav .huu-menu-link .nav-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;color:currentColor}
.sidebar nav .huu-menu-link .nav-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sidebar nav .huu-menu-link .huu-menu-label{flex:1;white-space:nowrap}
.sidebar nav .huu-menu-link.tier-locked{color:#9b9da0!important;opacity:.65}
.sidebar nav .huu-menu-link.tier-locked .huu-menu-label::after{content:' 🔒';font-size:11px}
.sidebar-bottom{padding:13px 12px 0;gap:7px}
.sidebar::after{content:'';position:absolute;left:0;right:0;bottom:0;height:82px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 244 82' preserveAspectRatio='none'%3E%3Cpath d='M0 52 Q50 9 115 42T244 18 V82 H0Z' fill='%23ffe4c2'/%3E%3Cpath d='M0 67 Q80 22 145 61T244 46 V82 H0Z' fill='%23ff951c'/%3E%3C/svg%3E") center bottom/100% 82px no-repeat;pointer-events:none;opacity:.95;z-index:0}
.sidebar .sidebar-bottom{position:relative;z-index:1;padding-bottom:50px}
.top{background:#fff;box-shadow:none}
.content{background:#f9fafc!important}
.inner{max-width:1540px;padding:24px 30px 80px}
.view[data-screen=dashboard] .huu-hero-935{position:relative;display:flex;align-items:flex-start;min-height:222px;padding:29px 37px 36px!important;border:1px solid #f2e9df;border-radius:22px;background:linear-gradient(95deg,#fff 0%,#fff7f1 100%)!important;overflow:hidden;margin-bottom:14px!important;box-shadow:0 7px 25px #ac71330f}
.huu-hero-copy{z-index:2;position:relative;max-width:63%}
.view[data-screen=dashboard] .huu-hero-935 h1{font-size:clamp(24px,2.45vw,36px);letter-spacing:-1.2px;line-height:1.11;margin:13px 0 10px;max-width:660px;color:#1d2533}
.huu-hero-copy p{color:#7d8389;font-size:13px;margin:0 0 14px}
.huu-hero-cta{box-shadow:0 5px 15px #ef7a2426;min-height:43px}
.huu-hero-waves{position:absolute;inset:auto 0 0;width:100%;height:75%;z-index:0;pointer-events:none}
.view[data-screen=dashboard] .huu-original-owl{position:absolute;right:12%;bottom:-13px;width:222px;height:225px;object-fit:contain;object-position:center bottom;z-index:1;max-height:none;opacity:1;pointer-events:none;filter:drop-shadow(0 6px 8px #ae691f24)}
.huu-goal-strip{display:flex;align-items:center;gap:20px;padding:14px 20px;border:1px solid #eee8e1;border-radius:18px;box-shadow:0 5px 16px #312b230d;margin:8px 0 18px;min-height:81px}
.huu-goal-head{display:flex;align-items:center;gap:9px;min-width:210px;flex-wrap:wrap}
.huu-goal-head strong{font-size:15px;color:#252e38;white-space:nowrap}
.huu-goal-head>span:last-child{color:#7d8184;font-size:11px;white-space:nowrap}
.huu-goal-icon{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#fff0df;color:#ef7b19;font-size:22px;font-weight:800}
.huu-goal-overview{display:flex;align-items:center;gap:17px;flex:1;min-width:0}
#goal-summary{font-size:12px;font-weight:700;color:#384450;white-space:nowrap}
.huu-goal-track{flex:1;min-width:70px;height:12px;border-radius:999px;background:#e9ecf1;overflow:hidden;position:relative}
#goal-progress{display:block;height:100%;width:0;background:linear-gradient(90deg,#64bd78,#18a84a);border-radius:inherit;transition:width .3s}
.huu-goal-outcome{font-size:13px;font-weight:800;color:#2aaf52;white-space:nowrap}
.huu-goal-edit{padding:8px 13px;min-height:36px;border-color:#e9dbc9;color:#d9711e;font-size:12px;white-space:nowrap}
.huu-goal-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:11px;padding:15px 18px;margin:-8px 0 17px}
.huu-goal-form label{display:flex;flex-direction:column;font-size:12px;font-weight:700;color:#6d716e;gap:5px}
.huu-goal-form input,.huu-goal-form select{min-height:38px;border:1px solid #e4e3de;border-radius:8px;padding:8px 10px;min-width:165px}
.huu-goal-form button{min-height:38px;padding:8px 12px}
.view[data-screen=dashboard] .stat-grid{margin-bottom:15px;gap:11px}
.view[data-screen=dashboard] .stat{min-height:136px;box-shadow:0 7px 17px #2737460a}
.view[data-screen=dashboard] .dashboard-toolbar{margin:18px 0 16px}
.view[data-screen=dashboard] .huu-dashboard-main-935{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(310px,.84fr);align-items:stretch;gap:16px}
.view[data-screen=dashboard] .huu-dashboard-main-935 .chart-panel{min-width:0;padding:21px 20px}
.huu-dashboard-main-935 .chart-title-row{align-items:flex-start}
.huu-dashboard-main-935 .huu-trend-layout{grid-template-columns:minmax(0,1fr)!important}
.huu-dashboard-main-935 .huu-trend-insight{display:none}
.huu-dashboard-main-935 .huu-trend-visual svg{min-width:470px}
.huu-upcoming-panel,.huu-last-invoices-935{border-radius:19px;box-shadow:0 8px 24px #2737460a;padding:20px}
.huu-upcoming-panel .section-title{align-items:center;margin-bottom:12px}
.huu-upcoming-panel .section-title .text-button{font-size:11px;white-space:nowrap}
.huu-upcoming-panel .section-title h2{font-size:16px}
.huu-alert-row{display:flex;gap:9px;align-items:center;padding:13px 2px;border:0;border-bottom:1px solid #eef0ec;background:transparent;width:100%;text-align:left;min-width:0}
.huu-alert-row:last-child{border-bottom:0}
.huu-alert-row:hover{background:#fff9f2}
.huu-alert-row-icon{border-radius:12px;color:#f47c20;background:#fff2e4;width:35px;height:35px;display:grid;place-items:center;font-size:19px;flex:0 0 auto}
.huu-alert-text{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.huu-alert-text strong{font-size:12px;color:#25303b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.huu-alert-text small{font-size:11px;color:#828990;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.huu-alert-due{font-size:10px;border-radius:20px;background:#fff0dd;color:#cf681a;padding:6px 9px;white-space:nowrap;font-weight:750}
.huu-no-alerts{margin:50px 3px;color:#6f8175;text-align:center;font-size:12px;line-height:1.8}
.huu-last-invoices-935{margin-top:16px}
.huu-last-invoices-935 #recent-invoices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.huu-last-invoices-935 .invoice-short{border:1px solid #e9ebe9;border-radius:12px;padding:13px;gap:8px}
.huu-last-invoices-935 .invoice-short b{font-size:12px}
.huu-exports-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.huu-export-choice{display:flex;flex-direction:column;gap:10px;text-align:left;cursor:pointer;min-height:122px}
.huu-export-choice:hover{border-color:#ed9e55;box-shadow:0 7px 24px #ef903a14}
.huu-export-choice strong{font-size:17px;color:#e77820}
.huu-export-choice span{font-size:12px;color:#747b80;line-height:1.5}
.huu-export-choice.tier-locked{opacity:.63}
.huu-export-choice.tier-locked strong::after{content:' 🔒'}
@media(max-width:1300px){.view[data-screen=dashboard] .huu-dashboard-main-935{grid-template-columns:minmax(0,1.35fr) minmax(290px,.85fr)}.huu-goal-head{min-width:160px}.huu-goal-overview{flex-wrap:wrap;gap:7px}.huu-goal-track{flex-basis:40%}}
@media(max-width:1050px){.view[data-screen=dashboard] .huu-dashboard-main-935{grid-template-columns:1fr}.huu-upcoming-panel{min-height:140px}.huu-last-invoices-935 #recent-invoices{grid-template-columns:1fr 1fr}.huu-goal-strip{flex-wrap:wrap}.huu-goal-head{min-width:160px}}
@media(max-width:760px){.inner{padding:17px 13px 98px}.sidebar{display:none}.view[data-screen=dashboard] .huu-hero-935{min-height:188px;padding:19px 17px 28px!important}.view[data-screen=dashboard] .huu-original-owl{width:145px;height:152px;right:1%;bottom:-6px}.huu-hero-copy{max-width:76%}.huu-hero-copy h1{font-size:24px!important}.huu-hero-copy p{font-size:11px;max-width:230px}.huu-hero-cta{font-size:12px;min-height:37px;padding:9px 12px}.huu-goal-strip{padding:13px 14px;gap:8px}.huu-goal-head{flex-basis:100%;gap:7px}.huu-goal-overview{flex-basis:100%;gap:9px}.huu-goal-overview #goal-summary{white-space:normal}.huu-goal-edit{margin-top:3px}.huu-last-invoices-935 #recent-invoices{grid-template-columns:1fr}.huu-exports-grid{grid-template-columns:1fr}.huu-hero-waves{height:65%}}
@media(max-width:440px){.huu-hero-copy{max-width:81%}.huu-hero-copy h1{font-size:21px!important}.view[data-screen=dashboard] .huu-original-owl{width:125px;height:137px;right:-20px}.huu-hero-cta{font-size:11px}}
/* Protect the approved original owl from earlier dashboard's generic img sizing. */
.view[data-screen="dashboard"] .welcome>img.huu-original-owl{position:absolute;right:12%;bottom:-13px;width:222px;height:225px;max-height:none;object-fit:contain;object-position:center bottom;opacity:1;z-index:1;filter:drop-shadow(0 6px 8px #ae691f24)}
@media(max-width:760px){.view[data-screen="dashboard"] .welcome>img.huu-original-owl{width:145px;height:152px;right:1%;bottom:-6px}}
@media(max-width:440px){.view[data-screen="dashboard"] .welcome>img.huu-original-owl{width:125px;height:137px;right:-20px}}
/* Those existing records remain accessible through the dedicated, functioning navigation. */
.view[data-screen="dashboard"] #dashboard-advances,.view[data-screen="dashboard"] #dashboard-reminders{display:none!important}
