body {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

h1, h2, h3 {
    margin: 8px 5px 5px 5px;
    text-align: center;
}

select, input[type=number] {
    margin: 3px;
    padding: 3px;
    border-radius: 10px;
    font-size: 80%;
}

.box {
    border: solid 1px #888;
    border-radius: 15px;
}

.pb {
    border: solid 1px #888;
    border-radius: 15px;
    overflow: hidden;
    height: 28px;
    margin: 5px;
    display: flex;
    justify-content: space-between;
}

.pb > div {
    width: 0px;
}

.pb > div > div {
    padding: 5px;
    position: relative;
    float: right;
    margin-right: 5px;
    white-space: nowrap;
    font-weight: bold;
}

.pb label {
    display: inline-block;
    margin: 0;
    padding: 5px 3px;
    overflow: visible;
    white-space: nowrap;
    transition: width 1s;
    text-indent: 10px;
    height: 28px;
}

.pb-all label {
    padding: 5px 0;
}

th {
    padding: 5px 0px 0px 10px;
    font-weight: normal;
    text-align: left;
    font-size: 90%;
}

th, td {
    vertical-align: top;
}

.estimate {
    color: #888;
}

.estimate-comment {
    display: none;
}

.estimate .estimate-comment {
    display: inline;
}