/* Shared article-table presentation for product and product-group content.
   Keep the glass-product table as the visual reference. */
:is(.gp7-product-detail #article-content,.gp7-group-article,body#article-content.gp-content-studio) table {
    display:block;
    width:100%;
    max-width:100%;
    margin:24px 0;
    overflow-x:auto;
    border:1px solid #dce6ec;
    border-radius:10px;
    border-collapse:separate;
    border-spacing:0;
    background:#fff;
    color:#17354e;
    white-space:normal;
    line-height:1.55;
}
:is(.gp7-product-detail #article-content,.gp7-group-article,body#article-content.gp-content-studio) table :is(th,td) {
    min-width:125px;
    height:auto;
    padding:13px 15px;
    border:0;
    border-right:1px solid #e5edf2;
    border-bottom:1px solid #e5edf2;
    background:#fff;
    color:#17354e;
    font-size:14px;
    text-align:left;
    vertical-align:top;
}
:is(.gp7-product-detail #article-content,.gp7-group-article,body#article-content.gp-content-studio) table tr>*:last-child { border-right:0; }
:is(.gp7-product-detail #article-content,.gp7-group-article,body#article-content.gp-content-studio) table tbody tr:last-child>* { border-bottom:0; }
:is(.gp7-product-detail #article-content,.gp7-group-article,body#article-content.gp-content-studio) table thead tr>* {
    color:#194b80;
    font-weight:750;
    border-bottom:2px solid #9cb8cb;
}
:is(.gp7-product-detail #article-content,.gp7-group-article,body#article-content.gp-content-studio) table tbody th {
    background:#fff;
    color:#17354e;
    font-weight:650;
}
:is(.gp7-product-detail #article-content,.gp7-group-article,body#article-content.gp-content-studio) table i {
    white-space:normal;
    color:inherit;
}

/* Wide specification tables retain the glass-product scroll container. */
:is(.gp7-product-detail #article-content,.gp7-group-article,body#article-content.gp-content-studio) .gp-glass-table-scroll {
    width:100%;
    max-width:100%;
    margin:20px 0 8px;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    border:1px solid #dce6ec;
    border-radius:10px;
    background:#fff;
}
:is(.gp7-product-detail #article-content,.gp7-group-article,body#article-content.gp-content-studio) .gp-glass-table-scroll table {
    display:table;
    width:100%;
    min-width:860px;
    max-width:none;
    margin:0;
    overflow:visible;
    border:0;
    border-radius:0;
    table-layout:fixed;
    white-space:normal;
}
:is(.gp7-product-detail #article-content,.gp7-group-article,body#article-content.gp-content-studio) .gp-glass-table-scroll--compact table { min-width:680px; }
:is(.gp7-product-detail #article-content,.gp7-group-article,body#article-content.gp-content-studio) .gp-glass-table-scroll :is(th,td) {
    text-align:center;
    vertical-align:middle;
    overflow-wrap:anywhere;
}
:is(.gp7-product-detail #article-content,.gp7-group-article,body#article-content.gp-content-studio) .gp-glass-table-scroll :is(th,td):first-child { text-align:left; }

@media (max-width:650px) {
    :is(.gp7-product-detail #article-content,.gp7-group-article,body#article-content.gp-content-studio) table { white-space:nowrap; }
    :is(.gp7-product-detail #article-content,.gp7-group-article,body#article-content.gp-content-studio) table :is(th,td) { min-width:145px; }
    :is(.gp7-product-detail #article-content,.gp7-group-article,body#article-content.gp-content-studio) .gp-glass-table-scroll table { white-space:normal; }
    :is(.gp7-product-detail #article-content,.gp7-group-article,body#article-content.gp-content-studio) .gp-glass-table-scroll :is(th,td) {
        min-width:0;
        padding:11px 12px;
    }
}
