.history-dashboard{gap:14px;display:grid}.history-command{justify-content:space-between;align-items:center;gap:18px;display:flex}.history-command h2{margin:4px 0;font-size:28px}.history-controls{align-items:center;gap:10px;display:flex}.history-controls>div{background:#eee9d9;border-radius:12px;padding:4px;display:flex}.history-controls button{cursor:pointer;background:0 0;border:0;border-radius:9px;padding:10px 14px;font-weight:800}.history-controls button.active{background:#ffd600}.history-controls select{background:#fffdf6;border:1px solid #e5d7a7;border-radius:10px;padding:10px}.history-health{text-align:left;border:0;border-radius:13px;width:100%;padding:12px 16px;font-size:14px}.history-health.ok{color:#007b4d;background:#e5f7ed}.history-health.warn{color:#8b5c00;cursor:pointer;background:#fff0d4}.history-health span{float:right;font-weight:800}.history-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.history-kpis.with-recovery{grid-template-columns:repeat(5,minmax(0,1fr))}@media (max-width:1350px){.history-kpis.with-recovery{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:760px){.history-kpis,.history-kpis.with-recovery{grid-template-columns:1fr}}.history-kpis button{text-align:left;cursor:pointer;background:#fff;border:1px solid #eadfc6;border-radius:16px;min-width:0;padding:16px;position:relative}.history-kpis small,.history-kpis b,.history-kpis em{display:block}.history-kpis small{color:#68736d;text-transform:uppercase;font-size:12px;font-weight:800}.history-kpis b{margin:8px 0;font-size:27px}.history-kpis em{color:#737b77;font-size:13px;font-style:normal}.history-kpis .attention{color:#d24c42}.delta{border-radius:999px;padding:5px 8px;font-size:12px;font-weight:900;position:absolute;top:12px;right:12px}.delta.up,.history-month-strip .up{color:#008451;background:#def6e8}.delta.down,.history-month-strip .down{color:#c53c35;background:#ffe2df}.history-visual-grid{grid-template-columns:minmax(0,2.2fr) minmax(250px,.8fr);gap:12px;display:grid}.history-chart-card,.history-side-card{background:#fff;border:1px solid #eadfc6;border-radius:18px;min-width:0;padding:18px}.history-chart-card header{justify-content:space-between;align-items:center;display:flex}.history-chart-card h3,.history-side-card h3{margin:4px 0}.chart-legend{color:#68736d;gap:12px;font-size:12px;display:flex}.chart-legend span{align-items:center;gap:5px;display:flex}.chart-legend i{background:#00a261;border-radius:3px;width:9px;height:9px}.chart-legend i.issue{background:#ef6464}.history-chart{align-items:end;gap:6px;height:255px;padding-top:20px;display:flex;overflow-x:auto}.history-chart>button{cursor:pointer;background:0 0;border:0;border-radius:9px;grid-template-rows:1fr auto auto;align-items:end;min-width:62px;height:215px;display:grid}.history-chart>button:hover{background:#fff9dc}.history-chart-column{justify-content:center;align-items:end;gap:3px;height:165px;display:flex}.history-chart-column i,.history-chart-column u{background:linear-gradient(#20b768,#008f58);border-radius:6px 6px 0 0;width:15px;min-height:0;display:block}.history-chart-column u{background:linear-gradient(#ffad3c,#ef6464);width:8px}.history-chart b{margin-top:4px;font-size:12px}.history-chart small{color:#68736d;font-size:11px}.history-side-card{text-align:center}.history-source-note{color:#52615a;text-align:left;background:#f3fbf7;border-radius:14px;margin:18px 0;padding:18px;line-height:1.5}.history-donut{border-radius:50%;place-items:center;width:150px;height:150px;margin:18px auto;display:grid}.history-donut>div{background:#fff;border-radius:50%;place-content:center;width:92px;height:92px;display:grid}.history-donut b{font-size:26px}.history-donut small{color:#68736d}.history-side-card dl{gap:8px;margin:0;display:grid}.history-side-card dl div{border-top:1px solid #eee7d7;justify-content:space-between;padding:8px 0;display:flex}.history-side-card dt{color:#68736d}.history-side-card dd{font-weight:900}.history-month-strip{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;display:grid}.history-month-strip button{text-align:left;cursor:pointer;background:#fff;border:1px solid #eadfc6;border-radius:13px;padding:12px}.history-month-strip small,.history-month-strip b,.history-month-strip span{display:block}.history-month-strip b{margin:6px 0;font-size:18px}.history-month-strip span{border-radius:999px;width:max-content;padding:3px 6px;font-size:11px}.history-table-toggle{color:#176c47;cursor:pointer;background:#fff7c8;border:1px solid #dec86b;border-radius:999px;justify-self:center;padding:10px 18px;font-weight:800}.history-table{background:#fff;border:1px solid #eadfc6;border-radius:16px;overflow:auto}.history-table table{border-collapse:collapse;width:100%}.history-table th,.history-table td{text-align:left;border-bottom:1px solid #eee7d7;padding:13px}.history-table th{color:#68736d;background:#fff9dc}.history-table tr{cursor:pointer}.history-table tr:hover{background:#fff9dc}.history-badge{color:#b74242;background:#ffe5e1;border-radius:999px;padding:5px 9px}.history-badge.ok{color:#087c52;background:#e3f7ec}.history-badge.pipeline{color:#805e00;background:#fff3c4}@media (max-width:1100px){.history-visual-grid{grid-template-columns:1fr}.history-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.history-month-strip{grid-template-columns:repeat(3,1fr)}}@media (max-width:700px){.history-command,.history-controls{flex-direction:column;align-items:stretch}.history-controls>div{overflow-x:auto}.history-kpis,.history-month-strip{grid-template-columns:1fr 1fr}.history-command h2{font-size:23px}}
.churn-dashboard{gap:22px;display:grid}.churn-hero{background:linear-gradient(120deg,#fff8dc,#eefaf4);border:1px solid #e6d7aa;border-radius:26px;justify-content:space-between;align-items:center;gap:22px;padding:30px 36px;display:flex}.churn-hero h2{margin:5px 0;font-size:clamp(30px,4vw,48px)}.churn-hero p{color:#66716c}.churn-hero label{background:#fff;border:1px solid #dfd5b8;border-radius:18px;padding:13px 16px;font-weight:800}.churn-hero input{color:#087a52;border:0;width:72px;margin-left:12px;font-size:22px;font-weight:900}.churn-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;display:grid}.churn-kpis button,.churn-card{background:#fff;border:1px solid #e6dcc1;border-radius:20px}.churn-kpis button{text-align:left;cursor:pointer;gap:7px;padding:18px;display:grid}.churn-kpis small{color:#68736f;text-transform:uppercase;font-weight:800}.churn-kpis b{color:#0b7c52;font-size:30px}.churn-kpis b.bad{color:#d94d4d}.churn-kpis b.warn{color:#db8a17}.churn-kpis em{color:#737d78;font-style:normal}.churn-grid{grid-template-columns:1.5fr 1fr;gap:18px;display:grid}.churn-card{padding:24px}.churn-card header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.churn-card h3{margin:4px 0;font-size:24px}.churn-chart{align-items:end;gap:16px;height:250px;padding-top:24px;display:flex}.churn-chart>div{text-align:center;flex:1;grid-template-rows:1fr auto auto;gap:6px;height:100%;display:grid}.churn-chart span{border-bottom:1px solid #dfe6e2;justify-content:center;align-items:end;display:flex}.churn-chart i{background:#0aaa69;border-radius:9px 9px 0 0;width:min(56px,70%);min-height:5px}.churn-chart i.warn{background:#f2a23d}.churn-chart i.grave{background:#ee6262}.churn-priority{gap:12px;padding-left:25px;display:grid}.churn-priority button{text-align:left;cursor:pointer;background:#f5f8f6;border:0;border-radius:14px;justify-content:space-between;width:100%;padding:14px;display:flex}.churn-priority span{display:grid}.churn-priority strong{color:#d84c4c;font-size:24px}.churn-card tbody tr{cursor:pointer}.churn-card tbody tr:hover{background:#f2faf6}.risk{border-radius:999px;padding:5px 9px;font-weight:800;display:inline-block}.risk.ok{color:#087a52;background:#dff5e8}.risk.attenzione{color:#8a6500;background:#fff3c7}.risk.critico{color:#a65300;background:#ffe1bd}.risk.grave{color:#b52828;background:#ffe0e0}.churn-note{background:#fff8d9;border-left:5px solid #ffcf00;border-radius:10px;gap:14px;padding:16px 20px;display:flex}.churn-modal{background:#fff;border-radius:24px;width:calc(100% - 30px);max-width:700px;padding:28px;position:relative}.churn-modal>button{background:0 0;border:0;font-size:30px;position:absolute;top:14px;right:18px}.churn-modal>div{grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0;display:grid}.churn-modal article{background:#f3f8f5;border-radius:14px;padding:14px;display:grid}.churn-modal article b{font-size:24px}@media (max-width:1100px){.churn-kpis{grid-template-columns:repeat(2,1fr)}.churn-grid{grid-template-columns:1fr}}@media (max-width:650px){.churn-hero{flex-direction:column;align-items:flex-start}.churn-kpis{grid-template-columns:1fr}.churn-modal>div{grid-template-columns:repeat(2,1fr)}}
.in-archive{gap:22px;display:grid}.in-hero,.in-card,.in-note{background:#fff;border:1px solid #eadfbd;border-radius:22px}.in-hero{background:linear-gradient(135deg,#fffdf5,#eaf9f2);justify-content:space-between;align-items:center;padding:30px 38px;display:flex}.in-hero h2{margin:8px 0;font-size:34px}.in-hero p{color:#68736d;max-width:850px;line-height:1.5}.in-hero>strong{color:#007b4d;white-space:nowrap;background:#dff5e9;border-radius:999px;padding:16px 22px}.in-kpis{grid-template-columns:repeat(4,1fr);gap:14px;display:grid}.in-kpis article{background:#fff;border:1px solid #eadfbd;border-top:5px solid #00a368;border-radius:18px;padding:22px}.in-kpis small,.in-kpis b,.in-kpis em{display:block}.in-kpis small{color:#68736d;text-transform:uppercase;font-weight:800}.in-kpis b{margin:10px 0;font-size:28px}.in-kpis em{color:#7b817e;font-style:normal}.in-card{padding:24px}.in-card header{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.in-card h3{margin:6px 0;font-size:24px}.in-card table{border-collapse:collapse;width:100%;min-width:1100px}.in-card th,.in-card td{text-align:left;vertical-align:top;border-bottom:1px solid #eee3c8;padding:14px 10px}.in-card th{color:#68736d;text-transform:uppercase;font-size:11px}.in-card td>b,.in-card td>small{display:block}.in-card td>b,.in-card td>button{font-variant-numeric:tabular-nums}.in-card td>button{white-space:nowrap}.in-card td>small{color:#5f6863;overflow-wrap:anywhere;max-width:260px;margin-top:6px;line-height:1.35}.in-card button{color:#006f49;text-align:left;cursor:pointer;background:0 0;border:0;padding:0;font-weight:700}.in-card button small,.in-status small{color:#767d79;white-space:normal;max-width:240px;margin-top:4px;font-weight:400;display:block}.in-pill,.in-status{color:#805b00;background:#fff1d1;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800;display:inline-block}.in-pill.ok,.in-status.ok{color:#00794d;background:#e2f6eb}.in-status.check{border-radius:10px}.in-status small{max-width:230px}.negative{color:#d44848;font-weight:800}.in-note{background:#fff9df;gap:18px;padding:18px 24px;display:flex}.in-empty{background:#fff;border-radius:18px;padding:25px}@media (max-width:1000px){.in-kpis{grid-template-columns:1fr 1fr}.in-hero{align-items:flex-start;gap:20px}.in-hero>strong{white-space:normal}}@media (max-width:700px){.in-kpis{grid-template-columns:1fr}.in-hero{padding:24px;display:block}.in-hero>strong{margin-top:12px;display:inline-block}.in-note{display:block}.in-note span{margin-top:8px;display:block}}.trend{border-radius:999px;width:max-content;padding:3px 7px;margin-top:6px!important;font-size:10px!important;font-weight:900!important;display:inline-flex!important}.trend.up{background:#dcf7e8;color:#008653!important}.trend.down{background:#ffe1df;color:#c93737!important}.trend.stable{background:#fff0bd;color:#876500!important}.in-trend-chart{border-bottom:1px solid #eadfbd;align-items:flex-end;gap:22px;height:240px;padding:18px 12px 0;display:flex}.in-trend-month{text-align:center;grid-template-rows:1fr auto auto;gap:6px;min-width:90px;height:100%;display:grid}.in-trend-bars{justify-content:center;align-items:flex-end;gap:8px;min-height:150px;display:flex}.in-trend-bars i{border-radius:8px 8px 2px 2px;width:22px;min-height:3px}.in-trend-bars .due{background:#00a368}.in-trend-bars .recognized{background:#ffd000}.in-trend-month>b{font-variant-numeric:tabular-nums}.in-trend-month>small{color:#68736d;text-transform:capitalize}
.sidebar-toggle{z-index:20;color:#008f5c;cursor:pointer;background:#fffdf6;border:1px solid #dfd5b8;border-radius:0 12px 12px 0;width:34px;height:42px;font-size:28px;line-height:1;position:absolute;top:112px;right:-17px;box-shadow:4px 3px 12px #3a30121a}.sidebar-toggle:hover{background:#fff3bf}.app-shell.sidebar-collapsed{grid-template-columns:76px minmax(0,1fr)}.sidebar-collapsed .sidebar{padding-left:10px;padding-right:10px}.sidebar-collapsed .brand{padding-left:4px}.sidebar-collapsed .brand div,.sidebar-collapsed .sidebar nav a span,.sidebar-collapsed .sidebar nav button span,.sidebar-collapsed .side-bottom span{display:none}.sidebar-collapsed .sidebar nav a,.sidebar-collapsed .sidebar nav button,.sidebar-collapsed .side-bottom a{justify-content:center;padding-left:8px;padding-right:8px}.sidebar-collapsed .brand-mark{flex:0 0 38px}.sidebar-collapsed .sidebar-toggle{right:-17px}.sidebar,.workspace{transition:padding .2s}.app-shell{transition:grid-template-columns .22s}@media (max-width:700px){.sidebar-toggle{display:none}.app-shell.sidebar-collapsed{grid-template-columns:1fr}.sidebar-collapsed .brand div{display:block}.sidebar-collapsed .sidebar nav a span{display:inline}}html,body{max-width:100%;overflow-x:hidden}.app-shell{width:100%;max-width:100vw}.workspace{width:100%;min-width:0;max-width:100%;overflow-x:clip}.workspace>*{width:min(100%,1600px);max-width:1600px;margin-left:auto;margin-right:auto}.topbar{grid-template-columns:minmax(250px,1fr) minmax(0,auto);gap:22px;display:grid}.top-actions{flex-wrap:wrap;justify-content:flex-end;min-width:0;max-width:100%}.mode-switch{flex-wrap:wrap;justify-content:center;min-width:0;max-width:100%}.history-dashboard,.history-head,.history-kpis,.history-chart-card,.history-table,.company-space,.solar-dashboard,.in-archive,.churn-dashboard{min-width:0;max-width:100%}.history-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.history-kpis button{min-width:0;overflow:hidden}.history-head{overflow:hidden}.history-head>div{min-width:0}.history-head>b{flex:none}@media (max-width:1350px){.topbar{grid-template-columns:1fr}.top-actions{justify-content:flex-start}.history-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:700px){.workspace>*{width:100%}.history-kpis{grid-template-columns:1fr}.topbar{display:flex}.top-actions{width:100%}}
:root{--focus:#006f48;--surface-raised:0 10px 28px #12372614}button,a,input,select,textarea{outline:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid color-mix(in srgb,var(--focus) 35%,transparent);outline-offset:2px}button:not(:disabled),a[href]{-webkit-tap-highlight-color:transparent}.button,.mode-switch button,.link-action,.edit-button,.filter,.task button,.task>a,.primary-wide,.next-action a{transition:transform .16s,box-shadow .16s,background-color .16s,border-color .16s}.button:not(:disabled):hover,.primary-wide:hover,.next-action a:hover{box-shadow:var(--surface-raised);transform:translateY(-1px)}.button:disabled,button:disabled{cursor:not-allowed}.mode-switch button{cursor:pointer;min-height:44px}.mode-switch button:not(.active):hover{background:#009b6214}.lead-workspace-link{color:#006f48;background:#f2fbf6;border:1px solid #9bd2b8;border-radius:11px;align-items:center;gap:13px;min-height:50px;padding:7px 12px 7px 14px;transition:transform .16s,box-shadow .16s,border-color .16s;display:flex;box-shadow:0 2px 8px #007e500f}.lead-workspace-link span,.lead-workspace-link strong,.lead-workspace-link small{display:block}.lead-workspace-link strong{font-size:12px;line-height:1.2}.lead-workspace-link small{color:#5a7568;white-space:nowrap;margin-top:2px;font-size:9px;font-weight:650}.lead-workspace-link b{color:#fff;background:#009b62;border-radius:8px;place-items:center;width:27px;height:27px;font-size:14px;display:grid}.lead-workspace-link:hover,.lead-workspace-link:focus-visible{border-color:#009b62;transform:translateY(-1px);box-shadow:0 8px 20px #007e501f}.section-loading{border:1px solid var(--border);min-height:150px;color:var(--muted);background:linear-gradient(110deg,#fff 20%,#f3faf6 50%,#fff 80%) 0 0/220% 100%;border-radius:16px;justify-content:center;align-items:center;gap:16px;padding:28px;animation:1.8s ease-in-out infinite crm-loading-sheen;display:flex}.section-loading>span{border:4px solid #d9eee4;border-top-color:var(--green);border-radius:50%;flex:0 0 34px;width:34px;height:34px;animation:.8s linear infinite crm-spin}.section-loading strong,.section-loading small{display:block}.section-loading strong{color:var(--text);margin-bottom:4px;font-size:15px}.section-loading small{font-size:12px;line-height:1.45}.dashboard-toolbar{z-index:6;border:1px solid var(--border);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;border-radius:12px;padding:10px;position:sticky;top:0}.dashboard-table{scrollbar-gutter:stable;overscroll-behavior:contain;box-shadow:inset 0 -1px var(--border)}.dashboard-table th{z-index:3;box-shadow:0 1px 0 var(--border)}.dashboard-table tbody tr{transition:background-color .12s}.dashboard-table tbody tr:hover,.clean-table tbody tr:hover{background:#f5fbf8}.dashboard-table td,.clean-table td,.kpi strong,[class*=amount],[class*=metric]{font-variant-numeric:tabular-nums}.kpi[role=button],article[role=button],button.kpi{cursor:pointer}.kpi[role=button]:hover,article[role=button]:hover,button.kpi:hover{box-shadow:var(--surface-raised);border-color:#9fd8bf;transform:translateY(-1px)}.alert[role=status],.alert[role=alert]{line-height:1.45}@keyframes crm-spin{to{transform:rotate(360deg)}}@keyframes crm-loading-sheen{50%{background-position:100% 0}}@media (max-width:900px){.topbar{align-items:flex-start;gap:14px}.top-actions{flex-wrap:wrap;justify-content:flex-end}.mode-switch{scrollbar-width:thin;max-width:100%;overflow-x:auto}.lead-workspace-link{order:2}.dashboard-toolbar{position:static}}@media (max-width:700px){.topbar{gap:14px;display:grid}.top-actions{justify-content:flex-start;width:100%}.mode-switch{width:100%;padding-bottom:3px;display:flex}.mode-switch button{flex:none;min-height:46px}.lead-workspace-link,.period{min-height:46px}.section-loading{justify-content:flex-start;min-height:130px}.dashboard-table{max-height:68vh}.dashboard-table th,.dashboard-table td{padding:11px 10px}.kpi-grid{grid-template-columns:1fr}.workspace{overflow-x:hidden}}.session-user{align-items:center;gap:9px;display:flex}.logout-button{color:#26342d;cursor:pointer;background:#fffdf3;border:1px solid #d8c66d;border-radius:9px;min-height:38px;padding:0 13px;font-weight:750}.logout-button:hover,.logout-button:focus-visible{color:#007e50;background:#f1faf6;border-color:#009b62}.logout-button:disabled{opacity:.65;cursor:wait}.session-warning{z-index:120;background:#fff9d8;border:1px solid #e4bd18;border-radius:14px;grid-template-columns:1fr auto auto;align-items:center;gap:12px;width:min(470px,100vw - 32px);padding:17px 18px;display:grid;position:fixed;top:22px;right:22px;box-shadow:0 18px 54px #21292433}.session-warning strong{font-size:15px}.session-warning p{color:#625b3a;margin:4px 0 0;font-size:12px;line-height:1.4}.session-warning button{color:#fff;cursor:pointer;white-space:nowrap;background:#009b62;border:0;border-radius:8px;padding:10px 12px;font-weight:750}.session-warning button.secondary{color:#50491f;background:#fff;border:1px solid #c9b652}@media (max-width:700px){.session-user{margin-left:auto}.session-user .avatar,.session-user .user{display:none}.logout-button{min-height:46px}.session-warning{grid-template-columns:1fr 1fr;top:auto;bottom:16px;right:16px}.session-warning>div{grid-column:1/-1}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.section-loading,.section-loading>span,.button,.mode-switch button,.kpi,.dashboard-table tbody tr{transition:none!important;animation:none!important}}body{text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;line-height:1.5}p,li,label,input,select,textarea,button{font-size:max(.875rem,1em)}.helper,.dashboard-summary,.company-message,.panel-subtitle{font-size:.8125rem;line-height:1.5}.clean-table th,.clean-table td,.dashboard-table th,.dashboard-table td,.company-table th,.company-table td{font-size:.75rem;line-height:1.45}.company-kpis .company-metric,.company-mix-grid .company-metric,.funnel-step,.trend-cards>button{transition:transform .16s,box-shadow .16s,border-color .16s,background-color .16s}.company-kpis .company-metric:focus-visible,.company-mix-grid .company-metric:focus-visible,.funnel-step:focus-visible,.trend-cards>button:focus-visible{z-index:2;position:relative}input,select,textarea{min-height:42px}textarea{line-height:1.5}@media (max-width:700px){.sidebar{z-index:40;width:auto;height:auto;position:sticky;top:0}.workspace{margin-left:0}.sidebar nav{scrollbar-width:thin;overscroll-behavior-x:contain}.sidebar nav a,.sidebar nav button{min-width:48px;min-height:48px}.company-kpis{grid-template-columns:1fr}.company-kpis .company-metric{min-height:116px}.topbar h1{font-size:1.5rem;line-height:1.2}.topbar p{font-size:.875rem}.mode-switch{scroll-snap-type:x proximity;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto}.mode-switch button{scroll-snap-align:start}}@media (prefers-contrast:more){:root{--border:#aebbb4;--muted:#46544d}.panel,.kpi,.company-kpis .company-metric,.dashboard-table{box-shadow:none}}.decision-cockpit{background:linear-gradient(145deg,#fff 0%,#f8fbf8 100%);border-color:#135b3f29;overflow:hidden}.decision-period{color:#315b49;white-space:nowrap;background:#fff;border:1px solid #135b3f29;border-radius:999px;align-self:flex-start;padding:.42rem .7rem;font-size:.78rem;font-weight:750}.decision-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin-top:1rem;display:grid}.decision-kpi{text-align:left;color:#173e2e;cursor:pointer;background:#fff;border:1px solid #dde7e1;border-radius:18px;min-width:0;min-height:142px;padding:1rem;transition:transform .18s,border-color .18s,box-shadow .18s;position:relative;box-shadow:0 8px 22px #1849330e}.decision-kpi:hover{border-color:#9ab9aa;transform:translateY(-2px);box-shadow:0 12px 28px #1849331a}.decision-kpi>span{justify-content:space-between;align-items:flex-start;gap:.65rem;display:flex}.decision-kpi small{letter-spacing:.035em;text-transform:uppercase;color:#516d60;font-size:.75rem;font-weight:800}.decision-kpi em{border-radius:999px;flex:none;padding:.22rem .45rem;font-size:.76rem;font-style:normal;font-weight:800}.decision-kpi strong{overflow-wrap:anywhere;margin-top:.82rem;font-size:clamp(1.45rem,2.5vw,2.15rem);line-height:1.05;display:block}.decision-kpi p{color:#61756b;margin:.45rem 0 0;font-size:.82rem;line-height:1.35}.decision-positive{border-top:4px solid #15805a}.decision-positive em{color:#09613f;background:#e8f6ef}.decision-negative{border-top:4px solid #c83e48}.decision-negative em{color:#a32430;background:#fff0f1}.decision-attention{border-top:4px solid #d9861c}.decision-attention em{color:#9a5700;background:#fff5e6}.decision-neutral{border-top:4px solid #6f8178}.decision-neutral em{color:#4e6157;background:#eef2f0}.decision-insights{color:#fff;background:#153e2e;border-radius:16px;grid-template-columns:minmax(170px,.35fr) minmax(0,1fr);gap:1rem;margin-top:.9rem;padding:1rem 1.05rem;display:grid}.decision-insights>strong{font-size:.9rem;line-height:1.35}.decision-insights ul{gap:.38rem;margin:0;padding-left:1.15rem;display:grid}.decision-insights li,.decision-insights p{color:#e8f1ec;margin:0;font-size:.84rem;line-height:1.45}@media (max-width:900px){.decision-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:620px){.decision-kpi-grid{grid-template-columns:1fr}.decision-kpi{min-height:124px}.decision-insights{grid-template-columns:1fr}.decision-period{display:none}}@media (prefers-reduced-motion:reduce){.decision-kpi{transition:none}.decision-kpi:hover{transform:none}}@media (forced-colors:active){.decision-kpi{border:2px solid buttontext}.decision-positive,.decision-negative,.decision-attention,.decision-neutral{border-top-width:5px}}.section-directional-summary{margin:1rem 0}.production-directional,.solar-directional{margin:1rem 0 1.15rem}.history-decision{margin:.85rem 0 1rem}.autonomous-product-panel{background:linear-gradient(145deg,#fff,#fbfcf7)}.autonomous-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;margin-top:1rem;display:grid}.autonomous-product-card{background:#fff;border:1px solid #dfe8e2;border-radius:18px;padding:1rem;box-shadow:0 8px 22px #1849330d}.autonomous-product-card header,.autonomous-product-card footer{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.autonomous-product-card header>strong{color:#173e2e;font-size:1.05rem}.autonomous-product-card header button{color:#08704b;cursor:pointer;background:0 0;border:0;font-weight:750}.autonomous-product-card>div{grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;margin:1rem 0;display:grid}.autonomous-product-card>div span{background:#f4f8f5;border-radius:12px;min-width:0;padding:.65rem}.autonomous-product-card small{color:#64796e;font-size:.7rem;display:block}.autonomous-product-card b{color:#173e2e;margin-top:.25rem;display:block}.autonomous-product-card footer{color:#50685c;border-top:1px solid #e6ece8;padding-top:.75rem}.autonomous-product-card footer strong{color:#173e2e}@media (max-width:760px){.autonomous-product-grid{grid-template-columns:1fr}.autonomous-product-card>div{grid-template-columns:repeat(2,minmax(0,1fr))}}.site-leads-directional{margin:1rem 0 1.15rem}.company-sales-areas{scroll-margin-top:1rem}.area-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:1rem 0;display:grid}.area-table td:first-child{color:#718078;font-weight:700}.area-table td:nth-child(2){z-index:1;background:#fff;position:sticky;left:0}#company-agent-performance,#company-commercial-funnel{scroll-margin-top:1rem}#company-agent-performance .company-table th,#company-agent-performance .company-table td{white-space:nowrap}@media (max-width:900px){.area-summary{grid-template-columns:1fr}.company-sales-areas .panel-title{align-items:flex-start}}
.app-shell-v3,.app-shell-v3 .workspace,.app-shell-v3 .company-in-area,.app-shell-v3 .in-archive,.app-shell-v3 .reconciliation-section,.app-shell-v3 .sales-dashboard,.app-shell-v3 .in-card,.app-shell-v3 .in-hero,.app-shell-v3 .in-kpis,.app-shell-v3 .in-kpis>article{min-width:0;max-width:100%}.app-shell-v3 .workspace{overflow-x:clip}.app-shell-v3 .in-hero{flex-wrap:wrap;gap:18px}.app-shell-v3 .in-hero>div{flex:560px;min-width:0}.app-shell-v3 .in-hero>strong{white-space:normal;overflow-wrap:anywhere;max-width:100%}.app-shell-v3 .in-kpis{grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr))}.app-shell-v3 .in-kpis small,.app-shell-v3 .in-kpis b,.app-shell-v3 .in-kpis em{overflow-wrap:anywhere}.app-shell-v3 .table-wrap{overscroll-behavior-inline:contain;width:100%;max-width:100%;overflow-x:auto}.app-shell-v3 .reconciliation-economic-clear>header{flex-wrap:wrap}.app-shell-v3 .economic-month-equation,.app-shell-v3 .economic-history-equation{grid-template-columns:repeat(3,minmax(min(210px,100%),1fr))}.app-shell-v3 .economic-month-equation>b,.app-shell-v3 .economic-history-equation>b{display:none}@media (max-width:1250px){.app-shell-v3 .in-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell-v3 .economic-month-equation,.app-shell-v3 .economic-history-equation{grid-template-columns:1fr}}@media (max-width:760px){.app-shell-v3 .in-kpis{grid-template-columns:1fr}.app-shell-v3 .in-hero{padding:22px}}.system-health-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0 18px;display:grid}.system-health-grid article{background:#fafcfb;border:1px solid #dfe7e3;border-left:4px solid #85928c;border-radius:11px;gap:5px;min-width:0;padding:14px 15px;display:grid}.system-health-grid article.ok{background:#f5fbf8;border-left-color:#07945d}.system-health-grid article.warning{background:#fffaf0;border-left-color:#d8a419}.system-health-grid article.blocked{background:#fff8f7;border-left-color:#dc5b56}.system-health-grid small{color:#68736d;letter-spacing:.065em;font-size:10px;font-weight:850}.system-health-grid b{color:#173a2f;font-size:18px}.system-health-grid span{color:#68736d;font-size:12px;line-height:1.4}@media (max-width:1050px){.system-health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:620px){.system-health-grid{grid-template-columns:1fr}}
:root{--app-bg:#f3f6f4;--app-surface:#fff;--app-surface-soft:#f7f9f8;--app-ink:#17251f;--app-muted:#66736d;--app-line:#dfe6e2;--app-green:#008f59;--app-green-dark:#006f45;--app-green-soft:#eaf7f1;--app-yellow:#ffd21c;--app-yellow-soft:#fff7d2;--app-red:#c83e48;--app-orange:#d98216;--app-radius:12px;--app-shadow:0 2px 10px #102b230d}html{font-family:var(--font-app),Arial,sans-serif}body{background:var(--app-bg);color:var(--app-ink);font-family:var(--font-app),Arial,sans-serif}.app-shell-v3{background:var(--app-bg);min-height:100vh;color:var(--app-ink);font-family:var(--font-app),Arial,sans-serif;grid-template-columns:248px minmax(0,1fr)}.app-shell-v3 .secondary-nav{display:none!important}.app-shell-v3 .sidebar{color:#fff;box-shadow:none;background:linear-gradient(#008f59,#007b4d);border:0;padding:20px 14px 16px}.app-shell-v3 .brand{border-bottom:1px solid #fff3;justify-content:center;align-items:center;min-height:78px;margin:0 4px 14px;padding:13px 10px 20px;display:flex}.app-shell-v3 .brand img{object-fit:contain;width:min(205px,100%);height:auto;display:block}.app-shell-v3 .primary-nav{gap:4px;margin:0;display:grid}.app-shell-v3 .primary-nav button{color:#ffffffe0;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:11px;width:100%;min-height:48px;padding:10px 13px;font-size:15px;font-weight:650;display:grid}.app-shell-v3 .primary-nav button:hover{color:#fff;background:#ffffff1a}.app-shell-v3 .primary-nav button.active{color:var(--app-green-dark);box-shadow:none;background:#fff}.app-shell-v3 .primary-nav button em{background:var(--app-yellow);color:#3c3300;letter-spacing:.04em;text-transform:uppercase;border-radius:99px;padding:3px 6px;font-size:8px;font-style:normal;font-weight:850}.nav-icon{flex:none;width:20px;height:20px;display:block}.app-shell-v3 .side-bottom{border-color:#ffffff2e;gap:3px}.app-shell-v3 .side-bottom a,.app-shell-v3 .side-bottom button{color:#ffffffd6;border-radius:8px;align-items:center;gap:11px;min-height:42px;padding:8px 12px;font-size:13px;display:flex}.app-shell-v3 .side-bottom a:hover,.app-shell-v3 .side-bottom button:hover{color:#fff;background:#ffffff1a}.app-shell-v3 .lead-workspace-link{box-shadow:none;background:#ffffff14;border-color:#ffffff3d}.app-shell-v3 .lead-workspace-link b{background:var(--app-yellow);color:#3c3300}.app-shell-v3 .sidebar-toggle{border-color:var(--app-line);width:28px;height:38px;color:var(--app-green-dark);box-shadow:var(--app-shadow);background:#fff;border-radius:0 9px 9px 0;top:102px;right:-14px}.app-shell-v3 .workspace{background:var(--app-bg);min-width:0;max-width:none;padding:0 26px 36px;overflow-x:clip}.app-shell-v3 .compact-topbar{z-index:20;border:0;border-bottom:1px solid var(--app-line);min-height:88px;box-shadow:none;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff5;border-radius:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;margin:0 -26px 16px;padding:15px 26px;display:grid;position:sticky;top:0}.app-shell-v3 .page-identity{min-width:0}.breadcrumbs{color:#849089;align-items:center;gap:7px;margin-bottom:3px;font-size:11px;display:flex}.breadcrumbs i{color:#bbc3bf;font-style:normal}.breadcrumbs strong{color:#506159}.app-shell-v3 .compact-topbar h1{color:var(--app-ink);letter-spacing:-.025em;margin:0;font-size:28px;font-weight:700;line-height:1.05}.app-shell-v3 .compact-topbar p{color:var(--app-muted);margin:4px 0 0;font-size:13px}.app-shell-v3 .compact-topbar .top-actions{flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.app-shell-v3 .period,.app-shell-v3 .session-menu>button{border-color:var(--app-line);min-height:40px;box-shadow:none;background:#fff}.app-shell-v3 .workspace-tabs,.app-shell-v3 .in-area-switch{border:1px solid var(--app-line);max-width:100%;box-shadow:none;background:#fff;border-radius:10px;gap:3px;margin:0 0 14px;padding:4px;display:flex;position:static;overflow-x:auto}.app-shell-v3 .workspace-tabs button,.app-shell-v3 .in-area-switch button{color:#5d6963;white-space:nowrap;border-radius:7px;min-height:38px;padding:7px 15px;font-size:13px}.app-shell-v3 .workspace-tabs button.active,.app-shell-v3 .in-area-switch button.active{background:var(--app-green);color:#fff;box-shadow:none}.app-shell-v3 .panel,.app-shell-v3 .card,.app-shell-v3 .sales-card,.app-shell-v3 .reconciliation-section,.app-shell-v3 .company-grid>section,.app-shell-v3 .in-card,.app-shell-v3 .in-note{border-color:var(--app-line);border-radius:var(--app-radius);background:var(--app-surface);box-shadow:var(--app-shadow)}.app-shell-v3 .section-heading{align-items:center;margin:0 0 12px;padding:0 2px}.app-shell-v3 .section-heading h2{color:var(--app-ink);margin:2px 0;font-size:21px}.app-shell-v3 .section-heading p{max-width:720px;color:var(--app-muted);margin:3px 0 0;font-size:13px}.app-shell-v3 .eyebrow{color:var(--app-green);letter-spacing:.07em;font-size:10px}.app-shell-v3 .sales-hero,.app-shell-v3 .in-hero{border:0;border-left:5px solid var(--app-yellow);border-radius:var(--app-radius);color:#fff;box-shadow:none;background:linear-gradient(120deg,#075c3f,#08784f);padding:20px 22px;position:relative;overflow:hidden}.app-shell-v3 .sales-hero:after,.app-shell-v3 .in-hero:after{display:none}.app-shell-v3 .sales-hero h2,.app-shell-v3 .sales-hero h3,.app-shell-v3 .in-hero h2,.app-shell-v3 .in-hero h3{color:#fff}.app-shell-v3 .sales-hero p,.app-shell-v3 .in-hero p{color:#ffffffc7}.app-shell-v3 .sales-hero .eyebrow,.app-shell-v3 .in-hero .eyebrow{color:#ffe66d}.app-shell-v3 .in-hero>strong{white-space:normal;overflow-wrap:anywhere;background:var(--app-yellow);color:#332c00;max-width:100%}.app-shell-v3 .kpi,.app-shell-v3 .sales-kpi,.app-shell-v3 .in-kpis article,.app-shell-v3 .commission-kpis article{border:1px solid var(--app-line);border-top:3px solid var(--app-green);min-height:96px;box-shadow:none;background:#fff;border-radius:10px}.app-shell-v3 .kpi:hover,.app-shell-v3 .sales-kpi:hover{border-color:#bed8cb;transform:none;box-shadow:0 3px 12px #102b2312}.app-shell-v3 .rich-kpi-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.app-shell-v3 .rich-kpi-grid .sales-kpi{padding:14px}.app-shell-v3 .rich-kpi-grid .sales-kpi>i{background:var(--app-green-soft);width:27px;height:27px;color:var(--app-green-dark);border-radius:7px;place-items:center;display:grid;position:absolute;top:11px;right:12px}.sales-kpi>i svg{width:20px;height:20px;display:block}.app-shell-v3 .rich-kpi-grid .sales-kpi.warning>i{background:var(--app-yellow-soft);color:#765d00}.app-shell-v3 .rich-kpi-grid .sales-kpi.danger>i{color:var(--app-red);background:#fff0f1}.app-shell-v3 .button:not(.secondary),.app-shell-v3 .primary-wide,.app-shell-v3 .next-action a{border-color:var(--app-green);background:var(--app-green);color:#fff;box-shadow:none;border-radius:8px}.app-shell-v3 .button:not(.secondary):hover,.app-shell-v3 .primary-wide:hover,.app-shell-v3 .next-action a:hover{background:var(--app-green-dark);filter:none;transform:none}.app-shell-v3 .button.secondary{color:#355047;box-shadow:none;background:#fff;border-color:#b9ccc2;border-radius:8px}.app-shell-v3 .button.secondary:hover{border-color:var(--app-green);background:var(--app-green-soft)}.app-shell-v3 input,.app-shell-v3 select,.app-shell-v3 textarea{background:#fff;border-color:#cfd9d4;border-radius:8px}.app-shell-v3 input:focus,.app-shell-v3 select:focus,.app-shell-v3 textarea:focus{border-color:var(--app-green);box-shadow:0 0 0 3px #008f591f}.app-shell-v3 .dashboard-toolbar,.app-shell-v3 .sales-practices-toolbar{border:1px solid var(--app-line);box-shadow:none;background:#fff;border-radius:10px;padding:10px;position:static}.app-shell-v3 .table-wrap,.app-shell-v3 .analytics-table,.app-shell-v3 .dashboard-table{overscroll-behavior:contain;border-radius:9px;width:100%;max-width:100%;overflow:auto}.app-shell-v3 table{font-variant-numeric:tabular-nums;font-size:12px}.app-shell-v3 table th{z-index:2;border-color:var(--app-line);background:var(--app-surface-soft);color:#52615a;letter-spacing:.025em;padding:9px 10px;font-size:10px;position:sticky;top:0}.app-shell-v3 table td{border-color:var(--app-line);padding:9px 10px}.app-shell-v3 table tbody tr:hover{background:#f5faf7}.app-shell-v3 .pill.orange,.app-shell-v3 .alert.warning{background:var(--app-yellow-soft);color:#705700;border-color:#ead480}.app-shell-v3 .pill.blue,.app-shell-v3 .in-pill.ok,.app-shell-v3 .economic-state.ok{background:var(--app-green-soft);color:var(--app-green-dark);border-color:#c9e5d7}.app-shell-v3 .pill.red,.app-shell-v3 .alert.danger{color:#9d2731;background:#fff0f1;border-color:#f0c4c8}.overview-skeleton{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 14px;display:grid}.overview-skeleton span{background:linear-gradient(90deg,#fff 20%,#edf2ef 45%,#fff 70%) 0 0/220% 100%;border-radius:10px;height:96px;animation:1.25s ease-in-out infinite overview-pulse}@keyframes overview-pulse{to{background-position:-220% 0}}.section-loading{border-color:var(--app-line);border-radius:var(--app-radius);min-height:120px}.app-shell-v3 .resolution-drawer{width:min(620px,94vw);padding-bottom:82px;box-shadow:-18px 0 48px #102b232e}.app-shell-v3 .drawer-head{z-index:3;background:#fff;position:sticky;top:0}.app-shell-v3 .drawer-actions{z-index:4;border-top:1px solid var(--app-line);background:#fffffffa;width:min(620px,94vw);padding:13px 22px;position:fixed;bottom:0;right:0;box-shadow:0 -6px 20px #102b2312}.sidebar-collapsed.app-shell-v3{grid-template-columns:76px minmax(0,1fr)}.sidebar-collapsed.app-shell-v3 .primary-nav button em{display:none}@media (max-width:1400px){.app-shell-v3 .rich-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:1100px){.app-shell-v3{grid-template-columns:210px minmax(0,1fr)}.app-shell-v3 .compact-topbar{grid-template-columns:1fr;align-items:start}.app-shell-v3 .compact-topbar .top-actions{flex-wrap:wrap;justify-content:flex-start}}@media (max-width:760px){.app-shell-v3{grid-template-columns:1fr}.app-shell-v3 .sidebar{width:100%;height:auto;padding:10px 12px;position:relative}.app-shell-v3 .brand{border:0;min-height:auto;margin:0 0 8px;padding:8px}.app-shell-v3 .brand img{width:165px}.app-shell-v3 .primary-nav{grid-template-columns:repeat(4,minmax(78px,1fr));display:grid;overflow-x:auto}.app-shell-v3 .primary-nav button{justify-content:center;min-height:46px;padding:7px;font-size:11px;display:flex}.app-shell-v3 .primary-nav button .nav-icon,.app-shell-v3 .primary-nav button em,.app-shell-v3 .side-bottom{display:none}.app-shell-v3 .workspace{padding:0 12px 26px}.app-shell-v3 .compact-topbar{margin:0 -12px 12px;padding:14px 12px;position:relative}.app-shell-v3 .compact-topbar h1{font-size:24px}.app-shell-v3 .compact-topbar .top-actions{width:100%}.app-shell-v3 .rich-kpi-grid{grid-template-columns:1fr 1fr}.app-shell-v3 .resolution-drawer,.app-shell-v3 .drawer-actions{width:100vw}.overview-skeleton{grid-template-columns:1fr}.overview-skeleton span{height:82px}}@media (max-width:480px){.app-shell-v3 .rich-kpi-grid{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.overview-skeleton span{animation:none}}
.app-shell-v3,.app-shell-v3 *{box-sizing:border-box}.app-shell-v3{width:100%;max-width:100vw;overflow-x:hidden}.app-shell-v3 .workspace,.app-shell-v3 .workspace>*,.app-shell-v3 .solar-dashboard,.app-shell-v3 .in-archive{width:100%;min-width:0}.app-shell-v3 .solar-hero{gap:20px;min-width:0;overflow:hidden}.app-shell-v3 .solar-hero>div{flex:520px;min-width:0}.app-shell-v3 .solar-hero>strong{white-space:normal;text-align:center;flex:0 auto}.app-shell-v3 .solar-filter-panel{min-width:0;overflow:hidden}.app-shell-v3 .solar-filter-panel .solar-filterbar{grid-template-columns:repeat(4,minmax(130px,1fr)) auto auto;align-items:end;width:100%;display:grid}.app-shell-v3 .solar-filter-panel .solar-filterbar label{min-width:0}.app-shell-v3 .solar-filter-panel .solar-filterbar .button{white-space:nowrap;min-height:42px}.app-shell-v3 .solar-filter-panel .solar-filterbar .link-action{grid-column:1/-1;justify-self:start}.app-shell-v3 .solar-kpi,.app-shell-v3 .solar-funnel button,.app-shell-v3 .solar-economic-grid button,.app-shell-v3 .solar-ranking button,.app-shell-v3 .solar-risk-grid button{min-width:0;transition:border-color .16s,background .16s,box-shadow .16s;position:relative}.app-shell-v3 .solar-kpi:hover,.app-shell-v3 .solar-funnel button:hover,.app-shell-v3 .solar-economic-grid button:hover,.app-shell-v3 .solar-ranking button:hover,.app-shell-v3 .solar-risk-grid button:hover{background:#f4fbf7;border-color:#81bfa2;box-shadow:0 3px 12px #006f4514}.app-shell-v3 .solar-kpi:focus-visible,.app-shell-v3 .solar-funnel button:focus-visible,.app-shell-v3 .solar-economic-grid button:focus-visible,.app-shell-v3 .solar-ranking button:focus-visible,.app-shell-v3 .solar-risk-grid button:focus-visible,.app-shell-v3 .in-card button:focus-visible{outline-offset:2px;outline:3px solid #008f5940}.app-shell-v3 .solar-kpi:after{content:"Apri pratiche →";color:#00754a;margin-top:12px;font-size:11px;font-weight:800;display:block}.app-shell-v3 .solar-modal{width:min(1180px,100vw - 32px);max-width:calc(100vw - 32px)}.app-shell-v3 .in-card{min-width:0;overflow:hidden}.app-shell-v3 .in-card>header{flex-wrap:wrap;align-items:flex-start;gap:12px 20px;display:flex}.app-shell-v3 .in-card>header>div:last-child{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.app-shell-v3 .in-card>header .button{white-space:nowrap;min-height:40px;padding:9px 13px}.app-shell-v3 .in-trend-chart{scrollbar-width:thin;grid-template-columns:repeat(12,minmax(64px,1fr));gap:8px;width:100%;height:250px;padding:18px 4px 0;display:grid;overflow-x:auto}.app-shell-v3 .in-trend-month{width:auto;min-width:0}.app-shell-v3 .in-trend-month>small{overflow-wrap:anywhere;font-size:11px;line-height:1.2}.app-shell-v3 .in-trend-bars{gap:5px}.app-shell-v3 .in-trend-bars i{width:min(18px,38%)}.app-shell-v3 .in-card td>button{text-underline-offset:2px;background:#edf8f2;border-radius:7px;padding:5px 7px;text-decoration:underline}.app-shell-v3 .in-card td>button:hover{color:#005f3c;background:#dff2e8}@media (max-width:1350px){.app-shell-v3 .solar-filter-panel .solar-filterbar{grid-template-columns:repeat(2,minmax(180px,1fr)) auto auto}.app-shell-v3 .in-trend-chart{grid-template-columns:repeat(12,minmax(74px,1fr))}}@media (max-width:900px){.app-shell-v3 .solar-filter-panel .solar-filterbar{grid-template-columns:1fr 1fr}.app-shell-v3 .solar-filter-panel .solar-filterbar .button{justify-content:center;width:100%}.app-shell-v3 .in-card>header>div:last-child{justify-content:flex-start;width:100%}}@media (max-width:600px){.app-shell-v3 .solar-filter-panel .solar-filterbar{grid-template-columns:1fr}.app-shell-v3 .solar-filter-panel .solar-filterbar .link-action{grid-column:auto}.app-shell-v3 .solar-hero{align-items:flex-start}.app-shell-v3 .solar-hero>strong{width:100%}}
.executive-dashboard{--e-bg:#fafaf7;--e-ink:#193029;--e-muted:#708078;--e-line:#e4ebe6;--e-green:#0a6d4a;--e-mint:#e9f5ee;--e-amber:#c98c35;--e-cream:#fff6e7;color:var(--e-ink);font-variant-numeric:tabular-nums;gap:20px;padding:4px 0 48px;display:grid}.executive-dashboard svg{width:18px;height:18px}.executive-status{border:1px solid var(--e-line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffd9;border-radius:14px;align-items:center;gap:7px;padding:9px 12px;display:flex;box-shadow:0 8px 28px #1e3e330a}.executive-status>div{color:var(--e-muted);align-items:center;gap:6px;padding:5px 9px;font-size:12px;display:flex}.executive-status strong{color:var(--e-ink)}.executive-status button{color:var(--e-green);cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;margin-left:auto;font-weight:700;display:flex}.status-dot{background:#a5b2ac;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #f1f4f2}.status-dot.ok{background:#4b9a6d;box-shadow:0 0 0 4px #e9f5ee}.status-dot.watch{background:#d39842;box-shadow:0 0 0 4px #fff4df}.executive-heading{justify-content:space-between;align-items:end;gap:20px;padding:8px 4px;display:flex}.executive-heading>div>span,.executive-card header span,.executive-brief span{color:var(--e-green);letter-spacing:.1em;font-size:10px;font-weight:800}.executive-heading h2{color:var(--e-ink)!important;letter-spacing:-.04em!important;margin:5px 0 3px!important;font-size:34px!important;font-weight:700!important}.executive-heading p{color:var(--e-muted);margin:0;font-size:14px}.executive-export{min-height:42px;color:var(--e-green);cursor:pointer;background:#fff;border:1px solid #cddbd3;border-radius:11px;align-items:center;gap:8px;padding:0 15px;font-weight:750;display:flex}.executive-brief{background:linear-gradient(120deg,#f1f8f4,#fff);border:1px solid #d6e7dc;border-radius:16px;grid-template-columns:42px 1fr;align-items:center;gap:15px;padding:18px 20px;display:grid;box-shadow:0 10px 30px #1e3e330a}.executive-brief>i{background:var(--e-green);color:#fff;border-radius:13px;place-items:center;width:42px;height:42px;display:grid}.executive-brief>div{gap:3px;display:grid}.executive-brief strong{font-size:15px;line-height:1.4}.executive-brief small{color:var(--e-muted);font-size:11px}.executive-notice{background:var(--e-cream);color:#79551d;border:1px solid #edd7b2;border-radius:12px;padding:13px 15px}.executive-filters{border:1px solid var(--e-line);background:#fff;border-radius:14px;align-items:end;gap:10px;padding:12px;display:flex}.executive-filters label{min-width:170px;color:var(--e-muted);text-transform:uppercase;gap:4px;font-size:10px;font-weight:800;display:grid}.executive-filters select{border:1px solid var(--e-line);background:#fbfcfa;border-radius:9px;min-height:38px;padding:7px 30px 7px 10px}.executive-filters button{min-height:38px;color:var(--e-green);cursor:pointer;background:0 0;border:0;margin-left:auto;font-weight:700}.executive-filters button:disabled{opacity:.35}.executive-data-note{color:var(--e-muted);justify-content:space-between;align-items:center;gap:12px;margin-top:-12px;padding:0 4px;font-size:11px;display:flex}.executive-data-note p{margin:0}.executive-data-note a{color:var(--e-green);font-weight:750;text-decoration:none}.executive-data-note a:hover{text-decoration:underline}.executive-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.executive-kpi{border:1px solid var(--e-line);background:#fff;border-radius:16px;gap:14px;min-height:154px;padding:19px;display:grid;box-shadow:0 10px 30px #1e3e330b}.executive-kpi>div,.executive-kpi footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.executive-kpi>div>span{color:var(--e-muted);text-transform:uppercase;font-size:11px;font-weight:750}.executive-kpi>div i{width:34px;height:34px;color:var(--e-green);background:#f2f5f3;border-radius:11px;place-items:center;display:grid}.executive-kpi>strong{letter-spacing:-.045em;font-size:34px;line-height:1}.executive-kpi footer small{color:var(--e-muted);font-size:12px}.executive-kpi footer b,.executive-card header>b{color:#65736c;background:#f1f4f2;border-radius:999px;padding:4px 7px;font-size:11px}.executive-kpi footer .up,.executive-card header>.up{background:var(--e-mint);color:var(--e-green)}.executive-kpi footer .down,.executive-card header>.down{background:var(--e-cream);color:#94611d}.executive-kpi.positive{border-color:#d7e8dd}.executive-kpi.warning{border-color:#eddcbf}.executive-kpi.warning>div i{background:var(--e-cream);color:#a36920}.executive-kpi.featured{color:#fff;background:linear-gradient(145deg,#0a6647,#0b7953);border-color:#0000}.executive-kpi.featured>div>span,.executive-kpi.featured footer small{color:#ffffffb8}.executive-kpi.featured>div i{color:#fff;background:#ffffff21}.executive-kpi.featured>strong{text-overflow:ellipsis;white-space:nowrap;font-size:24px;overflow:hidden}.executive-charts{grid-template-columns:minmax(0,1.5fr) minmax(340px,.7fr);gap:14px;display:grid}.executive-card{border:1px solid var(--e-line);background:#fff;border-radius:16px;padding:20px;box-shadow:0 10px 30px #1e3e330a}.executive-card header{justify-content:space-between;align-items:start;gap:16px;margin-bottom:20px;display:flex}.executive-card h3{color:var(--e-ink)!important;margin:4px 0 0!important;font-size:18px!important}.executive-trend{gap:12px;height:220px;padding-top:12px;display:flex}.executive-trend>div{text-align:center;flex:1;grid-template-rows:20px 1fr 18px;gap:7px;display:grid}.executive-trend b{font-size:11px}.executive-trend i{background:#f2f5f3;border-radius:8px;display:block;position:relative;overflow:hidden}.executive-trend i span{background:linear-gradient(#8ebaa0,#4e9370);border-radius:8px 8px 3px 3px;position:absolute;bottom:0;left:0;right:0}.executive-trend .current i span{background:linear-gradient(#21a871,#08734e)}.executive-trend small{color:var(--e-muted);font-size:10px}.risk-card{grid-template-columns:145px 1fr;display:grid}.risk-card header{grid-column:1/-1}.risk-donut{background:conic-gradient(var(--e-green) 0 var(--valid),#e6b76d var(--valid) 330deg,#d86e60 330deg);border-radius:50%;place-items:center;width:128px;height:128px;display:grid}.risk-donut:before{content:"";background:#fff;border-radius:50%;grid-area:1/1;width:88px;height:88px}.risk-donut>div{z-index:1;text-align:center;grid-area:1/1;display:grid}.risk-donut strong{font-size:22px}.risk-donut span{color:var(--e-muted);font-size:10px}.risk-legend{align-content:center;gap:9px;display:grid}.risk-legend p{color:var(--e-muted);grid-template-columns:8px 1fr auto;align-items:center;gap:8px;margin:0;font-size:11px;display:grid}.risk-legend p i{background:#aaa;border-radius:50%;width:7px;height:7px}.risk-legend .valid{background:var(--e-green)}.risk-legend .partial{background:#e6b76d}.risk-legend .suspended{background:#b4a072}.risk-legend .ko{background:#d86e60}.executive-rankings{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.executive-bars{gap:13px;display:grid}.executive-bars>div{grid-template-columns:24px minmax(90px,1fr) minmax(70px,.8fr) 25px;align-items:center;gap:9px;display:grid}.executive-bars em{width:22px;height:22px;color:var(--e-muted);background:#f2f5f3;border-radius:7px;place-items:center;font-size:10px;font-style:normal;display:grid}.executive-bars p{gap:1px;min-width:0;margin:0;display:grid}.executive-bars p strong,.executive-bars p small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.executive-bars p strong{font-size:12px}.executive-bars p small{color:var(--e-muted);font-size:9px}.executive-bars>div>i{background:#edf1ee;border-radius:99px;height:6px;overflow:hidden}.executive-bars>div>i span{border-radius:inherit;background:linear-gradient(90deg,#7fac91,var(--e-green));height:100%;display:block}.executive-bars>div>b{text-align:right;font-size:11px}.executive-detail{border:1px solid var(--e-line);background:#fff;border-radius:16px;overflow:hidden}.executive-detail summary{cursor:pointer;justify-content:space-between;padding:17px 20px;list-style:none;display:flex}.executive-detail summary span{color:var(--e-green);text-transform:uppercase;font-size:10px;font-weight:800}.executive-detail summary strong{font-size:13px}.detail-toolbar{border-top:1px solid var(--e-line);background:#fbfcfa;padding:12px 16px}.detail-toolbar input{border:1px solid var(--e-line);border-radius:9px;width:min(420px,100%);min-height:38px;padding:8px 11px}.executive-detail table{border-collapse:collapse;width:100%;font-size:12px}.executive-detail th,.executive-detail td{border-top:1px solid var(--e-line);text-align:left;padding:11px 14px}.executive-detail th{color:var(--e-muted);background:#f7f9f7;font-size:10px}.executive-pill{background:#f1f4f2;border-radius:99px;padding:4px 8px;font-size:10px;font-weight:750;display:inline-flex}.executive-pill.ok{background:var(--e-mint);color:var(--e-green)}.executive-pill.watch{background:var(--e-cream);color:#94611d}.executive-pill.danger{color:#a54439;background:#fff0ed}.executive-empty{text-align:center;align-content:center;place-items:center;min-height:150px;padding:25px;display:grid}.executive-empty p{color:var(--e-muted);margin:4px 0;font-size:12px}.executive-zero-state{text-align:center;background:radial-gradient(circle at 50% 0,#f0f8f3 0,#0000 42%),linear-gradient(145deg,#fff,#fbfcf9);border:1px solid #e1e9e3;border-radius:24px;align-content:center;justify-items:center;min-height:clamp(430px,66vh,650px);padding:54px 28px;display:grid;box-shadow:0 18px 55px #1e3e330b}.zero-state-illustration{width:118px;height:118px;color:var(--e-green);background:linear-gradient(145deg,#eff8f3,#fff);border:1px solid #d5e7dc;border-radius:34px;place-items:center;margin-bottom:23px;display:grid;position:relative;box-shadow:0 16px 34px #286b4d16}.zero-state-illustration svg{width:62px;height:62px}.zero-state-illustration>span{background:#f1c77f;border-radius:50%;position:absolute}.zero-state-illustration>span:first-child{width:9px;height:9px;top:20px;right:14px}.zero-state-illustration>span:nth-child(2){background:#8ab79b;width:6px;height:6px;bottom:24px;left:18px}.zero-state-illustration>span:nth-child(3){background:#d98573;width:4px;height:4px;bottom:14px;right:25px}.executive-zero-state h2{max-width:620px;color:var(--e-ink)!important;letter-spacing:-.035em!important;margin:8px 0 9px!important;font-size:28px!important}.executive-zero-state>p{max-width:590px;color:var(--e-muted);margin:0;font-size:14px;line-height:1.6}.zero-state-actions{gap:9px;margin-top:24px;display:flex}.zero-state-actions button,.zero-state-actions a{border-radius:11px;align-items:center;min-height:42px;padding:0 16px;font-size:12px;font-weight:750;text-decoration:none;display:inline-flex}.zero-state-actions button{border:1px solid var(--e-green);background:var(--e-green);color:#fff;cursor:pointer}.zero-state-actions a{color:var(--e-green);background:#fff;border:1px solid #ccd9d1}.executive-zero-state details{max-width:620px;color:var(--e-muted);margin-top:28px;font-size:11px}.executive-zero-state summary{cursor:pointer}.executive-zero-state code{color:#657169;white-space:normal;background:#f5f7f5;border-radius:8px;margin-top:9px;padding:9px 12px;display:block}.executive-skeleton{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.executive-skeleton span{background:linear-gradient(100deg,#eef1ef 30%,#f8faf8 50%,#eef1ef 70%) 0 0/300%;border-radius:16px;height:154px;animation:1.4s infinite e-shimmer}.executive-skeleton span:first-child{grid-column:1/-1;height:78px}@keyframes e-shimmer{to{background-position:-150%}}.is-presenting .executive-filters,.is-presenting .executive-detail,.is-presenting .executive-export,.is-presenting .sensitive{display:none}.executive-bars.is-hidden p strong{filter:blur(5px);-webkit-user-select:none;user-select:none}@media (max-width:1180px){.executive-kpis{grid-template-columns:repeat(2,1fr)}.executive-charts{grid-template-columns:1fr}.executive-rankings{grid-template-columns:1fr 1fr}.executive-filters{flex-wrap:wrap}.executive-filters button{margin-left:0}}@media (max-width:760px){.executive-status{overflow:auto}.executive-status>*{flex:none}.executive-heading{flex-direction:column;align-items:start}.executive-heading h2{font-size:29px!important}.executive-kpis,.executive-rankings{grid-template-columns:1fr}.risk-card{grid-template-columns:120px 1fr}.risk-donut{width:108px;height:108px}.risk-donut:before{width:74px;height:74px}.executive-filters label,.executive-filters select{width:100%}.executive-trend{gap:6px}.executive-card{padding:16px}}@media (prefers-reduced-motion:reduce){.executive-skeleton span{animation:none}}.executive-loading{gap:18px;display:grid}.loading-heading{background:linear-gradient(100deg,#eef1ef 30%,#f8faf8 50%,#eef1ef 70%) 0 0/300%;border-radius:16px;width:min(420px,70%);height:72px;animation:1.4s infinite e-shimmer;display:block}.executive-loading .executive-skeleton{grid-template-columns:repeat(3,1fr);gap:14px;display:grid}.executive-loading .executive-skeleton article{background:#fff;border:1px solid #e5ebe6;border-radius:16px;gap:25px;height:164px;padding:20px;display:grid}.executive-loading .executive-skeleton small{color:#8b9690;letter-spacing:.08em;font-size:10px;font-weight:800}.executive-loading .executive-skeleton i{background:linear-gradient(100deg,#eef1ef 30%,#f8faf8 50%,#eef1ef 70%) 0 0/300%;border-radius:9px;width:68%;height:34px;animation:1.4s infinite e-shimmer;display:block}@media (max-width:760px){.executive-loading .executive-skeleton{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.loading-heading,.executive-loading .executive-skeleton i{animation:none}}.app-shell-v3 .compact-topbar{background:#fafaf7f0;border-bottom-color:#e3e9e5;box-shadow:0 8px 28px #17372b09}.app-shell-v3 .compact-topbar .top-actions{align-items:center;gap:12px}.app-shell-v3 .global-period{color:#0a6d4a;background:#fff;border:1px solid #dbe4de;border-radius:13px;align-items:center;gap:2px;min-height:46px;padding:4px 7px 4px 12px;display:flex;box-shadow:0 6px 20px #17372b0b}.app-shell-v3 .global-period>span{color:#709083;margin-right:4px;font-size:13px}.app-shell-v3 .global-period select{color:#263c34;cursor:pointer;background:#f7faf8;border:0;border-radius:8px;min-height:34px;padding:5px 25px 5px 8px;font-size:12px;font-weight:700}.app-shell-v3 .global-period select:hover{background:#eef6f1}.app-shell-v3 .global-period select:focus-visible,.app-shell-v3 .workspace-tabs button:focus-visible,.executive-filters select:focus-visible,.executive-filters button:focus-visible{outline-offset:2px;outline:3px solid #0a6d4a2e}.app-shell-v3 .workspace-tabs{background:#fff;border:1px solid #e1e8e3;border-radius:14px;gap:3px;padding:5px}.app-shell-v3 .workspace-tabs button{color:#66766f;border-radius:10px;min-height:40px;padding:8px 17px;font-weight:700;transition:background-color .16s,color .16s,box-shadow .16s,transform .16s}.app-shell-v3 .workspace-tabs button:hover{color:#174c39;background:#f3f7f4}.app-shell-v3 .workspace-tabs button:active{transform:translateY(1px)}.app-shell-v3 .workspace-tabs button.active{color:#096845;background:#eaf5ee;box-shadow:inset 0 0 0 1px #cee4d6}.executive-filters{border-radius:16px;padding:15px 16px;box-shadow:0 8px 26px #17372b09}.executive-filters select{background:#fafcf9;border-radius:11px;min-height:42px;transition:border-color .16s,box-shadow .16s}.executive-filters select:hover{border-color:#bcd2c5}.executive-filters button{border-radius:10px;min-height:42px;padding:0 12px;transition:background-color .16s}.executive-filters button:not(:disabled):hover{background:#edf7f1}@media (max-width:760px){.app-shell-v3 .compact-topbar .top-actions{align-items:stretch}.app-shell-v3 .global-period{width:100%}.app-shell-v3 .global-period select:first-of-type{flex:1}.app-shell-v3 .workspace-tabs{scrollbar-width:none}.app-shell-v3 .workspace-tabs::-webkit-scrollbar{display:none}.app-shell-v3 .workspace-tabs button{flex:none}}.app-shell-v3,.app-shell-v3 .workspace{background:radial-gradient(circle at 84% 4%,#daebe16b,#0000 27rem),linear-gradient(145deg,#fafaf7 0%,#f5f7f3 100%)}.app-shell-v3 .operations-area,.app-shell-v3 .executive-dashboard{position:relative}.executive-status,.executive-brief,.executive-filters,.executive-kpi,.executive-card,.executive-detail{border-color:#dfe7e2;box-shadow:0 1px 2px #1630270a,0 12px 34px #1630270e}.executive-kpi:hover,.executive-card:hover{border-color:#cddbd3;box-shadow:0 2px 3px #1630270a,0 16px 38px #16302713}.executive-brief{background:linear-gradient(120deg,#eaf5ee 0%,#f7fbf8 54%,#fff 100%);border-left:4px solid #75a98b}.executive-filters{background:linear-gradient(#fff,#fbfcfa);border-top:3px solid #dcebe2}.executive-zero-state{background:radial-gradient(circle at 50% 0,#ffecc59e 0,#0000 45%),linear-gradient(145deg,#fffdf8,#fff);border-color:#ead8b9;box-shadow:0 2px 3px #4a341409,0 20px 55px #4a341413}.zero-state-illustration{color:#9b6a28;background:linear-gradient(145deg,#fff4df,#fff);border-color:#ead4ad}.executive-notice,.executive-pill.watch{color:#80591d;background:#fff5df;border-color:#efd6a8}.executive-pill.danger{color:#9f493d;background:#fff0ec;border:1px solid #f1d1ca}.executive-pill.ok{color:#08714a;background:#e9f6ee;border:1px solid #cde7d7}@media (prefers-reduced-motion:no-preference){.executive-kpi,.executive-card{transition:border-color .18s,box-shadow .18s,transform .18s}.executive-kpi:hover{transform:translateY(-1px)}}.executive-dashboard{--e-ink:#14241e;--e-muted:#596a62}.executive-heading h2,.executive-card h3,.executive-kpi>strong,.executive-zero-state h2{color:#14241e!important}.executive-heading p,.executive-brief small,.executive-card p,.executive-zero-state>p{color:#596a62}.executive-card header>div,.executive-detail summary{position:relative}.executive-card header>div{padding-left:13px}.executive-card header>div:before{content:"";background:#72a88a;border-radius:50%;width:6px;height:6px;position:absolute;top:5px;left:0;box-shadow:0 0 0 4px #edf6f0}.executive-card.warning header>div:before{background:#cf9139;box-shadow:0 0 0 4px #fff4df}.executive-kpi{background:linear-gradient(#fff 0%,#fafbf8 100%);border-left:4px solid #b5d2c0}.executive-kpi.positive{background:linear-gradient(#fff 0%,#f3faf6 100%);border-left-color:#6fa889}.executive-kpi.warning{background:linear-gradient(#fff 0%,#fff9ee 100%);border-left-color:#d39a49}.executive-kpi.featured{background:linear-gradient(145deg,#0a6647,#0b7953);border-left-color:#efc277}.executive-zero-state{border-style:dashed;border-width:2px}.executive-detail tbody tr{transition:background-color .18s,box-shadow .18s}.executive-detail tbody tr:hover{background:#f7faf7;box-shadow:inset 4px 0 #8ebba1}.executive-detail tbody tr:focus-within{background:#f1f8f4;box-shadow:inset 4px 0 #0a6d4a}.app-shell-v3 .page-identity h1,.executive-heading h2,.executive-card h3,.executive-zero-state h2{letter-spacing:-.035em!important;font-weight:780!important}.app-shell-v3 .page-identity p{color:#607068;line-height:1.45}.app-shell-v3 .nav-icon{color:#bfe3d2;background:#eaf7f11f;border-radius:9px;width:30px;height:30px;padding:6px;transition:background-color .18s,color .18s,box-shadow .18s}.app-shell-v3 .primary-nav button:hover .nav-icon,.app-shell-v3 .primary-nav button.active .nav-icon{color:#08714a;background:#e9f6ee;box-shadow:inset 0 0 0 1px #cfe7d8}.executive-export,.zero-state-actions button,.zero-state-actions a{border-radius:13px;transition:transform .18s,box-shadow .18s,background-color .18s}.executive-export{color:#fff;background:#0a6d4a;border-color:#0a6d4a;box-shadow:0 8px 18px #0a6d4a29}.executive-export:hover,.zero-state-actions button:hover{background:#075b3e;transform:translateY(-1px);box-shadow:0 11px 24px #0a6d4a36}.zero-state-actions a:hover{background:#f2f8f4;border-color:#adcbb9;transform:translateY(-1px)}.executive-card header{border-bottom:1px solid #dee7e1a3;padding-bottom:3px}.executive-card header:last-child{border-bottom:0}@media (max-width:760px){.app-shell-v3 .nav-icon{width:27px;height:27px;padding:5px}.zero-state-actions{flex-direction:column;width:min(280px,100%)}.zero-state-actions button,.zero-state-actions a{justify-content:center}}.app-shell-v3 .operations-area .panel,.app-shell-v3 .operations-area .dashboard-card,.app-shell-v3 .solar-card,.app-shell-v3 .solar-filter-panel,.app-shell-v3 .solar-rates>div,.app-shell-v3 .in-card,.app-shell-v3 .company-grid>section,.app-shell-v3 .reconciliation-section,.app-shell-v3 .reconciliation-economic-card,.app-shell-v3 .chart-card{background:linear-gradient(#fff 0%,#fcfdfa 100%);border:1px solid #dfe7e2;border-radius:16px;box-shadow:0 1px 2px #16302709,0 12px 32px #1630270d}.app-shell-v3 .solar-hero,.app-shell-v3 .in-hero{background:linear-gradient(120deg,#eaf5ee 0%,#f8fbf8 55%,#fff9eb 100%);border-color:#cfe3d7;box-shadow:0 14px 36px #1649340f}.app-shell-v3 .company-kpis article,.app-shell-v3 .solar-kpi,.app-shell-v3 .reconciliation-kpis article,.app-shell-v3 .production-kpi{background:linear-gradient(#fff,#fafbf8);border-color:#dfe7e2 #dfe7e2 #dfe7e2 #a8cbb7;border-left-style:solid;border-left-width:4px;border-radius:16px;box-shadow:0 8px 24px #1630270b}.app-shell-v3 .company-kpis article.accent,.app-shell-v3 .solar-kpi.warning,.app-shell-v3 .production-kpi.danger{background:linear-gradient(#fff,#fff8eb);border-left-color:#d09a4d}.app-shell-v3 .company-data-warning,.app-shell-v3 .company-period-empty,.app-shell-v3 .provisional-banner,.app-shell-v3 .alert.warning{color:#76521f;box-shadow:none;background:#fff7e8;border:1px solid #ecd6ae;border-left:4px solid #ce9240;border-radius:14px}.app-shell-v3 .alert.error,.app-shell-v3 .export-feedback.error{color:#884438;background:#fff1ed;border:1px solid #eed2ca;border-left:4px solid #c97868;border-radius:14px}.app-shell-v3 .button,.app-shell-v3 .solar-filterbar .button,.app-shell-v3 .reconciliation-group-actions button{border-radius:12px;min-height:42px;font-weight:750;transition:background-color .18s,border-color .18s,box-shadow .18s,transform .18s}.app-shell-v3 .button:not(.secondary){color:#fff;background:#0a6d4a;border-color:#0a6d4a;box-shadow:0 7px 17px #0a6d4a24}.app-shell-v3 .button.secondary{color:#315246;box-shadow:none;background:#fff;border-color:#cfdcd4}.app-shell-v3 .button:hover{transform:translateY(-1px)}.app-shell-v3 .pill,.app-shell-v3 .solar-chips span,.app-shell-v3 .progress-status{color:#0b704b;background:#edf7f1;border:1px solid #d8e7de;border-radius:999px}.app-shell-v3 .pill.orange,.app-shell-v3 .progress-status.warning{color:#82591d;background:#fff4df;border-color:#ecd5a9}.app-shell-v3 .pill.red,.app-shell-v3 .progress-status.blocked{color:#99493e;background:#fff0ec;border-color:#ebcec7}.app-shell-v3 .dashboard-table,.app-shell-v3 .company-table,.app-shell-v3 .solar-modal table,.app-shell-v3 .analytics-table{border-collapse:separate;border-spacing:0}.app-shell-v3 .dashboard-table th,.app-shell-v3 .company-table th,.app-shell-v3 .solar-modal th,.app-shell-v3 .analytics-table th{color:#4e6058;background:#f7f9f6;border-bottom-color:#e7ece8}.app-shell-v3 .dashboard-table td,.app-shell-v3 .company-table td,.app-shell-v3 .solar-modal td,.app-shell-v3 .analytics-table td{border-bottom-color:#edf0ee;padding-top:13px;padding-bottom:13px}.app-shell-v3 .dashboard-table tbody tr,.app-shell-v3 .company-table tbody tr,.app-shell-v3 .solar-modal tbody tr,.app-shell-v3 .analytics-table tbody tr{transition:background-color .18s,box-shadow .18s}.app-shell-v3 .dashboard-table tbody tr:hover,.app-shell-v3 .company-table tbody tr:hover,.app-shell-v3 .solar-modal tbody tr:hover,.app-shell-v3 .analytics-table tbody tr:hover{background:#f7faf7;box-shadow:inset 4px 0 #94bda5}@media (max-width:760px){.app-shell-v3 .solar-kpis,.app-shell-v3 .company-kpis,.app-shell-v3 .reconciliation-kpis{grid-template-columns:1fr}.app-shell-v3 .export-actions{grid-template-columns:1fr;display:grid}.app-shell-v3 .export-actions .button{justify-content:center;width:100%}}.executive-filters{z-index:12;position:sticky;top:116px}.executive-active-filters{color:#5d6d65;flex-wrap:wrap;align-items:center;gap:7px;margin-top:-11px;padding:2px 4px;font-size:12px;display:flex}.executive-active-filters>span{margin-right:2px;font-weight:750}.executive-active-filters button{color:#0a6746;cursor:pointer;background:#edf7f1;border:1px solid #cfe2d6;border-radius:999px;align-items:center;gap:7px;max-width:260px;min-height:30px;padding:4px 9px;font-size:11px;font-weight:700;display:inline-flex}.executive-active-filters button b{font-size:15px;line-height:1}.executive-active-filters button:hover{background:#e3f2e9;border-color:#aacbb7}.executive-active-filters .clear-all{color:#66766f;text-underline-offset:3px;background:0 0;border-color:#0000;text-decoration:underline}.app-shell-v3 .history-table{max-width:100%;overflow:auto}.app-shell-v3 .history-table table{border-collapse:separate;border-spacing:0;min-width:920px}.app-shell-v3 .history-table th:first-child,.app-shell-v3 .history-table td:first-child{z-index:3;background:#fff;border-right:1px solid #e3e9e5;position:sticky;left:0;box-shadow:7px 0 14px #19372c09}.app-shell-v3 .history-table th:first-child{z-index:5;background:#f5f8f5}.app-shell-v3 .history-table tbody tr{cursor:pointer}.app-shell-v3 .history-table tbody tr:hover td{background:#f5faf7}.app-shell-v3 .history-table tbody td:first-child:after{content:"Apri";color:#0a6d4a;margin-top:3px;font-size:10px;font-weight:750;display:block}.executive-kpi footer small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.executive-kpi{cursor:default}.executive-kpi:hover footer small{white-space:normal}@media (max-width:760px){.executive-filters{position:relative;top:auto}.executive-active-filters{margin-top:-8px}.app-shell-v3 .history-table{overscroll-behavior-x:contain}}.app-shell-v3{--brand-forest:#075d42;--brand-green:#0aa56e;--brand-lime:#c8d500;--brand-lime-soft:#f4f7cf;--brand-ivory:#fafaf7;--brand-cream:#fff8e8;--brand-coral:#c97868;--brand-ink:#14251f;--brand-muted:#5e6d66;--accent:var(--brand-green);--accent-dark:var(--brand-forest);--accent-soft:#e9f6ef}.app-shell-v3 .workspace{color:var(--brand-ink)}.app-shell-v3 .eyebrow{color:#07865a;letter-spacing:.09em}.app-shell-v3 .solar-funnel button{background:linear-gradient(145deg,#fff,#f7f9f2);border:1px solid #e1e8de;position:relative;overflow:hidden;box-shadow:0 8px 22px #1f392e0b}.app-shell-v3 .solar-funnel button:before{content:"";background:linear-gradient(180deg,var(--brand-green),var(--brand-lime));width:4px;position:absolute;inset:0 auto 0 0}.app-shell-v3 .solar-funnel span{background:linear-gradient(90deg,var(--brand-green),var(--brand-lime))}.app-shell-v3 .solar-funnel button:hover{background:#fbfdf5;border-color:#cbd9c4;box-shadow:0 12px 28px #1f392e14}.app-shell-v3 .solar-kpi>span,.app-shell-v3 .rich-kpi-grid .sales-kpi>i{color:var(--brand-forest);background:#eef7d9}.app-shell-v3 .solar-uncertified{color:#76520e;background:#fff4d4;border:1px solid #f0d998}.app-shell-v3 .solar-economic-grid{gap:14px}.app-shell-v3 .solar-economic-grid>button,.app-shell-v3 .solar-economic-grid>article{border:1px solid #dfe7df;border-top:4px solid var(--brand-green);min-width:0;color:var(--brand-ink);background:linear-gradient(145deg,#fff,#f5fbf7);border-radius:15px;padding:19px;box-shadow:0 7px 20px #1a362a0d}.app-shell-v3 .solar-economic-grid>button:nth-child(2){border-top-color:var(--brand-lime);background:linear-gradient(145deg,#fff,#fafce9)}.app-shell-v3 .solar-economic-grid>button:nth-child(3){background:linear-gradient(145deg,#fff,#fff8e9);border-top-color:#e2ad47}.app-shell-v3 .solar-economic-grid>button:nth-child(4),.app-shell-v3 .solar-economic-grid>.blocked{border-top-color:var(--brand-coral);background:linear-gradient(145deg,#fff,#fff2ee)}.app-shell-v3 .solar-economic-grid>button:nth-child(5){background:linear-gradient(145deg,#fff,#f7f8f6);border-top-color:#a7b1ac}.app-shell-v3 .solar-economic-grid>button:hover{border-color:#becfc4;transform:translateY(-2px);box-shadow:0 13px 28px #1a362a17}.app-shell-v3 .solar-economic-grid small{color:#4f6259}.app-shell-v3 .solar-economic-grid b{color:#10261e;line-height:1.15}.app-shell-v3 .solar-economic-grid span{color:#65756d;line-height:1.5}.app-shell-v3 :is(.dashboard-table,.company-table,.analytics-table,.history-table table,.solar-modal table,.reconciliation-section table){background:#fff;border:1px solid #dde6df;border-radius:14px;overflow:hidden}.app-shell-v3 :is(.dashboard-table,.company-table,.analytics-table,.history-table table,.solar-modal table,.reconciliation-section table) th{color:#294b3d;background:linear-gradient(#f1f6dc,#edf4df);border-bottom:1px solid #d9e2d4;font-weight:800}.app-shell-v3 :is(.dashboard-table,.company-table,.analytics-table,.history-table table,.solar-modal table,.reconciliation-section table) tbody tr:nth-child(2n) td{background:#fcfcf8}.app-shell-v3 :is(.dashboard-table,.company-table,.analytics-table,.history-table table,.solar-modal table,.reconciliation-section table) tbody tr:hover td{box-shadow:none;background:#f5f8df}.app-shell-v3 :is(.dashboard-table,.company-table,.analytics-table,.history-table table,.solar-modal table,.reconciliation-section table) td{color:#243a31;border-bottom-color:#edf1ec}.app-shell-v3 .history-table th:first-child{background:#eaf1d5}.app-shell-v3 .history-table tbody tr:nth-child(2n) td:first-child{background:#f7f8ef}.app-shell-v3 .history-table tbody tr:hover td:first-child{background:#edf3d8}.app-shell-v3 .button:not(.secondary),.app-shell-v3 .primary-wide,.executive-export{background:var(--brand-forest);border-color:var(--brand-forest)}.app-shell-v3 .button:not(.secondary):hover,.app-shell-v3 .primary-wide:hover,.executive-export:hover{background:#064d37}.app-shell-v3 .pill.blue,.app-shell-v3 .executive-pill.ok,.app-shell-v3 .progress-status.ok{color:#416513;background:#edf6d9;border-color:#dbe8a8}.app-shell-v3 .pill.orange,.app-shell-v3 .executive-pill.watch,.app-shell-v3 .progress-status.warning{color:#805b17;background:#fff3d6;border-color:#efd69a}.app-shell-v3 .pill.red,.app-shell-v3 .executive-pill.danger,.app-shell-v3 .progress-status.blocked{color:#99483c;background:#fff0ec;border-color:#ebcbc3}@media (max-width:760px){.app-shell-v3 .solar-economic-grid{grid-template-columns:1fr}.app-shell-v3 .solar-economic-grid>button,.app-shell-v3 .solar-economic-grid>article{padding:17px}}.app-shell-v3 .solar-kpi{background:linear-gradient(145deg,#fff,#f8faf5);border:1px solid #dce6df;overflow:hidden;box-shadow:0 10px 27px #18362a11}.app-shell-v3 .solar-kpi:before{content:"";background:linear-gradient(90deg,var(--brand-green),var(--brand-lime));height:5px;position:absolute;inset:0 0 auto}.app-shell-v3 .solar-kpi:after{color:var(--brand-forest)}.app-shell-v3 .solar-kpi b{color:#10271e}.app-shell-v3 .solar-kpi.all{background:linear-gradient(145deg,#fff,#f2f8f4)}.app-shell-v3 .solar-kpi.signed{background:linear-gradient(145deg,#fff,#f8fae7)}.app-shell-v3 .solar-kpi.active{background:linear-gradient(145deg,#fff,#f1f7dd)}.app-shell-v3 .solar-kpi.installed{background:linear-gradient(145deg,#fff,#fff8e7)}.app-shell-v3 .solar-kpi.allacciato,.app-shell-v3 .solar-kpi.inExercise{background:linear-gradient(145deg,#fff,#eef8f1)}.app-shell-v3 .solar-kpi.cancelled{background:linear-gradient(145deg,#fff,#fff0ec);border-color:#ecd7d1}.app-shell-v3 .solar-kpi.cancelled:before{background:linear-gradient(90deg,#b96558,#e5a08e)}.app-shell-v3 .solar-kpi.cancelled>span{color:#a54f42;background:#fff0ec}.app-shell-v3 .solar-kpi.cancelled:after{color:#9b493d}.app-shell-v3 .solar-kpi:hover{border-color:#c8d8cd;transform:translateY(-2px);box-shadow:0 15px 34px #18362a1a}@media (prefers-reduced-motion:no-preference){.app-shell-v3 .solar-kpi{transition:transform .18s,border-color .18s,box-shadow .18s}}.app-shell-v3 :is(.commission-kpis,.production-kpis,.company-kpis,.reconciliation-kpis,.history-kpis)>*{border:1px solid #dce5df;border-top:4px solid var(--brand-green);background:linear-gradient(145deg,#fff,#f4faf6);border-radius:16px;position:relative;overflow:hidden;box-shadow:0 9px 25px #18362a0f}.app-shell-v3 :is(.commission-kpis,.production-kpis,.company-kpis,.reconciliation-kpis,.history-kpis)>:nth-child(2){border-top-color:var(--brand-lime);background:linear-gradient(145deg,#fff,#fafce8)}.app-shell-v3 :is(.commission-kpis,.production-kpis,.company-kpis,.reconciliation-kpis,.history-kpis)>:nth-child(3){background:linear-gradient(145deg,#fff,#fff7e5);border-top-color:#e1aa43}.app-shell-v3 :is(.commission-kpis,.production-kpis,.company-kpis,.reconciliation-kpis,.history-kpis)>:nth-child(4){background:linear-gradient(145deg,#fff,#fff1ed);border-top-color:#c97868}.app-shell-v3 :is(.commission-kpis,.production-kpis,.company-kpis,.reconciliation-kpis,.history-kpis)>:hover{transform:translateY(-2px);box-shadow:0 14px 32px #18362a18}.app-shell-v3 :is(.dashboard-card,.commission-panel,.command-center,.history-chart-card,.history-side-card,.company-grid>section,.reconciliation-section,.in-card){position:relative;overflow:hidden}.app-shell-v3 :is(.dashboard-card,.commission-panel,.command-center,.history-chart-card,.history-side-card,.company-grid>section,.reconciliation-section,.in-card):before{content:"";background:linear-gradient(90deg,var(--brand-green),var(--brand-lime) 62%,transparent);pointer-events:none;height:3px;position:absolute;inset:0 0 auto}.app-shell-v3 .stepper:before{background:#e0e7df}.app-shell-v3 .step.done>span{border-color:var(--brand-forest);background:var(--brand-forest);color:#fff;box-shadow:0 5px 14px #075d422e}.app-shell-v3 .step.current>span{background:var(--brand-lime-soft);color:#526000;border-color:#aebc00;box-shadow:0 0 0 5px #c8d50021}.app-shell-v3 .step.current strong,.app-shell-v3 .step.current small{color:#586400}.app-shell-v3 .step:not(.done):not(.current)>span{color:#89938e;background:#fafbf8;border-color:#d9dfda}.app-shell-v3 .next-action{background:linear-gradient(145deg,#fffaf0,#fff5df);border:1px solid #edd5a4;border-left:4px solid #dda532;border-radius:14px}.app-shell-v3 .next-action>a,.app-shell-v3 .next-action button{border-radius:11px}.app-shell-v3 .issue-card{background:linear-gradient(145deg,#fff,#fff8ea);border:1px solid #eadfd6;border-left:4px solid #d19836;border-radius:14px}.app-shell-v3 .issue-card.blocking,.app-shell-v3 .issue-card.danger{border-left-color:var(--brand-coral);background:linear-gradient(145deg,#fff,#fff1ed)}.app-shell-v3 .mini-panel{background:linear-gradient(145deg,#fff,#fafbf5);border-color:#dfe7df;border-radius:15px}.app-shell-v3 .dashboard-summary{background:linear-gradient(120deg,#eef7f1,#fafce8);border-radius:15px}.app-shell-v3 :is(.pagination,.table-pagination) button.active,.app-shell-v3 :is(.pagination,.table-pagination) [aria-current=page]{background:var(--brand-lime);border-color:var(--brand-lime);color:#263000;box-shadow:0 6px 14px #9fab002e}.app-shell-v3 :is(.pagination,.table-pagination) button:not(.active){color:#607068;background:#fff;border-color:#dfe6df}.app-shell-v3 :is(.agent-bars,.reconciliation-bars,.history-bars,.weekly-bars) i,.app-shell-v3 :is(.agent-bars,.reconciliation-bars,.history-bars,.weekly-bars) span>i{background:linear-gradient(90deg,var(--brand-green),var(--brand-lime))}.app-shell-v3 .chart-card-legend span:first-child:before{background:var(--brand-green)}.app-shell-v3 .chart-card-legend span:nth-child(2):before{background:var(--brand-lime)}@media (prefers-reduced-motion:no-preference){.app-shell-v3 :is(.commission-kpis,.production-kpis,.company-kpis,.reconciliation-kpis,.history-kpis)>*{transition:transform .18s,box-shadow .18s,border-color .18s}}
