/* EEC 1.19.76 | Report & Analisi: workspace analitico */
.eec-portal .eec-report-workspace{--r-navy:#123256;--r-blue:#215a99;--r-deep:#0c294b;--r-ink:#20364f;--r-muted:#687b90;--r-line:#dee8f1;--r-pale:#f5f9fd;display:grid;gap:22px;min-width:0;padding-bottom:38px}
.eec-report-workspace *{box-sizing:border-box}
.eec-portal .eec-report-hero{display:grid;grid-template-columns:minmax(0,1fr) 215px;gap:26px;align-items:end;padding:36px 40px;position:relative;overflow:hidden;border-radius:27px;color:#fff;background:linear-gradient(122deg,#102c50 2%,#194777 59%,#2c72ad 100%);box-shadow:0 20px 45px rgba(23,68,116,.18)}
.eec-report-hero:after{content:"";position:absolute;right:-140px;top:-185px;width:420px;height:420px;border:1px solid rgba(255,255,255,.18);border-radius:50%;box-shadow:0 0 0 50px rgba(255,255,255,.035),0 0 0 105px rgba(255,255,255,.025);pointer-events:none}
.eec-report-hero-copy,.eec-report-hero-action{position:relative;z-index:1}
.eec-portal .eec-report-eyebrow{display:block;font-size:11px;letter-spacing:.17em;font-weight:800;color:#b8d6f1;margin-bottom:12px}
.eec-portal .eec-report-hero h2{color:#fff!important;margin:0 0 10px;font-size:36px;letter-spacing:-.04em;line-height:1.14}
.eec-portal .eec-report-hero p{color:#e3edf9;margin:0;max-width:580px;line-height:1.7;font-size:14px}
.eec-report-hero-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:24px}
.eec-report-hero-tags span{font-size:11px;font-weight:750;color:#eff8ff;padding:6px 11px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);border-radius:999px}
.eec-report-hero-action{display:grid;gap:10px}
.eec-portal .eec-report-hero-action a{display:flex;gap:10px;justify-content:space-between;align-items:center;min-height:48px;border-radius:14px;padding:11px 13px;font-size:13px;text-decoration:none;background:#fff;color:#163e69;font-weight:850;box-shadow:0 8px 18px rgba(0,0,0,.07)}
.eec-portal .eec-report-hero-action a+a{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.24);box-shadow:none}
.eec-portal .eec-report-hero-action a:hover{transform:translateY(-2px)}
.eec-portal .eec-report-nav{border:1px solid var(--r-line);background:#fff;padding:15px 15px 14px;border-radius:23px;box-shadow:0 9px 28px rgba(23,53,82,.045)}
.eec-report-nav-label{display:block;margin:0 0 8px 8px;font-size:10px;font-weight:850;letter-spacing:.17em;color:#8899aa}
.eec-report-nav-links{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.eec-portal .eec-report-nav-item{display:flex;flex-direction:column;gap:4px;padding:13px 10px;border-radius:14px;text-decoration:none;border:1px solid transparent;transition:.16s ease}
.eec-portal .eec-report-nav-item strong{color:#324963;font-size:12px;line-height:1.25;font-weight:850}
.eec-portal .eec-report-nav-item small{font-size:10px;color:#7c8c9e;line-height:1.35}
.eec-portal .eec-report-nav-item:hover{background:#eef5fc}
.eec-portal .eec-report-nav-item.is-active{background:#173f70;box-shadow:0 6px 16px rgba(22,63,115,.16)}
.eec-portal .eec-report-nav-item.is-active strong,.eec-portal .eec-report-nav-item.is-active small{color:#fff}
.eec-report-content{display:grid;gap:22px;min-width:0}
.eec-report-section-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;padding:2px 1px}
.eec-portal .eec-report-overline{display:block;color:#2872b1;font-size:10px;font-weight:850;letter-spacing:.16em;text-transform:uppercase;margin-bottom:8px}
.eec-portal .eec-report-section-heading h3{margin:0 0 5px;color:#193856;font-size:26px;letter-spacing:-.035em;line-height:1.2}
.eec-portal .eec-report-section-heading p{font-size:13px;color:#708297;margin:0;line-height:1.6}
.eec-report-period{display:flex;align-items:end;gap:8px;padding:8px;border:1px solid #dfe8f2;border-radius:16px;background:#fff;box-shadow:0 4px 12px rgba(25,62,98,.04)}
.eec-report-period label{display:flex;flex-direction:column;gap:5px;color:#60768b;font-weight:800;font-size:11px}
.eec-report-period input{min-height:39px!important;max-width:160px;padding:8px 10px!important;border-radius:9px!important;border:1px solid #dce6ee!important;background:#f9fbfe!important;font-size:13px!important}
.eec-report-period button{background:#1b4a7e;border:0;border-radius:10px;color:#fff;font-weight:800;font-size:12px;min-height:39px;padding:0 13px;cursor:pointer}
.eec-report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.eec-portal .eec-report-metric{min-width:0;min-height:139px;display:flex;flex-direction:column;gap:12px;padding:19px 20px;background:#fff;border-radius:19px;border:1px solid #e0e8f0;text-decoration:none;box-shadow:0 9px 24px rgba(19,48,78,.045);transition:.15s ease}
.eec-report-metric:before{content:"";width:32px;height:3px;border-radius:4px;background:#2b72aa}
.eec-report-metric>span{font-size:10px;letter-spacing:.07em;color:#75879a;font-weight:850;line-height:1.35}
.eec-report-metric>span small{font-size:10px;letter-spacing:0;font-weight:600}
.eec-report-metric>strong{font-size:26px;color:#172f4b;letter-spacing:-.05em;line-height:1.1;overflow-wrap:anywhere}
.eec-report-metric>em{font-style:normal;font-size:11px;color:#3972a2;margin-top:auto;font-weight:750}
.eec-report-metric.is-attention:before{background:#f0a547}
.eec-report-metric:hover{transform:translateY(-3px);border-color:#bdd3e6;box-shadow:0 14px 30px rgba(19,48,78,.09)}
.eec-report-visual-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:14px}
.eec-report-surface{background:#fff;border-radius:22px;border:1px solid #dfe9f1;box-shadow:0 9px 23px rgba(22,53,80,.04);padding:23px;min-width:0}
.eec-report-surface-head{display:flex;align-items:start;justify-content:space-between;gap:12px}
.eec-report-surface-head span{display:block;color:#4a80b3;font-size:10px;font-weight:850;letter-spacing:.14em;margin-bottom:6px}
.eec-report-surface-head h4{font-size:20px;margin:0;color:#203954;letter-spacing:-.03em}
.eec-report-surface-head p{font-size:12px;color:#77899a;margin:7px 0 0;line-height:1.5}
.eec-report-surface-head .eec-report-surface-label{color:#91a5b9;border:1px solid #e5edf3;border-radius:9px;padding:5px 8px;letter-spacing:.05em}
.eec-report-bars{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:end;gap:9px;margin-top:18px;min-height:228px;padding-top:14px}
.eec-report-bar-cell{height:216px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:10px;min-width:0}
.eec-report-bar-cell strong{font-size:10px;color:#617b96;white-space:nowrap;font-weight:750}
.eec-report-bar-cell small{font-size:10px;color:#768da4;font-weight:700;white-space:nowrap}
.eec-report-bar-track{flex:1;display:flex;align-items:flex-end;width:100%;min-height:0;border-radius:10px;background:linear-gradient(180deg,#fafcff,#f2f7fc);overflow:hidden}
.eec-report-bar-track>span{display:block;width:100%;border-radius:9px 9px 0 0;background:linear-gradient(180deg,#60a5d8 0%,#195489 100%);transition:height .25s ease;min-height:0}
.eec-report-distribution-grid{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:26px;min-height:200px}
.eec-report-donut{width:164px;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;flex:0 0 164px}
.eec-report-donut>div{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;width:126px;aspect-ratio:1;border-radius:50%;box-shadow:inset 0 0 0 1px #e9eef4}
.eec-report-donut strong{font-size:29px;color:#14395f;line-height:1}
.eec-report-donut small{color:#7f91a6;font-size:11px;margin-top:7px}
.eec-report-legend{display:grid;gap:4px;flex:1;min-width:0}
.eec-portal .eec-report-legend a{display:grid;grid-template-columns:9px 1fr auto;gap:8px;align-items:center;padding:6px 8px;border-radius:8px;text-decoration:none;color:#536c85;font-size:11px}
.eec-report-legend a:hover{background:#f1f6fc}
.eec-report-legend i{display:block;width:9px;height:9px;border-radius:3px}
.eec-report-legend strong{color:#203a53;font-weight:850}
.eec-report-section-heading-secondary{margin-top:6px}
.eec-report-route-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.eec-portal .eec-report-route{display:flex;align-items:start;gap:13px;min-height:156px;padding:19px 17px;border-radius:20px;border:1px solid #dfe8f1;background:#fff;text-decoration:none;box-shadow:0 7px 20px rgba(18,51,80,.04)}
.eec-report-route-index{display:flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;background:#edf4fb;border-radius:12px;color:#336e9f;font-weight:900;font-size:12px}
.eec-report-route-body{display:flex;flex-direction:column;gap:7px;flex:1;min-width:0}
.eec-report-route-body small{text-transform:uppercase;font-size:10px;letter-spacing:.1em;font-weight:850;color:#6885a0}
.eec-report-route-body strong{font-size:16px;color:#193958;letter-spacing:-.02em}
.eec-report-route-body em{font-style:normal;font-size:12px;line-height:1.5;color:#7890a5}
.eec-report-route-arrow{font-size:20px;color:#4d86bc;line-height:1}
.eec-report-route:hover{border-color:#bdd4e8;transform:translateY(-2px);box-shadow:0 12px 26px rgba(18,51,80,.08)}
.eec-report-special{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#edf4fb;border:1px solid #dce8f3;border-radius:21px;padding:21px 25px}
.eec-report-special h4{margin:0 0 5px;font-size:17px;color:#193f68}
.eec-report-special p{font-size:12px;color:#67829d;margin:0}
.eec-report-special-links{display:flex;flex-wrap:wrap;gap:8px}
.eec-portal .eec-report-special-links a{display:inline-flex;align-items:center;min-height:38px;padding:9px 12px;background:#fff;border:1px solid #d7e4ef;border-radius:12px;font-size:12px;color:#215583;text-decoration:none;font-weight:800}
/* Operational report sections */
.eec-report-workspace .eec-panel{margin:0;border:1px solid #dfe8f1;box-shadow:0 10px 28px rgba(20,53,81,.045);border-radius:23px;padding:26px}
.eec-report-workspace .eec-section-head{margin-bottom:23px}
.eec-report-workspace .eec-section-head h3,.eec-report-workspace .eec-section-head h4{font-size:24px;letter-spacing:-.035em;margin:0;color:#193b5c}
.eec-report-workspace .eec-section-head p{font-size:13px;line-height:1.65;color:#72869b;max-width:690px;margin:8px 0 0}
.eec-report-workspace .eec-report-form-surface>.eec-admin-form,.eec-report-workspace .eec-report-form-surface>form.eec-admin-form{padding:21px;border:1px solid #e1ebf4;border-radius:18px;background:#f6f9fd}
.eec-report-workspace .eec-form-grid{gap:14px}
.eec-report-workspace .eec-form-grid label{font-size:12px;font-weight:800;color:#42607e}
.eec-report-workspace input:not([type=hidden]),.eec-report-workspace select,.eec-report-workspace textarea{border-radius:11px;min-height:45px}
.eec-report-workspace .eec-form-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:19px}
.eec-report-workspace .eec-form-actions button,.eec-report-workspace .eec-form-actions a{margin-top:0;min-height:43px;font-size:13px;padding:10px 16px;border-radius:11px}
.eec-report-workspace .eec-report-archive-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap;background:#fff;border:1px dashed #cbdce9;border-radius:14px;margin-top:15px;padding:16px}
.eec-report-workspace .eec-report-archive-form>label{min-width:180px}
.eec-report-workspace .eec-report-archive-form>small{font-size:11px;color:#71869a}
.eec-report-workspace .eec-report-preview{min-width:0}
.eec-report-workspace .eec-report-status-chart{display:grid;gap:13px;padding:19px;margin-bottom:19px;border-radius:16px;background:#f5f9fd;border:1px solid #e2ebf3}
.eec-report-status-chart-row{display:grid;grid-template-columns:minmax(115px,.8fr) minmax(70px,2fr) minmax(116px,1fr);gap:12px;align-items:center}
.eec-report-status-chart-row strong{font-size:12px;color:#304e6b}
.eec-report-status-chart-row small{font-size:11px;color:#5a7896;text-align:right;font-variant-numeric:tabular-nums}
.eec-report-status-chart-track{height:11px;background:#e0e9f3;border-radius:20px;overflow:hidden}
.eec-report-status-chart-track span{height:100%;display:block;background:linear-gradient(90deg,#27639d,#74b1dc);border-radius:20px}
.eec-report-workspace .eec-status-expense-preview .eec-position-details{border:1px solid #e0e9f2;border-radius:15px;margin:12px 0;padding:0;background:#fff;overflow:hidden}
.eec-report-workspace .eec-status-expense-preview .eec-position-details summary{padding:15px 17px;cursor:pointer;background:#f7fafe;color:#254d74;font-size:13px}
.eec-report-workspace .eec-status-expense-preview .eec-position-details[open] summary{border-bottom:1px solid #e0e9f2}
.eec-report-workspace .eec-table-wrap{border-radius:14px;border-color:#e1eaf3}
.eec-report-workspace .eec-table-wrap th{font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:#69809a;background:#f2f6fb}
.eec-report-workspace .eec-table-wrap td{font-size:12px;color:#415a72}
.eec-report-workspace .eec-table-wrap tbody tr:hover{background:#f6faff}
.eec-report-workspace .eec-kpis{grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:11px}
.eec-report-workspace .eec-kpi{min-height:96px;padding:16px;border-radius:15px}
.eec-report-workspace .eec-kpi strong{font-size:21px}
.eec-report-workspace .eec-report-monthly-flow{gap:14px}
.eec-report-workspace .eec-report-flow-card{border-radius:18px;padding:21px;min-height:118px;background:linear-gradient(180deg,#fff,#f7faff)}
.eec-report-workspace .eec-report-flow-card>span{background:#235989}
.eec-report-workspace .eec-report-archive .eec-filter-bar{margin-bottom:22px}
.eec-report-workspace .eec-report-workflow-head{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.eec-report-workflow-head span{flex:1;font-size:11px;padding:12px 13px;border-radius:11px;border:1px solid #dce7f1;background:#eff5fb;color:#396d98;font-weight:850;min-width:130px}
.eec-report-filter-note{display:block;margin-top:12px;font-size:11px;color:#607990;line-height:1.5}
.eec-report-archive .eec-inline-form button{margin:3px}
.eec-report-workspace a:focus-visible,.eec-report-workspace button:focus-visible,.eec-report-workspace select:focus-visible{outline:3px solid #58a7d9;outline-offset:3px}
@media(max-width:1350px){.eec-report-nav-links{grid-template-columns:repeat(4,minmax(0,1fr))}.eec-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.eec-report-route-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.eec-report-distribution-grid{gap:16px}.eec-report-donut{width:134px;flex-basis:134px}.eec-report-donut>div{width:103px}}
@media(max-width:960px){.eec-report-visual-grid{grid-template-columns:1fr}.eec-report-distribution-grid{justify-content:flex-start}.eec-report-hero{grid-template-columns:1fr!important}.eec-report-hero-action{grid-template-columns:repeat(2,minmax(0,1fr))}.eec-report-special{flex-direction:column;align-items:flex-start}}
@media(max-width:650px){.eec-portal .eec-report-workspace{gap:15px}.eec-portal .eec-report-hero{padding:25px 20px;border-radius:20px}.eec-portal .eec-report-hero h2{font-size:28px}.eec-report-hero-tags{margin-top:15px}.eec-report-hero-action{grid-template-columns:1fr}.eec-portal .eec-report-nav{padding:12px;border-radius:17px}.eec-report-nav-links{grid-template-columns:repeat(2,minmax(0,1fr))}.eec-report-nav-item{min-height:62px}.eec-report-section-heading{align-items:stretch;flex-direction:column}.eec-report-section-heading h3{font-size:22px}.eec-report-period{width:100%}.eec-report-period label{flex:1}.eec-report-period input{max-width:100%}.eec-report-metrics{grid-template-columns:1fr 1fr;gap:8px}.eec-portal .eec-report-metric{min-height:133px;padding:14px}.eec-report-metric>strong{font-size:21px}.eec-report-metric>span{font-size:9px}.eec-report-metric>em{font-size:10px}.eec-report-surface{padding:17px}.eec-report-distribution-grid{flex-direction:column}.eec-report-legend{width:100%}.eec-report-route-grid{grid-template-columns:1fr}.eec-portal .eec-report-route{min-height:0}.eec-report-workspace .eec-panel{padding:18px}.eec-report-workspace .eec-report-form-surface>.eec-admin-form,.eec-report-workspace .eec-report-form-surface>form.eec-admin-form{padding:14px}.eec-report-status-chart-row{grid-template-columns:90px 1fr;gap:7px}.eec-report-status-chart-row small{grid-column:2;text-align:left}.eec-report-special{padding:18px}.eec-report-workspace .eec-section-head h3,.eec-report-workspace .eec-section-head h4{font-size:21px}}
@media(max-width:420px){.eec-report-metrics{grid-template-columns:1fr}.eec-portal .eec-report-metric{min-height:0;gap:10px}.eec-report-bar-cell strong,.eec-report-bar-cell small{font-size:9px}.eec-report-bars{gap:5px}}
@media(prefers-reduced-motion:reduce){.eec-report-workspace *{transition:none!important;scroll-behavior:auto!important}}
.eec-report-local-search{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:16px 0 12px}
.eec-report-local-search label{display:flex;flex-direction:column;gap:7px;font-weight:750;font-size:12px;color:#506e89;max-width:350px;flex:1}
.eec-report-local-search input{min-height:42px;border:1px solid #cfdde9;border-radius:11px;padding:9px 12px;background:#fff;font-size:13px;width:100%}
.eec-report-local-search span{font-size:12px;color:#7590a9;padding-bottom:10px}
@media(max-width:650px){.eec-report-local-search{flex-direction:column;align-items:stretch}.eec-report-local-search label{max-width:none}.eec-report-local-search span{padding:0}}
/* The main portal itself was historically content-box; prevent padding-induced overflow. */
.eec-portal.eec-admin-front:has(.eec-report-workspace){box-sizing:border-box}
/* At tablet widths the host shell becomes a single column; keep the sidebar in document flow. */
@media(max-width:1350px){.eec-admin-front:has(.eec-report-workspace) .eec-admin-sidebar{position:relative;top:auto;max-height:none}}
