.habit-main { flex: 1; min-width: 0; }
.habit-title { display: flex; align-items: baseline; gap: 9px; }
.habit-heat { display: grid; grid-template-columns: repeat(30, 10px); gap: 3px; margin-top: 10px; overflow: hidden; }
.habit-heat i { height: 10px; border-radius: 2px; background: #29332d; }
.habit-heat .done { background: #7792a4; }
.habit-tone-1 .done { background: #d181c6; }
.habit-tone-2 .done { background: #86b69a; }
.habit-tone-3 .done { background: #d7ae63; }
.icon-button { border: 0; background: transparent; color: var(--muted); font-size: 16px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.daily-plan-card { min-height: 205px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(135deg, rgba(31,45,38,.94), rgba(22,31,27,.94)); display: flex; flex-direction: column; }
.daily-plan-card h3 { margin: 7px 0; font-size: 17px; }
.daily-plan-card > p:not(.label) { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.daily-plan-card blockquote { margin: 14px 0; color: #d7c3d3; font-size: 12px; line-height: 1.55; }
.plan-check { margin-top: auto; border: 1px solid var(--line); border-radius: 7px; padding: 8px 10px; background: transparent; color: var(--text); text-align: left; }
.daily-plan-card.completed .plan-check { border-color: var(--good); color: var(--good); }
.time-allocation { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 20px 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: rgba(20,29,25,.76); }
.time-allocation h2 { margin: 5px 0; font-size: 20px; }
.time-allocation p:not(.label) { margin: 0; color: var(--muted); font-size: 12px; }
.allocation-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.allocation-tags span { padding: 8px 10px; border-radius: 20px; font-size: 12px; background: #26342d; }
.allocation-tags b { margin-left: 4px; color: var(--text); }.allocation-工作 { border-left: 2px solid var(--accent); }.allocation-学习 { border-left: 2px solid var(--good); }.allocation-运动 { border-left: 2px solid #d7ae63; }.allocation-休息 { border-left: 2px solid #9aaba0; }
@media (max-width: 880px) { .plan-grid { grid-template-columns: 1fr; } }
@media (max-width: 880px) { .time-allocation { align-items: flex-start; flex-direction: column; }.allocation-tags { justify-content: flex-start; } }
@media (max-width: 880px) { .habit-heat { grid-template-columns: repeat(30, 8px); gap: 2px; } }
