/* Style for the automatically linked term */
        .glossary-term {
            /* Makes the linked word visually distinct and suggests interactivity */
            border-bottom: 2px dotted var(--accent-color);
            cursor: help;
            position: relative; 
            font-weight: bold;
        }

        /* Style for the custom tooltip container */
        .glossary-tooltip {
            /* Hidden by default, shown on hover via JS */
            display: none; 
            position: absolute;
            z-index: 1000; 
            
            /* Appearance */
            background-color: #333;
            color: #fff;
            padding: 8px 12px;
            border-radius: 4px;
            font-size: 14px;
            max-width: 250px;
            white-space: normal; /* Allows text to wrap */
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
            pointer-events: none; /* Allows mouse to interact with elements underneath */
            transition: opacity 0.2s;
        }