/* Basic fallback presentation for Veganshodan Reading Tools outside the Frontiers theme. */
.vsrt-tooltip {
    color: #496f9e;
    border-bottom: 1px dotted currentColor;
    cursor: help;
    text-decoration: none;
}
.vsrt-tooltip strong,
.vsrt-tooltip b {
    font-weight: 700;
}
.vsrt-tooltip-bubble {
    position: absolute;
    z-index: 99999;
    max-width: min(280px, calc(100vw - 28px));
    padding: .65rem .8rem;
    border-radius: 12px;
    background: #1f2937;
    color: #fff;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 16px 38px rgba(0,0,0,.22);
    font-size: .9rem;
    line-height: 1.65;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity .12s ease, transform .12s ease;
}
.vsrt-tooltip-bubble.visible {
    opacity: 1;
    transform: translateY(0);
}
.vsrt-shaded-box {
    margin: 1.5rem 0;
    padding: 1rem 1.15rem;
    border-radius: 16px;
    border: 1px solid rgba(73,111,158,.22);
    background: linear-gradient(180deg, rgba(73,111,158,.07), rgba(73,111,158,.035));
}
.vsrt-shaded-box p:first-child { margin-top: 0; }
.vsrt-shaded-box p:last-child { margin-bottom: 0; }
@media (prefers-color-scheme: dark) {
    .vsrt-tooltip { color: #9db7d6; }
    .vsrt-tooltip-bubble {
        background: #f3f4f6;
        color: #111827;
        border-color: rgba(0,0,0,.12);
    }
    .vsrt-shaded-box {
        border-color: rgba(157,183,214,.28);
        background: linear-gradient(180deg, rgba(157,183,214,.10), rgba(157,183,214,.045));
    }
}

/* Basic wide/sticky table fallback outside the Frontiers theme. */
.vsrt-table-wrap {
    position: relative;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0;
}
.vsrt-table-wrap.vsrt-table-overflows-x {
    cursor: grab;
}
.vsrt-table-wrap.vsrt-pointer-on-text,
.vsrt-table-wrap.vsrt-pointer-on-text * {
    cursor: text !important;
}
.vsrt-table-wrap.vsrt-table-dragging,
.vsrt-table-wrap.vsrt-table-dragging * {
    cursor: grabbing !important;
    user-select: none !important;
}
.vsrt-table-wrap table {
    max-width: none;
}
.vsrt-table-wrap tr.vsrt-sticky-row-active > th,
.vsrt-table-wrap tr.vsrt-sticky-row-active > td {
    position: sticky;
    top: var(--vsrt-sticky-row-top, 0px);
    z-index: var(--vsrt-sticky-row-z, 20);
    background: Canvas;
    color: CanvasText;
    opacity: 1;
    box-shadow: 0 1px 0 rgba(127,127,127,.35), 0 6px 16px rgba(0,0,0,.08);
}
@supports not (background: Canvas) {
    .vsrt-table-wrap tr.vsrt-sticky-row-active > th,
    .vsrt-table-wrap tr.vsrt-sticky-row-active > td {
        background: #fff;
        color: #111;
    }
}
