.home-view { flex: 1; min-height: 0; overflow: auto; padding: 18px 12px 32px; }
.home-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.home-header h1 { font-size: 26px; line-height: 1.4; margin: 4px 0 0; font-weight: 650; }
.home-greeting { color: var(--text-muted); margin: 0; }
.home-date { color: var(--text-muted); white-space: nowrap; font-size: 13px; }
.home-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.home-shortcuts a { text-decoration: none; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); border-radius: 7px; padding: 5px 12px; font-size: 12px; }
.home-shortcuts a:hover { color: var(--brand); border-color: var(--brand); }
.home-todos { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.home-todo-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.home-todo-heading h2 { margin: 0; font-size: 18px; }
.home-count { font-size: 12px; font-weight: 400; color: var(--text-muted); margin-left: 8px; }
.home-hint { color: var(--text-muted); font-size: 12px; }
.home-add { display: flex; gap: 10px; }
.home-add input { flex: 1; min-width: 0; padding: 11px 12px; }
.home-message { font-size: 12px; color: var(--text-muted); min-height: 30px; padding-top: 6px; }
.home-todo-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.home-todo-row > input[type=checkbox] { width: 18px; height: 18px; flex: none; accent-color: var(--brand); cursor: pointer; }
.home-todo-title { flex: 1; min-width: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.home-todo-row button { font-size: 12px; padding: 4px 8px; flex: none; }
.home-todo-row .home-edit-input { flex: 1; min-width: 0; }
.home-todo-row.is-done .home-todo-title { text-decoration: line-through; color: var(--text-muted); }
.home-completed { margin-top: 22px; }
.home-completed summary { cursor: pointer; color: var(--text-muted); font-size: 13px; }
.home-completed summary span { margin-left: 8px; }
.home-empty { text-align: center; padding: 46px 16px; color: var(--text-muted); }
.home-view button:disabled { opacity: .5; cursor: wait; }
.menu-top { margin-bottom: 8px; }
@media (max-width: 760px) {
  .home-view { padding: 8px 0 24px; }
  .home-header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .home-header h1 { font-size: 22px; }
  .home-todos { padding: 16px; }
  .home-hint { display: none; }
  .home-todo-row { gap: 8px; flex-wrap: wrap; }
}
