.mwd-wiki-term {
    border-bottom: 1px dashed currentColor;
    cursor: help;
}
/* Tippy light theme overrides */
.tippy-box[data-theme~='light'] {
    background-color: #fff !important;
    color: #2d2d2d !important;
    border: 1px solid rgba(0,0,0,.12);
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    padding: 10px;
}
.tippy-box[data-theme~='light'] > .tippy-arrow::before {
    color: #ffffff !important;                 /* arrow fill */

}
.tippy-box p:last-child {
    margin-bottom: 0;
}
body input.mwd-wiki-search-field {
    width: 100%;
    max-width: 100% !important;
    border-radius: 0;
    border: 1px solid rgba(128,128,128,.5019607843);
}

/* ───────── Responsive Wiki-Table (≤640 px) ───────── */
@media (max-width: 640px) {
    /* Deactivate traditional table layout */
    .mwd-wiki-table {
        border-collapse: separate;
        border-spacing: 0;
    }
    table.mwd-wiki-table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th {
        background-color: transparent;
    }
    .mwd-wiki-table thead {
        display: none !important;            /* hide header row */
    }

    .mwd-wiki-table tr {
        display: block;
        border: 1px solid #e1e1e1;
        border-radius: 4px;
        margin: 0 0 1rem;
        padding: 0.75rem;
        background: #fff;
    }

    .mwd-wiki-table td {
        display: block;
        width: 100%;
        border: none !important;
        padding: 0 0 0.5rem;
        box-sizing: border-box;
    }

    /* Keywords (first cell) */
    .mwd-wiki-table td:first-child {
        font-weight: 600;
        padding-bottom: 0.5rem;
    }

    /* Description (second cell) */
    .mwd-wiki-table td:last-child {
        padding-bottom: 0;                   /* no extra gap */
    }
}