/* 홈 화면 오른쪽 "월간 달력" (assets/mini_calendar.js). 색은 style.css 토큰만 사용 */
.side-mini-cal .side-title-row { display: flex; justify-content: space-between; align-items: baseline; }
.mc-head { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.mc-title { font-weight: bold; font-size: 15px; color: var(--text); padding: 0 4px; }
.mc-title:hover { color: var(--link); }
.mc-nav, .mc-today {
    border: 1px solid var(--line); background: var(--surface); color: var(--text-3);
    border-radius: 4px; cursor: pointer; font-size: 14px; line-height: 1; padding: 4px 9px;
}
.mc-nav:hover, .mc-today:hover { background: var(--hover-bg); }
.mc-today { margin-left: auto; font-size: 12px; padding: 5px 8px; }

.mc-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }   /* 칸 너비 고정 */
.mc-wd { text-align: center; font-size: 11px; color: var(--muted-3); padding: 3px 0 5px; border-bottom: 1px solid var(--line-soft); margin-bottom: 2px; }
.mc-day {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    min-width: 0; min-height: 40px; padding: 4px 1px 2px; border-radius: 6px; color: var(--text-2); text-decoration: none;
}
.mc-day:hover { background: var(--hover-bg); }
.mc-day .n { font-size: 13px; line-height: 22px; width: 24px; height: 24px; text-align: center; border-radius: 50%; }
.mc-day .ev {
    max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-size: 9.5px; line-height: 1.3; color: var(--faint); letter-spacing: -0.3px;
}
.mc-day .ev.hol { color: var(--danger-text); }
.mc-wd.sun, .mc-day.sun { color: var(--danger-text); }
.mc-wd.sat, .mc-day.sat { color: var(--link); }
.mc-day.tod .n { background: var(--primary); color: #fff; font-weight: bold; }
.mc-day.empty { pointer-events: none; }
.mc-foot { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--faint); line-height: 1.6; }
.mc-foot .mc-hol { color: var(--danger-text); }
