/* Tooltipy leksykonu: oznaczone hasla w tresci i okienko podpowiedzi. */
.ws-tip,
.ws-tip-link {
    text-decoration: underline dotted;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    color: inherit;
}
.ws-tip {
    cursor: help;
}
.ws-tip:hover,
.ws-tip:focus-visible,
.ws-tip-link:hover,
.ws-tip-link:focus-visible {
    text-decoration-style: solid;
}
.ws-tip:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
    border-radius: 2px;
}
.ws-tip-okno {
    position: absolute;
    z-index: 10000;
    box-sizing: border-box;
    width: max-content;
    max-width: min(24rem, calc(100vw - 1.5rem));
    padding: 0.75rem 1rem;
    border: 1px solid #c9ced4;
    border-radius: 0.5rem;
    background: #fff;
    color: #1f2328;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
    font: 400 0.9rem/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    text-align: left;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.12s ease;
    pointer-events: none;
}
.ws-tip-okno[data-widoczne] {
    opacity: 1;
    pointer-events: auto;
}
.ws-tip-okno[hidden] {
    display: none;
}
.ws-tip-okno__tytul {
    display: block;
    margin: 0 0 0.35rem;
    font-weight: 700;
}
.ws-tip-okno__tresc {
    margin: 0;
}
.ws-tip-okno__link {
    display: inline-block;
    margin-top: 0.5rem;
    color: #0b57d0;
    font-weight: 600;
    text-decoration: underline;
}
@media (prefers-reduced-motion: reduce) {
    .ws-tip-okno {
        transition: none;
    }
}
@media print {
    .ws-tip-okno {
        display: none;
    }
    .ws-tip,
    .ws-tip-link {
        text-decoration: none;
    }
}
