:root{--user-accent:#b91932;--user-button:#b91932;--user-icon:#b91932}[hidden]{display:none!important}.workspace-tools{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:0 0 22px}.workspace-tools label{display:flex;flex-direction:column;gap:5px;font-size:12px}.workspace-tools input,.workspace-tools select{max-width:100%;padding:9px;border:1px solid #bbb;border-radius:4px;background:var(--surface,#fff);color:inherit;min-height:40px}.workspace-search{flex:1;min-width:170px}.segmented{display:flex;gap:4px}.segmented .active{background:var(--user-accent);color:#fff}.workspace-caption{font-size:12px;color:#666;line-height:1.6}.preferences-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr);gap:35px}.preferences-layout>section{min-width:0}.preferences-layout h3{font-size:16px;margin:0 0 18px;padding-top:22px;border-top:1px solid #ddd}.preferences-layout .form-grid{margin-bottom:25px}.preferences-layout input[type=color]{width:70px;height:40px;padding:3px}.widget-options{display:flex;gap:15px;flex-wrap:wrap;align-items:center}.widget-options label{display:flex;align-items:center;gap:6px}.widget-options input{width:auto}.menu-order{list-style:none;padding:0;margin:0 0 20px}.menu-order li{display:flex;gap:6px;align-items:center;padding:9px 0;border-bottom:1px solid #ddd;font-size:13px}.menu-order li>span{flex:1}.menu-order button{height:34px;width:34px;display:grid;place-items:center;padding:5px}.menu-order svg{width:16px;height:16px}.retained-json{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;font-size:12px;line-height:1.6}.workspace svg.lucide{width:17px;height:17px;vertical-align:middle}.sidebar button svg{color:var(--user-icon)}#primaryNav button.active{border-color:var(--user-accent)!important;box-shadow:inset 3px 0 var(--user-accent)}button.primary,.workspace .primary{background:var(--user-button)!important;border-color:var(--user-button)!important}button:hover:not(:disabled),button:focus-visible{border-color:var(--user-accent)!important;box-shadow:0 0 0 1px var(--user-accent),0 0 14px color-mix(in srgb,var(--user-accent),transparent 70%)!important}.executive-suppressed{display:none!important}#executiveDashboard>section{margin-top:28px}#executiveDashboard h2{font-size:24px}#executiveDashboard h3{font-size:15px;margin:0 0 18px}.executive-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.executive-metric{display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-height:148px;padding:20px;background:#fff;border:1px solid #ddd;border-radius:6px;min-width:0;color:#222}.executive-metric small{font-size:12px;color:#666}.executive-metric strong{font-size:24px;line-height:1.35;margin:10px 0 8px;overflow-wrap:anywhere}.executive-metric span{font-size:12px;color:#666}.executive-metric em{font-style:normal;font-size:11px;color:var(--user-accent);margin-top:12px}.executive-metric em svg{width:13px;height:13px}.executive-charts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin:30px 0}.executive-charts>section{min-width:0;padding-top:20px;border-top:1px solid #ddd}.executive-pie-layout{display:flex;gap:24px;align-items:center;flex-wrap:wrap}.executive-pie{width:155px;height:155px;flex-shrink:0;border-radius:50%;display:grid;place-items:center}.executive-pie>span{width:90px;height:90px;background:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:23px;font-weight:600}.executive-pie small{font-size:11px;font-weight:400;color:#666}.executive-pie-layout ul{list-style:none;padding:0;margin:0;min-width:150px;flex:1;max-height:300px;overflow:auto;font-size:12px}.executive-pie-layout li{display:flex;gap:8px;align-items:center;padding:6px 0}.executive-pie-layout li>span:nth-child(2){flex:1;overflow-wrap:anywhere}.pie-key{width:9px;height:9px;flex-shrink:0;border-radius:2px}.executive-empty{height:155px;display:grid;place-items:center;color:#777;border:1px dashed #ccc;font-size:13px}#executiveDashboard .table-panel{margin-top:20px}.widget-hide-sales [data-exec-widget=sales],.widget-hide-stock [data-exec-widget=stock]{display:none}body[data-density=compact] .workspace{padding-top:18px}body[data-density=compact] td,body[data-density=compact] th{padding-top:8px;padding-bottom:8px}body[data-user-background=plain] .workspace:before,body[data-user-background=custom] .workspace:before{display:none}body[data-user-background=custom] .workspace{background-image:linear-gradient(#ffffffed,#ffffffed),var(--personal-background);background-size:cover;background-attachment:fixed}body[data-user-theme=dark] .workspace,body[data-user-theme=dark] .view{background-color:#202123;color:#eee}body[data-user-theme=dark] .table-panel,body[data-user-theme=dark] .chart-panel,body[data-user-theme=dark] .executive-metric,body[data-user-theme=dark] .panel,body[data-user-theme=dark] .metric-card{background:#292b2e;color:#eee;border-color:#555}body[data-user-theme=dark] th{background:#323438;color:#eee}body[data-user-theme=dark] td{border-color:#555}body[data-user-theme=dark] .workspace-caption,body[data-user-theme=dark] .executive-metric small,body[data-user-theme=dark] .executive-metric span{color:#bbb}body[data-user-theme=dark] .executive-pie>span{background:#292b2e}body[data-user-theme=dark][data-user-background=custom] .workspace{background-image:linear-gradient(#202123e8,#202123e8),var(--personal-background)}body[data-user-motion=reduced] *,body[data-user-motion=reduced] *:before,body[data-user-motion=reduced] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(max-width:1100px){.executive-charts{grid-template-columns:1fr}.executive-pie-layout ul{max-width:600px}.preferences-layout{gap:22px}}
@media(max-width:760px){.preferences-layout{grid-template-columns:1fr}.executive-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.executive-metric{padding:14px;min-height:150px}.executive-metric strong{font-size:20px}.executive-metric span{font-size:11px}.workspace-tools{gap:9px}.workspace-tools>label{flex:1;min-width:120px}.workspace-tools button{min-height:40px}.workspace-tools input,.workspace-tools select{width:100%}.menu-order button{min-height:34px!important}.executive-pie-layout{gap:16px}.executive-pie-layout ul{min-width:140px}.executive-pie{width:135px;height:135px}.executive-pie>span{width:80px;height:80px}}
@media(max-width:350px){.executive-metrics{grid-template-columns:1fr}.executive-metric{min-height:130px}.executive-pie-layout{flex-direction:column;align-items:flex-start}.executive-pie-layout ul{width:100%}.workspace-tools .segmented{width:100%}}
.preferences-layout .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.preferences-layout .form-grid>label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:12px}.preferences-layout .form-grid input:not([type=checkbox]),.preferences-layout .form-grid select{width:100%;min-width:0;max-width:100%;padding:10px;border:1px solid #aaa;border-radius:4px;background:#fff;color:#222}.preferences-layout .form-grid input[type=color]{width:70px;padding:3px}.preferences-layout small{font-size:11px;line-height:1.5;color:#777}.preferences-layout .widget-options{grid-column:1/-1}.preferences-layout .widget-options input{width:auto}#personalForm>.workspace-tools button{max-width:100%;white-space:normal}#mobileMenu{background:#282628!important;border-color:#8c7343!important;color:#fff!important}
@media(max-width:760px){.preferences-layout .form-grid{grid-template-columns:minmax(0,1fr)}}
button.primary,.workspace .primary{color:var(--user-button-ink,#fff)!important}
.widget-hide-sales #executiveDashboard [data-exec-period],.widget-hide-stock #executiveDashboard [data-exec-open=inventory],.widget-hide-orders #executiveDashboard [data-exec-open=orders],.widget-hide-orders #executiveDashboard [data-exec-open=logistics],.widget-hide-sales #command>.metric-grid article:nth-child(-n+4),.widget-hide-stock #command>.metric-grid article:nth-child(5),.widget-hide-sales #command .chart-panel:has(.sales-pie),.widget-hide-stock #command .chart-panel:has(.stock-pie),.widget-hide-orders #command .pipeline{display:none!important}
#executiveDashboard .executive-metric{background:#fff!important;color:#222!important;border-color:#d6d7da!important;box-shadow:none}#executiveDashboard .executive-metric strong{color:#222!important}#executiveDashboard .executive-metric small,#executiveDashboard .executive-metric>span{color:#626262!important}#executiveDashboard .executive-metric em{color:var(--user-accent)!important}#executiveDashboard .executive-metric:hover{border-color:var(--user-accent)!important;box-shadow:0 0 0 1px var(--user-accent),0 0 14px color-mix(in srgb,var(--user-accent),transparent 75%)!important}body[data-user-theme=dark] #executiveDashboard .executive-metric{background:#292b2e!important;border-color:#555!important}body[data-user-theme=dark] #executiveDashboard .executive-metric strong{color:#fff!important}body[data-user-theme=dark] #executiveDashboard .executive-metric small,body[data-user-theme=dark] #executiveDashboard .executive-metric>span{color:#ccc!important}
