#sub_header {
    width: 800px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

#sub_header > h2 {
    margin: 0;
    font-size: 1.25em;
}

#sub_header > a {
    font-size: 1.25em;
    color: #36f;
    text-decoration: none;
    display: flex;
}

#summary {
    border-collapse: collapse;
    width: 800px;
    font-size: 14px;
}

#summary > thead > tr > th {
    border: 1px solid #ccc;
    position: sticky;
    top: 0;
    background: #666;
    color: #fff;
    z-index: 2;
    height: 40px;
}

#summary > thead > tr > th:nth-of-type(1) {
    width: 40px;
}

#summary > thead > tr > th:nth-of-type(3) {
    width: 40px;
}

#summary > thead > tr > th > div {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
#summary > thead > tr > th span {
    margin-right: 5px;
}

#summary > thead > tr > th,
#summary > tbody > tr > td{
    font-weight: normal;
    padding: 2px 4px;
    text-align: center;
    vertical-align: top;
}
#summary > tbody > tr:nth-of-type(1) td:nth-of-type(1) {
    border-top: 1px solid #ccc;
}
#summary > tbody > tr > td:nth-of-type(1) {
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
}
#summary > tbody > tr > td.last-of-year {
    border-bottom: 1px solid #ccc;
}
#summary > tbody > tr > td:not(:nth-of-type(1)) {
    border: 1px solid #ccc;
}

#summary > tbody > tr.alternate > td {
    background-color: #f9f9f9;
}

#summary > tbody > tr.multi10 > td {
    border-bottom-color: #666;
}

#summary > tbody > tr > td:nth-of-type(2),
#summary > tbody > tr > td:nth-of-type(4) {
    text-align: left;
}
#summary > tbody > tr > td:nth-of-type(6) {
    text-align: right;
}
#summary > tbody > tr > td[colspan="5"] {
    text-align: left;
    padding-left: 14px;
}

#scale-exp { 
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    padding: 0.5em;
    font-size: 0.9em;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    display: none !important;
    z-index: 10;
    width: 500px;
    min-height: 250px;
    top: 50px;
    left: -100px;
}

#scale-exp h3 {
    margin: 0;
    font-size: 12px;
    text-align: left;
    color: #333;
}

#scale-exp h3 {
    margin-top: 10px;
}

#scale-exp > table {
    font-size: 12px;
    width: 100%;
    border-collapse: collapse;
}

#summary > thead > tr > th:nth-of-type(5):hover #scale-exp {
    display: block !important;
}
#scale-exp th {
    border: 1px solid #ccc;
    position: sticky;
    top: 0;
    background: #666;
    color: #fff;
    z-index: 2;
}

#scale-exp th:not(:nth-of-type(1)) {
    width: 70px;
}
#scale-exp th,
#scale-exp td{
    font-weight: normal;
    padding: 2px 4px;
    text-align: center;
    vertical-align: top;
}
#scale-exp td {
    border: 1px solid #ccc;
}
