/* ================================
   VENN-SPECIFIC STYLES (ACTIVE)
   ================================ */

/* Canvas — ONLY for Venn diagram */
#vennCanvas {
    display: block;
    /* remove flex */
    margin: auto;
    cursor: pointer;
    width: 100%;
    /* fill parent width */
    height: auto;
    /* maintain aspect ratio */
    max-width: 100%;
    /* never exceed parent */
}

/* Tooltip for Venn segments */
.tooltip {
    position: fixed;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 14px;
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
    transform: translate(-50%, -150%);
    transition: opacity 0.15s ease-in-out, transform 0.15s ease-in-out;
}

/* Hint text under the Venn */
.hint {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
    text-align: center;
}

/* Text outline used on Venn labels */
.text-outline {
    paint-order: stroke;
    stroke: #000;
    stroke-width: 1px;
    fill: #fff;
}

/* Ensure nav-panel is square for the Venn */
/* Ensure nav-panel is square for the Venn */
.nav-panel {
    /* Dimensions controlled by layout.css */
    display: flex;
    justify-content: center;
    align-items: center;
    /* center canvas */
    padding: 0;
    overflow: hidden;
}