* {
  box-sizing: border-box;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  background: #f4f5f7;
  margin: 0;
  padding: 24px;
  color: #222;
}

.container {
  max-width: 960px;
  margin: 0 auto;
}

h1 {
  font-size: 24px;
  margin-bottom: 16px;
}

h2 {
  font-size: 16px;
  margin: 16px 0 8px;
}

.dashboard {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.stat-card {
  flex: 1;
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-value {
  font-size: 40px;
  font-weight: 800;
}

#memoCount {
  color: #2b6cb0;
}

#completedTaskCount {
  color: #2f855a;
}

#incompleteTaskCount {
  color: #e53e3e;
}

.stat-label {
  font-size: 16px;
  font-weight: 600;
  color: #555;
  margin-top: 4px;
}

.latest-retro {
  background: #fff8e1;
  border: 1px solid #f0d98c;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.latest-retro h2 {
  margin-top: 0;
}

.retro-week {
  font-size: 12px;
  color: #8a6d1d;
  margin-bottom: 4px;
}

.retro-comment {
  font-size: 14px;
  white-space: pre-wrap;
}

.columns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.panel {
  flex: 1;
  min-width: 300px;
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.field-label {
  font-size: 12px;
  color: #666;
  margin-bottom: -4px;
}

input, textarea {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
}

button {
  padding: 8px 12px;
  background: #2b6cb0;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

button:hover {
  background: #245a94;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 400px;
  overflow-y: auto;
}

.list-item {
  background: #eef2f7;
  border: 1px solid #d7dee6;
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 8px;
}

.item-title {
  font-weight: bold;
  font-size: 14px;
}

.item-body {
  font-size: 13px;
  color: #444;
  white-space: pre-wrap;
  margin-top: 4px;
}

.item-meta {
  font-size: 11px;
  color: #999;
  margin-top: 6px;
}

.task-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.task-item.completed .item-title {
  text-decoration: line-through;
  color: #999;
}

.task-actions {
  display: flex;
  gap: 6px;
}

.task-actions button {
  padding: 4px 8px;
  font-size: 12px;
}

.retro-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.retro-actions {
  flex-shrink: 0;
}

.retro-actions button {
  padding: 4px 8px;
  font-size: 12px;
}

.btn-delete {
  background: #c53030;
}

.btn-delete:hover {
  background: #9b2c2c;
}

.empty {
  color: #999;
  font-size: 13px;
  padding: 8px 0;
}
