/* EZAccounting v0.3.0 Phase 1 — scoped Wave-inspired responsive shell.
   The existing server-rendered navigation and permissions remain authoritative. */
.ezacc.ezacc-wave-shell{--ezw-green:#059669;--ezw-deep:#0f172a;--ezw-border:#e2e8f0;--ezw-bg:#f8fafc;--ezw-ink:#1e293b;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;background:var(--ezw-bg)!important;color:var(--ezw-ink)!important;border:1px solid var(--ezw-border)!important;border-radius:16px!important;overflow:clip!important;box-shadow:0 12px 35px rgba(15,23,42,.06)!important;min-width:0!important}
.ezacc.ezacc-wave-shell .ezacc-business-header{background:#fff!important;border-bottom:1px solid var(--ezw-border)!important;box-shadow:none!important}
.ezacc.ezacc-wave-shell .ezacc-page-heading h2{color:#0f172a!important;font-weight:800!important;letter-spacing:-.025em!important}
.ezacc.ezacc-wave-shell .ezacc-company-pill{background:#ecfdf5!important;color:#065f46!important;border:1px solid #a7f3d0!important;border-radius:12px!important}
.ezacc.ezacc-wave-shell .ezacc-card,.ezacc.ezacc-wave-shell .ezacc-kpi-grid>*,.ezacc.ezacc-wave-shell .ezacc-filter-card{background:#fff!important;border:1px solid var(--ezw-border)!important;border-radius:14px!important;box-shadow:0 2px 8px rgba(15,23,42,.035)!important}
.ezacc.ezacc-wave-shell :is(button[type=submit],.ezacc-btn-primary){border-radius:10px!important}
.ezacc.ezacc-wave-shell :is(input,select,textarea){border-radius:9px!important;max-width:100%;box-sizing:border-box}
.ezacc.ezacc-wave-shell :is(a,button,input,select,textarea):focus-visible{outline:3px solid #34d399!important;outline-offset:2px!important}
.ezacc.ezacc-wave-shell .ezacc-scroll{max-width:100%;overflow-x:auto}
@media(min-width:1024px){
.ezacc.ezacc-pro.ezacc-wave-shell{display:grid!important;grid-template-columns:248px minmax(0,1fr)!important;align-items:start!important;gap:0!important;}
.ezacc.ezacc-pro.ezacc-wave-shell>nav.ezacc-nav{grid-column:1!important;grid-row:1 / span 100!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;align-self:stretch!important;position:relative!important;top:auto!important;left:auto!important;right:auto!important;width:248px!important;max-width:248px!important;height:100%!important;min-height:620px!important;margin:0!important;padding:20px 12px!important;border:0!important;border-radius:0!important;background:#0f172a!important;overflow-x:hidden!important;overflow-y:auto!important;gap:4px!important;box-shadow:none!important}
.ezacc.ezacc-pro.ezacc-wave-shell>nav.ezacc-nav::before{content:'EZAccounting';display:block;color:white;font-size:19px;font-weight:800;letter-spacing:-.02em;padding:6px 13px 21px;margin-bottom:12px;border-bottom:1px solid #334155}
.ezacc.ezacc-pro.ezacc-wave-shell>nav.ezacc-nav>a,.ezacc.ezacc-pro.ezacc-wave-shell>nav.ezacc-nav>.ezacc-nav-foot>a{width:100%!important;min-height:40px!important;max-width:100%!important;display:flex!important;padding:10px 13px!important;margin:0!important;background:transparent!important;color:#cbd5e1!important;border-radius:9px!important;font-size:13px!important;white-space:normal!important;line-height:1.3!important}
.ezacc.ezacc-pro.ezacc-wave-shell>nav.ezacc-nav>a:hover,.ezacc.ezacc-pro.ezacc-wave-shell>nav.ezacc-nav>.ezacc-nav-foot>a:hover{background:#1e293b!important;color:#fff!important}
.ezacc.ezacc-pro.ezacc-wave-shell>nav.ezacc-nav>a[aria-current=page]{background:#065f46!important;color:white!important;border-left:3px solid #34d399!important}
.ezacc.ezacc-pro.ezacc-wave-shell>nav.ezacc-nav>.ezacc-nav-foot{display:flex!important;flex-direction:column!important;width:100%!important;border-top:1px solid #334155!important;margin-top:15px!important;padding-top:12px!important}
.ezacc.ezacc-pro.ezacc-wave-shell>nav.ezacc-nav>.ezacc-nav-foot>a{display:flex!important}
.ezacc.ezacc-pro.ezacc-wave-shell>.ezacc-business-header{grid-column:2!important;grid-row:1!important;order:0!important;width:100%!important;max-width:100%!important;margin:0!important;padding:18px 24px!important;box-sizing:border-box!important}
.ezacc.ezacc-pro.ezacc-wave-shell>.ezacc-native-bottom,.ezacc.ezacc-pro.ezacc-wave-shell>.ezacc-mobile-menu-bar{display:none!important}
}
@media(max-width:1023px){.ezacc.ezacc-wave-shell{border-radius:12px!important}.ezacc.ezacc-wave-shell .ezacc-business-header{padding:14px 16px!important}.ezacc.ezacc-wave-shell .ezacc-card{padding:16px!important}}
@media(max-width:767px){.ezacc.ezacc-wave-shell{border:0!important;border-radius:0!important}.ezacc.ezacc-wave-shell .ezacc-native-bottom{background:#fff!important;border-top:1px solid #e2e8f0!important;box-shadow:0 -3px 14px rgba(15,23,42,.07)!important;padding-bottom:max(7px,env(safe-area-inset-bottom))!important}.ezacc.ezacc-wave-shell .ezacc-native-bottom a[aria-current=page]{color:#047857!important}.ezacc.ezacc-wave-shell .ezacc-mobile-menu-bar{background:#fff!important;border-bottom:1px solid #e2e8f0!important}.ezacc.ezacc-wave-shell .ezacc-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.ezacc.ezacc-wave-shell .ezacc-kpi-grid>*{min-width:0!important}}
@media(max-width:370px){.ezacc.ezacc-wave-shell .ezacc-kpi-grid{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){.ezacc.ezacc-wave-shell *{scroll-behavior:auto!important;transition-duration:0s!important;animation-duration:0s!important}}
