/* ── Time Strip ──────────────────────── */
.time-strip {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.8rem;
    flex-wrap: wrap;
}

.time-pill {
    background: var(--bg-card);
    border: 1px solid rgba(167, 139, 250, 0.28);
    border-radius: var(--r4);
    padding: 0.55rem 1.4rem;
    text-align: center;
    min-width: 150px;
}

.time-pill-label {
    font-family: var(--ff-h);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--violet);
    margin-bottom: 0.15rem;
}

.time-pill-value {
    font-family: var(--ff-h);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.04em;
}

/* ── Bento Grid ──────────────────────── */
.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
    margin-bottom: 2.2rem;
}

/* ── Log Card ────────────────────────── */
.log-card {
    background: var(--bg-form);
    border: 1px solid var(--bdr);
    border-radius: var(--r3);
    padding: 1.8rem;
    margin-bottom: 2.2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.form-group         { display: flex; flex-direction: column; }
.form-group--wide   { grid-column: 1 / -1; }

/* ── Section ─────────────────────────── */
.section { margin-bottom: 2.2rem; }

.section-head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.1rem;
}

.section-head::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--bdr);
}

/* ── Filter Bar ──────────────────────── */
.filter-bar {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
    flex-wrap: wrap;
}

.filter-bar select { width: auto; min-width: 155px; }

/* ── Button Group ────────────────────── */
.btn-group {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ── PR Grid ─────────────────────────── */
.pr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.9rem;
}

/* ── Danger Zone ─────────────────────── */
.danger-zone {
    border-top: 1px solid var(--bdr-danger);
    padding-top: 1.8rem;
    opacity: 0.8;
}

@media (max-width: 720px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 460px) {
    .bento { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .form-grid  { grid-template-columns: 1fr; }
    .filter-bar { flex-direction: column; }
    .filter-bar select { width: 100%; }
    .time-pill  { min-width: 0; flex: 1; }
}
