/* The three logs: a timeline grouped by day. Builds on dre-projects.css. */
.dre-logs .dre-leads-filter input[type="date"] {
    width: 100%;
}
.dre-log-day {
    margin: 16px 0 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(95, 87, 76, 0.12);
    color: var(--dd-muted);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.dre-log-day:first-child {
    margin-top: 0;
}
.dre-log-row {
    display: grid;
    grid-template-columns: 20px 44px 30px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 9px 6px;
    border-radius: 12px;
}
.dre-log-row:hover {
    background: rgba(255, 255, 255, 0.45);
}
.dre-log-row > .dre-proj-box {
    margin-top: 6px;
}
.dre-log-time {
    padding-top: 5px;
    color: var(--dd-muted);
    font-size: 0.82rem;
    font-variant-numeric: tabular-nums;
}
.dre-log-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(95, 87, 76, 0.12);
    color: var(--dd-main);
    font-size: 0.85rem;
}
.dre-log-dot.dre-log-good {
    background: rgba(63, 143, 107, 0.16);
    color: var(--dd-good);
}
.dre-log-dot.dre-log-bad {
    background: rgba(185, 82, 74, 0.14);
    color: var(--dd-bad);
}
.dre-log-body {
    color: var(--dd-ink);
    font-size: 0.92rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.dre-log-body > small {
    display: block;
    color: var(--dd-muted);
    font-size: 0.82rem;
}
.dre-log-body .dre-pill {
    margin-left: 4px;
}
.dre-log-body details {
    margin-top: 2px;
}
.dre-log-body summary {
    display: inline-block;
    color: var(--dd-main);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}
.dre-log-body summary:focus-visible {
    outline: 2px solid var(--dd-accent);
    outline-offset: 2px;
    border-radius: 4px;
}
.dre-log-body details small {
    display: block;
    margin-top: 6px;
    color: var(--dd-muted);
    font-size: 0.8rem;
}
.dre-log-changes {
    display: grid;
    grid-template-columns: minmax(120px, 220px) minmax(0, 1fr);
    gap: 4px 14px;
    margin: 8px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.6);
    font-size: 0.84rem;
}
.dre-log-changes dt {
    color: var(--dd-muted);
    font-weight: 600;
    overflow-wrap: anywhere;
}
.dre-log-changes dd {
    margin: 0;
    overflow-wrap: anywhere;
}
.dre-log-changes del {
    color: var(--dd-bad);
    text-decoration-color: rgba(185, 82, 74, 0.5);
}
.dre-log-changes ins {
    color: var(--dd-good);
    text-decoration: none;
}
.dre-log-changes dd i {
    color: var(--dd-muted);
    font-size: 0.75rem;
}
.dre-logs .dre-log-clear {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    height: auto;
    margin-top: 18px;
    padding: 14px 18px;
}
.dre-log-clear > div {
    flex: 1 1 280px;
}
.dre-log-clear strong,
.dre-log-clear span {
    display: block;
}
.dre-log-clear span {
    color: var(--dd-muted);
    font-size: 0.86rem;
}
.dre-log-clear label {
    margin: 0;
}
.dre-log-clear select {
    padding: 8px 10px;
    border: 1px solid rgba(95, 87, 76, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--dd-ink);
}
@media (max-width: 575px) {
    .dre-log-row {
        grid-template-columns: 20px 30px minmax(0, 1fr);
    }
    .dre-log-time {
        display: none;
    }
    .dre-log-changes {
        grid-template-columns: minmax(0, 1fr);
    }
}
