/* Overlay for formulae.php / formulaeE.php — formulation + performance tables */

section.itemList,
#iList.itemList {
    display: block;
    width: auto;
    max-width: none;
    margin: 0 0 4px;
    padding: 0 12px 0 0;
    font-size: 0.78em;
    line-height: 1.35;
    color: #333;
    white-space: nowrap;
}
section.itemList .fcat {
    color: #2f4f4f;
    white-space: nowrap;
}
section.itemList a {
    color: #1a5f9e;
    text-decoration: underline;
    white-space: nowrap;
}
section.itemList a.fon {
    color: dimgrey;
    text-decoration: none;
    font-weight: bold;
    pointer-events: none;
}

@media (max-width: 965px) {
    section.itemList,
    #iList.itemList {
        width: 100%;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: break-word;
        line-height: 1.45;
    }
}

section.formula {
    width: 100%;
    max-width: 960px;
    clear: both;
}

table.smtFormula {
    width: 100%;
    max-width: 800px;
    margin: 12px 0 28px;
    border-collapse: collapse;
    clear: both;
}

table.smtFormula caption {
    font-weight: bold;
    text-align: left;
    margin: 6px 0 8px;
    color: darkslateblue;
    caption-side: top;
}

table.smtFormula:first-of-type {
    margin-top: 4px;
}

table.smtFormula th {
    color: seashell;
    line-height: 1.25;
    background-color: rgba(25, 119, 52, 0.8);
    border: 1px solid #fff;
    text-align: center;
    font-weight: bold;
    font-size: 0.85em;
    padding: 6px 10px;
}

table.smtFormula td {
    border: 1px solid #cfe8e0;
    text-align: left;
    font-weight: normal;
    font-size: 0.85em;
    line-height: 1.35;
    color: #333;
    background-color: rgba(148, 232, 221, 0.12);
    padding: 5px 10px;
    vertical-align: middle;
}

section.formula table.smtFormula td.data,
table.smtFormula td.data {
    text-align: center;
    white-space: nowrap;
}

/* Performance footnotes — note size, not body text */
section.fnote,
section.fnote.note {
    max-width: 800px;
    margin: 2px 0 16px;
    color: #333;
    font-size: 0.72em;
    font-weight: normal;
    line-height: 1.4;
}

section.fnote ol,
section.fnote ul {
    margin: 2px 0 0 1.4em;
    padding: 0;
}

section.fnote li,
section.fnote p,
section.fnote div {
    font-size: 1em;
    font-weight: normal;
    line-height: 1.4;
    color: #333;
}
