body { padding: clamp(12px, 3vw, 32px); }
.app-shell {
  width: min(100%, 760px);
  min-height: calc(100vh - clamp(24px, 6vw, 64px));
  margin: 0 auto;
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(25, 68, 42, .18);
  backdrop-filter: blur(26px) saturate(130%);
}
.app-header { margin-bottom: 18px; }
.app-logo { width: 50px; height: 50px; }
h1 { font-size: clamp(20px, 4vw, 29px); }
.round-button { width: 42px; height: 42px; border-radius: 13px; }
.round-button.primary { font-size: 28px; }
.filters { padding: 14px; gap: 10px; }
.filter-button,
.status-filter {
  min-height: 44px;
  padding: 0 10px;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}
.task-item { min-height: 68px; padding: 11px 13px; }
.task-title { font-size: 15px; }
.task-meta { font-size: 11px; }
.task-time { font-size: 11px; }
.delete-task { width: 32px; height: 32px; }
@media (min-width: 650px) {
  .filters { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .date-filter, .summary, .sync-banner { grid-column: 1 / -1; }
  .button-row.two, .segmented { display: contents; }
}
@media (max-width: 520px) {
  body { padding: 0; }
  .app-shell { min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; }
  .app-logo { width: 42px; height: 42px; }
  .round-button { width: 36px; height: 36px; }
}
