.article-content .aiij-glossary-term {
    all: unset;
    display: inline;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    cursor: help;
    white-space: normal;
}
.article-content .aiij-glossary-term::after {
    content: "?";
    margin-inline-start: 0.12em;
    color: #2563eb;
    font-size: 0.65em;
    font-weight: 600;
    line-height: 0;
    vertical-align: super;
}
.article-content .aiij-glossary-term:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 3px;
    border-radius: 2px;
}
.aiij-glossary-tooltip {
    position: fixed;
    z-index: 2147483000;
    left: 0;
    top: 0;
    box-sizing: border-box;
    width: max-content;
    max-width: min(320px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
    overflow: auto;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
    box-shadow: 0 6px 20px rgb(15 23 42 / 12%);
    color: #1e293b;
    font: 14px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-align: left;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}
.aiij-glossary-tooltip[hidden] { display: none !important; }
.aiij-glossary-title {
    display: block;
    margin-bottom: 4px;
    color: #1d4ed8;
    font-weight: 700;
}
