.hl-lc-page-wrapper{
    position:fixed;
    inset:0;
    background:#000;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
}
.hl-lc-wrapper{
    max-width:768px;
    margin:0 auto;
    padding:16px 16px 32px;
    box-sizing:border-box;
    font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang SC",system-ui,sans-serif;
    color:#fff;
}
.hl-lc-calendar{
    background:#111;
    border-radius:12px;
    padding:12px;
    margin-bottom:12px;
}
.hl-lc-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:8px;
    font-size:16px;
}
.hl-lc-nav{
    background:#222;
    border:none;
    border-radius:999px;
    padding:4px 10px;
    color:#fff;
    font-size:16px;
}
.hl-lc-weekdays,
.hl-lc-days-grid{
    display:grid;
    grid-template-columns:repeat(7,1fr);
    gap:4px;
}
.hl-lc-weekdays div{
    text-align:center;
    font-size:12px;
    color:#aaa;
    padding-bottom:4px;
}
.hl-lc-day{
    height:38px;
    border-radius:10px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    font-size:14px;
    background:#111;
}
.hl-lc-day.empty{
    background:transparent;
}
.hl-lc-day-number{
    line-height:1;
}
.hl-lc-dot{
    width:6px;
    height:6px;
    border-radius:999px;
    margin-top:4px;
    background:transparent;
}
.hl-lc-day.has-record .hl-lc-dot{
    background:#ff3b30;
}
.hl-lc-day.today{
    border:1px solid #555;
}
.hl-lc-day.selected{
    background:#ff3b30;
}
.hl-lc-day.selected .hl-lc-dot{
    background:#fff;
}
.hl-lc-panel{
    background:#111;
    border-radius:12px;
    padding:12px;
    box-sizing:border-box;
}
.hl-lc-selected-date{
    font-size:16px;
    margin-bottom:8px;
}
.hl-lc-records-list{
    margin-bottom:12px;
}
.hl-lc-no-records{
    font-size:14px;
    color:#999;
}
.hl-lc-record-card{
    background:#181818;
    border-radius:10px;
    padding:10px;
    margin-bottom:8px;
}
.hl-lc-record-header{
    display:flex;
    justify-content:space-between;
    gap:8px;
}
.hl-lc-record-main{
    font-size:13px;
}
.hl-lc-record-line{
    margin-bottom:2px;
}
.hl-lc-delete-record{
    background:#ff3b30;
    color:#fff;
    border:none;
    border-radius:999px;
    padding:4px 10px;
    font-size:12px;
    align-self:flex-start;
}
.hl-lc-photos{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-top:8px;
}
.hl-lc-photo{
    width:64px;
    height:64px;
    border-radius:8px;
    overflow:hidden;
    background:#000;
}
.hl-lc-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    image-orientation:from-image;
}
.hl-lc-add-form h3{
    font-size:15px;
    margin:8px 0;
}
.hl-lc-field{
    display:flex;
    flex-direction:column;
    margin-bottom:8px;
    font-size:13px;
}
.hl-lc-field label{
    margin-bottom:4px;
}
.hl-lc-field input,
.hl-lc-field select{
    background:#181818;
    border-radius:8px;
    border:1px solid #333;
    padding:6px 8px;
    color:#fff;
    font-size:13px;
}
.hl-lc-field input[type="file"]{
    padding:4px;
}
.hl-lc-submit{
    width:100%;
    background:#ff3b30;
    border:none;
    border-radius:999px;
    padding:8px 0;
    color:#fff;
    font-size:15px;
}
.hl-lc-message{
    margin-top:6px;
    font-size:12px;
    color:#0f0;
}
.hl-lc-add-form--disabled{
    font-size:13px;
    color:#aaa;
}

@media (min-width:700px){
    .hl-lc-wrapper{
        display:flex;
        gap:12px;
        max-width:960px;
    }
    .hl-lc-calendar,
    .hl-lc-panel{
        flex:1;
    }
}

.hl-lc-record-header{
    display:flex;
    justify-content:space-between;
    gap:8px;
}
.hl-lc-record-info{
    display:flex;
    gap:10px;
    align-items:flex-start;
    flex:1;
}
.hl-lc-photo-large{
    width:128px;
    height:128px;
    border-radius:12px;
    overflow:hidden;
    background:#000;
    flex-shrink:0;
}
.hl-lc-photo-large img{
    width:100%;
    height:100%;
    object-fit:cover;
    image-orientation:from-image;
}
.hl-lc-record-text{
    display:flex;
    flex-direction:column;
    gap:4px;
}
.hl-lc-remark-pill{
    display:inline-block;
    padding:2px 10px;
    border-radius:999px;
    background:#ff3b30;
    color:#fff;
    font-size:12px;
    margin-bottom:4px;
}

.hl-lc-record-header{
    display:flex;
    justify-content:space-between;
    gap:8px;
}
.hl-lc-actions{
    display:flex;
    flex-direction:column;
    gap:6px;
}
.hl-lc-actions .hl-lc-edit-record,
.hl-lc-actions .hl-lc-delete-record{
    padding:4px 10px;
    border-radius:999px;
    border:none;
    font-size:12px;
}
.hl-lc-actions .hl-lc-edit-record{
    background:#ffffff;
    color:#000000;
}
.hl-lc-actions .hl-lc-delete-record{
    background:#ff3b30;
    color:#ffffff;
}
