/* legacy-compat.css — HTML5 compatibility fixes for legacy KMS CSS */

/* Fix: LEFTMARGIN/TOPMARGIN are IE-only attributes */
body {
    margin: 0;
    padding: 0;
}

/* Fix: cursor:hand → cursor:pointer */
[onmouseover*="cursor='hand'"],
[style*="cursor:hand"] {
    cursor: pointer !important;
}

/* Fix: TABLE empty property values in legacy CSS */
table {
    border-width: 0;
    border-spacing: 0;
    border-style: none;
    border-color: transparent;
    border-collapse: separate;
    background-color: white;
}

/* Preserve: CLASS=Menu has NO matching CSS rule → white background */
/* This is intentional per UI spec §8.4 */
td.Menu {
    background-color: white;
}

/* Preserve: CLASS=Sel maps to TD.sel in CSS (case-insensitive) */
/* Modern browsers handle this, but explicit mapping ensures it */
td.Sel {
    background-color: #ffcc33;
}

/* Replace GD-generated tab GIFs with CSS */
.legacy-tab {
    display: inline-block;
    min-width: 100px;
    max-width: 300px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    border-radius: 8px 8px 0 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8pt;
    font-weight: bold;
}
.legacy-tab-menu1 {
    background-color: silver;
}
.legacy-tab-menu2 {
    background-color: #bbbbbb;
}
