body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f9f9f9;
}
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}
header {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}
header h1 {
  margin: 0;
  font-size: 28px;
  color: #0070f3;
}
nav {
  margin: 20px 0;
}
nav a {
  margin-right: 15px;
  color: #0070f3;
  text-decoration: none;
  font-weight: 500;
}
nav a:hover {
  text-decoration: underline;
}
.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 20px;
  margin-bottom: 20px;
}
.card h2 {
  margin-top: 0;
  color: #333;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}
pre {
  background: #f5f5f5;
  padding: 15px;
  border-radius: 5px;
  overflow-x: auto;
}
footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 14px;
  color: #777;
  text-align: center;
}
.recent-entries {
  margin-top: 20px;
}
.page-list {
  list-style-type: none;
  padding: 0;
}
.page-list li {
  margin-bottom: 10px;
  padding: 5px 0;
  border-bottom: 1px dotted #eee;
}
.page-list a {
  color: #0070f3;
  text-decoration: none;
}
.page-list a:hover {
  text-decoration: underline;
}
.content {
  line-height: 1.8;
}
.content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 4px;
}
.content a {
  color: #0070f3;
}
.content blockquote {
  margin: 20px 0;
  padding: 10px 20px;
  border-left: 4px solid #0070f3;
  background: #f7f7f7;
  font-style: italic;
}
.content ul, .content ol {
  padding-left: 20px;
}
.task {
  display: inline-block;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
  margin-right: 8px;
}
.task.todo {
  background-color: #ffebe6;
  color: #e34935;
}
.task.doing {
  background-color: #deebff;
  color: #0052cc;
}
.task.now {
  background-color: #e3fcef; 
  color: #006644;
}
.task.later {
  background-color: #fff0b3;
  color: #172b4d;
}
.task.done {
  background-color: #e3fcef;
  color: #006644;
  text-decoration: line-through;
}
.internal-link {
  color: #0070f3;
  font-weight: 500;
}
.tag-link {
  color: #6b7280;
  background-color: #f3f4f6;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  text-decoration: none;
}
.block-ref {
  color: #6b7280;
  background-color: #f3f4f6;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}
.logseq-list {
  padding-left: 20px;
  margin-bottom: 10px;
}
.logseq-list li {
  margin-bottom: 5px;
}

/* Responsive styles */
@media (max-width: 600px) {
  .container {
    padding: 10px;
  }
  header h1 {
    font-size: 24px;
  }
}
