/* Stili blocchi E·Elle (sito + editor). */
/* ---------- Blocco Grafico ---------- */
.eelle-chart{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px 14px 12px;margin:1.6em 0}
.eelle-chart .ec-title{font-family:var(--serif);font-size:1.2rem;font-weight:600;line-height:1.3}
.eelle-chart .ec-sub{font-size:.84rem;color:var(--muted);margin-top:2px}
.eelle-chart .ec-canvas{position:relative;height:260px;margin-top:14px}
.eelle-chart .ec-canvas.is-hbar{height:auto}
.eelle-chart .ec-foot{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-top:14px;padding-top:12px;border-top:1px solid var(--line);font-size:.78rem;color:var(--muted)}
.eelle-chart .ec-actions{display:flex;gap:14px}
.eelle-chart .ec-actions{flex-wrap:wrap;gap:4px 16px}
.eelle-chart .ec-actions button,.eelle-chart .ec-actions a{font:inherit;font-weight:600;color:var(--primary);background:none;border:0;cursor:pointer;text-decoration:none;padding:0;min-height:40px;display:inline-flex;align-items:center}
.eelle-chart .ec-actions button:hover,.eelle-chart .ec-actions a:hover{text-decoration:underline}
.eelle-chart .ec-table{margin-top:14px;overflow-x:auto}
.eelle-chart .ec-table[hidden]{display:none}
.eelle-chart table{border-collapse:collapse;width:100%;font-size:.88rem;font-variant-numeric:tabular-nums}
.eelle-chart caption{text-align:left;font-size:.78rem;color:var(--muted);padding-bottom:6px}
.eelle-chart th,.eelle-chart td{padding:9px 10px;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}
.eelle-chart th:first-child,.eelle-chart td:first-child{text-align:left;white-space:normal}
.eelle-chart thead th{font-size:.74rem;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:600;border-bottom:1px solid var(--ink)}
.eelle-chart tbody tr:hover{background:#F7F9FB}
.eelle-chart tr.is-total td{font-weight:700;border-top:1px solid var(--ink)}
.eelle-chart.is-table-only .ec-table{margin-top:16px}
.eelle-chart .ec-error{padding:30px;text-align:center;color:var(--muted);background:var(--bg);border-radius:4px;font-size:.9rem}

/* ---------- Blocco Tableau ---------- */
.eelle-tableau{margin:2em 0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.eelle-tableau .et-head{padding:16px 20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}
.eelle-tableau .et-head h2{font-family:var(--serif);font-size:1.15rem;font-weight:600}
.eelle-tableau .et-head a{font-size:.85rem;font-weight:600;color:var(--primary);min-height:40px;display:inline-flex;align-items:center}
.eelle-tableau .et-frame{position:relative;height:var(--h-mob,680px);background:#F4F7FA}
.eelle-tableau iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.eelle-tableau .et-empty{padding:40px;text-align:center;color:var(--muted)}
@media(min-width:768px){.eelle-tableau .et-frame{height:var(--h-desk,820px)}}

@media(min-width:640px){.eelle-chart{padding:22px 22px 16px;margin:2em 0}.eelle-chart .ec-canvas{height:320px;margin-top:18px}}
@media(min-width:900px){.eelle-chart .ec-canvas{height:360px}}
.eelle-chart .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.eelle-chart th:first-child,.eelle-chart td:first-child{min-width:9.5em}
.eelle-chart .ec-table{margin-left:-14px;margin-right:-14px;padding:0 14px}
@media(min-width:640px){.eelle-chart .ec-table{margin-left:0;margin-right:0;padding:0}}
