/* RX Theme v10.23.60.1 — Modern Universal Medical Table Skin + CDN-Proof Local Delivery */
:root {
    --rx-table-accent: #047857;
    --rx-table-accent-dark: #065f46;
    --rx-table-soft: #ecfdf5;
    --rx-table-line: #cfe3da;
    --rx-table-text: #14231e;
    --rx-table-muted: #5f6f68;
    --rx-table-surface: #ffffff;
    --rx-table-row-alt: #f4f8f6;
    --rx-table-row-hover: #e5f4ed;
}

/*
 * Guaranteed article-table skin.
 *
 * This deliberately mirrors the user's proven CSS idea (borders, padding,
 * zebra rows, hover state and green headings), but scopes it to public article
 * content so WordPress admin, navigation and footer tables are not affected. It works before
 * JavaScript enhancement and in cached/no-JS views.
 */
:where(
    .entry-content,
    .post-content,
    .article-content,
    .rx-article-content,
    .wp-block-post-content,
    .single-post-content,
    .single-content,
    .content-area article,
    .td-post-content,
    .tdb_single_content,
    .tdb-block-inner,
    .post-body,
    .the-content,
    .site-main,
    #primary,
    main
) table:not(.rx-no-table-style):not(.rx-medical-table) {
    width: 100%;
    max-width: 100%;
    margin: 1.5rem 0;
    border: 1px solid #d6e1dc;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    background: #ffffff;
    color: var(--rx-table-text);
    font-size: .97rem;
    line-height: 1.55;
    box-shadow: 0 6px 20px rgba(23, 64, 48, .07);
}

:where(
    .entry-content,
    .post-content,
    .article-content,
    .rx-article-content,
    .wp-block-post-content,
    .single-post-content,
    .single-content,
    .content-area article,
    .td-post-content,
    .tdb_single_content,
    .tdb-block-inner,
    .post-body,
    .the-content,
    .site-main,
    #primary,
    main
) table:not(.rx-no-table-style):not(.rx-medical-table) :is(th, td) {
    padding: .72rem .82rem;
    border: 0;
    border-right: 1px solid #d6e1dc;
    border-bottom: 1px solid #d6e1dc;
    vertical-align: top;
    text-align: left;
    overflow-wrap: anywhere;
    transition: background-color .16s ease;
}

:where(
    .entry-content,
    .post-content,
    .article-content,
    .rx-article-content,
    .wp-block-post-content,
    .single-post-content,
    .single-content,
    .content-area article,
    .td-post-content,
    .tdb_single_content,
    .tdb-block-inner,
    .post-body,
    .the-content,
    .site-main,
    #primary,
    main
) table:not(.rx-no-table-style):not(.rx-medical-table) tr > :last-child {
    border-right: 0;
}

:where(
    .entry-content,
    .post-content,
    .article-content,
    .rx-article-content,
    .wp-block-post-content,
    .single-post-content,
    .single-content,
    .content-area article,
    .td-post-content,
    .tdb_single_content,
    .tdb-block-inner,
    .post-body,
    .the-content,
    .site-main,
    #primary,
    main
) table:not(.rx-no-table-style):not(.rx-medical-table) tbody tr:last-child > * {
    border-bottom: 0;
}

