/* Kalender-Tetris */
.kt-goal { margin: 0.7rem 0 0; font-size: 0.88rem; font-weight: 700; color: var(--accent-dk); }
.kt-cal { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 0.6rem; }
.kt-cal__head { display: grid; grid-template-columns: 24px repeat(5, minmax(0, 1fr)); gap: 3px; font-size: 0.75rem; font-weight: 800; color: var(--muted); text-align: center; margin-bottom: 4px; }
.kt-cal__body { display: grid; grid-template-columns: 24px repeat(5, minmax(0, 1fr)); gap: 3px; height: 360px; }
.kt-hours { display: grid; grid-template-rows: repeat(9, 1fr); font-size: 0.65rem; color: var(--muted); }
.kt-hours span { border-top: 1px solid transparent; line-height: 1; padding-top: 1px; }
.kt-day { position: relative; background: repeating-linear-gradient(to bottom, var(--gray-50) 0, var(--gray-50) calc(100%/9 - 1px), var(--line) calc(100%/9 - 1px), var(--line) calc(100%/9)); border-radius: 4px; }
.kt-b { position: absolute; left: 2px; right: 2px; border-radius: 4px; font-size: 0.62rem; font-weight: 700; line-height: 1.1; padding: 2px 3px; overflow: hidden; box-sizing: border-box; }
.kt-b span { display: block; overflow: hidden; text-overflow: ellipsis; }
.kt-b--fixed { background: #6B6B68; color: #fff; z-index: 2; }
.kt-b--meet { background: var(--deep-blue); color: #fff; z-index: 3; box-shadow: 0 0 0 1px #fff; }
.kt-b--focus { background: var(--accent-soft); color: #9A3A0C; border: 1.5px solid var(--accent); z-index: 1; }
.kt-b--goal { background: var(--success); color: #fff; z-index: 4; }
.kt-b.is-new { animation: ktIn .5s ease; }
@keyframes ktIn { from { transform: scale(1.15); opacity: 0; } to { transform: none; opacity: 1; } }
.kt-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; margin-top: 0.7rem; }
.kt-stats div { background: var(--gray-50); border-radius: 10px; padding: 0.6rem 0.7rem; }
.kt-stats strong { display: block; font-size: 1.3rem; color: var(--deep-blue); }
.kt-stats span { font-size: 0.75rem; color: var(--muted); }
.kt-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.5rem; font-size: 0.75rem; color: var(--muted); margin-top: 0.6rem; }
.kt-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.kt-dot--fixed { background: #6B6B68; } .kt-dot--meet { background: var(--deep-blue); } .kt-dot--focus { background: var(--accent-soft); border: 1.5px solid var(--accent); } .kt-dot--goal { background: var(--success); }
