/* ==================================================
   GFNC – GA4 FINAL LAYOUT
   ================================================== */

.gfnc-chart-wrap {
    height: 360px;
    max-height: 360px;
    position: relative;
    overflow: hidden;
    margin: 20px 0;
}

.gfnc-chart-wrap canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* ==================================================
   EXPORT BAR
   ================================================== */

.gfnc-export {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    align-items: center;
    justify-content: flex-start;
}

.gfnc-export .button {
    font-size: 11px;
    padding: 3px 8px;
    line-height: 1.4;
}

/* ==================================================
   TOOLTIP "COPIATO"
   ================================================== */

.gfnc-tooltip {
    position: fixed;
    transform: translateX(-50%) translateY(-100%);
    background: #1e1e1e;
    color: #ffffff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 9999;
}

.gfnc-tooltip.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-120%);
}

/* ==================================================
   CLEANUP
   ================================================== */

.wrap {
    overflow-x: hidden;
}

/* ==================================================
   GFNC SUMMARY – NEUTRAL (NO LAYOUT / NO STYLES)
   ================================================== */

/* contenitore summary: nessuna imposizione */
.gfnc-summary-wrap {
    margin: 0;
    padding: 0;
}

/* singolo blocco summary */
.gfnc-summary-box {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
}

/* titolo */
.gfnc-summary-box h4 {
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    text-transform: none;
}

/* righe interne */
.gfnc-summary-box div {
    margin: 0;
    padding: 0;
    display: inline;
}

/* label */
.gfnc-summary-box strong {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

/* valore */
.gfnc-summary-box span {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

/* rimuove qualsiasi separatore */
.gfnc-summary-box::after {
    content: none !important;
}
