body { font-family: 'Inter', sans-serif; background-color: #f3f4f6; }
.hidden-section { display: none; }
/* Smooth transitions for showing/hiding elements */
.fade-in { animation: fadeIn 0.3s ease-in; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.refers-quote-hint {
    position: relative;
    cursor: help;
    text-decoration: underline dotted;
}

.refers-quote-hint::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: 125%;
    transform: translateX(-50%);
    width: min(280px, 80vw);
    background: #1f2937;
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 500;
    border-radius: 8px;
    padding: 8px 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease-in-out;
    pointer-events: none;
    z-index: 40;
}

.refers-quote-hint:hover::after,
.refers-quote-hint:focus::after {
    opacity: 1;
    visibility: visible;
}