.hour-chart{
    margin:20px 0;    padding:15px;    background:#f3f8ec;    border:1px solid #c9d8b6;
    border-radius:8px;    width: 500px;}

.hour-chart h2{    margin:0 0 0 0;    color:#3f5f2f;}

.hour-bars{
    display:flex;    align-items:flex-end;    justify-content:center;    gap:1px;}

.hour-col{
    margin-right:4px;
    display:flex;
    flex-direction:column;
    align-items:center;}

.hour-count{
    font-size:11px;    color:#666;    margin-bottom:4px;}

.hour-bar{
    width:100%;    max-width:24px;    min-height:2px;
    background:linear-gradient(        to top,        #8cb369,        #b7d68c    );
    border-radius:3px 3px 0 0;}

.hour-label{
    margin-top:6px;    font-size:11px;    color:#444;}

#fixed-ad{
    position:fixed;    right:10px;    bottom:10px;    z-index:9999;}

#close-ad{
    position:absolute;    top:-8px;    right:-8px;
    width:24px;    height:24px;    border:none;    border-radius:50%;    cursor:pointer;}
.hour-stack{
    width:16px;
    height:180px;

    display:flex;
    flex-direction:column-reverse;
    justify-content:flex-start;

    margin:auto;
}

.bar-bot{上右下左
    border:solid gray;
    border-width: 0px 0.5px 0.5px 0.5px;
}

.bar-mid{
    border:solid gray;
    border-width: 0px 0.5px 0px 0.5px;
}
.bar-top{
    border:solid gray;
    border-width: 0.5px 0.5px 0px 0.5px;
}
.bar-only {
    border:1px solid gray;
}

.bar-no {
    border:0px;
}

.bar-day{
    background:#4f8f4f; 
}

.bar-week{
     background:#8fbc8f;
}

.bar-old{
    background:#d9ead3;
}
.legend{
    margin-bottom:10px;
}

.legend span{
    display:inline-block;
    width:12px;
    height:12px;
    margin-left:10px;
    vertical-align:middle;
}
.res-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.res-modal-box {
    background: #ffffee;
    border: 2px solid #800000;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    margin: 5vh auto;
    padding: 15px;
}

.res-close {
    float: right;
    font-size: 20px;
    cursor: pointer;
}