:where(
    .entry-content,
    .post-content,
    .article-content,
    .rx-article-content,
    .wp-block-post-content,
    .single-post-content,
    .single-content,
    .content-area article,
    .td-post-content,
    .tdb_single_content,
    .tdb-block-inner,
    .post-body,
    .the-content,
    .site-main,
    #primary,
    main
) table:not(.rx-no-table-style):not(.rx-medical-table) :is(thead th, thead td, tr:first-child > th) {
    padding-top: .82rem;
    padding-bottom: .82rem;
    background: linear-gradient(180deg, #059669, #047857);
    color: #ffffff;
    font-weight: 760;
    letter-spacing: .005em;
    text-align: left;
    border-color: rgba(255, 255, 255, .20);
}

:where(
    .entry-content,
    .post-content,
    .article-content,
    .rx-article-content,
    .wp-block-post-content,
    .single-post-content,
    .single-content,
    .content-area article,
    .td-post-content,
    .tdb_single_content,
    .tdb-block-inner,
    .post-body,
    .the-content,
    .site-main,
    #primary,
    main
) table:not(.rx-no-table-style):not(.rx-medical-table) tbody tr:nth-child(even) > * {
    background-color: #f2f5f3;
}

:where(
    .entry-content,
    .post-content,
    .article-content,
    .rx-article-content,
    .wp-block-post-content,
    .single-post-content,
    .single-content,
    .content-area article,
    .td-post-content,
    .tdb_single_content,
    .tdb-block-inner,
    .post-body,
    .the-content,
    .site-main,
    #primary,
    main
) table:not(.rx-no-table-style):not(.rx-medical-table) tbody tr:hover > * {
    background-color: #e3f2ea;
}

:where(
    .entry-content,
    .post-content,
    .article-content,
    .rx-article-content,
    .wp-block-post-content,
    .single-post-content,
    .single-content,
    .content-area article,
    .td-post-content,
    .tdb_single_content,
    .tdb-block-inner,
    .post-body,
    .the-content,
    .site-main,
    #primary,
    main
) table:not(.rx-no-table-style):not(.rx-medical-table) tbody tr > :first-child {
    color: #123c2e;
    font-weight: 700;
}

:where(
    .entry-content,
    .post-content,
    .article-content,
    .rx-article-content,
    .wp-block-post-content,
    .single-post-content,
    .single-content,
    .content-area article,
    .td-post-content,
    .tdb_single_content,
    .tdb-block-inner,
    .post-body,
    .the-content,
    .site-main,
    #primary,
    main
) table:not(.rx-no-table-style):not(.rx-medical-table) :is(p, ul, ol) {
    margin-top: 0;
    margin-bottom: .55rem;
}

:where(
    .entry-content,
    .post-content,
    .article-content,
    .rx-article-content,
    .wp-block-post-content,
    .single-post-content,
    .single-content,
    .content-area article,
    .td-post-content,
    .tdb_single_content,
    .tdb-block-inner,
    .post-body,
    .the-content,
    .site-main,
    #primary,
    main
) table:not(.rx-no-table-style):not(.rx-medical-table) :is(p, ul, ol):last-child {
    margin-bottom: 0;
}

.rx-table-component,
.rx-table-shell,
.rx-data-list-shell,
.rx-paired-grid-shell {
    --rx-table-accent: #047857;
    --rx-table-accent-dark: #065f46;
    --rx-table-soft: #ecfdf5;
    --rx-table-line: #cfe3da;
    --rx-table-row-alt: #f4f8f6;
    --rx-table-row-hover: #e5f4ed;
}

.rx-table-component { margin: 1.7rem 0; }

.rx-table-shell,
.rx-data-list-shell,
.rx-paired-grid-shell {
    position: relative;
    margin: 1.7rem 0;
    overflow: hidden;
    border: 1px solid var(--rx-table-line);
    border-radius: 12px;
    background: var(--rx-table-surface);
    box-shadow: 0 8px 26px rgba(23, 64, 48, .09);
}

.rx-table-component > .rx-table-shell { margin: 0; }

.rx-table-shell--comparison,
.rx-table--comparison,
.is-style-rx-comparison {
    --rx-table-accent: #5845b8;
    --rx-table-accent-dark: #3f318b;
    --rx-table-soft: #f1efff;
    --rx-table-line: #d8d1f4;
    --rx-table-row-alt: #faf9ff;
    --rx-table-row-hover: #f0edff;
}

.rx-table-shell--lab,
.rx-table--lab,
.is-style-rx-lab {
    --rx-table-accent: #087f83;
    --rx-table-accent-dark: #075d60;
    --rx-table-soft: #eafafa;
    --rx-table-line: #c8e4e5;
    --rx-table-row-alt: #f6fcfc;
    --rx-table-row-hover: #e6f8f8;
}

.rx-table-shell--dosage,
.rx-table--dosage,
.is-style-rx-dosage {
    --rx-table-accent: #7650a8;
    --rx-table-accent-dark: #543679;
    --rx-table-soft: #f6f0fb;
    --rx-table-line: #dfd3ea;
    --rx-table-row-alt: #fbf8fd;
    --rx-table-row-hover: #f3ebfa;
}

.rx-table-shell--compact,
.rx-table--compact,
.is-style-rx-compact {
    --rx-table-accent: #43556d;
    --rx-table-accent-dark: #2e3c50;
    --rx-table-soft: #eef2f6;
    --rx-table-line: #d5dde6;
    --rx-table-row-alt: #f8fafc;
    --rx-table-row-hover: #edf2f7;
}

.rx-table-shell--warning,
.rx-table--warning,
.is-style-rx-warning {
    --rx-table-accent: #a95c08;
    --rx-table-accent-dark: #7b4104;
    --rx-table-soft: #fff6df;
    --rx-table-line: #ecd3a0;
    --rx-table-row-alt: #fffdf7;
    --rx-table-row-hover: #fff1cc;
}

.rx-table-shell--success,
.rx-table--success {
    --rx-table-accent: #247a45;
    --rx-table-accent-dark: #185a31;
    --rx-table-soft: #eaf8ef;
    --rx-table-line: #c8e2d1;
    --rx-table-row-alt: #f7fcf8;
    --rx-table-row-hover: #e8f7ed;
}

/* The new dense matrix style is designed for nutrition, reference and wide data tables. */
.rx-table-shell--matrix,
.rx-table--matrix,
.is-style-rx-matrix {
    --rx-table-accent: #203f63;
    --rx-table-accent-dark: #142b45;
    --rx-table-soft: #edf3f8;
    --rx-table-line: #aebdca;
    --rx-table-row-alt: #fffde7;
    --rx-table-row-hover: #fff7b8;
}

/* The directory style is designed for medicine-interaction and name/details tables. */
.rx-table-shell--directory,
.rx-table--directory,
.is-style-rx-directory,
.rx-data-list-shell,
.rx-paired-grid-shell {
    --rx-table-accent: #047857;
    --rx-table-accent-dark: #065f46;
    --rx-table-soft: #ecfdf5;
    --rx-table-line: #cfe3da;
    --rx-table-row-alt: #f4f8f6;
    --rx-table-row-hover: #e5f4ed;
}

.rx-table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .72rem .85rem;
    border-bottom: 1px solid var(--rx-table-line);
    background: linear-gradient(180deg, var(--rx-table-soft), rgba(255, 255, 255, .96));
}

