.mgr-todo-panel { font-size: 12px; }
.mgr-todo-hd { font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.mgr-todo-row {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 240px) 42px 48px;
  gap: 6px;
  align-items: center;
  margin-bottom: 6px;
}
.mgr-todo-row.is-new { grid-template-columns: 1fr minmax(200px, 240px) 28px auto; }
.mgr-todo-row input[type=text] {
  width: 100%; padding: 6px 8px; border: 1px solid #d0d5e2; border-radius: 6px; font: inherit;
}
.mgr-todo-row.is-done input[type=text],
.mgr-todo-row.is-done .mgr-todo-period { opacity: .55; }
.mgr-todo-row.is-done input[type=text] { text-decoration: line-through; }
.mgr-todo-period {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.mgr-todo-period input[type=date] {
  width: 100%;
  min-width: 0;
  max-width: 108px;
  padding: 4px 4px;
  border: 1px solid #d0d5e2;
  border-radius: 6px;
  font: inherit;
  font-size: 11px;
  background: #fff;
}
.mgr-todo-period .tilde {
  flex: 0 0 auto;
  color: #6a7088;
  font-weight: 700;
  font-size: 11px;
}
.mgr-todo-period-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.mgr-todo-period-label {
  font-size: 10px;
  color: #6a7088;
  line-height: 1.2;
}
.mgr-todo-period-hint {
  margin: 2px 0 8px;
  font-size: 11px;
  color: #8a90a8;
}
.mgr-todo-chk {
  display: inline-flex; align-items: center; gap: 2px; font-size: 11px; font-weight: 700;
  white-space: nowrap; margin: 0; color: #4a5070;
}
.mgr-todo-chk.muted { color: #b0b4c4; justify-content: center; }
.mgr-todo-chk.del { color: #a03030; }
.mgr-todo-add-btn, .mgr-todo-save {
  border: none; border-radius: 6px; background: #1d4ed8; color: #fff;
  font: inherit; font-weight: 700; font-size: 11px; padding: 6px 10px; cursor: pointer;
}
.mgr-todo-save { margin-top: 8px; background: #334155; }
.mgr-todo-empty { color: #8a90a8; font-size: 11px; margin: 8px 0 0; }
@media (max-width: 640px) {
  .mgr-todo-row, .mgr-todo-row.is-new {
    grid-template-columns: 1fr;
  }
  .mgr-todo-period input[type=date] { max-width: none; }
}
