/* Daily Routine Schedule — 3 visual styles + optional tabs across age groups. */

.lyra-bt-dr {
    max-width: 880px;
    margin: 0 auto;
    padding: 32px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #0f172a;
}
.lyra-bt-dr *, .lyra-bt-dr *::before, .lyra-bt-dr *::after { box-sizing: border-box; }

.lyra-bt-dr__heading {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
}
.lyra-bt-dr__subheading {
    margin: 0 0 24px;
    color: #64748b;
    font-size: 16px;
    text-align: center;
}
.lyra-bt-dr__empty {
    color: #64748b;
    font-style: italic;
    text-align: center;
    padding: 24px 0;
}

/* Tabs */
.lyra-bt-dr__tabs {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.lyra-bt-dr__tab {
    padding: 8px 18px;
    background: #fff;
    border: 1.5px solid #cbd5e1;
    border-radius: 999px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
}
.lyra-bt-dr__tab:hover { border-color: #94a3b8; }
/* .is-active colors injected inline */

.lyra-bt-dr__time {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    font-size: 14px;
    white-space: nowrap;
}
.lyra-bt-dr__activity {
    font-weight: 600;
    font-size: 15px;
}
.lyra-bt-dr__detail {
    color: #64748b;
    font-size: 13px;
    margin-top: 2px;
    line-height: 1.4;
}

/* ── Timeline style ──────────────────────────────────────────────────── */
.lyra-bt-dr--timeline .lyra-bt-dr__track {
    position: relative;
    padding-left: 24px;
}
.lyra-bt-dr--timeline .lyra-bt-dr__track::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    border-radius: 1px;
    /* color injected inline */
}
.lyra-bt-dr--timeline .lyra-bt-dr__rows {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.lyra-bt-dr--timeline .lyra-bt-dr__row {
    position: relative;
}
.lyra-bt-dr--timeline .lyra-bt-dr__row::before {
    content: "";
    position: absolute;
    left: -21px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px currentColor;
    /* dot color injected inline */
}
.lyra-bt-dr--timeline .lyra-bt-dr__row-body { margin-top: 2px; }

/* ── Table style ─────────────────────────────────────────────────────── */
.lyra-bt-dr--table .lyra-bt-dr__table {
    width: 100%;
    border-collapse: collapse;
}
.lyra-bt-dr--table .lyra-bt-dr__table th,
.lyra-bt-dr--table .lyra-bt-dr__table td {
    padding: 10px 14px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: top;
}
.lyra-bt-dr--table .lyra-bt-dr__table thead th {
    font-weight: 700;
    background: #f8fafc;
    border-bottom-width: 2px;
}

/* ── Cards style ─────────────────────────────────────────────────────── */
.lyra-bt-dr--cards .lyra-bt-dr__cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
.lyra-bt-dr--cards .lyra-bt-dr__card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

@media (max-width: 640px) {
    .lyra-bt-dr--table .lyra-bt-dr__table th,
    .lyra-bt-dr--table .lyra-bt-dr__table td { padding: 8px 10px; font-size: 13px; }
}