.rx-table-toolbar__meta {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-width: 0;
}

.rx-table-toolbar__title {
    overflow: hidden;
    color: var(--rx-table-accent-dark);
    font-size: .95rem;
    font-weight: 760;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rx-table-toolbar__hint {
    display: none;
    color: var(--rx-table-muted);
    font-size: .76rem;
    font-weight: 650;
    white-space: nowrap;
}

.rx-table-toolbar__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .45rem;
    flex: 1 1 auto;
}

.rx-table-search {
    width: min(240px, 38vw) !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: .42rem .65rem !important;
    border: 1px solid var(--rx-table-line) !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--rx-table-text) !important;
    font: inherit !important;
    font-size: .84rem !important;
    box-shadow: none !important;
}

.rx-table-action {
    min-height: 34px;
    padding: .38rem .62rem;
    border: 1px solid var(--rx-table-line);
    border-radius: 8px;
    background: #fff;
    color: var(--rx-table-accent-dark);
    cursor: pointer;
    font: inherit;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1;
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.rx-table-action:hover,
.rx-table-action:focus-visible {
    border-color: var(--rx-table-accent);
    background: var(--rx-table-soft);
    outline: none;
}

.rx-table-action:active { transform: translateY(1px); }

.rx-table-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: var(--rx-table-accent) var(--rx-table-soft);
    scrollbar-width: thin;
}

.rx-table-scroll::-webkit-scrollbar { height: 10px; }
.rx-table-scroll::-webkit-scrollbar-track { background: var(--rx-table-soft); }
.rx-table-scroll::-webkit-scrollbar-thumb {
    border: 2px solid var(--rx-table-soft);
    border-radius: 99px;
    background: var(--rx-table-accent);
}

