.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.calendar-toolbar h3{margin:0}
.calendar-legend{display:flex;gap:17px;flex-wrap:wrap;margin:-8px 0 18px;color:var(--muted);font-size:12px}
.calendar-legend span{display:flex;align-items:center;gap:6px}
.calendar-legend i,.cal-day i b{display:inline-block;width:7px;height:7px;border-radius:50%}
.dot-task{background:#4388c8}
.dot-event{background:var(--red)}
.dot-timeline{background:#e3a51f}
.cal-day{border:0;text-align:left;color:var(--ink)}
.cal-day:hover{background:#fff0ed}
.cal-day.selected{background:var(--red);color:#fff;outline:0}
.cal-day i{position:absolute;display:flex;gap:3px;left:8px;bottom:8px}
.cal-day.selected i b{background:#fff}
.cal-day.has:after{display:none}
.agenda-card{align-self:start}
.schedule-row{display:grid;grid-template-columns:auto 1fr;align-items:start;gap:10px;padding:12px;border-radius:13px;background:#faf9f9}
.schedule-row.done strong{text-decoration:line-through;color:#999}
.source-task{background:#edf5ff;color:#3778b8}
.source-event{background:#fff0ed;color:var(--deep)}
.source-timeline{background:#fff6df;color:#946300}
.calendar-note{margin-top:18px}

@media(max-width:620px){.calendar-layout{gap:14px}.calendar-legend{margin-top:-4px}.cal-day{min-height:48px}.cal-day i{left:5px;bottom:5px}.cal-day i b{width:5px;height:5px}}
.dot-plan{background:#3f6daa}
