.CompTimeRecordListCard {
    width: 100%;
    /* background: #ffffff; */
    /* padding: 16px 8px; */
    /* border-radius: 16px; */
    /* border: 1px solid #e5e7eb; */
    /* box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06); */
}

.CompTimeRecordList {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 超過勤務/休みの一覧カードで共有する基礎レイアウト。 */
.CompTimeRecordListItem {
    display: grid;
    gap: 10px 12px;
    grid-template-columns: auto 1fr 1fr;
    grid-template-areas:
        "status status status"
        "date break total"
        "note note note";
    align-items: start;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    line-height: 1;
    font-size: var(--reco-datetime-base-font-size, 16px);
}

/* クリック可能要素として表現 */
.CompTimeRecordListItem {
    box-shadow: var(--ShadowClickable);
    transition: all 0.2s;
    will-change: transform, box-shadow;

    &:hover {
        border-color: #cbd5e1;
        box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
        transform: translateY(-1px);
    }
    
    /* クリック可能要素が押されたときの表現 */
    &:active {
        transform: translateY(1px) scale(0.99);
        box-shadow: var(--ShadowPressed);
    }
}

.CompTimeRecordStatus {
    grid-area: status;
    justify-self: start;
    align-self: start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.CompTimeRecordDate {
    grid-area: date;
    display: flex;
    gap: 10px;
    align-items: end;
    min-width: 0;
    font-size: 1em;
}

.CompTimeRecordListItem .RECO_DateTimeRange {
    grid-area: date;
}

.CompTimeRecordDateBlock {
    display: flex;
    flex-direction: column;
}

.CompTimeRecordSeparator {
    color: var(--SubText2);
}

.CompTimeRecordBreakSummary {
    grid-area: break;
    justify-self: end;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 0;
}

.CompTimeRecordListItem .RECO_MinuteSummary--break {
    grid-area: break;
    justify-self: end;
}

.CompTimeRecordTotalSummary {
    grid-area: total;
    justify-self: end;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 0;
}

.CompTimeRecordListItem .RECO_MinuteSummary--total {
    grid-area: total;
    justify-self: end;
}

.CompTimeRecordSummaryLabel {
    font-size: 0.6875em;
    color: var(--SubText2);
    font-weight: 300;
    text-align: end;
    line-height: 1.2;
}

.CompTimeRecordSummaryValue {
    font-size: 0.9375em;
    font-weight: 600;
    color: #111827;
    text-align: end;
}

.CompTimeRecordBreakSummaryValue {
    font-size: 0.6875em;
    color: var(--SubText1);
    font-weight: 500;
}

.CompTimeRecordNoteRow {
    grid-area: note;
}

.CompTimeRecordListScope .EmptyState {
    text-align: center;
    color: #6b7280;
}

.CompTimeRecordListScope .EmptyState.is-loading {
    color: #4b5563;
}

.CompTimeRecordListScope .Pagination {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 4px;
}

.CompTimeRecordListScope .PaginationInfo {
    font-size: 14px;
    color: #4b5563;
}

/* 詳細パネル内の下位見出し（1段下のヒエラルキー） */
.OvertimeRecordDetailSection .SubTitle.SubTitle--child,
.CompTimeUseDetailSection .SubTitle.SubTitle--child {
    margin-top: 2px;
    margin-left: 5px;
    padding: 2px 0 2px 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--MainText2);
    background: transparent;
    border-radius: 0;
    border-left: 3px solid #d1d5db;
}