.rx-medical-table,
.entry-content table.rx-medical-table,
.post-content table.rx-medical-table,
.article-content table.rx-medical-table,
.rx-article-content table.rx-medical-table,
.wp-block-post-content table.rx-medical-table,
.single-post-content table.rx-medical-table,
.single-content table.rx-medical-table,
.content-area article table.rx-medical-table,
main article table.rx-medical-table {
    width: 100% !important;
    min-width: 620px;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: var(--rx-table-surface) !important;
    color: var(--rx-table-text) !important;
    font-size: .95rem;
    line-height: 1.5;
    table-layout: auto;
}

.rx-medical-table caption {
    padding: .8rem 1rem;
    color: var(--rx-table-accent-dark);
    font-size: .95rem;
    font-weight: 760;
    text-align: left;
    caption-side: top;
}

.rx-medical-table th,
.rx-medical-table td {
    min-width: 105px;
    padding: .78rem .88rem !important;
    border: 0 !important;
    border-right: 1px solid var(--rx-table-line) !important;
    border-bottom: 1px solid var(--rx-table-line) !important;
    vertical-align: top;
    text-align: left;
    overflow-wrap: anywhere;
}

.rx-medical-table tr > :last-child { border-right: 0 !important; }
.rx-medical-table tbody tr:last-child > * { border-bottom: 0 !important; }

.rx-medical-table tbody tr {
    transition: background-color .16s ease;
}

.rx-medical-table :is(td, th) > :is(p, ul, ol) {
    margin-top: 0;
    margin-bottom: .55rem;
}

.rx-medical-table :is(td, th) > :is(p, ul, ol):last-child {
    margin-bottom: 0;
}

.rx-medical-table a {
    color: var(--rx-table-accent-dark);
    font-weight: 650;
    text-decoration-thickness: .08em;
    text-underline-offset: .16em;
}

.rx-medical-table a:hover,
.rx-medical-table a:focus-visible {
    color: var(--rx-table-accent);
}

.rx-medical-table thead th,
.rx-medical-table thead td,
.rx-medical-table tr:first-child > th {
    background: var(--rx-table-accent) !important;
    background: linear-gradient(180deg, color-mix(in srgb, var(--rx-table-accent) 88%, #ffffff 12%), var(--rx-table-accent-dark)) !important;
    color: #fff !important;
    font-weight: 760 !important;
    letter-spacing: .005em;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .08);
}

.rx-table-has-sticky-header .rx-medical-table thead th,
.rx-table-has-sticky-header .rx-medical-table thead td {
    position: sticky;
    top: 0;
    z-index: 4;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .18), 0 2px 5px rgba(24, 38, 57, .13);
}

.rx-medical-table tbody th,
.rx-medical-table tbody .rx-table-cell--label {
    background: var(--rx-table-soft) !important;
    color: var(--rx-table-accent-dark) !important;
    font-weight: 760 !important;
}

