/* 02b 日历 */
.cal-month { margin-top: 12px; border-radius: 26px; padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.cal-month-head { height: 36px; padding: 0 4px; display: flex; align-items: center; gap: 10px; }
.cal-month-head b { font-family: var(--f-title); font-weight: 600; font-size: 20px; line-height: 26px; }
.cal-month-head .grow { flex: 1; }
.cal-nav { width: 36px; height: 36px; border-radius: 18px; background: rgba(255, 255, 255, 0.45); display: flex; align-items: center; justify-content: center; color: var(--c-ink-3); }
.cal-nav .icon { width: 16px; height: 16px; stroke-width: 2; }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-week span { height: 22px; display: flex; align-items: center; justify-content: center; }
.cal-grid { row-gap: 2px; }
.cal-day { height: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.cal-day.out { opacity: 0.38; }
.cal-day .n { width: 30px; height: 30px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: 14px; }
.cal-day.is-today .n { box-shadow: inset 0 0 0 1.5px var(--c-whale); }
.cal-day[aria-pressed="true"] .n { background: var(--c-whale); color: #FFFFFF; font-weight: 500; box-shadow: none; }
.cal-marks { height: 5px; display: flex; gap: 3px; align-items: center; }
.cal-marks i { width: 5px; height: 5px; border-radius: 3px; }
.cal-marks i.his { width: 10px; background: #7CCAD6; }
.cal-legend { display: flex; justify-content: center; gap: 16px; padding-top: 2px; }
.cal-legend span { display: flex; align-items: center; gap: 5px; }
.cal-legend i { width: 5px; height: 5px; border-radius: 3px; }

.cal-day-panel { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.cal-day-title { height: 24px; padding: 0 4px; display: flex; align-items: baseline; justify-content: space-between; }
.cal-day-title h2 { font-family: var(--f-title); font-weight: 600; font-size: 16px; line-height: 24px; }
.his-note { border-radius: 22px; padding: 10px 14px 10px 6px; background: rgba(197, 232, 238, 0.46); display: flex; align-items: center; gap: 6px; }
.his-note .w { width: 60px; height: 48px; flex: none; display: flex; align-items: center; justify-content: center; }
.his-note p { font-family: var(--f-title); font-size: var(--fs-body); line-height: 22px; }
.cal-item { min-height: 54px; border-radius: 20px; padding: 6px 10px 6px 14px; display: flex; align-items: center; gap: 12px; }
.cal-item .t { width: 42px; font-family: var(--f-mono); font-size: var(--fs-small); color: var(--c-ink-2); flex: none; }
.cal-item .bar { width: 3px; height: 20px; border-radius: 2px; flex: none; }
.cal-item .body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cal-item .body b { font-weight: 400; font-size: var(--fs-body); line-height: 20px; }
.cal-item .body .cap { font-size: 11px; }
.cal-item .tag { display: flex; align-items: center; gap: 6px; font-size: var(--fs-cap); color: var(--c-ink-2); }
.cal-item > .icon { color: var(--c-whale); }
.cal-item .big { font-family: var(--f-mono); font-size: 15px; font-weight: 500; }

.stamps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.stamp-btn { height: 72px; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: var(--fs-cap); line-height: 14px; color: var(--c-ink-2); }
.stamp-btn[aria-pressed="true"] { background: rgba(255, 255, 255, 0.85); box-shadow: inset 0 0 0 2px var(--c-whale); color: var(--c-ink); font-weight: 500; }
