.journal-calendar { margin: 1.7rem 0; padding: 1.2rem; background: #f0f3ed; border: 1px solid #dce0da; border-radius: 8px; }
.month-picker { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.month-picker label { margin: 0; font-size: .9rem; }
.month-picker input { width: auto; flex: 1; min-width: 10rem; max-width: 14rem; }
.month-navigation { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin: 1rem 0 .6rem; }
.month-navigation h3 { margin: 0; text-align: center; }
.month-navigation button { font-size: 1.15rem; padding: .35rem .8rem; }
.calendar-grid { border-collapse: collapse; table-layout: fixed; width: 100%; text-align: center; }
.calendar-grid th { padding: .3rem 0; font-size: .75rem; color: #5c675d; font-weight: 500; }
.calendar-grid abbr { text-decoration: none; }
.calendar-grid td { padding: .12rem; vertical-align: top; }
.calendar-day { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; border-radius: 5px; color: #59605a; font-size: .9rem; text-decoration: none; }
.calendar-day.has-entry { color: #244d30; background: #d9e8d3; font-weight: 650; }
.calendar-day.has-entry:hover { background: #cbdcc4; }
.calendar-day[aria-current="date"] { box-shadow: inset 0 0 0 2px #6b785d; }
.calendar-dot { font-size: .45rem; line-height: 1; margin-top: .2rem; }
.calendar-marker { color: #315b3b; font-size: .65rem; }
#calendar-legend { margin: .85rem 0 0; }
.entry:focus-visible { outline: 3px solid #bc881e; outline-offset: 5px; }
@media (max-width: 420px) { .journal-calendar { padding: .7rem; } .month-picker label { flex-basis: 100%; } .calendar-day { min-height: 44px; } }