.rx-medical-table .rx-table-cell--numeric {
    text-align: center !important;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.rx-table-zebra .rx-medical-table tbody tr:nth-child(even) > td,
.rx-table-zebra .rx-medical-table tbody tr:nth-child(even) > th {
    background-color: var(--rx-table-row-alt) !important;
}

.rx-table-hover .rx-medical-table tbody tr:hover > td,
.rx-table-hover .rx-medical-table tbody tr:hover > th {
    background-color: var(--rx-table-row-hover) !important;
}

.rx-table-sticky-first .rx-medical-table tr > :first-child {
    position: sticky;
    left: 0;
    z-index: 3;
    box-shadow: 2px 0 5px rgba(20, 44, 78, .08);
}

.rx-table-sticky-first .rx-medical-table thead tr > :first-child { z-index: 6; }

.rx-table--compact th,
.rx-table--compact td,
.is-style-rx-compact table th,
.is-style-rx-compact table td,
.rx-table-dense .rx-medical-table th,
.rx-table-dense .rx-medical-table td {
    padding: .56rem .66rem !important;
    font-size: .88rem;
    line-height: 1.38;
}

/* Dense multi-column matrix, similar to professional nutrition/reference tables. */
.rx-table--matrix {
    min-width: 900px;
    font-size: .86rem;
    line-height: 1.28;
}

.rx-table--matrix th,
.rx-table--matrix td {
    min-width: 70px;
    padding: .46rem .52rem !important;
    text-align: center;
    vertical-align: middle;
}

.rx-table--matrix tr > :first-child {
    min-width: 220px;
    max-width: 290px;
    text-align: left !important;
    font-weight: 780 !important;
}

.rx-table--matrix thead th,
.rx-table--matrix thead td {
    background: linear-gradient(180deg, #2b527b, #1d3b5d) !important;
    border-color: #8295a8 !important;
    text-align: center !important;
}

.rx-table--matrix tbody tr:nth-child(odd) > * {
    background-color: #fff !important;
}

.rx-table--matrix tbody tr:nth-child(even) > * {
    background-color: var(--rx-table-row-alt) !important;
}

.rx-table--matrix tbody tr:hover > * {
    background-color: var(--rx-table-row-hover) !important;
}

/* Clean name/details layout for drug interactions and similar lists. */
.rx-table--directory {
    min-width: 680px;
    table-layout: fixed;
}

.rx-table--directory tr > :first-child {
    width: 29%;
    min-width: 190px;
    color: var(--rx-table-accent-dark) !important;
    font-weight: 760 !important;
}

.rx-table--directory tr > :nth-child(2) {
    width: 71%;
    line-height: 1.55;
}

.rx-table--directory tbody tr > :first-child {
    border-left: 3px solid transparent !important;
}

.rx-table--directory tbody tr:nth-child(even) > * {
    background-color: var(--rx-table-row-alt) !important;
}

.rx-table--directory tbody tr:hover > :first-child {
    border-left-color: var(--rx-table-accent) !important;
}

.rx-table-empty-row td {
    padding: 1rem !important;
    color: var(--rx-table-muted) !important;
    font-style: italic;
    text-align: center !important;
}

.rx-table-row-hidden { display: none !important; }

/* Definition-list and pseudo-table rescue. */
.rx-data-list-shell,
.rx-paired-grid-shell {
    overflow: hidden;
}

.rx-data-list__head {
    display: grid;
    grid-template-columns: minmax(190px, 29%) 1fr;
    background: var(--rx-table-accent);
    color: #fff;
    font-size: .93rem;
    font-weight: 760;
}

.rx-data-list__head > span {
    padding: .72rem .88rem;
    border-right: 1px solid rgba(255,255,255,.22);
}

.rx-data-list__head > span:last-child { border-right: 0; }

.rx-data-list {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
}

.rx-data-list__row {
    display: grid;
    grid-template-columns: minmax(190px, 29%) 1fr;
    margin: 0;
    border-bottom: 1px solid var(--rx-table-line);
    background: #fff;
}

.rx-data-list__row:nth-child(even) { background: var(--rx-table-row-alt); }
.rx-data-list__row:hover { background: var(--rx-table-row-hover); }
.rx-data-list__row:last-child { border-bottom: 0; }

.rx-data-list__row > dt,
.rx-data-list__row > .rx-data-list__details {
    min-width: 0;
    margin: 0 !important;
    padding: .76rem .88rem;
}

.rx-data-list__row > dt {
    border-right: 1px solid var(--rx-table-line);
    background: var(--rx-table-soft);
    color: var(--rx-table-accent-dark);
    font-weight: 760;
}

.rx-data-list__details > dd {
    margin: 0 0 .35rem !important;
    padding: 0 !important;
    line-height: 1.55;
}

.rx-data-list__details > dd:last-child { margin-bottom: 0 !important; }

.rx-paired-grid {
    display: block;
    margin: 0 !important;
}

.rx-paired-grid__row {
    display: grid !important;
    grid-template-columns: minmax(190px, 29%) 1fr;
    gap: 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid var(--rx-table-line);
}

.rx-paired-grid__row:nth-child(even) { background: var(--rx-table-row-alt); }
.rx-paired-grid__row:last-child { border-bottom: 0; }

.rx-paired-grid__label,
.rx-paired-grid__details {
    min-width: 0;
    margin: 0 !important;
    padding: .76rem .88rem !important;
}

.rx-paired-grid__label {
    border-right: 1px solid var(--rx-table-line);
    background: var(--rx-table-soft);
    color: var(--rx-table-accent-dark);
    font-weight: 760;
}

.rx-legacy-wpsm,
.rx-legacy-wpsm--box,
.rx-legacy-wpsm--titlebox,
.rx-legacy-wpsm--list,
.rx-legacy-wpsm--testimonial {
    margin: 1.25rem 0;
    padding: 1rem 1.1rem;
    border: 1px solid var(--rx-table-line);
    border-left: 4px solid var(--rx-table-accent);
    border-radius: 10px;
    background: var(--rx-table-soft);
    color: var(--rx-table-text);
}

.rx-legacy-wpsm h3 { margin-top: 0; color: var(--rx-table-accent-dark); }
.rx-legacy-wpsm cite { display: block; margin-top: .75rem; color: var(--rx-table-muted); font-style: normal; font-weight: 700; }

@media (max-width: 782px) {
    .rx-table-shell,
    .rx-data-list-shell,
    .rx-paired-grid-shell { margin: 1.35rem 0; border-radius: 11px; }

    .rx-table-toolbar { align-items: stretch; flex-direction: column; padding: .65rem; }
    .rx-table-toolbar__meta { justify-content: space-between; }
    .rx-table-toolbar__hint { display: inline-flex; }
    .rx-table-toolbar__actions { justify-content: stretch; }
    .rx-table-search { width: 100% !important; flex: 1 1 auto; }
    .rx-table-action { flex: 0 0 auto; }
    .rx-medical-table { min-width: 560px; font-size: .9rem; }
    .rx-medical-table th,
    .rx-medical-table td { padding: .66rem .7rem !important; }

    .rx-table--matrix { min-width: 860px; font-size: .82rem; }
    .rx-table--matrix th,
    .rx-table--matrix td { padding: .42rem .46rem !important; }

    .rx-table-mobile-stack:not(.rx-table-shell--matrix) .rx-table-scroll { overflow: visible; }
    .rx-table-mobile-stack:not(.rx-table-shell--matrix) .rx-medical-table {
        min-width: 0;
        border-collapse: separate !important;
    }
    .rx-table-mobile-stack:not(.rx-table-shell--matrix) .rx-medical-table thead { display: none; }
    .rx-table-mobile-stack:not(.rx-table-shell--matrix) .rx-medical-table,
    .rx-table-mobile-stack:not(.rx-table-shell--matrix) .rx-medical-table tbody,
    .rx-table-mobile-stack:not(.rx-table-shell--matrix) .rx-medical-table tr,
    .rx-table-mobile-stack:not(.rx-table-shell--matrix) .rx-medical-table td,
    .rx-table-mobile-stack:not(.rx-table-shell--matrix) .rx-medical-table th { display: block; width: 100%; }
    .rx-table-mobile-stack:not(.rx-table-shell--matrix) .rx-medical-table tbody tr {
        margin: .72rem;
        width: auto;
        overflow: hidden;
        border: 1px solid var(--rx-table-line);
        border-radius: 9px;
        background: #fff;
    }
    .rx-table-mobile-stack:not(.rx-table-shell--matrix) .rx-medical-table tbody tr > * {
        position: static !important;
        display: grid;
        grid-template-columns: minmax(110px, 36%) 1fr;
        gap: .65rem;
        min-width: 0;
        border-right: 0 !important;
        border-bottom: 1px solid var(--rx-table-line) !important;
        box-shadow: none !important;
    }
    .rx-table-mobile-stack:not(.rx-table-shell--matrix) .rx-medical-table tbody tr > *::before {
        content: attr(data-rx-label);
        color: var(--rx-table-accent-dark);
        font-weight: 760;
    }
    .rx-table-mobile-stack:not(.rx-table-shell--matrix) .rx-medical-table tbody tr > :last-child { border-bottom: 0 !important; }

    .rx-data-list__head,
    .rx-data-list__row,
    .rx-paired-grid__row {
        grid-template-columns: minmax(150px, 34%) 1fr;
    }
}

@media (max-width: 560px) {
    .rx-table-toolbar__actions { flex-wrap: wrap; }
    .rx-table-search { flex-basis: 100%; }
    .rx-medical-table { min-width: 500px; }

    .rx-data-list__head { display: none; }
    .rx-data-list__row,
    .rx-paired-grid__row {
        display: block !important;
        margin: .72rem !important;
        overflow: hidden;
        border: 1px solid var(--rx-table-line);
        border-radius: 9px;
        background: #fff;
    }
    .rx-data-list__row > dt,
    .rx-data-list__row > .rx-data-list__details,
    .rx-paired-grid__label,
    .rx-paired-grid__details {
        display: block;
        width: auto;
        border-right: 0;
    }
    .rx-data-list__row > dt,
    .rx-paired-grid__label {
        border-bottom: 1px solid var(--rx-table-line);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rx-table-action { transition: none; }
}

@media print {
    .rx-table-toolbar { display: none !important; }
    .rx-table-shell,
    .rx-data-list-shell,
    .rx-paired-grid-shell { overflow: visible; border: 0; box-shadow: none; }
    .rx-table-scroll { overflow: visible; }
    .rx-medical-table { min-width: 0; font-size: 9pt; }
}

body.dark-mode :where(.entry-content, .post-content, .article-content, .rx-article-content, .wp-block-post-content, .single-post-content, .single-content, .content-area article, .td-post-content, .tdb_single_content, .tdb-block-inner, .post-body, .the-content, .site-main, #primary, main)
    table:not(.rx-no-table-style):not(.rx-medical-table),
body.rx-dark-mode :where(.entry-content, .post-content, .article-content, .rx-article-content, .wp-block-post-content, .single-post-content, .single-content, .content-area article, .td-post-content, .tdb_single_content, .tdb-block-inner, .post-body, .the-content, .site-main, #primary, main)
    table:not(.rx-no-table-style):not(.rx-medical-table),
[data-theme="dark"] :where(.entry-content, .post-content, .article-content, .rx-article-content, .wp-block-post-content, .single-post-content, .single-content, .content-area article, .td-post-content, .tdb_single_content, .tdb-block-inner, .post-body, .the-content, .site-main, #primary, main)
    table:not(.rx-no-table-style):not(.rx-medical-table) {
    border-color: #31483f;
    background: #111a17;
    color: #e8f2ed;
    box-shadow: none;
}

body.dark-mode :where(.entry-content, .post-content, .article-content, .rx-article-content, .wp-block-post-content, .single-post-content, .single-content, .content-area article, .td-post-content, .tdb_single_content, .tdb-block-inner, .post-body, .the-content, .site-main, #primary, main)
    table:not(.rx-no-table-style):not(.rx-medical-table) :is(th, td),
body.rx-dark-mode :where(.entry-content, .post-content, .article-content, .rx-article-content, .wp-block-post-content, .single-post-content, .single-content, .content-area article, .td-post-content, .tdb_single_content, .tdb-block-inner, .post-body, .the-content, .site-main, #primary, main)
    table:not(.rx-no-table-style):not(.rx-medical-table) :is(th, td),
[data-theme="dark"] :where(.entry-content, .post-content, .article-content, .rx-article-content, .wp-block-post-content, .single-post-content, .single-content, .content-area article, .td-post-content, .tdb_single_content, .tdb-block-inner, .post-body, .the-content, .site-main, #primary, main)
    table:not(.rx-no-table-style):not(.rx-medical-table) :is(th, td) {
    border-color: #31483f;
}

body.dark-mode :where(.entry-content, .post-content, .article-content, .rx-article-content, .wp-block-post-content, .single-post-content, .single-content, .content-area article, .td-post-content, .tdb_single_content, .tdb-block-inner, .post-body, .the-content, .site-main, #primary, main)
    table:not(.rx-no-table-style):not(.rx-medical-table) tbody tr > :first-child,
body.rx-dark-mode :where(.entry-content, .post-content, .article-content, .rx-article-content, .wp-block-post-content, .single-post-content, .single-content, .content-area article, .td-post-content, .tdb_single_content, .tdb-block-inner, .post-body, .the-content, .site-main, #primary, main)
    table:not(.rx-no-table-style):not(.rx-medical-table) tbody tr > :first-child,
[data-theme="dark"] :where(.entry-content, .post-content, .article-content, .rx-article-content, .wp-block-post-content, .single-post-content, .single-content, .content-area article, .td-post-content, .tdb_single_content, .tdb-block-inner, .post-body, .the-content, .site-main, #primary, main)
    table:not(.rx-no-table-style):not(.rx-medical-table) tbody tr > :first-child {
    color: #b9f5d8;
}

body.dark-mode :where(.entry-content, .post-content, .article-content, .rx-article-content, .wp-block-post-content, .single-post-content, .single-content, .content-area article, .td-post-content, .tdb_single_content, .tdb-block-inner, .post-body, .the-content, .site-main, #primary, main)
    table:not(.rx-no-table-style):not(.rx-medical-table) tbody tr:nth-child(even) > *,
body.rx-dark-mode :where(.entry-content, .post-content, .article-content, .rx-article-content, .wp-block-post-content, .single-post-content, .single-content, .content-area article, .td-post-content, .tdb_single_content, .tdb-block-inner, .post-body, .the-content, .site-main, #primary, main)
    table:not(.rx-no-table-style):not(.rx-medical-table) tbody tr:nth-child(even) > *,
[data-theme="dark"] :where(.entry-content, .post-content, .article-content, .rx-article-content, .wp-block-post-content, .single-post-content, .single-content, .content-area article, .td-post-content, .tdb_single_content, .tdb-block-inner, .post-body, .the-content, .site-main, #primary, main)
    table:not(.rx-no-table-style):not(.rx-medical-table) tbody tr:nth-child(even) > * {
    background: #17231f;
}

body.dark-mode :where(.entry-content, .post-content, .article-content, .rx-article-content, .wp-block-post-content, .single-post-content, .single-content, .content-area article, .td-post-content, .tdb_single_content, .tdb-block-inner, .post-body, .the-content, .site-main, #primary, main)
    table:not(.rx-no-table-style):not(.rx-medical-table) tbody tr:hover > *,
body.rx-dark-mode :where(.entry-content, .post-content, .article-content, .rx-article-content, .wp-block-post-content, .single-post-content, .single-content, .content-area article, .td-post-content, .tdb_single_content, .tdb-block-inner, .post-body, .the-content, .site-main, #primary, main)
    table:not(.rx-no-table-style):not(.rx-medical-table) tbody tr:hover > *,
[data-theme="dark"] :where(.entry-content, .post-content, .article-content, .rx-article-content, .wp-block-post-content, .single-post-content, .single-content, .content-area article, .td-post-content, .tdb_single_content, .tdb-block-inner, .post-body, .the-content, .site-main, #primary, main)
    table:not(.rx-no-table-style):not(.rx-medical-table) tbody tr:hover > * {
    background: #20342b;
}

body.dark-mode .rx-table-shell,
body.rx-dark-mode .rx-table-shell,
[data-theme="dark"] .rx-table-shell,
body.dark-mode .rx-data-list-shell,
body.rx-dark-mode .rx-data-list-shell,
[data-theme="dark"] .rx-data-list-shell,
body.dark-mode .rx-paired-grid-shell,
body.rx-dark-mode .rx-paired-grid-shell,
[data-theme="dark"] .rx-paired-grid-shell {
    --rx-table-surface: #111a27;
    --rx-table-text: #e7edf5;
    --rx-table-muted: #aab7c7;
    --rx-table-line: #314156;
    --rx-table-row-alt: #172232;
    --rx-table-row-hover: #1d2b3e;
    background: var(--rx-table-surface);
}

body.dark-mode .rx-table-search,
body.rx-dark-mode .rx-table-search,
[data-theme="dark"] .rx-table-search,
body.dark-mode .rx-table-action,
body.rx-dark-mode .rx-table-action,
[data-theme="dark"] .rx-table-action {
    border-color: var(--rx-table-line) !important;
    background: #172232 !important;
    color: #e7edf5 !important;
}
