
:root{--workspace-green:#075b42;--workspace-ink:#17342a;--workspace-bg:#f3f6f4;--workspace-line:#dce6df;--sidebar-width:248px}
body{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--workspace-bg);color:var(--workspace-ink)}
body .sidebar{position:fixed;inset:0 auto 0 0;width:248px;box-sizing:border-box;background:#073c2d;color:#fff;padding:24px 16px;display:flex;flex-direction:column;border:0;z-index:50;overflow-y:auto}
body .sidebar .brand{display:flex;gap:12px;align-items:center;padding:0 8px 24px;margin:0;color:#fff;text-decoration:none;min-height:66px;border-bottom:1px solid #ffffff24}
body .sidebar .brand img{width:44px;height:44px;object-fit:contain;background:white;border-radius:12px;padding:4px;box-sizing:border-box}
body .sidebar .brand-logo{background:transparent;padding:0;width:auto;height:auto}
body .sidebar .brand :is(strong,span){font-size:16px;letter-spacing:.04em;color:#fff}
body .sidebar .brand :is(small,div>span){display:block;font-size:11px;letter-spacing:.06em;color:#b8d5c7;margin-top:5px}
body .sidebar nav{display:flex;flex-direction:column;gap:5px;padding:20px 0;overflow:visible}
body .sidebar nav a{display:flex;align-items:center;gap:12px;min-height:43px;border-radius:9px;padding:10px 12px;box-sizing:border-box;color:#d5e6dc;font-size:13px;font-weight:500;text-decoration:none;border:0}
body .sidebar nav a:hover,body .sidebar nav a.active{background:#ffffff19;color:white;box-shadow:inset 3px 0 #e2bb57}
body .sidebar nav a>span{width:20px;flex-shrink:0}body .sidebar nav svg{width:19px;height:19px}
body .sidebar :is(.sidebar-user,.sidebar-foot){margin-top:auto;border-top:1px solid #ffffff24;padding:18px 10px 0;color:#c0d7ca;font-size:12px}
body :is(.main,.workspace){margin-left:248px;min-width:0;min-height:100vh;width:auto}
body .app-shell{display:block}body .topbar{height:86px;min-height:86px;box-sizing:border-box;background:white;border-bottom:1px solid var(--workspace-line);display:flex;align-items:center;justify-content:space-between;padding:16px 32px;position:sticky;top:0;z-index:30;gap:12px}
body .topbar :is(h1,#view-title){font-size:22px;line-height:1.2;font-weight:700;letter-spacing:-.03em;margin:0;color:var(--workspace-ink)}
body .topbar :is(p,small){font-size:12px;color:#71847a;margin:6px 0 0;display:block}
body :is(.content,main#main){padding:28px 32px;max-width:1600px;margin:auto;box-sizing:border-box}
body :is(.main,.workspace)>footer{background:white;border-top:1px solid var(--workspace-line);padding:20px 32px;text-align:center;color:#71847a;font-size:12px;display:block}
body :is(.panel,.stat,.metric){border:1px solid var(--workspace-line);border-radius:16px;box-shadow:0 4px 18px #17342a04}
body :is(.btn,.button){border-radius:9px;min-height:38px;align-items:center;justify-content:center;font-weight:600;font-size:13px}
body :is(.btn.primary,.button){background:var(--workspace-green);color:white;border-color:var(--workspace-green)}
body :is(.print-actions,.form-actions,.dialog-actions,.tool-actions,.heading-actions,.row-actions,.inline-actions){display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap}
body [data-profit-toggle]{width:auto;min-width:72px;font-size:12px;padding:6px 10px;border:1px solid #aac8b5;border-radius:20px;white-space:nowrap}
.line-profit,#grossProfit{filter:none!important;user-select:auto!important}
.back-control{display:inline-flex;margin-bottom:18px}.period-shortcuts{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}.period-shortcuts a{padding:8px 16px;border-radius:20px;background:#e4eee8;color:#075b42;text-decoration:none;font-size:13px}.period-shortcuts a.active{background:#075b42;color:white}
html[data-theme=dark] .topbar :is(h1,#view-title){color:#e7f0e9}html[data-theme=dark] body :is(.main,.workspace)>footer{background:#18271f;border-color:#344b3c}
@media(max-width:800px){body .sidebar{transform:translateX(-100%);width:248px}body .sidebar.open{transform:translateX(0)}body :is(.main,.workspace){margin-left:0}body .topbar{height:auto;min-height:76px;padding:14px 18px}body :is(.content,main#main){padding:20px 16px}body .topbar :is(h1,#view-title){font-size:19px}body .topbar :is(.role-badge,.role-chip,.sync-label,.avatar){display:none}}
@media print{body .sidebar,body .topbar,.back-control,.period-shortcuts{display:none!important}body :is(.main,.workspace){margin:0}body :is(.content,main#main){padding:0}}

.topbar-title{display:flex;align-items:center;gap:14px}.topbar-actions{display:flex;align-items:center;gap:12px}.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;border:1px solid #dce6df;border-radius:9px;color:#315441;background:transparent;text-decoration:none}.nav-label{margin:16px 12px 4px;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#91b5a2}.sidebar-user small{display:block;margin-top:5px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(min-width:801px){body .mobile-close,body .mobile-menu{display:none}}

body .topbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;flex-wrap:nowrap}body .topbar-title{width:auto;min-width:0;display:flex;gap:12px;align-items:center}body .topbar-actions{width:auto;display:flex;flex-wrap:nowrap;gap:10px;justify-content:flex-end}body .topbar-actions .icon-button{flex-shrink:0;width:36px;height:36px;box-sizing:border-box}body .topbar-actions .icon-button svg{width:19px;height:19px}body .topbar .ag-install-link{grid-column:3;grid-row:1}body .topbar .sr-only{display:none}body .topbar-actions .role-chip{font-size:11px;background:#edf3ef;color:#496755;padding:6px 9px;border-radius:20px}body .back-control{margin:16px 32px 0;justify-self:start;width:auto;border:1px solid #dce6df}body .profit-summary p{display:flex;justify-content:space-between;gap:20px;margin:12px 0}body .sidebar .brand{flex-shrink:0}body .sidebar nav{flex-shrink:0}body .sidebar-user{flex-shrink:0}
@media(max-width:800px){body .topbar{grid-template-columns:minmax(0,1fr) auto;min-height:76px;height:76px;padding:12px 16px}body .topbar .ag-install-link{display:none}body .topbar-actions{gap:7px}body .topbar-actions .role-chip,body .topbar-actions #refresh,body .topbar-actions [data-refresh]{display:none}body .topbar-actions>.btn{font-size:12px;padding:8px}body .back-control{margin:12px 16px 0}.topbar-title h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:450px){body .topbar-actions>.btn{display:none}body .topbar-actions .icon-button{width:32px;height:32px;min-width:32px;min-height:32px}}
